0 Replies Latest reply on Apr 22, 2016 3:02 AM by tanvira5454192

    can not import simple .mxml project to flash builder

    tanvira5454192 Level 1

      i can import fxp project using File-> import flash builder project

       

      sameway i can import flex library project using File-> Flex library project

       

      But this time i have only one .mxml file .

       

      i tried all the way . how to import that one

       

      i was trying to import the code of famous flex book: Flex 4 Cookbook.pdf

      here is the simple code inside .mxml .but i need to import it . thats all . not to create a project . i can do that and run. but it need to import that single flex .mxml file to flash builder

       

      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
        
      xmlns:s="library://ns.adobe.com/flex/spark"
        
      viewSourceURL="srcview/index.html">
        
      <fx:Script>
        <![CDATA[
        private function buttonClick():void {
        trace(" Button has been clicked ");
        }

        ]]>
        
      </fx:Script>
        
      <s:Button click="buttonClick()" label="Click Me"/>
      </s:Application>