This content has been marked as final. Show 4 replies
value is the precentage of the scale. for example if value=200 the movie clip will scale twice as much the original size.
What would the script that is attached to my movie look like? Is there a way to make it possible for the user to click and drag the movie clip and scale it to the size they want?
yes, it can be done.
you'll want to either use movieclips positioned where you want the resizing to be initiated or use a hitTest() to determine the mouse's location when a mousedown or press is detected.
the benefit of using movieclips, is you can use a rollover to trigger a custom cursor that indicates to the user that resizing can take place by pressing and dragging.
you would then resize and/or reposition using a loop and the mouse position.
Sounds great. Not really sure how to do that though. Is it possible to do the rollover cursor and resizing when I already have the moveclip set to be dragged onClick.
Sample Script??? If it's not to much to ask. I feel like you've helped me a ton already.