|
-
XRave
Weird ActionScript not working or just Fault?
The title explains it:
[CODE]on (release) {
_parent.gotoAndPlay("AuroraCo", 1);
}
CODE]
Now I checked the syntax and everything else, but this AS is not working. Its set on a MC inside a MC.
And I tried using _root.gotoAndBLAH.. didn't work either.
So why a'int this working?
When you actually know what "OMG I have so much homework!" means, you won't want to be me.
Xrave
-
Flashmatics
gotoAndPlay accepts ONE parameter i.e frame number or frame label:
so try:
on (release) {
_parent.gotoAndPlay("AuroraCo");
}
dont know why you put a 1 as well(if its because you are trying to access a level1 then use
on (release) {
_level1.gotoAndPlay("AuroraCo");
}
-
XRave
AuroraCo is a scene and I have no idea how levels work.
When you actually know what "OMG I have so much homework!" means, you won't want to be me.
Xrave
-
Flashmatics
oops my bad in that case ur syntax is ok .... and i never use scenes lol...hopefully someone else can point u in the right direction.. try _root.gotoAndPlay...
i gotta run now..PARTYYYYY time lol
-
XRave
OK but I already said that don't work
Thanks Anyway.
When you actually know what "OMG I have so much homework!" means, you won't want to be me.
Xrave
-
XRave
When you actually know what "OMG I have so much homework!" means, you won't want to be me.
Xrave
-
Senior Member
it most probably a scope problem, do you get the hand cursor when you hover over the mc? if you do then its a scope problem,
try using "on frame" code:
Code:
myClip.innerClip.onRelease = function(){
this._parent.gotoAndPlay("AuroraCo", 1);
};
-
XRave
Yes I do actually, Thanks I'll try that out.
When you actually know what "OMG I have so much homework!" means, you won't want to be me.
Xrave
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
|