Jump to content

game.cache query


charlie_says
 Share

Recommended Posts

I'm just playing about with some bitmapdata and have hit a bit of a wall.

 

game.cache.getBitmapData('ball'+team);// returns null

game.cache.getimage('ball'+team);//returns the image

game.cache.checkBinaryKey('ball'+team);// evaluates false

 

I'm guessing the bitmapdata is returning null because the key isn't there - but the image definitely is there and works...

Where am I going wrong?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...