Object2VR Scrollbutton in Container

Using Pano2VR/Object2VR SWF files with your own Flash projects
Post Reply
martin.
Posts: 4
Joined: Fri Aug 20, 2010 9:46 am

Hi all
i have created a .swf (Flash9 AS3) page with a object2vr.swf in it.
the object2vr-3d-object is embeded this way:

Code: Select all

object2vr.load(new URLRequest("xyz.swf"));
by using the scrollwheel of the mouse the 3d-object can be zoomed in and out. BUT it reacts aswell when you scroll OUTSIDE the container somewhere else in the outer swf.
same effect: if the user drags the 3d-object and releases the mousebutton outside the borders of the 3d-object the object reacts regardless the mousebutton is no longer pressed.
How can I prevent the mouseevent listeners of the object2vr.swf to listen OUTSIDE its borders?

cheers martin
martin.
Posts: 4
Joined: Fri Aug 20, 2010 9:46 am

no one any ideas?
PhotoSpherix
Posts: 314
Joined: Wed Oct 22, 2008 9:45 pm
Location: Beech Grove
Contact:

Martin, if you put the fla up where I can get to it, I will look and see if I can add a confirmation of what the mouse is over before it will zoom.
PhotoSpherix
Starting a revolution in Photography
360 Product Photography
Post Reply