Prob. simple flash Q
- Started
- Last post
- 7 Responses
- unknown
This is probably very easy to do... but nver the less... I've got loads of movie clips in one swf, now rather than hiding them off screen I want to load them onto screen into a target blank clip (i.e similar to loading an external clip but not)
Any ideas? It's something I've never had the nead to do before.
- unfittoprint0
I don't know if this is what you're asking but...
this.createEmptyMovieClip("holde...
//make it invisible for the loading?
holder._visible = false;
holder.loadMovie("extMC.swf");
- unknown0
I think that would load one externally... i want a symbol i have to pop into that movieclip... thanks for your help though... i really don't know where to start.
- unfittoprint0
but when you 'load' something you do it from an external source, right? anything else uses either attachMovie or duplicateMovie.....
- unknown0
attachMovie... that must be it then... I'll give it a go... cheers.
- honda0
yes, you want to do attachMovie( );
make sure you set your linkage properties of your _mc so you can target it from the library.
attachMovie("linked_mc", "linked_mcNewName", 1);
linked_mcNewName._x = 0;
linked_mcNewName._y = 0;tip: its always best to set your registration points to top left corner.
- frankbb0
you may find that you have a problem with preloading, if the files from the libary are large..
so to get around this.. place the files you are linking, put them in a frame off the stage. but place them in after your preloading i.e. in frame 2 or 3.
then go to the submenu of the mc and under "linkage", you don't want to "export in first frame"
note, if you use an attached mc before they are on the stage for example preloading they will not load or work properly.
- unknown0
thanks for all your help...
it's proving to be messy... so I've put them all in one big clip on a timeframe... and can now do nice transitions between them... rather than having to code the transitions... easier on code, and my brain... as it's all getting a little hairy!