Jump to content
Search Community

venkata77

Members
  • Posts

    2
  • Joined

  • Last visited

venkata77's Achievements

0

Reputation

  1. Hi, Here is the rest of the code. Hope this helps. /* This function add emoticon to canvas_mc with given ID */ function fAddEmoticon(xp, yp, xscale, yscale, ID) { var __reg3 = canvas_mc.attachMovie("rect", "emo" + canvas_mc.getNextHighestDepth(), canvas_mc.getNextHighestDepth()); var __reg2 = __reg3.attachMovie(ID, ID + __reg3.getNextHighestDepth(), __reg3.getNextHighestDepth()); __reg2._x = xp; __reg2._y = yp; __reg2._xscale = xscale; __reg2._yscale = yscale; manager_obj.addItem(__reg2) } canvas_mc.setMask(mask_mc); manager_obj = new gs.TransformManager({targetObjects: [samp], bounds: {xMin: 0, xMax: canvas_mc._width, yMin: 0, yMax: canvas_mc._height}, forceSelectionToFront: true, autoDeselect: false, eventHandler: onAnyEvent}); Thanks in advacnce. Regards,
  2. Hi, I am using AS2 version of TransformManager. However, I am failed to forceSelectionToFront of selected object. Here is the link for testing. http://121.169.208.177/editor/editor.html Use rightside panel to add objects on board. You can see adding texts, drawings, images etc. Her is my code. manager_obj = new gs.TransformManager({targetObjects: [samp], bounds: {xMin: 0, xMax: canvas_mc._width, yMin: 0, yMax: canvas_mc._height}, forceSelectionToFront: true, autoDeselect: false, eventHandler: onAnyEvent}); where I am getting wrong? You can two objects from right side selection and check it out. Thanks in advance. Regards,
×
×
  • Create New...