Thanks for your help Fabrice,
I tried to make some sense out of what you said, and it seems logical.
But now that I digged deeper into understanding the VideoMaterial
class, fixedWidth and fixedHeight are private properties, and are
initialized when the video is loaded.
Although if I trace the width and height of the video material it
returns the value 1 for each. With a VideoEvent.METADATA event it
returns the the correct size(4594x300).
I used earlier the 3.6 version, but now I'm using the trunk version,
but the result is the same.
How can I achieve the matching of the values, since there's no direct
method to do it?
My code looks like this:
var videoMat:VideoMaterial = new VideoMaterial();
videoMat.addEventListener(VideoEvent.METADATA, onMetaData);
videoMat.file = "dados/Video360_mostra.flv";
videoMat.interactive = false;
videoMat.loop = false;
videoMat.volume = 0.5;
cylinder = new Cylinder( { material:videoMat, segmentsH:1, segmentsW:
30, height:300, radius:100, openEnded:true } );
cylinder.scaleX = -1;
view.scene.addChild(cylinder);
Thanks for your time,
Leonel