View Full Version : Need help with Fading in External SWF movie files in to the Main Movie
papaan
02-28-2005, 12:55 AM
Hi,
I have a main movie file which is named index.swf
This has the preloader and a small intro animation. when the animation ends my menu buttons appear. There are 4 of them. And 3 of these buttons have submenu buttons which are nested inside a movieclip. What I need is to have these submenu buttons (approx. 10 of them for each Menu) to load and fade in external SWF files onto the ones that is already loaded.
Can some one help me with a simple and easy way to do this?
Any help is appreciated
Gibberish
02-28-2005, 07:22 PM
are these external swf loaded into a holder mc (blank mc on your stage)? you would just target that mc and load them into it. if they are in the same level then the newer mc's will overwrite the previously loaded one.
papaan
03-10-2005, 07:18 PM
Thanks Gibberish,
I have overcome this problem by one of "emergency pants" codes. It works perfectly. Fades out the loaded swf and fades in the next one depending on the button clicked..
Although , now I have another problem. It is a bit hard to explain.
I have my main movie. 4 menu Buttons and these buttons have 10 submenu buttons for each. These submenu buttons call external swf files in to a movie clip called "container"
The external swf files have their own 3 buttons in them. Which they slide in and out 3 strips of photos like a sliding slide show. The left button slides in the farthest left portion of the image composition and the rest goes accordingly.
When this external swf file is exported and tested , the buttons and animation works perfectly.
But when it gets imported in to the main movie by the submenu , then it only shows the first frame and stays there. Buttons do not work.
I thought it was in the path I was making the mistake so I tried several combinations. Like..
_parent.content
_root.container.content
_root.content.
but none worked.
Do you have any idea what might be wrong?
Shall I upload the files here?
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.