// Set an image view property
imageView.image = {
"rendererType" : "image",
- "imageUrl" : "images/icon-0.png",
- "width" : 100,
- "height" : 100
+ "url": "images/icon-0.png",
+ "desiredWidth" : 100,
+ "desiredHeight" : 100
};
// add to the stage
"image":
{
"rendererType" : "image",
- "imageUrl" : "images/icon-0.png",
- "width" : 100,
- "height" : 100
+ "url" : "images/icon-0.png",
+ "desiredWidth" : 100,
+ "desiredHeight" : 100
}
}
]