all groups > flash (macromedia) > february 2005 >
You're in the

flash (macromedia)

group:

arggggg please please help me on this one !!


arggggg please please help me on this one !! bwclan
2/4/2005 11:42:05 PM
flash (macromedia):
hi guys ...... i have a real problem .... after spending the last four hours
building a pic gallery on scene 5 of my movie i have placed actionscript on the
button in scene two that takes you to scene 5 - easy bit of script - should
work fine but it doesnt ..arrrrgggg
this is the script on the button ..
on (release) {
gotoAndPlay("5",1);
}

this should work shouldnt it !!! all it does is take me back to frame one of
the same scene !!! i have a button in this same scene to goto scene 4 ( the
next scene action) and this workd fine ..... as does the gotoand play action in
the first scene (pre loader) to take the playhead to scene 2 !! ..... any help
much appreciated
craig
Re: arggggg please please help me on this one !! NSurveyor
2/5/2005 12:43:23 AM
Don't use scenes when using gotoAndPlay or gotoAndStop. It always causes
problems. Instead, select frame 1 of scene 5. Open the Properties Panel. Next,
type in, scene5_1 as the <Frame Label> Now, in your actionscript, use:

on(release){
_root.gotoAndPlay("scene5_1");
}
AddThis Social Bookmark Button