Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Nik38

Members
  • Posts

    4
  • Joined

  • Last visited

Nik38's Achievements

0

Reputation

  1. I'm having a conversation with myself here Anyway, I solved it. I needed to turn the TM off when I wanted to draw over the TM MC I turned the instance into a global and called it from the drawing function I have. All works now. Brilliant classes!
  2. It seems that my mc loader listener is blocking the ability to enable/disable the tm. anybody else had this?
  3. I'm trying to disable an instance of the Transform Manager I have the instance created on an mc when an image has been loaded into it via MovieClipLoader var mclListener:Object = new Object(); mclListener.onLoadInit = function(target_mc:MovieClip) { var manager_obj = new TransformManager({targetObjects:[mc.container], constrainScale:true}); }; So I thought if I add this to a button myBtn.onPress=function { manager_obj.enabled = false; } it would work, but it doesn't. If I add the line right under var manager_obj = new TransformManager({targetObjects:[mc.container], constrainScale:true}); it does work but that is useless to me I need to disable the instance or preferably the entire class on one action and re-activate it on another. Please help me.
×