Alex, i tried your samples and they work almost perfect.  But yet i 
could not make the poped-up window move around the screen with the user 
interaction.
    It seems that the new window just come and go but cant be dragged away.
    I tried too the sample that have ShareCode and put the 2 managers 
(dragManager and popupManager) and yet didnt work.

    Can you explain how to make the new poped-up window be free to move 
with user mouse interaction?

    many thanks!

    Luís Eduardo.


Luis Eduardo escreveu:

>Cool! i was able to find just the .ppt presentation before.
>Now that you give the link to your blog i found the sample codes. Will 
>try again with a better start.
>
>thank you very much Alex!
>
>btw, the presentation was amazing. Very clarificate about the "under 
>hood" :)
>
>
>Alex Harui escreveu:
>
>  
>
>>There’s an example on my blog blogs.adobe.com/aharui
>>
>>------------------------------------------------------------------------
>>
>>*From:* [email protected] [mailto:[EMAIL PROTECTED] 
>>*On Behalf Of *Luis Eduardo
>>*Sent:* Monday, May 21, 2007 6:10 PM
>>*To:* [email protected]
>>*Subject:* [flexcoders] popup a module
>>
>>
>>Hello, i am trying to do a mx:Module being Popuped but i am finding
>>this very dificult.
>>My classes are like this: MyWindow <- MyTitleWindow <- mx:TitleWindow
>>The code works very fine if i run it all together (without
>>modules). But when i split the swf i cannot popup MyWindow class.
>>
>>here is the sample that works, but without modules. This is the
>>behaviour i seek. Is it possible with modules?
>>
>><?xml version="1.0" encoding="utf-8"?>
>><!-- MainApp.mxml -->
>><mx:Application
>>xmlns:mx="http://www.adobe.com/2006/mxml 
>><http://www.adobe.com/2006/mxml>">
>><mx:Button label="show" click="showTheWindow()"/>
>><mx:Script>
>><![CDATA[
>>import mx.managers.PopUpManagerChildList;
>>import mx.managers.PopUpManager;
>>
>>public function showTheWindow():void {
>>PopUpManager.centerPopUp(
>>PopUpManager.createPopUp(DisplayObject(Application.application),
>>MyWindow, false, PopUpManagerChildList.APPLICATION) );
>>}
>>]]>
>></mx:Script>
>></mx:Application>
>>---------------------------
>><?xml version="1.0" encoding="utf-8"?>
>><!-- MyWindow.mxml -->
>><local:MyTitleWindow
>>xmlns:mx="http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml>"
>>xmlns:local="*"
>>width="400" height="300" showCloseButton="true"
>>close="PopUpManager.removePopUp(this)">
>><mx:Label text="HERE IS THE WINDOW !!!"/>
>><mx:Script>
>><![CDATA[
>>import mx.managers.PopUpManager;
>>]]>
>></mx:Script>
>></local:MyTitleWindow>
>>--------------------------------
>><?xml version="1.0" encoding="utf-8"?>
>><!-- MyTitleWindow.mxml -->
>><mx:TitleWindow
>>xmlns:mx="http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml>"
>>width="400" height="300">
>></mx:TitleWindow>
>>-------------------------------
>>
>>i found a PowerPoint from Alex Harui but it don't compile. I made some
>>adjust to compile the example but not work ok.
>>here is the link:
>>blogs.adobe.com/aharui/360*Flex*2007/*Module*s.ppt/*Module*s.ppt
>>
>>can someone give any help?
>>
>>- Luís Eduardo.
>>
>> 
>>    
>>
>
>
>
>
>--
>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
>
>
>
>
>  
>



--
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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