Skip navigation
Currently Being Moderated

Advice On Converting AS3 Project To Flex

May 2, 2012 2:00 PM

Hi,

 

I've been writing AS3 code for a few years now, and now I have the need to convert one of my projects over to Flex in order to support it better on an iPad. In AS3, every screen is represented by a class that creates all of the UI elements with code. My biggest problem with getting my head wrapped around Flex is what do I use to basically represent those classes in flex? I've read about containers and views, but most every example I've seen is written for it displaying with a tabbed or view based view on a smartphone. I don't need any of that, since my navigation from screen to screen will be controled by buttons in the UI. Can anyone give me some direction on what strategy I should be using and whether or not I use views, containers, etc.

 

thanks

 
Replies
  • Currently Being Moderated
    May 4, 2012 2:01 AM   in reply to Keith Lee

    Hi,

     

    First of all you needs to use <s:ViewNavigatorApplication> instead of the <s:Application>.

     

    And the second thing is that you have to not use mxml instead use the spark component.

     

     

     

    Shardul

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points