-
[RESOLVED] AS2 - problems with frames and goto Mc
Hi,
i can not seem to get a button working with simple gotoAndStop frame .
its setup like _root > EMC_photos > photos_thumbs_ani
now in photos_thumbs_ani i have several photo pages all setup every 100 frames with labels page 1, page 2 etc
my button is within photos_thumb_ani as a movieclip
with code inside
this.onRelease = function(){
_root.EMC_photos.photos_thumb_ani.gotoAndStop("pag e2");}
I have tried different variations to no sucess
not sure how to point to these frames please help .
If anyone is willing i will send the .fla so you could see
Thanks in advance.
-
Senior Member
I noticed you said you were naming the frames "page 1, page 2". In your code you used "pag e2" where it should be "page 2". As a side note I would stay away from spaces. Name the pages pg1, pg2, pg3 etc....
Hope this helps.
-
thanks for the reply ,that was a typo on this forum (oops) i had the labels and everything named correctly.
I did not need to be so O.T.T because it was on the same timeline/mc so i just used
this.onRelease = function(){
gotoAndStop("page2");}
Nevermind learnt my lesson.
thanks again
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
|