Is AssetLibrary.getMovieClip deprecated?


Hi, I’m just noticing this:

public function getMovieClip (id:String):MovieClip {
	return null;

Just wondering if that is intentional; should I be using getBytes instead?


I am guessing that some macro magic is happening, since I am currently using getMovieClip with .bundle files successfully. :slight_smile:


Use variable = Assets.getMovieClip(“LibraryName:SymbolName”);
Unless you mean to do something other than that?


Thanks; I was commenting about the function here:


OpenFL AssetLibrary does not implement getMovieClip, but the SWF and SWFLite libraries (which extend it) do provide support for it


Thanks, I figured there must be something I was missing.