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");
}
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");
}