This is G o o g l e's cache of http://www.flashsandy.org/forum/index.php?showtopic=540&pid=3259&mode=threaded&show=&st=& as retrieved on 28 Jul 2007 11:35:29 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?q=cache:CdyMTcE1rdUJ:www.flashsandy.org/forum/index.php%3Fshowtopic%3D540%26pid%3D3259%26mode%3Dthreaded%26show%3D%26st%3D%26+site:www.flashsandy.org+showtopic&hl=en&ct=clnk&cd=64


Google is neither affiliated with the authors of this page nor responsible for its content.
These terms only appear in links pointing to this page: showtopic

Welcome Guest ( Log In | Register )

> VideoSkin error
samothtronicien
post May 26 2007, 12:06 PM
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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

- Lo-Fi Version Time is now: 28th July 2007 - 11:16 AM
phpMyVisites