|
#1
| ||||
| ||||
| Flash Expert Needed ! I need some help with Flash. I decided to make a band website in Flash... In Scene-1, I have the text "News" first converted to a Movie Clip Symbol, then that was converted to a Button Symbol. Scene-1 > MovieClip > Button. The reason I did that was so I could have animation on a rollover. Here is the problem: When the user clicks the "News" button/movie clip thing, I want Scene-1 to skip to frame 90. Seems simple enough right? Just go to the news button symbol, open the Actions Panel and type: on (release) { gotoAndPlay(90); } It does not work. Any ideas? Can a button not control Scene-1 when it is inside a movie clip? If anyone can help, I will send them the *.fla file. thank you, thank you, thank you. jerry
__________________ Sparks Factory - Cleveland Ohio Web Design |
|
#2
| ||||
| ||||
| Ask Habilis, he did some nice stuff with his design stuff. Also, it might be helpful if you could post a .swf file of what you're currently working on and update with major improvements.
__________________ System: • 2.5 GHz MacBook Pro Core 2 Duo, 4 GB RAM, 200 GB hard drive, runs 10.5.4 • 1.6 GHz iMac G5, 1.5 GB RAM, 250 GB hard drive, runs 10.4.11 • iPhone, 4 GB, OS X 2.0.2 |
|
#3
| ||||
| ||||
| The code you have above is telling the button to go to frame 90 in its own timeline, not scene-1's timeline. Try this on (release) { _parent.gotoAndPlay(90); } It will tell the button to go and play from frame 90 in the scene-1 timeline. Mat - The Flash Expert.
__________________ Truth hurts. Maybe not as much as jumping on a bicycle with a seat missing, but it hurts. - Drebin, Naked Gun 2 1/2 |
|
#4
| ||||
| ||||
| thanks mat. That works when I do not have any animation inside of the movie clip. But here is the problem. Inside a movie clip, I have 30 frames of animation, every frame has a keyframe in it. Do I have to put your: on (release) { _parent.gotoAndPlay(90); } in every single frame?!
__________________ Sparks Factory - Cleveland Ohio Web Design Last edited by Nummi_G4; October 3rd, 2003 at 10:06 AM. |
|
#5
| ||||
| ||||
| I'm not quite sure what you mean. The movie clip you mention is that the scence-1 or the button movie clip? Mat
__________________ Truth hurts. Maybe not as much as jumping on a bicycle with a seat missing, but it hurts. - Drebin, Naked Gun 2 1/2 |
|
#6
| ||||
| ||||
| Just put the button on its on layer inside the animation movie clip and add blank frames so the button spans the total frames of the animation. you can also use _root.gotoAndPlay(90); if you are tageting the main timeline of your clip. Another option is to use homemade functions. That starts getting a little advanced.
__________________ http://www.panthermedia.com http://www.e-brochures.ca Mac Pro Dual 2.8 Quad | Macbook 2.2 Black | G5 Dual 2.0 | G4 867 Quicksilver | G4 iBook 933 | G3 Beige 300 | G3 iMac 266 |
|
#7
| ||||
| ||||
| Quote:
scene-1 > movie clip > button Would it be a big help if I posted a *.fla example?
__________________ Sparks Factory - Cleveland Ohio Web Design |
|
#8
| ||||
| ||||
| sure fire it up
__________________ http://www.panthermedia.com http://www.e-brochures.ca Mac Pro Dual 2.8 Quad | Macbook 2.2 Black | G5 Dual 2.0 | G4 867 Quicksilver | G4 iBook 933 | G3 Beige 300 | G3 iMac 266 |
![]() |
| Thread Tools | |
|
|