Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why me?...

Status
Not open for further replies.

WhiteTiger

Programmer
Jun 26, 2001
605
US
It never fails, that as soon as you stop learning, the things you learn slowly seep out of your head....

Anyways...I have some problems...I have frame 1 with a stop, a motion tween, then other frames 10-15 which are supposed to display differen't 'pages'...but my button code isn't working...anyone help me here?...Im trying to set a variable to check if the transition has played, and if so, just jump to the frame cooresponding to the data...here's the code.
Code:
on (release) {
    _root.thisframe == 11;
    if (_root.GlobalIntro=false) {
        gotoAndPlay (2);
    } else {
        gotoAndPlay (_root.thisframe);
    }
}
Regards,
Anth:cool:ny
----------------------------------------
"You say [red]insanity[/red] like it's a BAD THING!"
 
You have your equals signs backwards
on (release) {
_root.thisframe = 11;
if (_root.globalIntro==false) {
gotoAndPlay(2);
{ else {
gotoAndPlay(_root.thisframe);
}
}

Try that out. Hope it helps!
Wow JT that almost looked like you knew what you were doing!
 
Told you you had it backwards yesterday in your other thread!
Not only are you forgeting... You can even read! LOL
mywink2.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top