PDA

View Full Version : Flash MX reading variables set in HTML ?



RageW0lf
November 19th, 2003, 01:07 PM
Hi, I am wondering if I can use some javascript / html (or any type of script) which flash MX can read and set a variable in MX accordingly.

I have a menu that deactiviates buttons when they have been clicked and the user is directed to a certain section (using a javscript function called by flash) - the problem is that if the user bookmarks the page and then returns the button I want deactivated is not.

I need someway of Flash knowning its is a certain section, preferably from reading something in the HTML document its inbedded into.

Does anybody know how to do this by putting something in the html document or any other way?

claudio
November 19th, 2003, 01:12 PM
You want the button to remain disabled if the user returns to your site? You can use shared objects to do that, but i dont understand why you want to do that.

Yeldarb
November 19th, 2003, 04:48 PM
i think he wants it so that people can bookmark individual sections of his flash movie