LA Flash and Flex Developer
11 Oct
I posted a question on the Papervision3D forum earlier this week and no one has posted an answer yet. It seems like a simple question but I have tried every possible method and property known to man and I can’t find a solution. The question I posted was:
“I have created a MovieMaterial and I placed it in a panel. By default the MovieMaterial is 106×76 and I have set animated = true on it. When my carousel rotates to a specific plane a swf is loaded into the MovieMaterial and I call gotoAndPlay(’in’) on the loaded swf. The animation plays but since the animation goes larger than 106×76 it is cropped. I am trying to get the effect of the animation busting out of the panel/material. How can I turn off the masking on the panel, or is the material masked? I have set allowAutoResize to true, and have tried almost every property and method available, what am I missing? “
Does anyone have an answer out there? Please! I love that I am able to work with Papervision again, hopefully soon I will be able to post some of the cool stuff I am working on. I thank you in advance if you know the answer.
3 Responses for "Papervision3D question, please help…"
The material will always be cropped to the panel dimensions you specify, due to the way 3d objects are rendered. If you want the effect of the panel animation expanding, make your panel the size of the largest part of the animation, and turn on transparency.
I have attempted something similar. I loaded an external SWF which is a slideshow to a plane. It is supposed to cycle through images and does so normally. But when loaded into a MovieMaterial and attached to plane it does not cycle through the slides. I have set the material.animated property to true and I know that it is doing something because the TextField.text is being updated. An example can be found @ http://www.southernswerve.com/test/Redzone.html someone please provide some insight into what is happening.
Do you have an solution to this problem?
i have the opposite problem, my animation is larger than the plane and it scales the texture down until the moviecip fits on the plane!
Leave a reply