[Papervision3D] HotSpots on the stage

chad vavra chadvavra at gmail.com
Fri Apr 27 22:15:18 EDT 2007


thanks.  Totally works if I make the stage clickable, but not when I set the
listener to a plane...

is it because it's a DisplayObject3D and doesn't support it?



On 4/27/07, Peter Kapelyan <flashnine at gmail.com> wrote:
>
> I found some stuff on google, I'm about to try - I'm guesiing this person
> is also on the list :)
>
> http://davr.org/flash/BouncingCubes.as
>
> It dunno if it works but i guess it outlines the right structure...want to
> try myself :)
> -Pete
>
>
> On 4/27/07, chad vavra <chadvavra at gmail.com> wrote:
>
> > I'm actually having a similar problem in Flex.
> > I'm trying to get a plane to be clickable.
> >
> >
> > Please post source if you do get it to work.
> >
> >  On 4/27/07, Peter Kapelyan < flashnine at gmail.com> wrote:
> >
> > >  Hello,
> > >
> > > Is this as2 or as3? I use as3...I am trying something like your
> > > example now - will tell you if I get it to work.
> > >
> > > -Pete
> > >
> > >
> > >  On 4/27/07, Németh Tibor <megant at freemail.hu > wrote:
> > > >
> > > > I'd like to put hotspots to a panorama. These spots are added
> > > > children
> > > > of the panorama called "room". Doesn't work. Why is it?
> > > >
> > > > function addHotSpot():void
> > > >    {
> > > >        var hotSpot:DisplayObject3D = room.addChild(new Plane(new
> > > > ColorMaterial(0xFFFFFF),10,10), "hotSpot" );
> > > >        var container:Sprite = hotSpot.container;
> > > >        hotSpot.x = 0;
> > > >        hotSpot.y = 255;
> > > >        hotSpot.z = 200;
> > > >        container.buttonMode = true;
> > > >        container.addEventListener(MouseEvent.MOUSE_DOWN, doPress);
> > > >    }
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Papervision3D mailing list
> > > > Papervision3D at osflash.org
> > > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > > >
> > >
> > >
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> > >
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070427/a2412f3a/attachment.htm


More information about the Papervision3D mailing list