Senoc need help with FreeTransform (plz)

Hi Se, think I pm’d u accidentally, I was meant to post this in the AS forum but anyway just in case here’s my query :slight_smile:

Im ‘TRYING’ to use your FreeTransform proto from Layer51.com, with the drawing movie ive been making (for the last century lol) namely with lines using the draw api and duped circles (which have textfields inside)…

I think for my requirements I need 2 types of free transform, 1 for transforming lines, the other for transforming circles with text inside. It seems rotation with your FT kills the text inside my circle so I figured I would remove the rotation handles for one style. Also Im after;

1) manual control over FreeTransform as I only want it enabled when a user selects the ‘transform’ button in the tool bar (disabled otherwise)
-> so I have set 0 for autoRemove, so that I can addFreeTransform to all clips on ‘moveComponents’ (button clip) “down” event and removeFreeTransform on 'moveComponent’s (button clip) “up” (ie not selected). Seem ok/logical?

**2)**Next I have a canvas, so I need selected elements to swap depths and be dragged BUT only in the canvas area,
-> Im not sure how to implement a hitTest with a clip with FT added?

**3)**Lastly Ive had an issue with using FT on clips with api drawn lines. It seems that the center cross hair is way up in the top left, and funnily enough the boundary (ie the surround handles bit) manages to perfect wrap itself around the line. Of course because the center cross hair is way up in the top left the rotation and resizing of the line is completely wacky

Anyway here’s my 2 FT styles…


//My freetransform style for circles
ftCircleStyle = new FreeTransformStyle([3,0xFF0000,100], [15,0xFFEEAA,100], [null,"s",null,"s",null,"s",null,"s"], true, 0);

And for lines…


ftLineStyle = new FreeTransfromStyle([3,0xFF0000,100], [15,0xFFEEAA,100], ["r","s","r","s","r","s","r","s"] ,true,0);

*Ive PM’d you a download links to my movie, there are a few parts (2 swfs adminMenu.swf and cfgApp_Admin.swf) and the fla which contains the AS my above query is talking about (adminMain.fla).
**1)**The AS you’ll find in the timeline of the clip called ‘drawArea’.
**2)**And to run the movie compile the fla and click the blue arrow on ‘New’ in the menu you see, then a toolbar will appear with a canvas

…Theres a fair few lines of AS but Its all fairly simple really…

As usual your feedback will be most desirable Se :P, Actually im starting to think your brain must run on AS mate :cowboy: