[Papervision3D] interactive panorama question

nicola sirago n.sirago at gmail.com
Thu Nov 8 05:57:52 PST 2007


ok thank'u for reply to my stupid question.... i tryied it but the problem
is about the MaterialsList, infact when i put an interactive material inside
a plane it work properly but it doesn't work if i do the same placing the
interactive material in a materialsList for the cube.

yesterday i read a post from Tollman Owens that mention the same trouble.

I'm confused

2007/11/8, katopz at sleepydesign.com < katopz at hotmail.com>:
>
>  maybe you 've to start from InteractiveMovieMaterial sample
>
> katopz
> http://www.sleepydesign.com/
>
> ___________________________________
>
> ----- Original Message -----
>  *From:* nicola sirago <n.sirago at gmail.com>
> *To:* papervision3d at osflash.org
> *Sent:* Thursday, November 08, 2007 00:02
> *Subject:* [Papervision3D] interactive panorama question
>
> hi all!
> I'm new from here,
> first of all Papervision is great an also a big trip for my mind.
> so sorry for my english because i'm italian.
>
> I've a problem that maybe you are able to solve.
> I'd like to make an interactive panorama, so,
> starting from the example "panorama" in the repository i change it width
> the importation of
>
> MouseEvent, interactiveMovieAssetMaterial, and virtualmouse.
>
>  i've place a movieclip inside the bottom view called "button",
>
> an i changed the MaterialsList in that way.
>
> var interactiveBottom:InteractiveMovieAssetMaterial = new
> InteractiveMovieAssetMaterial( "Bottom", true ,true);
>  interactiveBottom.movie["button"].addEventListener( MouseEvent.CLICK,
> handleButton);
>
>
>         var materials:MaterialsList = new MaterialsList(
>         {
>             //all:
>             front:  new MovieAssetMaterial( "Front", true ),
>             back:   new MovieAssetMaterial( "Back", true ),
>             right:  new MovieAssetMaterial( "Right", true ),
>             left:   new MovieAssetMaterial( "Left", true ),
>             top:    new MovieAssetMaterial( "Top", true ),
>             bottom: interactiveBottom
>         } );
>
>
> outside the createCube method i've put this function:
>
>
> private function handleButton(e:MouseEvent):void
>     {
>         trace("vMouse click from btn", e.currentTarget);
>     }
>
>
>
> finally i've no error of publication but the script does'nt work.
> Do you have any idea about my mistake?
>
> thanks in advance for your help!
>
> ciao ciao!!!!
>
>  ------------------------------
>
> _______________________________________________
> 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/20071108/b24ecc82/attachment.html 


More information about the Papervision3D mailing list