Hi Jerome,

I've tried what you told me but it gives me some errors, which is the
following:

"Access of undefined property ini"
"Access of undefined property Init"

These come from the following code at VideoMaterial.

ini = Init.parse(init);
loop = ini.getBoolean("loop", false);
file = ini.getString("file", "");

Do you have any idea how to avoid this? I've tried to copy also the
Init.as from Away3D but it gives me more problems.

Thanks,
mn



On May 19, 12:41 am, elguapoloco
<[email protected]> wrote:
> Hi,
>
> As Jensa mentioned porting theVideoMaterialfrom Away3D to a
> Away3DLite project is pretty easy. You will also need to copy the
> VideoEvent class. Aside updating the import statements, the only edit
> needed is in the updateDimensions method. I commented out the
> following lines:
>
> _lockW = ini.getNumber("lockW", movie.width);
> _lockH = ini.getNumber("lockH", movie.height);
> _bitmap = new BitmapData(Math.max(1,_lockW), Math.max(1,_lockH),
> transparent, (transparent) ? 0x00ffffff : 0);
>
> to avoid a compile error. The class works great in Lite after that!
>
> ath
>
> Jerome.

Reply via email to