]
[mailto:[EMAIL PROTECTED] On Behalf Of Pete
Miller
Sent: maandag 25 september 2006 16:52
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Label -- null
I think you probably want parenthesis around your typecast, as
var label:Label = (Label)(owner.attachMovie(Label.symbolName,
instanceName, depth
Are you using -keep?
Have you tried FLASC? http://osflash.org/flasc
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf
import mx.controls.Label;
public function createLabel(owner:MovieClip, instanceName:String,
depth:Number, initObj:Object):Label{
var label = owner.attachMovie(Label.symbolName, instanceName,
depth, initObj);
logger.debug(label : + label);
label.autoSize = left;
, September 25, 2006 8:53 AM
To: Flashcoders mailing list
Cc: Bert Vandamme; Christophe Herreman
Subject: [Flashcoders] Label -- null
import mx.controls.Label;
public function createLabel(owner:MovieClip, instanceName:String,
depth:Number, initObj:Object):Label{
var label
4 matches
Mail list logo