-
Hi ..
I was wondering if someone could help me, I'm not sure if
I'm doing anything right !
I have a site with about 3 'flash 5 pages; all in the one
.swf with 3 scenes. Each scene is only one frame.
In the first scene I have a menu bar which contains a
popup menu. I want to link one of the sub-menu's buttons
inside the popup menu to go to and play scene 2 but I can't get it to work.
All my scenes have stop actions on the first frame, as
they are only one frame. I'm not sure if this is right
either, maybe this has something to do with it. But
if I don't have the stop action on each scene, when I
go to ctrl-testmovie in loops all the 3 scenes.
Can anyone please help me with this at all?
It would be soooooooooooooo much appreciated,
Thankyou,
torcha
-
are you using this code on the buttons?
on (release) {
tellTarget ("/") {
gotoAndPlay ("sceneName", 1);
}
}
-
Hi Amalinde
Thanks for that .. i tried it and at least the button is
going somewhere but it's not going to the right scene
for some reason .. and i did tell it to go to the right
scene name. Instead of going to the 2nd scene it jumps
to the third.
Before i was just using on (release) gotoandplay"sceneName",1)
I didn't realise you have to put the tellTarget .. why do u have to do that .. what does it mean?
Thanks heaps,
torcha
Originally posted by Amalinde
are you using this code on the buttons?
on (release) {
tellTarget ("/") {
gotoAndPlay ("sceneName", 1);
}
}
-
oops, sorry, try this code:
on (release) {
tellTarget ("/") {
gotoAndStop ("sceneName", 1);
}
}
The tell target action designates the root timeline(/) as the target for the gotoandstop action. Probably your buttons are inside a movieclip, so you need to tell flash to play the root timeline, not that movie clips timeline.
-
Hi again !
It's annoying 'me' again!..
yes my buttons are inside 2 movieclips i think ..
i just tried the gotandstop and now it doesn't go anywhere
at all..
if i use the gotoandplay it just jumps to the next scene
disregarding what scene i told it to jump to ...
anymore suggestions?
torcha
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|