CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Flash & ActionScript (http://www.codingforums.com/forumdisplay.php?f=52)
-   -   gotoAndStop() does not work in AS 2 (http://www.codingforums.com/showthread.php?t=266269)

clausrei 06-25-2012 11:22 PM

gotoAndStop() does not work in AS 2
 
Hi,

I have not much of a clue of Action Script. I try to build a Flash menu.
Every time someone presses a button he will redirect to another webpage - that works fine. But I also would like, that the banner above the menu changes every time you load a new page.

Now, on the loading webpage I pass a variable with flashVars like this:
Code:

<PARAM NAME=FlashVars VALUE="num=40">
And in frame 1 of my Flash-file I have:
Code:

gotoAndStop(num);


But this seems to work sometimes and sometimes it does not.
What did I forget ?
Any suggestions welcome, there must be something important.

Thank you for your help!

ki4naron 07-02-2012 10:57 AM

website design


All times are GMT +1. The time now is 07:09 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.