[Papervision3D] Simple plane manipulation not working

Dwayne Neckles dwayneneckles at hotmail.com
Wed Mar 19 14:21:13 PST 2008


I want to add a plane.. thats 100 in height...

but i want it to start with 0 height and then tween to a height of 100... sorry for this simple question but the code below..isnt working


var shortLineMaterial = new MovieAssetMaterial("ShortLine",true,true,true,true);
            if (shortLineMaterial) {
                var shortline:ShortLine =shortLineMaterial.movie as ShortLine;
                if (shortline) {
                    //Tweener.addTween(shortline,{scaleY:.8, time:2, delay:1.5, transition:"easeInOutBack"})
                      //Tweener.addTween(shortline,{scaleY:1.5, time:2, delay:2, transition:"easeInOutBack"})
                }
            }
 shortLinePlane1 = new Plane(shortLineMaterial,shortline.width,shortline.height,4,4);
          
            
shortLinePlane1.scaleY = 0

Tweener.addTween(myShortLine1,{scaleY:1, time:2, delay:1.5, transition:"easeInOutBack"})

_________________________________________________________________
Enter the Zune-A-Day Giveaway for your chance to win — day after day after day
http://www.windowslive-hotmail.com/ZuneADay/?locale=en-US&ocid=TXT_TAGLM_Mobile_Zune_V1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080319/57e69978/attachment-0001.html 


More information about the Papervision3D mailing list