flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darrell Loverin <darrell.love...@gmail.com>
Subject Re: How to know when a preload SWF is being unloaded?
Date Fri, 20 Feb 2015 18:48:52 GMT
Here's a code snippet:

*this*.loaderInfo.addEventListener(Event.UNLOAD, unloadHandler);

On Fri, Feb 20, 2015 at 1:47 PM, Darrell Loverin <darrell.loverin@gmail.com>
wrote:

> yes, but I don't get an event.
>
> On Fri, Feb 20, 2015 at 12:11 PM, Alex Harui <aharui@adobe.com> wrote:
>
>> Did you try the UNLOAD event on LoaderInfo?
>>
>>
>> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/di
>> splay/LoaderInfo.html#event:unload
>> <http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/LoaderInfo.html#event:unload>
>>
>> On 2/20/15, 6:15 AM, "Darrell Loverin" <darrell.loverin@gmail.com> wrote:
>>
>> >This question is about the SWF loaded as a result of being specified with
>> >the preloadSWF key. The "allComplete" event tells the preload SWF when
>> the
>> >application has been loaded but is there an event to tell when the
>> >application is being unloaded so the preload SWF can flush any buffered
>> >data?
>> >
>> >Thanks,
>> >
>> >-Darrell
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message