-
[Help] If / else
Dear All,
I started working with Flash 8 few days ago, not I have this small menu problem, it loads my XML twice, when already on frame 78. So I made this actionscript:
Code:
on (release) {
if (frame == 78) {
stop();
}else{
gotoAndPlay(78);
}
}
I dont know if "frame" is known, either way its not working.
-Shandor
-
Senior Member
it's
PHP Code:
on(release){
if(_currentframe==78){
stop();
}else{
gotoAndPlay(78);
}
}
If you don't think you're going to like the answer, then don't ask the question.
-
oh Thanks, how do you call those identifiers in Flash? So I can look them up somewhere.
-
Senior Member
If you don't think you're going to like the answer, then don't ask the question.
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
|