Hi folks,

I cleaned up the mess a bit, and thought this might be interesting to you.

Goal:
- load a child swf with png/jpgs/whatever with linkage id's set in a parent
swf and extract bitmap data from child into parent

I couldn't do this any other way than:
- adding a clip on the root of the 'skin' swf with a class attached to it
- the class looks like:
import flash.display.BitmapData;

class BitmapLoaderHelper extends MovieClip  {

 public function loadBitmap (linkageID:String) {
  return BitmapData.loadBitmap (linkageID);
 }

}

In the parent movie you can now just load the swf and use
_swfReference.loadBitmap (linkageID) on it.

Hope anyone else profits from this;)

greetz
JC
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to