0

Here is my code, which can be pasted into Framer Studio directly:

layerA = new Layer()


# Listen to the loading event
layerA.on Events.ImageLoaded, -> 
    print "the image is loaded"

layerA.on Events.ImageLoadError, 
    -> print "the image could not be loaded"

layerA.image = "http://framerjs.com/static/images/home/app-icon.png"

However, I found the the image is loaded string is never printed.. Is it caused by cache? And does anyone have ideas about how to fix this?

Hanfei Sun
  • 45,281
  • 39
  • 129
  • 237

1 Answers1

1

There was an issue related to the ImageLoaded event. It should be solved in the current version of Framer.

Javier Chávarri
  • 1,605
  • 11
  • 21