addEventListener i mean (lazy to type them all) :) , i suggest to use
flashdevelop or flex for auto complete when you type some method, so
you 'll never find "undefined method ever again :)

hth

On 28/09/2009, claudiul25 <[email protected]> wrote:
>
> i've tried
>
> var mat:BitmapFileMaterial = new BitmapFileMaterial("imgs/1.jpg");
> mat.addMaterialEvent(MaterialEvent.LOAD_SUCCESS, showPicture)
> this.material = mat
>
> but it shows an error
>
> 1061: Call to a possibly undefined method addMaterialEvent through a
> reference with static type away3dlite.materials:BitmapFileMaterial.
>


-- 
katopz
http://www.sleepydesign.com

Reply via email to