Topic: flash navigation question (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=24554" title="Pages that link to Topic: flash navigation question (Page 1 of 1)" rel="nofollow" >Topic: flash navigation question <span class="small">(Page 1 of 1)</span>\

 
bigyou
Bipolar (III) Inmate

From: Quebec, Canada
Insane since: Sep 2001

posted posted 01-01-2005 16:33

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.
http://www.grabugegraphique.org/circm/web/general

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;
}
}



The problem I have is that the buttons, when clicked, always 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

¨...the people who are crazy enough to think they can change the world, are the ones who do.¨

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 01-02-2005 18:14

well, i didnt look very much into this, but from what your code looks like and what your problem sounds like, i would say that in the line where it says

code:
null;


maybe there should be something else?



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu