Hi Rich,

Try recreating the view in a doLater() - that should give the player enough
time to send the unload event.

Cheers,

Ali 


--
Alistair McLeod
Development Director
iteration::two
[EMAIL PROTECTED]
 
Office:  +44 (0)131 338 6108
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.
 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Rich Tretola
Sent: 13 June 2005 20:42
To: [email protected]
Subject: Re: [flexcoders] Cairngorm .99 ViewHelper Bug ?

The issue is a timing issue as in testing I was destroying and creating the
same view on consecutive lines which didn't give the
unload event a chance the unload the viewhelper.   So it was an issue
where it was trying to create the second view before the first's viewhelper
was unregistered.

How should I handle this?  Should I not use view helpers for these types of
files where I may need to have more than one instance ?

Rich

On 6/13/05, Alistair Mceod <[EMAIL PROTECTED]> wrote:
> Hi Rich,
> 
> Has you debugging narrowed it down any? Does the unload handler get
called?
> When the view is created for the second time, is an exception thrown? 
> Do any errors appear in flashlog.txt? It's hard to know whats going on 
> unless you post all your code or give us more info.
> 
> Cheers,
> 
> Ali
> 
> 
> --
> Alistair McLeod
> Development Director
> iteration::two
> [EMAIL PROTECTED]
> 
> Office:  +44 (0)131 338 6108
> 
> This e-mail and any associated attachments transmitted with it may 
> contain confidential information and must not be copied, or disclosed, 
> or used by anyone other than the intended recipient(s). If you are not 
> the intended
> recipient(s) please destroy this e-mail, and any copies of it,
immediately.
> 
> Please also note that while software systems have been used to try to 
> ensure that this e-mail has been swept for viruses, iteration::two do 
> not accept responsibility for any damage or loss caused in respect of 
> any viruses transmitted by the e-mail. Please ensure your own checks 
> are carried out before any attachments are opened.
> 
> 
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] 
> On Behalf Of Rich Tretola
> Sent: 13 June 2005 16:35
> To: [email protected]
> Subject: [flexcoders] Cairngorm .99 ViewHelper Bug ?
> 
> In my app I am creating and destroying a view using createChild and 
> destroyChild.  When I include a view helper within that view, it will 
> only load once.  My opinion is that the viewHelper attached in not 
> being destroyed with the view which is causing the issue.  When I 
> comment out the viewHelper include in the view, all works well and the 
> view can be created and destroyed over and over.  Isn't the viewHelper 
> supposed to be destroyed when its view is destroyed ?  Is this a known
issue of Cairngorm .99?
> 
> Thanks,
> Rich
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
>


 
Yahoo! Groups Links



 



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to