Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

if else statement when button click

$
0
0

Hello All;

I have run into a project, that I am having an issue on how to code.

Scenario.

 

You have 3 states of a button.

MouseOver

MouseOut

MouseClick

 

Now.

When the Mouse Click is done, I need to do the following.

Under the MouseOver and MouseOut.

 

IF MouseClick THEN

(Check to see if the Button was clicked or not)

Keep state of button

ELSE

(If button was not clicked, then change its state)

Change State of Button

 

How would I code this?

Thank You

Wayne


Viewing all articles
Browse latest Browse all 9897

Trending Articles