Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Reusing the Model Tier > Step 2: Add Library Project to Flex Build Path in App ...

Step 2: Add Library Project to Flex Build Path in App Projects

Now that you have created a separate project with a copy of your Model tier and it is successfully building a SWC file, you are ready to use that library in your applications (main app, unit test app, mobile version, etc).

  1. Remove the model package from your application; you are going to reference the library project now.

  2. Add the library project to the application project Build Path.

    In FlashBuilder: Project➝Properties➝Flex Build Path➝Add Project➝StoryArchitect

  3. Compile the application and see that it builds a StoryArchitectModel.swf file in the bin-debug folder.

    In FlashBuilder: Project➝Clean...➝StoryArchitect


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial