I only updated the Player ... I'm currently running beta3 Builder.

--- In [email protected], "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> The code is correct.  Did you also update your Flex Builder 2 
plugin / IDE 
> or just the player?
> 
> ----- Original Message ----- 
> From: "david_c_lowe" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, July 21, 2006 5:57 AM
> Subject: [flexcoders] Problem with PopUps with Flash Player 
9,0,16,0 ?
> 
> 
> Hello, Dave Lowe here.
> 
> I've just updated my Flash Player from version 9,0,0,296 to
> version 9,0,16,0 and PopUps appear to have stopped working
> (no PopUp is displayed - see code at the end of this post).
> 
> This code works under 9,0,0,296.
> 
> Am I doing something wrong or is this a bug in 9,0,16,0?
> 
> Cheers, Dave.
> 
> _____________________________________________
> 
> 
> PopUpTest.mxml
> ==============
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
> 
> <mx:Script>
> <![CDATA[
> 
> import mx.managers.PopUpManager;
> import mx.containers.TitleWindow;
> 
> 
>        private function showPopUp():void {
>             var popUpWindow:TitleWindow = TitleWindow
> (PopUpManager.createPopUp(this, ThePopUp, true));
>             popUpWindow.title="PopUp Test";
>         }
> 
> 
> ]]>
> </mx:Script>
> 
> <mx:Button
> label="Show PopUp"
> click="showPopUp()"
> />
> </mx:Application>
> 
> _____________________________________________
> 
> ThePopUp.mxml
> =============
> 
> <?xml version="1.0" encoding="utf-8"?>
> <mx:TitleWindow
> xmlns:mx="http://www.adobe.com/2006/mxml";
> creationComplete="doInit()"
> horizontalAlign="center"
> backgroundColor="blue"
> height="150"
> width="400">
> 
>     <mx:Script>
>         <![CDATA[
>             import mx.managers.PopUpManager;
> 
>             private function doInit():void {
>                 // Center the TitleWindow container over the 
control
> that created it.
>                 PopUpManager.centerPopUp(this);
>             }
> 
>             private function removePopUp():void {
>                 // Remove pop up.
>                 PopUpManager.removePopUp(this);
>             }
>         ]]>
>     </mx:Script>
> 
> 
> <mx:Label
> text="PopUp Test"
> textAlign="center"
> color="white"
> fontSize="20"
> />
> 
> <mx:Spacer height="100%"/>
> 
>     <mx:Button
>     label="Continue"
>     click="removePopUp()"
>     />
> 
> </mx:TitleWindow>
> 
> 
> 
> 
> 
> 
> 
> --
> 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/

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