Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9223677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:07:46+00:00 2026-06-18T04:07:46+00:00

Has anyone tried to port their mobile ActionScript/Flex application to run on PC/Mac as

  • 0

Has anyone tried to port their mobile ActionScript/Flex application to run on PC/Mac as well? The problem is that Flex has some mobile only classes and other classes not recommended for mobile.

I have not yet tried to do this, and am wondering if others are willing to share their experience with this problem. It seems like there are a few possible ways to do this that might work.

1) It might work to include mobile-only libraries in the desktop version of the app in order to use as much common code as possible.

2) It might work to refactor each view component into a container part for mobile, a container part for desktop, and an inner part that contains all of the controls, which is used for both mobile and desktop.

3) It might work to write Flex out of the application, and have a pure ActionScript application. This would require writing my own replacements for View, ViewNavigator, and TabbedViewNavigator in ActionScript and replace all spark.components with fl.controls. (I have already eliminated data binding and states from the mobile application for performance reasons).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:07:47+00:00Added an answer on June 18, 2026 at 4:07 am

    Has anyone tried to port their mobile ActionScript/Flex application to
    run on PC/Mac as well?

    Yes, I did it with my mobile game. Also in demos of the mobile Flextras Components.

    It might work to include mobile-only libraries in the desktop version
    of the app in order to use as much common code as possible.

    IF you want to use mobile components in a non-mobile project; this is the approach. Add the mobile only SWC into your library path. You may also need to add the mobile theme to your library path to. This can be tedious, though, as then you’ll have two themes and it may introduce issues with shared components; such as a List or scroll bar, that need a full theme specified.

    It might work to refactor each view component into a container part
    for mobile, a container part for desktop, and an inner part that
    contains all of the controls, which is used for both mobile and
    desktop.

    For the main screens on my mobile game; I made the view content extend a group. Then I wrapped them in a ‘view’ on mobile or a group for the browser.

    I’m unclear what problems your third suggestion would solve.

    I also suggest moving as much code as possible into library projects so that they can be shared between your desktop, browser, and mobile projects.

    In my mobile game, I have a “Flex-less” library for the game board. Then I have a Flex Library project for the view content. This library ‘wraps’ the game board. Then I use the Flex Library in a mobile project and in a web project which puts all the pieces together.

    Differences exist in how the level data is loaded (Using File Class on mobile, and URLLoader in web). I set properties on the views to control various aspects. For example, the browser based version of the game hides the on-screen controls because I assume people will be using the arrow keys.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone tried to back up a SharePoint web application using forms based authentication
Has Anyone tried using PDF in iPad Application, using CGPDf functions. I have used
Has anyone successfully tried minifying AND concatenating all the jqGrid locale files so that
Has anyone tried installing SQL Server 2008 Developer on a machine that already has
Has anyone tried mixing JavaFX and JRuby ? I've built a JRuby desktop application
Has anyone tried to port PdfSharp library to Mono? I just ran MoMA against
Has anyone tried using the NHibernate Velocity L2 cache provider against the Azure AppFabric
Has anyone tried to build an e-commerce site atop MS Dynamics, using the new
Has anyone tried automatic Java to C++ conversion for speed improvements? Is it a
Has anyone tried out working with the Delete and update command of SPDataSource used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.