Hi there again,
After working everything out with the creation of these two windows and again mentioning that their work perfectly yet I did get hung up on a small other matter with them of positioning them !
So I did research and tried what I could, but (X & Y) must have been the useful once yet did not work at all neither within the actual windows nothing seem to work ??? So here the code again for good measure and the Link to the original thread !
http://board.flashkit.com/board/show...e-Windows-....
Maybe somebody would like again to share there knowledge and which would be greatly appreciated !
regards aktell
Code:<mx:Script> <![CDATA[ import mx.core.Window; import mx.events.FlexEvent; private var ma:MyWinOne; private var myTimerOne:Timer; private var countOne:int=0; protected function app_creationCompleteHandlerOne(event:FlexEvent):vo id { ma = new MyWinOne(); ma.open(); myTimerOne=new Timer(1000, 6); myTimerOne.start(); myTimerOne.addEventListener(TimerEvent.TIMER, popupHandlerOne); } private function popupHandlerOne(event:TimerEvent):void { if (countOne == 5) { ma.close(); myTimerOne.removeEventListener(TimerEvent.TIMER, popupHandlerOne); } countOne++; } ]]> </mx:Script>




Reply With Quote