Tried this but it failed:

In Model.as
public var a_red:Array=new Array();

then later:
Model.getInstance().a_red[1].source=Model.getInstance().red_source;

where red_source is a png image.

for (var i:int=0;i<64;i++)
{
 Model.getInstance().a_red.push(Model.getInstance().red);
}

then:
trace("Red Image: ",Model.getInstance().red[1].source);

Error #1069: Property 1 not found on mx.controls.Image and there is no
default value.


Reply via email to