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

It's not the targeting…Code not firing with Creation Complete & Composition Ready.

$
0
0

I have found that addressing elements and symbols within the Stage-related events 'Creation Complete' or 'Composition Ready' does not work.
The simplest setup, like an ellipse on the stage, named 'Ellipse' will not respond to this:

 

sym.$("Ellipse").hide();

but this same code WILL work as a 'Trigger @ 0ms' event.

 

The example that seems to nail it, is that a function that delays the actions just slightly, WILL work;

 

setInterval(function(){sym.$("Ellipse").hide();}, 0);

 

That's asking Edge to wait ZERO seconds before it does the action, but it works where the action on it's own will not.
This is true of targeting symbols as well and took ages for me to realise my targeting was not the issue.

It is as if Edge is not yet ready to target elements after these events - but both event names suggest otherwise.

Is there an event (other than triggers) at the start of an Edge project that WILL allow this kind of targeting?


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>