[Papervision3D] Newb Interactive Scene Manager Question
John Grden
neoriley at gmail.com
Wed Oct 31 05:12:40 PDT 2007
set buttonMode on scene.container
scene.container.buttonMode = true;
the old ISM created sprite containers, so you could set buttonMode on each
of those. The new ISM doesn't create sprite containers, so buttonMode with
ISM doesn't make sense anymore. So, now you have control over that with
Scene3D.container
hth,
John
On 10/31/07, grapefruitlips <grapefruitlips at mail.ru> wrote:
>
> There is two InteractiveSceneManager files in org\papervision3d\utils
> InteractiveSceneManager.as
> and
> InteractiveSceneManager_old.as
>
> So in the first file there is nothing about buttonMode
> but in the second one.
> i don't know how to edit it, im new
> and i dont understand why somebody deleted that if it was and was cool
>
> anyone?
>
>
> Ayan Ray wrote:
>
> I recently upgraded from 1.7 to the phunky branch (which I think is
> absolutely brilliant and intuitive).
> However, while upgrading my code, I ran into the problem with the
> Interactive Scene Manager.
>
> 1.7 code
> -------------------
> scene.interactiveSceneManager.enableMouse = true;
> scene.interactiveSceneManager.buttonMode = true;
> scene.interactiveSceneManager.addEventListener(
> InteractiveScene3DEvent.OBJECT_CLICK, handle3DMouseDown);
>
>
> Phunky code
> -------------------
> scene = new Scene3D( container, true );
> scene.interactiveSceneManager.buttonMode = true;
>
> var movieAsset:MovieMaterial = new MovieMaterial(year3D, false, false);
> movieAsset.interactive = true;
> movieAsset.addEventListener(InteractiveScene3DEvent.OBJECT_CLICK,
> handle3DMouseDown);
>
>
> My problem is, where do I find the "buttonMode" in phunky that changes the
> mouse cursor to a hand?
> Line 2 of my code causes a compiler error saying the buttonMode property
> isnt there and if I add it
> to the movieAsset it also breaks.
>
>
> Thanks in advance!
>
>
> -AR
>
> ------------------------------
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.orghttp://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
--
[ JPG ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071031/560c74eb/attachment.html
More information about the Papervision3D
mailing list