Hey

I know the root cause of your issue because I have burnt my hands on the
same issue a while back.

Make sure you remove the event in your listner that you have added.

ie in your listner completeLoadHandler

add the line:
file.removeEventListener(Event.COMPLETE, completeLoadHandler);

I am sure this will solve your issue.

Wish you good luck.

CHeers,
Naveen


On Tue, Dec 14, 2010 at 5:10 PM, xelf <[email protected]> wrote:

> Hi all,
> We are using File.load() in our AIR app..
> Basically the purpose is to get the file from local system --> convert
> as ByteArray, --> send to server..
>
> file = new File(filename);
> file.addEventListener(Event.COMPLETE, completeLoadHandler);
> file.load();
>
> Application works fine with this code snippet. But some times the
> after load() was executed, control doesnt goes to completeHanlder at
> all.. Same case with Progresshandler also..
>
> The control is lost sometimes after load().
>
> Is there any settings change have to be done?  or any compiler options
> have to be changed?
>
> Please give your suggestions to resolve this..
>
> Thanks in advance,
> Sam
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to