Hi All,
I have 2 questions?
1.I would like to chnage the width and height of an image using an Imagae
renderer, how do i do that?
2. Can I chnage the widht or height of a POPUPMenu using the same style as
below uing a renderer.
Any information regarding this is appreciated.
Thanks in Advance,
Anitha.
I tried this, but it did not chnage the width or height of the image..
package
{
import mx.controls.*;
public class ImageRenderer extends Image
{
private var slaimage:Image;
public function ImageRenderer()
{
super();
}
override public function set data(value:Object) :void
{
if(value != null)
{
super.data = value;
slaimage=new Image();
slaimage.source=value.CurrentSLA;
slaimage.setStyle("width",15);
slaimage.setStyle("height",15);
}
}