Ok, the problem lies with the location of the popup TitleWindow.

How do I reference the TitleWindow in the createPopUp function when 
it's in a sub-directory called components?

Cheers,

Iain




--- In [email protected], "digital_eyezed" 
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I have an application with a number of custom components. In one 
of 
> these components I have an image, which when clicked on I want a 
> popup to open.
> 
> I have a mouseDown event which dispataches an event to the parent 
> application container mouseDown="dispatchEvent
> ({type:'wizard'})"
> 
> The event is handled in the Application container by a function:
> 
> import mx.managers.PopUpManager;
> 
> public function routeWizard(event){
>       var parent = this;
>       var isModal:Boolean = true;
>       var initObj = {};
>       var rWiz = PopUpManager.createPopUp(parent, Wizard, 
> isModal, initObj);
>       }
> The Wizard.mxml component is a TitleWindow component and is held 
> with all my other components in my /components directory.
> 
> When I click the image nothing happens, when I click it again the 
> whole page goes white.
> 
> AAAAhhhhhhhhhhh!!!!!!!!!
> 
> Cheers,
> 
> Iain
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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