0 Replies Latest reply on Dec 10, 2007 10:43 AM by kenewb

    Embed an .swf, no way to extend a class?

      I'm having trouble tying a embeded .swf resource to a custom class to control it.

      I can use
      public class MyPic extends BitmapAsset
      //code to controll the class goes here.

      However, no such approach seem to work with .swf. I can embed them at a variable level, but if I try to tie them to a class and extend something, I get a refusal.

      So, my question is this: How do I embed an swf and then have the object extend a controller class? I don't want to put the logic in the loaded .swf, that makes replacing the graphics a hassle, I want to seperate my code from my resources.

      All input is very very welcome, I've been stuck on this for a while.