use the fully qualified name:
PopUpManager.createdPopUp( parent, some.folder.Wizard, isModal, initObj );
Dimitrios
Gianninas
RIA Developer
Optimal
Payments Inc.
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezed
Sent: Thursday, March 16, 2006 10:29 AM
To: [email protected]
Subject: [flexcoders] Re: Flex 1.5 popup issue
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
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

