well i have been sitting here for the last hour trying to figure this out. i want a movie to load when i click on button in flash. but i also want it to load in a specific spot. kinda wanna make em load like on this site http://www.coca-cola.co.uk/coke.html. i can make them load at the beggining but thats not what i want. i want em to load when i click on the button. any help would be apprecated.
LoadMovie
Started by CoryMathews, May 07 2005 09:32 PM
6 replies to this topic
#1
Posted 07 May 2005 - 09:32 PM
#2
Posted 08 May 2005 - 12:43 AM
so doesnt anyone know. i know theres gotta be someone good with flash that knows how to do this. i really wanna know lol its startin to piss me off. lol.
#3
Posted 08 May 2005 - 03:04 PM
Hi CoryMathews Here's a quick tutorial I made hope it helps you out.
1. Open a new Flash Document and make a button and save it as "Page 1"
2. Open another new Flash Document and make what ever you want to come up when the button is pressed i.e. text / pictures and save it as contents. MAKE SURE TO PUBLISH PREVIEW by going to file / Publish Preview (F12).
3. Go back to (page 1) then go to Insert / New Symbol and select Movie Clip and name it place and press ok.
4. Press Scene 1 to go back to (page 1) then go to the library (Ctrl and L) and drag the the movie clip on the stage (place) where you want the text/image to load.
5. Next select the button which you placed on the page in stage 1 and open the actions section (F9) and add this code in it.
6. Next select the little round symbol (place) on the page and in the instance Name change to contents.
7. Publish Movie by pressing F12 and your finished.
1. Open a new Flash Document and make a button and save it as "Page 1"
2. Open another new Flash Document and make what ever you want to come up when the button is pressed i.e. text / pictures and save it as contents. MAKE SURE TO PUBLISH PREVIEW by going to file / Publish Preview (F12).
3. Go back to (page 1) then go to Insert / New Symbol and select Movie Clip and name it place and press ok.
4. Press Scene 1 to go back to (page 1) then go to the library (Ctrl and L) and drag the the movie clip on the stage (place) where you want the text/image to load.
5. Next select the button which you placed on the page in stage 1 and open the actions section (F9) and add this code in it.
Quote
on (release) {
_root.contents.loadMovie("contents.swf");
}
_root.contents.loadMovie("contents.swf");
}
7. Publish Movie by pressing F12 and your finished.
#4
Posted 08 May 2005 - 04:58 PM
ok im following it pretty good i thinkk got a good idea what u mean but a few questions.
MAKE SURE TO PUBLISH PREVIEW by going to file / Publish Preview (F12).
why would i do this? what does it do?
Press Scene 1 to go back to (page 1)
am i making these 2 seperate htm files or do u mean to just go back to the first movie i made?
btw thx for the help.
MAKE SURE TO PUBLISH PREVIEW by going to file / Publish Preview (F12).
why would i do this? what does it do?
Press Scene 1 to go back to (page 1)
am i making these 2 seperate htm files or do u mean to just go back to the first movie i made?
btw thx for the help.
#5
Posted 08 May 2005 - 06:00 PM
ok nvm i got it figured out thx alot man.
#6
Posted 09 May 2005 - 08:03 AM
Hope it helped you out. Sorry about the tutorial I was in a rush. When I have the time I will make a more detailed tutorial on it. See ya.
If someone else what's to know how to do this tutorial he's some answers to the questions above.
If someone else what's to know how to do this tutorial he's some answers to the questions above.
Quote
Q) MAKE SURE TO PUBLISH PREVIEW by going to file / Publish Preview (F12).
A) It is important to publish the page so it makes the swf file.
Q) Press Scene 1 to go back to (page 1)
A) When making a smybol it takes you to a different part by pressing the scene 1 button above the page you will return to the page you was on.
Q) Am i making these 2 seperate htm files or do u mean to just go back to the first movie i made?
A) Yes you need to make 2 different pages in this tutorial.
A) It is important to publish the page so it makes the swf file.
Q) Press Scene 1 to go back to (page 1)
A) When making a smybol it takes you to a different part by pressing the scene 1 button above the page you will return to the page you was on.
Q) Am i making these 2 seperate htm files or do u mean to just go back to the first movie i made?
A) Yes you need to make 2 different pages in this tutorial.
#7
Posted 09 May 2005 - 02:55 PM
no need to unless you wanna submit one to the p2l list which would be a good idea since theres not one on this topic.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
