This is a name space problem. In your <mx:Application> if you do a xmlns="popups.*" that should do it I think. http://livedocs.macromedia.com/flex/1/flex_builder_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Using_Flex_Builder&file=brady405.htm Though if you do a xmlns:popups="popups.*" can you do this: PopUpManager.createPopUp(this,popups:ManageCreditItems,true,....) ? Or popups.ManageCreditItems? jamiebadman wrote: Hi, I think this is probably a very basic question - but I'm really having trouble figuring this out - wonder if someone here can explain...Basically I've just restructured my project; it started off as a 'demo' and now it's outgrowing that and I needed to structure it a little better so... I now have it broken down in to a logical directory structure... And it all works except the popups! In this specific case, the popup screen is in a directory called... 'popups' under the directory in which the current .mxml resides. The AS script *was*: var popupScreen:TitleWindow = TitleWindow( PopUpManager.createPopUp( this, ManageCreditItems, true, {title: 'Credit Note Items', closeButton: false, parentComponent: this.itemData}, false) ); The 'ManageCreditItems.mxml' *used* to be at the same directory level as this calling code - and it all worked fine. Now it's in './popup/ManageCreditItems.mxml' and it won't work anymore! How do I qualify the reference to the popup in order for it to work ? Thanks, Jamie. 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/ Yahoo! Groups Links
|
- Re: [flexcoders] popup in subdirectory ? Tarik Ahmed
- RE: [flexcoders] popup in subdirectory ? Mike Anderson