class className{
var x:Something = new Something();
}
you will need
class className{
var x:Something;
function className(){
x = new Something();
}
}
This goes for all "Object" types including arrays and such. Hope this helps.
Dan
On 1/18/06, John Giotta <
[EMAIL PROTECTED]> wrote:
The only static variables I'm using is for linkageID and serialization
with Object.registerClass
E.g;
private static var linkageID:String =
"__Packages.com.flashapparatus.framework.ui.ScrollBar";
public static var serializable:Boolean =
Object.registerClass(linkageID, ScrollBar);
// or
private static var linkageID:String =
"__Packages.com.flashapparatus.framework.ui.ComboBox";
public static var serializable:Boolean =
Object.registerClass(linkageID, ComboBox);
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
