|
| samothtronicien |
Post
#1
|
|
Member Group: Members Posts: 25 Joined: 23-August 06 Member No.: 326 |
Hi,
I've a question, do you have a problem with the videoskin, because when i try to compile, flashdevelop give me this error message : CODE E:\Prog\AS\Classes\AS2/sandy/skin/VideoSkin.as:46: characters 25-37 : type error Video have no field _width The problem comes from that the type Video don't have fields _width, _height, because in fact (for my case) its width and height. CODE public function VideoSkin( video:Video, bSmooth:Boolean, a:Number ) { super( new BitmapData( video._width, video._height ), bSmooth, a); //here it should be : super( new BitmapData( video.width, video.height ), bSmooth, a); _video = video; // TODO: Think again on which choice is clever, choosing the World3D framerate to update the texture // or to use the texture movieClip framerate as timer to update the bitmap. World3D.getInstance().addEventListener( World3D.onRenderEVENT, this, __updateTexture ); } Am I the only one to have this problem (may be wrong file for the video type or something like that) ? This post has been edited by samothtronicien: May 26 2007, 12:07 PM |
| Lo-Fi Version | Time is now: 28th July 2007 - 11:16 AM |