Hotspotarea via API

Using Pano2VR/Object2VR SWF files with your own Flash projects
Post Reply
ITSforYou
Posts: 4
Joined: Tue Sep 08, 2009 8:03 pm

Hello,

Can anyone tell me if it is possible to create hotspotarea's via the AS2 API?
I know how I can make hotspotpoints, but I would like to define an area...

Thanks in advance,
John Baijens
Noisy
Posts: 35
Joined: Wed Apr 04, 2007 12:49 am
Location: Scotland

You can make a hotspot any shape you want and add it with code but unfortunately as far as i can see it dosn't distort along with the pano, only ones that are embedded when you make the pano do that. This is the No 1 feature I'd like to see actually.

I'm going to try making something to allow a hotspot to distort when I get a bit of time to research but it means asking the flash player to do the same calculation twice which is a bit expensive if the hotspot that's added via script could be distorted using the figures from the panorama and not just have its x and y changed, That would be super cool. I'm assuming that the hotspots created at authoring are MovieClips or sprites themselves so It wouldn't be so hard to impliment would it?
Post Reply