This content has been marked as final. Show 3 replies
yes. using loadmovie, you'll load your master .swf into your current movie. Then you'll load in your bitmaps using the instance names they're given.
You'll have to pay close attention to the path where you're loading the master movie, but yes, then you can play with it.
Can you give a specific example with some actionscript? I've tried doing something like this I think.
Say I have icons.fla, that has a bitmap loaded into the library. I've assigned that a linkage of "myicon", and it's checked to export to actionscript.
Then I have a loadicons.fla. On the root timeline, I do:
var bmap:BitmapData = BitmapData.loadBitmap( /* WHAT DO I PUT IN HERE? */);
At this point, how do I reference a linkage from the icons.swf library? If you help me get this to work, you are a god:)
so then your movieclips will be in _root.icon_loader
so if you have a bitmap in an MC instance called icon1 on the _root level of icons.swf, you can reference ICONONE by saying
From there you can do whatever you'd like with it. If you want to display info about ICONONE you'll have to call for it after the movie loads. ie- use a preloader to kick back when its done, or an event listener.