[Embed(source="data/fire.swf")] static public var movieFire:Class;
I have some multiframe swf file and I want to have control of them. For example, I can use gotoandplay and gotoandstop functionality.
I tried something like:
var m:MovieClip = new movieFire() as MovieClip;
but it turns out when I tried to get totalFrames, m.totalFrames
, it gives me zero, and gotoand* functions don't work either. How can I correctly control the swf file embedded in actionsript 3.0 (No Flex component)?