If I got you right, are you getting the references as null inside the array or 
array itself as null ?

Then you can call the function on the close event of the window, inside the 
pop-up component.


Thanks,
Vaibhav Seth.




 EMAILING FOR THE GREATER GOOD
Join me

To: [email protected]
From: [email protected]
Date: Fri, 22 Jan 2010 14:40:41 +0200
Subject: Re: [flexcoders] Public Arrays


















 



  


    
      
      
      Can you post an example? I have tens of public arrays and 
arraycollections and they work without any problems...


On Fri, Jan 22, 2010 at 2:35 PM, criptopus <[email protected]> wrote:
















 



  


    
      
      
      I have an array of Video Players (yes video players, if people set up 
more than one in the CMS why should I deny them the luxury).



I have just opened a preview window and there they are and they play lovely, 
just when I click the cross to close the TitleWindow they are displayed in I 
would like to stop them all playing.



Fortunately or unfortunately I have references to the custom players in an 
array I was going to make public so that the calling program that opened the 
pop up could close all those that where playing.



The the problem, don't seem to be able to make an array public, it will let me 
define it as public but it does not like me referencing it.



Does anybody have a work around?



- Stephen






    
     

    
    






  








-- 
Fotis Chatzinikos, Ph.D.
Founder,
LivinData Technologies
www.styledropper.com
[email protected], 





    
     

    
    






                                          

Reply via email to