Help! MoviTextures on Ipad

Hello! I’m working with the Beta Version of Unity 3. When I try to use a MovieTexture it’s writting “Error building Player because scripts had compiler errors”.

The error is “BCE0018: The name MovieTexture” does not denote a valid type(‘not found’)"

The code is:

var movTexture : MovieTexture;

function Start () {
renderer.material.mainTexture = movTexture;
movTexture.Pause();
}

May be Unity 3 don’t support videos for ipad? where i’m doing the error?

Thanx very much!

You can only play movies as fullscreen, there is no movie texture functionality.
Apple does not expose hardware movie acceleration in any way aside of the fullscreen movie player.

See the class iPhoneUtilities for the movie functions

thanx!!!
but i’m looking for in the unity help and google and i don’t find something about “iPhoneUtilities class”. Where have I look for?

thanx so much!!! i find it! i’ll try to do it.
thanx again!

you won’t find anything with google because its an iphone specific thing and not present in the online documentations but in the unity iphone documentations you get with your unity iphone installation.

there you can search for it in the script reference

we have realized a texture animated player script synced with audio so we can play movies also.
In this way you can play a movie ( with synced audio ) as a sequence of textures.