Catch minimap button click? (as3)

Using Pano2VR/Object2VR SWF files with your own Flash projects
Post Reply
commodore64
Posts: 40
Joined: Mon Feb 16, 2009 11:38 am

Catch minimap button click? (as3)

Post by commodore64 » Mon Jun 27, 2011 8:12 am

Hi,

Is there some way to catch (minimap) button click?
On the API there are hotspot events, but not normal buttons..(?)

What I want to do is,
I have added 360loader on flash (from api sample code),
then if I click minimap (or basically, if I change panorama (using the skin buttons),
I need the new panorama name/id in flash..)

thanks

User avatar
Hopki
Gnome
Posts: 9350
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Catch minimap button click? (as3)

Post by Hopki » Mon Jun 27, 2011 3:45 pm

Topic Moved to Action Script forum.
Hopki

commodore64
Posts: 40
Joined: Mon Feb 16, 2009 11:38 am

Re: Catch minimap button click? (as3)

Post by commodore64 » Mon Jul 25, 2011 9:56 am

Temporary solution:
Going thru the objects & variables with AS3 (using getChild and others..)
you can read some values from panorama, to get the panorama name.

(maybe could catch the mapbutton that way also, but just needed the currentpanorama name for now..)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest