|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have made the first part of my flash site and now I want to be able to have the buttons load up a new swf rathe then jumping to another frame. I need to know how I can click on a button and then my other swf file loads up.
If you don't know what I'm talking about then please tell me. Cheers |
|
#2
|
|||
|
|||
|
Hi, you can use getURL the same way as you do for html pages. Another method is to use loadMovie()
i.e: on(release) { getURL("mysecondpage.swf", _self); } or: on(release) { myContainerClip.loadMovie("mysecondpage.swf"); } |
|
#3
|
|||
|
|||
|
ive tried that
I am pretty sure that I have tried doind that before. All the happens is that the next movie gets loaded up ontop of my other on so you can still see the first section but with the second one ontop of it.
I have just worked out how to make a site in just one movie. Now I want to kow if I should continue using the one movie or if it is better to go back and work out how to use the multiple swf's. Just a simple answer telling me what methd is better, even if it not one I have just written about, and an explanation why it is the best way. Cheers |
|
#4
|
|||
|
|||
|
Hi, thats a really open question to ask. It really depends on what your doing. For a simple site then usually a single movie will do. Some people prefer to make almost all the site out of seperate movies and integrate them via one main movie. I try to avoid using more than one movie in most projects. I reckon that each movie must have a header etc that will need to be loaded, increasing overall download size for the end user. Theres a few scenarios where it might be usefull to have multiple movies like if you had 5 seperate sites but each shared the same flash hit counter then you could make that a seperate movie and re-use it. Yer anyways you asked for a simple answer and I'm ranting again. I'd say one movie should do. Why now start a new thread as a poll. That will get alot of people to voice their opinions.
|
|
#5
|
|||
|
|||
|
hmmmmmmmmm
you can unload the original clips after u load the new one. or that u can make an invisible movieclip covering all of the frame and load the secon movie into that invisible movie clip and change it to visible at the same time... |
|
#6
|
|||
|
|||
|
thanks for the reply
I just want to thank you for your replies. I will put the link in a thread for my site when I have finished it so I can get any tips or anything I should know on how to improve it.
Cheers |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > my Flash site |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|