I've not tried this but you could put your texture into a movieclip in flash
place hotspots visually (invisible buttons with unique id's). Then setup an
interactive moviematerial and use that for the skybox.

Example and source code to setup moviematerial can be found here:
http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=4&subindex=4&aid=121

Example and source code for skybox can be found here:
http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=4&subindex=7&aid=129

<http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=4&subindex=4&aid=121>
GL

D



On 10 April 2011 23:49, juju <[email protected]> wrote:

> Hi everyone,
> First of all sorry about my poor english.
>
> I'm having trouble to create hotspots over a panorama made with a
> Skybox.
> This is the first time I use away3d and tutorials by Rob Bateman was
> very clear and helpfull.
>
> But for those "hotspots" that I'm trying to create, I've absolutly no
> idea how to do this.
> I've found this thread where Omar Fouad, I think, was having the same
> troubles..
>
> http://markmail.org/message/e5dzjbjk7otmwcfb
>
> And Fabric3D posted a reply:
>
> "Using the Ray class you would indeed with the projection of two rays
> get your uv's coordinates and via barycentric formula from the faces
> hitted extract a rectangle. The defined rect could then be compared
> with your mouse3devent... the hard way.
>
> Simplest way would certainly be to define 2d rect on map. the
> mouseEvent3D returns you the uv's, define a Point from these x,y
> extracted from the uv's and a simple PointInRect would tell you if you
> have a hit. "
>
> But.. I didn't understand a word.. :(
>
> Please, anyone ideas ?

Reply via email to