Actionscript 3: loading AS2 swf

Out of context: Reply #3

  • Started
  • Last post
  • 6 Responses
  • CyBrain0

    Ok, I got the movie to load and play properly, but I'd like to be able to cast this thing as a movie clip. (This is where 90% of my AS3 problems lie) When I tried:
    addChild(hopeDiamondLoader);
    hope_diamond300x250_mc = MovieClip(hopeDiamondLoader);

    I got a type coercion error when I tried to reference the movie clip.
    I'd like to mask out the swf to it's original stage size and fade it out with tweenlite eventually.

View thread