Maybe you could call a javascript function that reads some properties of window object, and returns the name of HTML page. You can use ExternalInterface for that.
Just a guess. andrei On 12/20/06, Charlie Macchia <[EMAIL PROTECTED]> wrote:
Hello all - bit of a newbie question. I have an overall menu that I would like to appear across a site (all 4 pages of it) - the menu has 4 buttons with the standard 4 states per button. I have a work-around if necessary, but I thought it best to use the button state to provide feedback to the user about what page they're on - so the page 1 button will appear in its green state (roll-over) when the user is on that page, otherwise it will appear red; the page two button will appear in its green state when the user is on that page ... and so on ... using the same Flash menu bar across the site. (making code updates way easier and saving on download time) I've been snooping through AS trying to find out how to capture the HTML page name, so that the button state can be set appropriately - and it seems it's best to simply pass it in as a parameter from Dreamweaver, and then write a handler on the Flash page to capture the Parameter passed in (perhaps onClipEvent(initialize) ?) and then have the page set the button state accordingly. I imagine this sort of this happens fairly frequently, but I'm not having the best luck finding example code - which leads me to suspect I may be thinking of the problem wrong, or it may not happen quite as frequently as I thought. So - is there any example code? Or is there a much better way of doing this? Thanks in Advance Charlie _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com