PDA

View Full Version : How to show transform point when using custom tool?


qhwa
02-03-2005, 03:18 AM
Hi, I'm new to JSFL and making a "Crop" tool, like the crop tool in Photoshop.
I would like my tool work like this:

1. click & drag - draw a square
2. release mouse - stop drawing, show tranform point of the square. use can scale & rotate the square.
3. double click - end "scale & rotate", crop the stage.

the problem is, how can i make a square after mouseUp and show its transform point ? and it should not affect the movie.

can JSFL make it ? if it can, how? thx :)

Most flash tools end their function when mouseUp,
however, the transform-tool and Fill-transfrom-tool require twice clicking .
It seams that flash can make tools like this, but i can't find it though i had searched in JSFL reference. :(

hangalot
02-08-2005, 11:13 AM
tools have a mouseDoubleClick function if you want to use that.
the best place to ask this kinda of question is on the extend flash list on flashgburu.co.uk

qhwa
02-16-2005, 03:14 AM
thx :)