Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-25-2012, 11:22 PM   PM User | #1
clausrei
New Coder

 
Join Date: Sep 2011
Location: United Kingdom
Posts: 72
Thanks: 2
Thanked 3 Times in 3 Posts
clausrei is an unknown quantity at this point
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!

Last edited by clausrei; 06-26-2012 at 04:47 AM..
clausrei is offline   Reply With Quote
Old 07-02-2012, 10:57 AM   PM User | #2
ki4naron
New to the CF scene

 
Join Date: Jul 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ki4naron is an unknown quantity at this point
website design
ki4naron is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:53 AM.


Advertisement
Log in to turn off these ads.