<?xml version="1.0"?>
<rss version="2.0"><channel><title>TransformManager (Flash) Latest Topics</title><link>https://gsap.com/community/forums/forum/4-transformmanager-flash/</link><description>TransformManager (Flash) Latest Topics</description><language>en</language><item><title>TransformAroundPointPlugin.as missing</title><link>https://gsap.com/community/forums/topic/43864-transformaroundpointpluginas-missing/</link><description><![CDATA[<p>
	Hello!<br />
	Making an interactive experiment using GreenSock-AS3 on Adobe Animate, I found out there are few missing files on plugins Folder  
</p>

<p>
	 
</p>

<p>
	I've downloaded GreenSock-AS3 from the Dashboard Archived AS3
</p>

<p>
	Comparing AS3Docs/.../plugins vs GreenSock-AS3/.../plugins there are 10 files less on GreenSock-AS3 
</p>

<p>
	<br />
	Any idea where to get a newer version? (git hub has an even older version with more missing files) <br />
	<br />
	I know this is far way old, but I would like to test my experiment idea in "flash" before starting to downloading TouchDesigner and lerging from scratch. <br />
	<br />
	Thanks <span>:] </span>
</p>
]]></description><guid isPermaLink="false">43864</guid><pubDate>Wed, 15 Jan 2025 21:45:14 +0000</pubDate></item><item><title>Veteran Animator new to Coding and new to Shocking Green</title><link>https://gsap.com/community/forums/topic/23441-veteran-animator-new-to-coding-and-new-to-shocking-green/</link><description><![CDATA[
<p>
	I am new. I have done plenty of projects with the old tweening system here... only now, they seem like flukes. I want to successfully set up my animation studio and am in a middle of a deadline. I understand that there's a powerful community here with a support program? Once I get going, I can create and be a contributing member of value.
</p>

<p>
	Having said that, any help is greatly appreciated.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">23441</guid><pubDate>Wed, 25 Mar 2020 21:58:28 +0000</pubDate></item><item><title>TransformManager Price</title><link>https://gsap.com/community/forums/topic/14931-transformmanager-price/</link><description><![CDATA[<p>Hello, I wan't to know if there's another payment plan to buy TransformManager plugin, the price is too high and I am looking for monthly plan, is there any? or at least 6 months plan? Thanks.</p>]]></description><guid isPermaLink="false">14931</guid><pubDate>Thu, 18 Aug 2016 15:38:58 +0000</pubDate></item><item><title>How can I resize icon in the TransformManger?</title><link>https://gsap.com/community/forums/topic/14900-how-can-i-resize-icon-in-the-transformmanger/</link><description><![CDATA[
<p>I'd like to enlarge rotate and resize handler icon in the transformanager.</p>
<p> </p>
<p>ex) move, rotate, resize</p>
<p> </p>
<p>What should I need to apply the function for enlarging the cursor/icon in my code?</p>
]]></description><guid isPermaLink="false">14900</guid><pubDate>Fri, 12 Aug 2016 06:22:33 +0000</pubDate></item><item><title>Image quality inquiry</title><link>https://gsap.com/community/forums/topic/14180-image-quality-inquiry/</link><description><![CDATA[
<p>Hi, I'm wondering If I add an image to transformManager,</p>
<p>Is there any possible to reduce a quality of an image?</p>
<p> </p>
<p>I've tested two cases, the result is interesting for me.</p>
<p> </p>
<p>Once I call an image from file browser,</p>
<p> </p>
<p><strong>Common Action :</strong></p>
<p>bitmap.smoothing = true;</p>
<p> </p>
<p><strong>The size of an image :</strong> 600px X 600px (width:height).</p>
<p><strong>Background color :</strong> white.</p>
<p> </p>
<p><strong>First Case :</strong></p>
<p>Nothing to do with an image, then print the image.</p>
<p>The quality of an image is not bad.</p>
<p> </p>
<p><strong>Second Case :</strong></p>
<p>Add a child into transformManager, then just moving an image.</p>
<p>Do not resize then print document as well.</p>
<p>The quality of an image is too bad. (pixelation)</p>
<p> </p>
<p>So I'd like to know is there any methode prevent this kinds of thing?</p>
<p> </p>
]]></description><guid isPermaLink="false">14180</guid><pubDate>Wed, 13 Apr 2016 13:41:44 +0000</pubDate></item><item><title>What's the name of event when selection boundary box's released.</title><link>https://gsap.com/community/forums/topic/14151-whats-the-name-of-event-when-selection-boundary-boxs-released/</link><description><![CDATA[
<p>I'd like to know the name of event when I deselect transformItem.</p>
<p>I mean that I've finished resize or rotations jobs, I want to get event listener name.</p>
<p> </p>
<p>Oh one more thing,</p>
<p>Can I customize the icon on my select boundary box?</p>
<p>I want to add "delete" icon in there.</p>
<p> </p>
<p>Thank you.</p>
]]></description><guid isPermaLink="false">14151</guid><pubDate>Sun, 10 Apr 2016 06:14:08 +0000</pubDate></item><item><title>How to get movie clip from transformItem</title><link>https://gsap.com/community/forums/topic/14155-how-to-get-movie-clip-from-transformitem/</link><description><![CDATA[
<p><span style="font-size:14px;"><span style="font-family:arial, helvetica, sans-serif;"><span style="color:rgb(102,102,102);">I read transformManager document a few times, and I don't understand either one.</span></span></span></p>
<p> </p>
<p><span style="font-size:14px;"><span style="font-family:arial, helvetica, sans-serif;">I want to get movie clip from transformItem.</span></span></p>
<p><span style="font-size:14px;"><span style="font-family:arial, helvetica, sans-serif;">I understand how to get movie clip under the event method like below :</span></span></p>
<p> </p>
<p><span style="font-size:14px;"><span style="font-family:arial, helvetica, sans-serif;">function onSelectClip(event:TransformEvent):void {</span></span></p>
<div><span style="font-size:14px;"><span style="font-family:arial, helvetica, sans-serif;">    var mc:MovieClip = event.items[0].targetObject as MovieClip;</span></span></div>
<div><span style="font-size:14px;"><span style="font-family:arial, helvetica, sans-serif;">}</span></span></div>
<p> </p>
<p><span style="font-size:14px;"><span style="font-family:arial, helvetica, sans-serif;">But I want to get movie clip from transformManager(var manager:TransformManager) directly.</span></span></p>
<p> </p>
<p><span style="font-size:14px;"><span style="font-family:arial, helvetica, sans-serif;">So I try,</span></span></p>
<p><span style="font-size:14px;"><span style="font-family:arial, helvetica, sans-serif;"><span style="color:rgb(102,102,102);">var mc:MovieClip = manager.getItem();</span></span></span></p>
<p> </p>
<p><span style="font-size:14px;"><span style="font-family:arial, helvetica, sans-serif;">Could you give me an advice?</span></span></p>
<p style="font-family:'Signika Negative', sans-serif;color:rgb(102,102,102);font-size:17px;"> </p>
]]></description><guid isPermaLink="false">14155</guid><pubDate>Sun, 10 Apr 2016 14:07:00 +0000</pubDate></item><item><title>flipSelectionHorizontal does not work.</title><link>https://gsap.com/community/forums/topic/14152-flipselectionhorizontal-does-not-work/</link><description><![CDATA[
<p>Hi there.</p>
<p> </p>
<p>I'm trying to transform horizontally flip in my TransformManager.</p>
<pre class="ipsCode prettyprint">
fliph_btn_m.addEventListener(MouseEvent.CLICK, clickFlipHorizontalHandler);

function clickFlipHorizontalHandler(event:Event):void {
    manager.flipSelectionHorizontal();
}</pre>
<p>Am I missing something?</p>
<p>On selecting transformItem, the flipSelectionHorizontal method does not work at all.</p>
<p> </p>
<p> </p>
<p><strong>[Partial Solved]</strong></p>
<p>When I declare the selected item(manager.selectItem), it works fine. I mean there are no problem.</p>
<p>BTW is there any chance to resolve it without adding manager.selectItem?</p>
]]></description><guid isPermaLink="false">14152</guid><pubDate>Sun, 10 Apr 2016 06:38:06 +0000</pubDate></item><item><title>Judge whether item exist or not?</title><link>https://gsap.com/community/forums/topic/14150-judge-whether-item-exist-or-not/</link><description><![CDATA[
<p>I had a big problem with TransformManager.</p>
<p> </p>
<p>I just want to do select TransformItem that I've loaded in the stage.</p>
<p>If then I have to check existing in the stage too.</p>
<p> </p>
<p><strong>Question 1. How can I access the transformItem?</strong></p>
<p>I've marked the color of text, Is this a good way?</p>
<pre class="ipsCode prettyprint">
var manager:TransformManager = new TransformManager({allowDelete:true, autoDeselect:true});

// ref is an index number;

function clickHandler(e:MouseEvent):void {
    if(manager.selectedTargetObjects[ref] == null){
         // No item in the transformanager

    } else {
         // here is the item's existed
         manager.selectItem(manager.selectedTargetObjects[ref]);
    }
}</pre>
<p><strong>Question 2. How can I select transformItem if it is still in the stage.</strong></p>
<p> </p>
<p>Once I added the transformItem I can transform size properly.</p>
<p>However I try to select transformItem again, It has disappeared and New item add in the stage.</p>
<p>All I have to do is that I want to select transformItem again that I made once. <span style="color:#0000ff;">I mean I want to show selection boundary display again.</span></p>
<p> </p>
<p>I think it is related to below code but I cannot figure out at all.</p>
<p> </p>
<p>manager.selectItem(manager.selectedTargetObjects[ref]);</p>
<p> </p>
<p>or getSelectionBoundsWithHandles</p>
]]></description><guid isPermaLink="false">14150</guid><pubDate>Sun, 10 Apr 2016 05:22:54 +0000</pubDate></item><item><title>Do I have to destroy always when the TransformItem has removed?</title><link>https://gsap.com/community/forums/topic/14117-do-i-have-to-destroy-always-when-the-transformitem-has-removed/</link><description><![CDATA[
<p>Hi there.</p>
<p> </p>
<p>I'm wondering, the transformitem how to remove child item?</p>
<p>Do I need to destroy() method declaring always if I try to removeChild from my stage?</p>
<p> </p>
<p>If I use bitmap in transform item, Should I run dispose() function at every removeChild action For the memory?</p>
<p> </p>
<p>I've read the document for this one, However I could not find my answer <img src="https://gsap.com/community/uploads/emoticons/default_sad.png" alt=":(" srcset="https://gsap.com/community/uploads/emoticons/sad@2x.png 2x" width="20" height="20" /></p>
]]></description><guid isPermaLink="false">14117</guid><pubDate>Wed, 06 Apr 2016 12:46:28 +0000</pubDate></item><item><title>To add allowDelete:true option after a TransformManager has been created?</title><link>https://gsap.com/community/forums/topic/14118-to-add-allowdeletetrue-option-after-a-transformmanager-has-been-created/</link><description><![CDATA[
<p>I usually create my transform manager like below : </p>
<p> </p>
<p><span style="font-family:'Helvetica Neue', Arial, Verdana, sans-serif;">var manager:TransformManager = new TransformManager();</span></p>
<p>var mc1Item:TransformItem = manager.addItem(mc1);<br />var mc2Item:TransformItem = manager.addItem(mc2);</p>
<p> </p>
<p>Question 1 :</p>
<p>I'd like to add an option "allowDelete:true" in the transformManager.</p>
<p>How can I resolve my trouble?</p>
<p> </p>
<p>Question 2 :</p>
<p>And there are one more thing.</p>
<p>I'm planning to make a button that is used in purpose for removing TransformItem.</p>
<p>If then which action do I declare?</p>
<p> </p>
<p>I'm currently using backspace key for removing item</p>
]]></description><guid isPermaLink="false">14118</guid><pubDate>Wed, 06 Apr 2016 13:07:53 +0000</pubDate></item><item><title>Can I detect event when I finish transform manager job?</title><link>https://gsap.com/community/forums/topic/14103-can-i-detect-event-when-i-finish-transform-manager-job/</link><description><![CDATA[
<p>I'd like to detect the event when I release or finish transform manager.</p>
<p> </p>
<p>e.g. finish move or finish scale or finish rotate..</p>
<p> </p>
<p>If I finish doing job such as moving, rotation, scaling at a time,</p>
<p>I want to get event handler so that apply mask job.</p>
<p> </p>
<p>mc0Item.addEventListener(TransformEvent.FINISH_INTERACTIVE_MOVE, onFinishClip);</p>
<p> </p>
<p>if then, How can I find the name of movie clip in onFinishClip method?</p>
<p> </p>
<p>function onFinishClip(event:TransformEvent):void{</p>
<p>    var mc:MovieClip = event.currentTarget as MovieClip // error occurred</p>
<p>}</p>
<p> </p>
<p> </p>
<p>2nd Mouse pointer's disappeared when I finish to move the movie clip with transform manager.</p>
<p>I don't know why this problem occurred but After moving or rotating the movie clip, mouse pointer had disappeared for a while.</p>
<p>How can I resolve it?</p>
]]></description><guid isPermaLink="false">14103</guid><pubDate>Mon, 04 Apr 2016 17:06:54 +0000</pubDate></item><item><title>Add and remove items | TransformItem</title><link>https://gsap.com/community/forums/topic/13612-add-and-remove-items-transformitem/</link><description><![CDATA[
<p>Hello, I am trying to remove some items from the taregetObjects list using array but it's removing only one item!</p>
<p> </p>
<p>Code sample:</p>
<pre class="ipsCode prettyprint">
var my_item:TransformItem = t_manager.addItem(my_mc);
my_item.addEventListener(TransformEvent.SELECT, addToList);
function addToList(event:TransformEvent):void
{
    selectedArray = new Array;
    for (var t:int = 0; t&lt;t_manager.selectedTargetObjects.length; t++)
    {
        selectedArray.push(t_manager.selectedTargetObjects[t]);
    }
    ///selectedArray = t_manager.selectedTargetObjects;
    ///selectedArray = t_manager.selectedItems;
}

//// Remove items from targetObjects array:

index = 0
for(var i:int = 0; i&lt; selectedArray.length; i++)
 {
 ///////// some code here
 index++
 //trace(index) // output: 4
  if (index == selectedArray.length)
  {
  for (var t:int = 0; t &lt; index; t++)
   {
     t_manager.removeItem(selectedArray[i]);
   }
  }
 }
it's removing one item only!</pre>
]]></description><guid isPermaLink="false">13612</guid><pubDate>Sun, 24 Jan 2016 08:10:26 +0000</pubDate></item><item><title>Transform Manager Offset When Using ColorMatrixFilter on Containers of Target DisplayObject (as3)</title><link>https://gsap.com/community/forums/topic/13564-transform-manager-offset-when-using-colormatrixfilter-on-containers-of-target-displayobject-as3/</link><description><![CDATA[
<p>Transform Manager works GREAT in general, first off.</p>
<p> </p>
<p>But, when I apply a ColorMatrixFilter to a container - in this case taking the whole design area and applying a greyscale effect - the TransformManager selection box / handles show up offset up and left from the actual target.</p>
<p> </p>
<p>The filter applied looks like-</p>
<div>
<pre class="ipsCode prettyprint">
_greyScaleEnabled == true;
var matrix:Array = new Array();
matrix=matrix.concat([0.5,0.5,0.5,0,0]);// red
matrix=matrix.concat([0.5,0.5,0.5,0,0]);// green
matrix=matrix.concat([0.5,0.5,0.5,0,0]);// blue
matrix=matrix.concat([0,0,0,1,0]);// alpha
var greyscaleFilter:ColorMatrixFilter=new ColorMatrixFilter(matrix);
applyCanvasMatrixFilter(greyscaleFilter)</pre>
<p>applied to the layers container (where all the interactive objects are in child containers for different layers)</p>
<p> </p>
</div>
<div><pre class="ipsCode prettyprint">
public function applyCanvasMatrixFilter( $matrixFilter:ColorMatrixFilter ):void {

if (!_myFilters) { _myFilters = []; }
_myFilters.push($matrixFilter);
_layersContainer.filters = _myFilters;

}</pre></div>
<p>From this point on, after the TransformTool had been positioned perfectly up until this point, it will now be offset significantly up and left.  It seems there may be some kind of translation from child x,y position to the stage position / transform tool container (localToGlobal or similar?) that might not be working right when a filter like this is applied to a grandparent of the target object.</p>
<p> </p>
<p>Scale is at play too of both the target object and the container object as well.</p>
<p> </p>
<p> </p>
<div></div>
<p> </p>
<p> </p>
<p>Is this a known bug, or are there configurations for the TransformTool that will help correct offset?</p>
<p> </p>
<p>Does applying a filter to a parent container wipe out location data of child objects in flash somehow?<br /><br />Thanks so much for any insight on how to fix this...</p>
<p> </p>
]]></description><guid isPermaLink="false">13564</guid><pubDate>Sat, 16 Jan 2016 05:38:58 +0000</pubDate></item><item><title>use selectedTargetObjects to fit item to widow</title><link>https://gsap.com/community/forums/topic/13285-use-selectedtargetobjects-to-fit-item-to-widow/</link><description><![CDATA[<p>It seems I can use "manager.selectedTargetObjects" to change dropShadowFilter, color, opacity and so many other things.<br />but I cant seem to get it to resize an item. when i click my button, the bitmap inside the holder resizes and snaps back when you click on the item again. but if i was to put a drop shadow on the same way it works on the holder..<br /><br /><img src="http://dwcstuff.com/shot1b.png" alt="shot1b.png" /><br /> <br /><img src="http://dwcstuff.com/shot2b.png" alt="shot2b.png" /><br /> <br /> <br /> <br /> <br /> <br />Any help would be most appreciated.<br /> <br /> <br /> <br /> <br />fit_in.buttonMode = true;<br /> <br />fit_in.addEventListener(MouseEvent.CLICK, fitwindow);<br /> <br /> <br />function fitwindow(e: MouseEvent): void {<br /> <br />var myh = stage.stageHeight - 57.7;<br />var myw = stage.stageWidth; <br /> <br />var items: Array = manager.selectedTargetObjects;<br /> <br />    <br /> var stageCenter_x:Number = stage.stageWidth/2;<br /> var stageCenter_y:Number = stage.stageHeight/2;<br /> <br />        <br /> var picCenter_x:Number = items.width/2;<br /> var picCenter_y:Number = items.height/2;<br /> <br />        <br />      items.x = stageCenter_x - picCenter_x;<br />      items.y = stageCenter_y - picCenter_y;<br /> <br /> <br /> <br />for (var i: int = 0; i &lt; items.length; i++) {<br />TweenLite.to(items<em>.target, 0.75,{x:picCenter_x, y:picCenter_y, width:myw, height:myh});</em><br /><em>}</em><br /><em> </em><br /><em> </em><br /><em>}</em></p>]]></description><guid isPermaLink="false">13285</guid><pubDate>Sun, 29 Nov 2015 19:57:13 +0000</pubDate></item><item><title>Delete TextField issue</title><link>https://gsap.com/community/forums/topic/13163-delete-textfield-issue/</link><description><![CDATA[
<p>Hi, I am trying to edit the "onKeyPress" function to allow deleting the text fields by pressing two keys (Shift &amp; Backspace),</p>
<pre class="ipsCode prettyprint">
private static function onKeyPress($e:KeyboardEvent):void {
_keysDown[$e.keyCode] = true;
if ($e.keyCode == Keyboard.DELETE || _keysDown[Keyboard.SHIFT] &amp;&amp; _keysDown[Keyboard.BACKSPACE])
...
</pre>
<p>The code above will not work unless I set the "hasSelectableText" Boolean to false:<br /> </p>
<pre class="ipsCode prettyprint">
newVars.hasSelectableText = ($targetObject is TextField) ? false : $hasSelectableText;
</pre>
<p>But now I am not able to highlight the text! how to solve that please? can you point me to the line where I can set the selected object as a text field or "hasSelectableText"?<br /><br />Or if I added the text field inside a movieClip is there any way to use "SCALE_WIDTH_AND_HEIGHT" function instead of the normal scale mode? Thanks.</p>
]]></description><guid isPermaLink="false">13163</guid><pubDate>Wed, 11 Nov 2015 05:24:40 +0000</pubDate></item><item><title>dragged objects &#x2018;snap&#x2019; to a regular grid</title><link>https://gsap.com/community/forums/topic/6208-dragged-objects-%E2%80%98snap%E2%80%99-to-a-regular-grid/</link><description><![CDATA[
<p><span style="color:#000000;">Hi Jack. Could you advise me how to implement a way so that dragged objects ‘snap’ to a regular grid of positions? I’m hoping this feature is already implemented but i’m sure I could hack this feature up (happy to share resulting code - I've this lovely binarySearch array </span><a href="http://www.actionscript.org/forums/showthread.php3?t=273608" rel="external nofollow"><span style="color:#000000;">function</span></a><span style="color:#000000;"> that could be useful). I’d link this ‘shap-to-grid’ property to your ‘rotate around point’ feature so that the snapping would occur at a set point on the object.</span></p>
<p><span style="color:#000000;">Cheers,</span></p>
<p><span style="color:#000000;">Andy</span></p>
<p> </p>
<p><span style="color:#000000;"><span style="background-color:rgb(244,243,243);">PS Sorry, I posted this message also in your TransformManager comments page (free free to delete).</span></span></p>
]]></description><guid isPermaLink="false">6208</guid><pubDate>Mon, 11 Jun 2012 12:40:33 +0000</pubDate></item><item><title>Suggestions for setting transform properties programatically?</title><link>https://gsap.com/community/forums/topic/12392-suggestions-for-setting-transform-properties-programatically/</link><description><![CDATA[
<p>Driving myself crazy here trying to integrate the TransformManager into a legacy Flex project. I've finally resorted to eliminating the Flex part that TransformManager has to deal with (or so I think). So...</p>
<p> </p>
<p>What I need to do is</p>
<p>1. Save and restore transformation data NOT using the built in XML scheme</p>
<p>2. Enable user control through NumericSteppers in addition to direct interaction.</p>
<p> </p>
<p> </p>
<p>I've try to go easy on the code below. The settings are stored in an Object. The "canvas" is a Flex SpriteVisualElement. It can change in size if the user opts for "full screen" mode – so property settings are stored as percentages and the current values are derived from the current size of the "canvas". The items being managed by the TransformManager are nested custom classes inherited from Sprite:</p>
<p> </p>
<p>And item is structured like this:</p>
<p style="margin-left:40px;">CustomBaseClass  – Sprite</p>
<p style="margin-left:40px;">      CustomSuperClass    – Sprite </p>
<p style="margin-left:40px;">            BitmapClass         – Sprite - loads &amp; parents a Bitmap</p>
<p style="margin-left:40px;">            VectorClass          – Sprite - loads &amp; parents a SWF</p>
<p> </p>
<p> </p>
<p>The results are erratic – things jump all over, the proportions get distorted. Is there an order of operations I should follow? Or a better ways of doing this? I guess I can cram all the code into one class if that would work.</p>
<p> </p>
<p><strong>Am I doing this Wrong?</strong></p>
<pre class="ipsCode prettyprint">
            var newX:Number = canvas.width * (_winEvent.percentRect.x/100);
            var newY:Number = canvas.height * (_winEvent.percentRect.y/100);
            var newWidth:Number = canvas.width * (_winEvent.percentRect.width/100);
            var newHeight:Number = canvas.height * (_winEvent.percentRect.height/100);
            var newRot:Number = _winEvent.rotation;


          _transformItem.x = newX;
          _transformItem.y = newY;
          _transformItem.width = newWidth;
          _transformItem.height = newHeight;
    
          // reset rotation
          _transformItem.rotation = 0;
          _transformItem.rotation = newRot;

          //  have tried the 'rotate' function too
          //_transformItem.rotate(radians);

         // **have tried calling 'update'
        //_transformItem.update();

           // ** have also tried
          // transformManager.updateSelection(true)</pre>
]]></description><guid isPermaLink="false">12392</guid><pubDate>Tue, 08 Sep 2015 20:58:34 +0000</pubDate></item><item><title>Loading SWF Sandbox violation</title><link>https://gsap.com/community/forums/topic/12194-loading-swf-sandbox-violation/</link><description><![CDATA[
<p>I have a problem loading an swf and using it with transform manager. It comes in just fine, is of file type. but then when I try to use the transform manager, I get a sandbox violation: File: vs app:.</p>
<p>Attached text file shows exact error:</p>
<p> </p>
<p> </p>
<p><a href="https://gsap.com/community/applications/core/interface/file/attachment.php?id=1991" data-fileid="1991" rel="">error.txt</a></p>
]]></description><guid isPermaLink="false">12194</guid><pubDate>Tue, 11 Aug 2015 14:45:44 +0000</pubDate></item><item><title>Dead area with "autoDeselct"</title><link>https://gsap.com/community/forums/topic/11926-dead-area-with-autodeselct/</link><description><![CDATA[
<p>I have a Flex4 project in which I am using TransformManager. Think of it as an "image collage" type app with a "canvas" area and tool and channel sidebars like in Photoshop.</p>
<p> </p>
<p>The TransformManager "autoDeselect" property is set to true and I have added both sidebars to thr TM's "ignore" list. It mostly works ok except there is a "dead" area on one section of my canvas (a Spark Group element). This means that clicks in those areas does not trigger an autoDeselect. However if I have a "collage" element in that area, I AM able to select it – so it's confusing.</p>
<p> </p>
<p>This is likely a "stupid Flex" problem than a TransformManager issue but I've been trying to debug this for hours and I haven't been able to identify what is eating the mouseClicks.</p>
<p> </p>
<p><strong>Question:</strong> Can someone point me to the function in TransformManager which processes mouse click events. I looked a bit at the source code and put in some trace statements but didn't gat any output. I am thinking that maybe Flex has created some invisible crap skin thing in the "dead" area which is part of one of the ignored sidebars– but I have no idea how t get at it.</p>
<p> </p>
<p>Thanks!</p>
<p> </p>
<p> </p>
]]></description><guid isPermaLink="false">11926</guid><pubDate>Tue, 23 Jun 2015 02:16:38 +0000</pubDate></item><item><title>TransformManager bounds</title><link>https://gsap.com/community/forums/topic/11502-transformmanager-bounds/</link><description><![CDATA[
<p>First to note that I'm using FlexTransformManager component. I've set bounds to null, and it doesn't constrain movement of elements which is exactly that I want. But problem is that element is not fully visible outside of manager element (&lt;x,&lt;y,&gt;x+width,&gt;y+height). It will be only partially visible, like manager is masked with rectangle of width and height the same as manager.</p>
<p> </p>
<p>What's going on here and how can I workaround this?</p>
<p> </p>
<p>Many thanks,</p>
<p>Vjeko</p>
]]></description><guid isPermaLink="false">11502</guid><pubDate>Tue, 24 Mar 2015 21:27:52 +0000</pubDate></item><item><title>Save other variables/properties in XML on export?</title><link>https://gsap.com/community/forums/topic/11490-save-other-variablesproperties-in-xml-on-export/</link><description><![CDATA[
<p>Hello,</p>
<p> </p>
<p>I was wondering if it's possible to save other variables/properties of objects when exporting XML using TransformManager?</p>
<p>I'm building a game authoring engine using it and it's working great, but I'm hitting situations where I need to save extra information about the managed objects.</p>
<p>For instance, if I wanted to save a point value to a game object, or a target name for a teleporter game object? ie: </p>
<p>pointVal = "100"</p>
<p>or </p>
<p>teleportTargetID = "B100"</p>
<p> </p>
<p>Thanks,</p>
<p>Brent</p>
]]></description><guid isPermaLink="false">11490</guid><pubDate>Sat, 21 Mar 2015 23:54:53 +0000</pubDate></item><item><title>exportItemXML not working (or I am using it wrong)?</title><link>https://gsap.com/community/forums/topic/11384-exportitemxml-not-working-or-i-am-using-it-wrong/</link><description><![CDATA[
<p>I am trying to use "exportItemXML" with TM VERSION: 1.9669 – it is not working.</p>
<p> </p>
<p>In a test project, I load in some movieClips and then call the trace statements below. The Console output is at bottom.</p>
<p> </p>
<p>- the movieClips exist and are managed by my TransformManager instance</p>
<p>- the exportFullXML command works</p>
<p> </p>
<p>Am I using "exportItemXML" wrong? Or is this a bug?</p>
<pre class="ipsCode prettyprint">
            trace("objects", manager.targetObjects);
            trace("xml?", manager.exportItemXML(manager.targetObjects[1]));
            trace("single object", manager.targetObjects[1]);
            trace("all xml", manager.exportFullXML());
            
            var xml:XML = manager.exportItemXML(manager.targetObjects[1]);
            trace("xml??", xml);</pre>
<p><strong>Console output</strong></p>
<pre class="ipsCode prettyprint">
objects [object MovieClip],[object MovieClip],[object MovieClip]
xml?
single object [object MovieClip]
all xml &lt;transformManager&gt;
  &lt;settings allowDelete="0" allowMultiSelect="1" autoDeselect="1" constrainScale="1" lockScale="0" scaleFromCenter="0" lockRotation="0" lockPosition="0" arrowKeysMove="1" forceSelectionToFront="1" lineColor="3381759" handleColor="16777215" handleSize="8" paddingForRotation="12" hideCenterHandle="0" hasBounds="0"/&gt;
  &lt;items&gt;
    &lt;item name="red" level="0" a="1" b="0" c="0" d="1" tx="100" ty="100" xOffset="0" yOffset="0" rawWidth="100" rawHeight="100" scaleMode="scaleNormal" hasSelectableText="0" minScaleX="-Infinity" maxScaleX="Infinity" minScaleY="-Infinity" maxScaleY="Infinity"/&gt;
    &lt;item name="blue" level="1" a="1" b="0" c="0" d="1" tx="400" ty="100" xOffset="0" yOffset="0" rawWidth="100" rawHeight="100" scaleMode="scaleNormal" hasSelectableText="0" minScaleX="-Infinity" maxScaleX="Infinity" minScaleY="-Infinity" maxScaleY="Infinity"/&gt;
    &lt;item name="green" level="2" a="1" b="0" c="0" d="1" tx="700" ty="100" xOffset="0" yOffset="0" rawWidth="100" rawHeight="100" scaleMode="scaleNormal" hasSelectableText="0" minScaleX="-Infinity" maxScaleX="Infinity" minScaleY="-Infinity" maxScaleY="Infinity"/&gt;
  &lt;/items&gt;
&lt;/transformManager&gt;
xml??
</pre>
]]></description><guid isPermaLink="false">11384</guid><pubDate>Wed, 25 Feb 2015 21:50:34 +0000</pubDate></item><item><title>why TransformManager doesn't support unicode symbols and other language chars?</title><link>https://gsap.com/community/forums/topic/11209-why-transformmanager-doesnt-support-unicode-symbols-and-other-language-chars/</link><description><![CDATA[
<p>First of all, sorry for my english.</p>
<p> </p>
<p>Why TransformManager hide unicode symbols (☺☹☂☃) or other languages chars like Cyrillic, or Hebrew (<span style="color:rgb(37,37,37);font-family:Alef, 'SBL Hebrew', David;font-size:16px;">עברית</span>)?</p>
<p> </p>
<p>I know that Flash currenty supports unicode, you can do this in flash:</p>
<pre class="ipsCode prettyprint">
tf = new TextField();
tf.text = "☹"; 
//also works with unicode directly
tf.text = "\u263a";
</pre>
<p>Why doesn't work with TransformManager?</p>
<p> </p>
<p>Thanks!</p>
]]></description><guid isPermaLink="false">11209</guid><pubDate>Fri, 23 Jan 2015 10:40:39 +0000</pubDate></item><item><title>ghost shape triggering TM move cursor</title><link>https://gsap.com/community/forums/topic/11052-ghost-shape-triggering-tm-move-cursor/</link><description><![CDATA[
<p>I am using TM v: 1.9669 (purchased by a client last week) in a Flex 4.6/AS project and am seeing some odd behavior. I've spent the day trying to fix this but have had no success.</p>
<p> </p>
<p>The issue is that with an item selected, the TM "move" cursor appears outside the selection bounds, and it seems like there is a ghost shape or something the same size as the selection but offset from the center which is triggering it. That's clear, right? <img src="https://gsap.com/community/uploads/emoticons/default_icon_e_wink.gif" alt=";-)" /> There's an image below to show what I mean.</p>
<p> </p>
<p>I added the red rectangle in Photoshop to indicate the ghost area which is triggering the TM move cursor. This area is active and the selection can be moved by clicking and dragging within the red rectangle.</p>
<p> </p>
<p>I've built a stripped down Flex project which shows this issue and attached the exported .fxp below (without the TransformManager lib, of course). I've tried every way from Tuesday to determine if this is my bug and am not seeing it. Is this a Flex bug, a TM bug?</p>
<p> </p>
<p><img src="http://i795.photobucket.com/albums/yy237/skinnyTOD/tmBug_zps34f7f4e8.jpg" alt="tmBug_zps34f7f4e8.jpg" /></p>
<p> </p>
<p>The selected item is a Flex Spark group which loads an swf. It is pretty bare bones, so I am baffled as to where this ghost shape is coming from. I've stripped out the loader AS code below</p>
<pre class="ipsCode prettyprint">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/mx"
         width="5" height="5"
         resize="resizeHandler(event)"&gt;

    &lt;s:SWFLoader id="eventBtn"
                 width="{this.width - 5}" height="{this.height - 5}"
                 x="{regX}" y="{regY}"
                 verticalAlign="middle"  horizontalAlign="center"
                 complete="btn_completeHandler(event)" /&gt;

    &lt;s:Rect id="bitmapBorder"
            x="{regX}" y="{regY}"
            width="100%" height="100%"
            visible="true"&gt;
        &lt;s:stroke&gt;
            &lt;s:SolidColorStroke color="#ffffff" weight="2" /&gt;
        &lt;/s:stroke&gt;
    &lt;/s:Rect&gt;
&lt;/s:Group&gt;</pre>
<p><a href="https://gsap.com/community/applications/core/interface/file/attachment.php?id=1860" data-fileid="1860" rel="">TransformManagerBug.fxp.zip</a></p>
]]></description><guid isPermaLink="false">11052</guid><pubDate>Sun, 14 Dec 2014 21:41:04 +0000</pubDate></item></channel></rss>
