[Papervision3D] Simple Button hand mode
Rob Bateman
rob.bateman at gmail.com
Fri Dec 21 16:23:20 PST 2007
Hey Vince
may i suggest trying to use our 3d alternative away3d? It handles
simplebutton interaction correctly if you use a MovieMaterial with
interactive set to true. More details can be found on our site away3d.com
hope this helps
Rob
On Dec 12, 2007 5:47 PM, Vincent Maitray <vincent at electrofrog.com> wrote:
> Hi Thomas,
> Thanks for your answer...
> Your code solved one thing : I see the hand cursor on my plane now... but
> it shows on the whole plane, and not only over the button...
> This is strange...
>
> For the button states, I am have been testing different flavours of
> code... with no success for now.
> Keep trying...
>
> Vincent
>
>
> Le 12 déc. 07 à 18:32, Thomas Saunders a écrit :
>
> Hi Vincent,
>
> Try this to fix the hand cursor.
>
> viewport.containerSprite.buttonMode = true;
>
> As for your button states-I'm not sure. I'd try creating your own button
> out of a couple of sprites and event listeners
>
> Let me know if this helps-
>
> Thomas
>
> http://modern-carpentry.com/talk
>
>
>
> >
> > Message: 4
> > Date: Wed, 12 Dec 2007 18:09:46 +0100
> > From: Vincent Maitray <vincent at electrofrog.com>
> > Subject: [Papervision3D] PV3D 2.0 - using a SimpleButton created in
> > Flash IDE : no states, no hand cursor
> > To: papervision3d at osflash.org
> > Message-ID: < 315D338F-15A8-4F3F-A306-F36DD5CCE454 at electrofrog.com>
> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
> >
> > Hi,
> >
> > I have been using PV3D Great White for a few days, and I'd like to use
> > a SimpleButton created in Flash IDE.
> > This button is inside a MovieClip being used as MovieAssetMaterial
> > applied on a Plane... The problem is that I can't see the states of
> > the button nor I can see the hand cursor...
> > I tried to do the same with a MovieClip created by code and used as a
> > SimpleButton and it worked ( but the useHandCursor property doesn't
> > seems to work either ).
> >
> > Is there a way to do this ?
> > Thanks for your help.
> >
> > btw : this my first post here so many thaks to the developpers for
> > PV3D... ^_^
> >
> > Here is my code :if it helps :
> >
> > Vincent Maitray
> >
> >
> >
> _______________________________________________
> 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
>
>
--
Rob Bateman
Flash Development & Consultancy
rob.bateman at gmail.com
www.infiniteturtles.co.uk
www.away3d.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071222/5ce88e1b/attachment.html
More information about the Papervision3D
mailing list