ShadowSlash
Member
|
I know next to nothing about ActionScript, so punch me if this is wrong... but maybe you're supposed to add the semicolon on the end of the gotoAndStop() ? as in-
on (release) {
if (_root.sword==0) {
gotoAndStop(1);
_root.sword = _root.sword+1;
}
if (_root.sword==1) {
gotoAndStop(5);
_root.sword = _root.sword+1;
}
} I just copy/pasted then added the semicolons :P just wondering, ignore this if you know its wrong quote:
Well, I tried that, but to no avail, here is my code: I think it may be my gotoAndStop's quote: on (release) { if (_root.sword==0) { gotoAndStop(1) _root.sword = _root.sword+1; } if (_root.sword==1) { gotoAndStop(5) _root.sword = _root.sword+1; } } Also make sure you have the code in the right place.
< Message edited by ShadowSlash -- 8/31/2008 19:46:20 >
|