PDA

View Full Version : Mac Leopard FileReference issue


HW2002
11-14-2007, 05:58 PM
Hello,

I'm trying to do simple upload progress with flash, but browse() never dispatch the Event.SELECT event.

I attached the simple code I'm using, which is working fine in safari browser, but not inside flash cs3, do i need to change any settings on my mac leopard so i get the browse() to work fine inside flash cs3?

I'm currently running flash player 9,0,98,0 installed

Thanks for any help :D

function Upload()
{
fileRef.addEventListener(Event.SELECT, select);
fileRef.addEventListener(Event.CANCEL, cancel);
fileRef.browse();
}

private function select(event:Event):void
{
trace("select");
}

private function cancel(event:Event):void
{
trace("cancel");
}

tybbo
07-13-2008, 08:01 PM
Same problem here.

I'm coding a form in AS3 on Flash Player 9,0,124,0 on Mac OS X 10.5.4.
While publishing in Flash CS3, the Event.SELECT event does not work. Instead, the Event.CANCEL event is called.
I do confirm that everything is fine while trying the same application online or in a browser.

I did not find any solution for that...