Jump to content
GreenSock

mpellegr

Members
  • Posts

    2
  • Joined

  • Last visited

mpellegr's Achievements

0

Reputation

  1. Hi. I guess Joost1979 have this solved by know, but anyway I´m sharing a working code for future reference. Best regards. ---------------------------------------------------------------------- this.createEmptyMovieClip("foto",getNextHighestDepth()); var mclListener:Object = new Object(); mclListener.onLoadInit = function(imageHolder:MovieClip) { import gs.TransformManager; var manager_obj = new TransformManager({targetObjects:[foto], forceSelectionToFront:false, eventHandler:onAnyEvent}); function onAnyEvent(event_obj:Object):Void { trace(">>> "+event_obj.action+": "+event_obj.targetObject+" | transformed?: "+event_obj.transformed); } }; var fotol:MovieClipLoader = new MovieClipLoader(); fotol.addListener(mclListener); fotol.loadClip("img/foto.jpg",foto);
×