mlk
March 22, 2003, 7:56pm
1
since the double quotes limit the string, how can i incluide them in my string, is it something like
string = “/“2/”,2”
which would output: “2”,2
Btw I am doing that because a buttton tells the _root to go to string, would it then goto to scene 2 frame 2 or does that not function ???
thnx !
system
March 22, 2003, 8:20pm
3
All right thnx for the tip, however what i wanted to do doesnt work:
on (release, keyPress "<Left>") {
gotoAndPlay(_root.framelabel);
}
I want the button to send the user to scene 1 frame one which i have called
'framelabel on the root level:
framelabel = "\"1\",1"
it just daint work !
system
March 22, 2003, 8:23pm
4
[AS]framelabel = ‘“2”’[/AS]
works for sure
system
March 22, 2003, 8:32pm
5
im not sure if it’s possible to do that, as the gotoAndPlay(scene, frame) expects two arguments, and the scene name must be quoted string, i.e. you cant have a variable name in there.
system
March 23, 2003, 12:26pm
6
Get rid of those scene/frame numbers, just USE a framelabel in your goto!
label=“location”;
on release gotoAndPlay (label);
system
March 23, 2003, 4:08pm
7
i’d love to but does the label work for a different scene too ?