-
I need to make a MC with an input text box (var=gotoframe) allow the user to go to any desired frame of the main time line, after entering the frame number of choice in the input box, and then clicking a "go" btn. Here is the script of the button:
on (release) {
tellTarget ("/") {
gotoAndStop (gotoframe);
}
}
Is there a bug? Additional info:
This is a multipul scene movie. This control only needs to control the current scene. Help would be very welcomed!
-
on (release) {
_root.gotoAndStop(_root.gotoframe);}
this will do it (attention: if you are in scene 2 and scene 1 has , for example, 100 frames, then frame 7 of scene 2 is actually frame 107 for Flash So you need to add 100 to the variable, like this: on (release) {_root.gotoAndStop(Number(_root.gotoframe)+100);}
gparis
[Edited by gparis on 08-30-2001 at 11:53 PM]
-
Originally posted by gparis
on (release) {
_root.gotoAndStop(_root.gotoframe);}
this will do it (attention: if you are in scene 2 and scene 1 has , for example, 100 frames, then frame 7 of scene 2 is actually frame 107 for Flash So you need to add 100 to the variable, like this: on (release) {_root.gotoAndStop(Number(_root.gotoframe)+100);}
gparis
[Edited by gparis on 08-30-2001 at 11:53 PM]
Thanks for the reply. I am still not having any luck. I have a frame counter visible and stop and play buttons. Everything else works. I just can't get the "go" button to cause any reaction. Do you have anymore thoughts?
-
yes, you can always send me your FLA at gparis@securenet.net and i'll see where the bug is
g.
-
Originally posted by gparis
yes, you can always send me your FLA at gparis@securenet.net and i'll see where the bug is
g.
It is on its way! Thanks.
-
And it's on its way back
g.
-
GParis is the man!
Thank you
-
close! SHE's the woman :0)
gparis
-
Originally posted by gparis
close! SHE's the woman :0)
gparis
I love it! You have just deflated my chauvinistic male ego LOL... I appoligize for the not recognizing the courtesy and general supremacy of a lady. Thanks again.
PS. need work?
-
Sure! well.. you have my email
gparis
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
|