>
I wonder if there is additional overhead associated with declaring untyped special
type variables (*) compared to typed variables?
Yes, I believe there is; if the compiler
doesn't know anything about the type it can't optimize the generated code as
well. But there is no reason to use *
oh, if you are worried about the overhead for *,
you can also set the type as Object,
or in a more common approach, a value object (VO).
if my memory served me right, * will be converted to correct type
during run time, don't know how much overhead it would take though.
Jeremy.On 6/18/06, T
hi Tim, try this (solves yellow can't be selected problem): private function addColor(event:Event):void { cp.visible = false; // var itm:* = cp.dataProvider[ cp.selectedIndex ];
Util.traceValue(itm); // colorArray.push({label:itm.label, color:itm.color}); messageText.setSty
3 matches
Mail list logo