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

adding hotspost using AS3

Post by floser » Fri Mar 05, 2010 2:13 am

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

Re: adding hotspost using AS3

Post by filepark » Mon Mar 29, 2010 4:01 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

Who is online

Users browsing this forum: No registered users and 1 guest