Skip to main content
ahmety84897633
Participant
December 25, 2018
Answered

When i zoom on movie clip in flash player, pan is not working.

  • December 25, 2018
  • 2 replies
  • 774 views

Hi, there

I have a problem and this situation is really boring me.

When i zoom on movie clip in flash player, pan is not working.  Pan is working out of movie clip symbol in normal but it doesnt working on movie clip symbol when i zoom

I use animate cc in action script 3.

Please help me. Realy appreacite

This topic has been closed for replies.
Correct answer Colin Holgate

Hi. Unfortunately i dont sent any document in my position.

But i can write step by step, very simple actually.

1 open animate cc 2017.2 (16.2.0.24)

2 create file new as3 document (550x400px), default

3 draw any shape for example:  draw rectangle (200x200px) in the middle of scene

4 convert to symbol this shape

5 select type movieclip, okay thats it.

6 control/test   or   ctrl + enter

7 right click and zoom  in in the test window 

8 while i can pan out of moviclip, i can not pan on the movieclip

How can i solve this situation?


It seems that Flash Player has code to allow you to pan by clicking and dragging on the stage, but a movieclip in the way will stop the mouse drag from getting to the stage. Even if you set the movieclip's mouseEnabled and mouseChildren to false, the mouse event doesn't get through.

You could do your own pan code, where everything in your scene is inside one movieclip, which you move around when the user drags on it.

Other than that, right-click and zoom out far enough to pan by dragging the stage to the sides of the movieclip.

2 replies

ahmety84897633
Participant
December 27, 2018

These codes have solved my problem.

I have tried mouseEnabled and mouseChildren codes. I realy realy appreacite. Thank you very much.

JoãoCésar17023019
Community Expert
Community Expert
December 25, 2018

Hi.

What kind of zoom are you referring to? When a SWF is running inside of a Flash Player window and we right-click to zoom?

ahmety84897633
Participant
December 26, 2018

Yes definetely. I want pan on my movieclip when i zoom in flash player

JoãoCésar17023019
Community Expert
Community Expert
December 26, 2018

Can you provide a SWF or FLA, GIF or video showing the problem so we can inspect?