Page 1 of 1

Catch minimap button click? (as3)

Posted: Mon Jun 27, 2011 8:12 am
by commodore64
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

Re: Catch minimap button click? (as3)

Posted: Mon Jun 27, 2011 3:45 pm
by Hopki
Topic Moved to Action Script forum.
Hopki

Re: Catch minimap button click? (as3)

Posted: Mon Jul 25, 2011 9:56 am
by commodore64
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..)