1 Reply Latest reply on Jul 30, 2008 12:24 PM by Newsgroup_User

    Top Down /Bottom Up execution

    rushbond
      ! When I run the given code it first shows "2" and then "1"
      Can anybody explain , flex is Top Down /Bottom Up execution
        • 1. Re: Top Down /Bottom Up execution
          Level 7

          "rushbond" <webforumsuser@macromedia.com> wrote in message
          news:g6q1am$3as$1@forums.macromedia.com...
          > ! When I run the given code it first shows "2" and then "1"
          > Can anybody explain , flex is Top Down /Bottom Up execution

          >
          > <?xml version="1.0" encoding="utf-8"?>
          > <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml"
          > creationComplete="test1()">
          > <mx:Script>
          > <![CDATA[
          > import mx.controls.Alert;
          > public function test1():void{
          > Alert.show("1");
          > Alert.show("2");
          > }
          > ]]>
          > </mx:Script>
          > </mx:Application>

          The first alert is displayed, then the second alert is displayed on top of
          it.