adding hotspost using AS3

Using Pano2VR/Object2VR SWF files with your own Flash projects
Post Reply
floser
Posts: 2
Joined: Fri Feb 26, 2010 8:22 pm

I tried using code:
<panoclip>.pano.addHotspot(<id:String>,<pan:Number>,<tilt:Number>,<mc:MovieClip>);
under AS3 and it generates an error. It works fine under AS2. I'm I doing something wrong?

Thanks for any help.
filepark
Posts: 8
Joined: Mon Oct 05, 2009 4:45 am

I guess the problem is in your code. I have used the method <panoclip>.pano.addHotspot(...);, it works ok. May be you try to call the method before loading a panorama.
Post Reply