What steps will reproduce the problem?
1. Create a SWF with a document class that extends Sprite
2. Load it with BulkLoader
3. Try to get it with any of the typed getter methods
What is the expected output? What do you see instead?
The get fails since there is no get with type of Sprite. On getContent()
works. For convenience, a
getSprite() would be nice.
What version of the product are you using? On what operating system?
rev 239, Flash 10
Please provide any additional information below.
public function getSprite(key:String, clearMemory:Boolean = false):Sprite {
return (_getContentAsType(key, MovieClip, clearMemory)) as Sprite;
}
Added this to my copy...works great.
Original issue reported on code.google.com by drukepple@gmail.com on 1 Apr 2009 at 7:37
Original issue reported on code.google.com by
drukepple@gmail.com
on 1 Apr 2009 at 7:37