Skip to main content
Jhon Carlo
Inspiring
January 22, 2016
Question

Drag the stage with an image over

  • January 22, 2016
  • 1 reply
  • 536 views

I need to zoom the stage.

It is possible to drag the stage but, in my case, I have a lot of large images over the stage and when I zoom the stage there is not more portion of thage that I can grab and drag because it is out from the portion that is possible to see.

Is there a method that make it possible to drag the stage with the images (movie clip) that I have on the stage?

Notice that I browse a lot of images on stage with the method:

setChildIndex(MyMovieClip, this.numChildren - 1);

(The images are browsed automaticaly with cue point).

Thank you.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
January 22, 2016

are you asking how to zoom the stage (if so, use scaleX and scaleY) or are you asking how to drag objects on stage (if so, adjust the x and y properties of the main timelne).

Jhon Carlo
Inspiring
January 22, 2016

Thank you for the reply kglad!

No, I'm asking at the level of the swf file.

It is possible to zoom the stage with the right click of the mouse (larger image; reduce; 100%).

kglad
Community Expert
Community Expert
January 22, 2016

you can use the contextmenu class to enable custom actions including zooming.