Highlighted

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

Community Beginner ,
Dec 24, 2018

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by Colin Holgate | Adobe Community Professional

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.

TOPICS
ActionScript

Views

215

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

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

Community Beginner ,
Dec 24, 2018

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by Colin Holgate | Adobe Community Professional

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.

TOPICS
ActionScript

Views

216

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 24, 2018 0
Adobe Community Professional ,
Dec 25, 2018

Copy link to clipboard

Copied

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?

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 25, 2018 0
Community Beginner ,
Dec 26, 2018

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 26, 2018 0
Adobe Community Professional ,
Dec 26, 2018

Copy link to clipboard

Copied

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

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 26, 2018 0
Community Beginner ,
Dec 26, 2018

Copy link to clipboard

Copied

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 26, 2018 0
Adobe Community Professional ,
Dec 26, 2018

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 26, 2018 3
Adobe Community Professional ,
Dec 26, 2018

Copy link to clipboard

Copied

Adding to Colin's answer, one simple thing you can try and that I tested here and worked is to set the mouseChildren property of the main timeline to false. Just write this in the first frame of the main timeline:

mouseChildren = false;

But this of course depends on what you want enabled/disabled in your development/tests.

Regards,

JC

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 26, 2018 2
Community Beginner ,
Dec 26, 2018

Copy link to clipboard

Copied

These codes have solved my problem.

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 26, 2018 1