Hotspot clicked in a loaded pano? (as3)

  • How can I achieve the subject? Let's assume I add a hotspot using the pano's xml:

    Code
    <hotspot name="hs1" alpha="0">
    		...the points
    </hotspot>

    Now I will load this pano into another swf file and use the following:

    Now I need to call a function when the hotspot 'hs1' is clicked, however I am unable to retrieve the reference to the sprite. How can I do that? Thanks.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!