Quantcast
Channel: Adobe Community : Discussion List - Using Flash Builder
Viewing all articles
Browse latest Browse all 1802

can not import simple .mxml project to flash builder

$
0
0

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:Applicationxmlns: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:Buttonclick="buttonClick()"label="Click Me"/>
</s:Application>


Viewing all articles
Browse latest Browse all 1802

Trending Articles