Hello,
This question is for anyone familiar with the use of Edge Commons. I am currently using Edge CC 2014.
I have a tablet animation setup with some touch interactions.
For 2-sections within the the Animation I would like to use the Spotlight feature.
At the compositonReady event I enter:
- // Load Edge Commons
- yepnope({
- load:[
- "http://cdn.edgecommons.org/an/1.1.0/js/min/EdgeCommons.js",
- // Load style sheet for the overlay
- "http://cdn.edgecommons.org/an/1.1.0/css/style.css"
- ]
- });
So my first Spotlight is an image, so on the touchstart I have entered:
- // Open image in spotlight overlay
- // Set up configuration
- var config ={
- width:700,
- height:500,
- type:"image",
- source:"images/Spotlight1.png"
- }
- //
- EC.Spotlight.open( config );
When testing the animation. The Spotlight effect works the first time. Then every time after that it pops-up for literally 1-second and then automatically closes. Has anyone had any trouble with this?
M