PDA

View Full Version : removeSpot


viking0
11-30-2007, 05:41 AM
Hi, have some one tryied to remove hotspot from panorama with AS3?
I try this

panorama.externals.hotspots.removeSpot()
panorama.externals.hotspots.hotspots_obj.removeSpo t()

but I get and error

Argument count mismatch on Hotspots/removeSpot(). Expected 1, got 0.

thanks!

zleifr
11-30-2007, 10:58 AM
try:
panorama.externals.hotspots.removeSpot(spot_id)

the error means you need to pass it something.

viking0
11-30-2007, 12:03 PM
it works, thank you :D