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

Problem with ==

$
0
0

I've inserted an if condition in tab "update" i need that timeline stops at some points only if it is in play and not in reverse play.

So I can't do that with Triggers.

 

 

I've set several expressions that doesn't works... so I did some debug and I discover that:

 

 

If I wrote:

 

 

if (sym.getPosition() == n)

 

 

it works only if n=last frame of composition

 

 

if it is not the timeline continue to play.

 

 

But, If i set

 

 

if (sym.getPosition() >= n)

 

 

it stops.

 

 

This is not what I need beacuse I've several similar point.

 

 

In conclusion, seems that Edge Animate needs more than one time frame to recognize that a condition is verified.

How can I fix it?


Viewing all articles
Browse latest Browse all 9897

Trending Articles