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

Edge Commons and Spotlight issue.

$
0
0

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:

 

  1. // Load Edge Commons
  2. yepnope({
  3.   load:[
  4.    "http://cdn.edgecommons.org/an/1.1.0/js/min/EdgeCommons.js",  
  5.    // Load style sheet for the overlay
  6.    "http://cdn.edgecommons.org/an/1.1.0/css/style.css"
  7.    ]
  8. });


So my first Spotlight is an image, so on the touchstart I have entered:

 

  1. // Open image in spotlight overlay
  2. // Set up configuration
  3. var config ={
  4.   width:700,
  5.   height:500,
  6.   type:"image",
  7.   source:"images/Spotlight1.png"
  8. }
  9. //
  10. 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


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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