Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-23-2005, 01:40 AM   #1
Registered User
Join Date: Jul 2005
Posts: 3
Question newby - How to change a button state on page load?


I have a flash menu with several buttons that I use in in an html site.

Is there a way to change the state of a button (to Over) when the corresponding page is loaded?

Do I need Actionscript for that?

I'm Using MX 2004 pro

morvi is offline   Reply With Quote
Old 07-23-2005, 02:21 AM   #2
Intermediate Developer
piratefish's Avatar
Join Date: Oct 2004
Location: The Keystone State
Posts: 284

Yes you would need actionscript for it.

The way I'm thinking is if there is a sort of tag that get's the current URL like location in Javascript or there's an even more advanced method in PHP, use that to test in an if statement for each button every time it loads.

But I'm not sure if Flash MX 2004 Pro has it (I only have MX and I know it doesn't have that).

Sorry I couldn't be more of a help.
piratefish is offline   Reply With Quote

Thread Tools
Display Modes 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 Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 12:32 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.