Hi,
try
newImage.data = //set here and you can access it in the click handler
newImage.addEventListener(MouseEvent.CLICK, doStuff);
Peace, Mike
On 9/4/07, oneproofdk <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I'm adding images to a vbox using as and addchild.
> Only thing is, that I cant figure out
Hi
I'm adding images to a vbox using as and addchild.
Only thing is, that I cant figure out how to make the image accept a
click - see below:
private function updatePageList(data:ArrayCollection):void {
for (var i:int=0; i
2 matches
Mail list logo