![]() |
Flash Buttons Problem
Dont know if there are many Flash developers here but hopefully someone will understand this...
:
on (rollOver) {The button home is 100% visible from the start, and home1 0%. What I want to achieve is; Have these two images change to the opposite on mouse over. Taking a look at the Flash help it only seemed to show me how to stop, start or loop something on click. I figured this 'should' work' however nothing happens when I preview it. There is also no errors in the script according to the syntax checker. Thanks for any help. |
How about checking if they already are 100% and if so then change to 0 and the other way around.
|
Don't have flash installed right now, but rather than messing with the alphas, why don't you make sure the roll over works. Have it display a message when you rollover each button. Then replace the code with the visibility features. All I can say :p sorry
|
I'm gonna see if I can explain this 'cause I know how to get it to work but bear with me John 'cause Flash is kinda weird to explain (at least to me). The code should actually be this:
:
on (rollOver) {P.S. If your objects aren't instantiated you're referring to something that doesn't exist, and unfortunately I don't think Flash catches those sorts of errors. The debugging leaves something to be desired. |
Thanks for all your input though I fixed this problem last night. Tomorow I will bring with me the code and show anyone interested, It has been expanded a little...
Funny with programming, everythings the same; but a bit different. |
| All times are GMT -5. The time now is 1:12 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC