Dynamic links for flash buttons

Status
Not open for further replies.

HairyHun

Masturbating Bandit
Oct 11, 2007
576
2
0
HI,

I have a menu of several buttons. The are flash.

Is there a way to set the link in HTML so it can be dynamically changed? ( instead of hard coding the link inside the flash piece itself ?

The anchor tag seems to be work, but it dreamweaver doesn't seem to like. Perhaps a better way? Or the "Official" way


Thanks
HH
 


Is there a way to set the link in HTML so it can be dynamically changed?

Been a while since I did anything in Flash, but back then I just used Flashvars to pass a variable to the SWF. So you have something like this:

Code:
<PARAM NAME=FlashVars VALUE="link1=home&link2=about">
Then you can use the link1 and link2 variables in the SWF actionscript.

I found a tutorial on Google:
http://www.permadi.com/tutorial/flashVars/index.html

Cheers,

Leon
 
Status
Not open for further replies.