OZONE Asylum
Forums
Multimedia/Animation
flash navigation question
This page's ID:
24554
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Oh well another flash question. I want to achieve this effect in Flash. I want the buttons to stay on their over stance when clicked. [url]http://www.grabugegraphique.org/circm/web/general[/url] Here's the AS I've put on buttons [code]on (rollOver) { if (_root.Btn1 == 1) { this.useHandCursor = false; } else { this.useHandCursor = true; _root.education.gotoAndPlay("ouverture"); } } on (rollOut) { if (_root.Btn1 == 1) { null; } else { _root.education.gotoAndPlay("fermeture"); } } on (release) { _root.Btn1 = 1; _root.Btn0 = 0; _root.Btn2 = 0; _root.Btn3 = 0; if (_root.active_id == 0) { null; } else { _root[_root.active_id].gotoAndPlay("fermeture"); _root.active_id = 0; } }[/code] The problem I have is that the buttons, when clicked, [i]always[/i] stay on their over stance. They can't be unclicked? The rollover effects works well but the clicking doesn't. Can someone give me a hand on this one ? Thanks ¨[i]...the people who are crazy enough to think they can change the world, are the ones who do.[/i]¨
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »