i'm trying to embed a MovieClip (which contains 3D tween) from .swf file to AS3 project.
[Embed (source="graphics.swf", symbol="MyAnimation")]
public dynamic class MyClass extends MovieClip
But it doesnt work... any ideas?
You need a class var assigned to "MyAnimation" and instantiate that class as MovieClip in order to use it in your app. For example:
[Embed (source="graphics.swf", symbol="MyAnimation")] public var MyAnimationClass:Class; ... var myAnimation:MovieClip = new MyAnimationClass() as MovieClip;