PDA

View Full Version : Button


TheAgenda
01-20-2003, 05:39 AM
Hi All,

I want to make a button go transparent after the user clicks it and the approriate pahe loads up.

like when user hit services and the services page loads up the services button goes into alpha 50%.

Its simple but i am still getting my head around flash.

many thanks in advance :)

snapple
01-20-2003, 07:24 AM
TheAgenda,

Well, if your using MX then you can just put this code on the button :


on (release) { _root.button1._alpha = 50; }

or

If your using Flash 5, you could put the button in an MC (say instance name "container") and then change the _alpha value of the MC its self.

on (release ) { (_root.container._alpha = 50; }

You could always use "this" instead of the pathing option - have a mess around !

snapple :)