Okay I have done an interface with a box in the middle displaying external flash movies, and buttons on the side, the thing is, that when i load the main interface page, there is a blank space in the middle, until i click on one of the buttons which obvioulsy displays an external flash file. Ii want a default page displayed so it doesn’t look so blank when the user comes to the interface page, does anyone know how i can do this?
Simply use a loadMovie action on your main timeline:[AS]loadMovie(initialcontent.swf,container_mc);[/AS]
hi claudio, could u explain that to me like I am a baby, i don’t know that much about flash u see, as u probably have noticed, thanks a bunch for ur help!
Ok. On the first frame of your timeline, put dat action i told you before.
Replace initialcontent.swf with the name of the movie you want to be loaded and container_mc with the path to your container movie clip (where the external swf should be loaded into).
i.e: If your content mc have an instance name of content, and your initial movie should be home.swf, this is how your action should look like:[AS]loadMovie(home.swf,_root.content);[/AS]
Hi claudio, I created a new layer in my homepage , and in the first frame I added the actions
loadMovie(pic2.swf, “_root.contents”);
the movie i want to load is called pic2, and the instance of my panel is called contents.
The thing is, it doesn’t do anything, i don’t know why?
Ok, is the content mc inside another movie clip?
No the contents is in the same flash file!
But is it inside another symbol?
no the contents is not inside another symbol, it is independant
Then i cant see why it isnt working. Check if your content movie clip has an instance name.
heres the file, if u could check it, thanks a million man, i’ll send another post giving u the file that i want to be loaded!
hey man how do u attach a file in a post?
heres the file
Wheres the file?
i don’t know, i did atach it, could u tell me how to attach a file, i am so sorry for being a complete idiot!
Theres an option to attach the file on reply page.
lala
the atatchment is not working cos my flash file is 2856 kb, **** oh well!
i know something is happening because say when i click a button, a page displays, and then after about 5 seconds it disspears, this is cos there is no stop condition on my interface, and the default that i want to be there, is trying to display!!But problem is I can’t see the default page, is it because there is a mask in my interface?
Yes, there should be a stop action on your last frame.