package
{
import flash.display.MovieClip;
import flash.display.Sprite;
public class Test3 extends Sprite
{
privatevar _view:MovieClip;
public function Test3()
{
_view = new Sprite(); //add change field type quickfix
}
}
}
BTW
If field type would be changed the type for getters/setters should be also changed
Description
package
{
import flash.display.MovieClip;
import flash.display.Sprite;
public class Test3 extends Sprite
{
privatevar _view:MovieClip;
public function Test3()
{
_view = new Sprite(); //add change field type quickfix
}
}
}
BTW
If field type would be changed the type for getters/setters should be also changed
Alan K (Deprecated) added a comment - 03/May/12 06:03 PM Add options to change the Type of the field varaible
and
To change the constructor to match the field var;
myVar:Sprite;
///
myVar = new MovieClip; <--- add quick fix to change this to Sprite
and
To change the constructor to match the field var;