How to convert existing Flex project for iPhone?

Hi guys, I have a serious problem here with creating iPhone apps in Flash. I have created an app for the iPhone completely using Flex components long before CS5 came out. I've been looking for tutorials but with no luck. My issue is that I am not very sure how to convert the app to be used on iPhone.
As I've read the forums, some of you suggested compiling using command line. I guess that would be awesome. However, would it work if I'm using Flex framework? I've already tried to import my .SWF in Flash using loader.load() and add the mx.* component using addChild(VideoExample) I need just some solution that would save me days of searching and rewriting code, but any solution will be good. I have started a similar thread in Flash but if I get any answers here I will delete it.
Please respond, help would be very much appreciated!
Here's my mxml wrapper, from which I start the main application:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="EntryPoint.main()">
</mx:Application>
Then I have a class which creates the main container:
package {
import mx.core.*;
public class EntryPoint {
    public static function main():void {
        var client:VideoExample = new VideoExample();
        var mxmlApp:Application = Application(Application.application);
        mxmlApp.addChild(client);
Here is the main class VideoExample:
package {
import mx.controls.*;
import mx.containers.*;
public class VideoExample extends Canvas {
    public function VideoExample() {
        super();
        init();
        private function init():void {
        loadImage();
        loadText();
                loadDisplay();
                startConnection();

I'm so sorry, I'm not really familiar with the codes.

Similar Messages

  • How to compile your flex application for Iphone Using Adobe Flash CS5?

    How to compile your flex application for Iphone Using Adobe Flash CS5?

    I'm so sorry, I'm not really familiar with the codes.

  • How to import existing jsp project into jdeveloper

    can someone help me how to import existing jsp project into jdeveloper?
    can give me step by step to import..cause i am new for jdeveloper..
    thank you very much

    Well there are two options - if you have a WAR file with the code in it, then you can use the file->import WAR.
    Or you can use the new->Project from source code.
    Note that you'll probably need to do some library settings and some directory setting after that.
    Have a look at this demo for basic steps:
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/NBtoJDevProject/NBtoJDevProject.html

  • How do i find the carrier for iphone 4 uk?

    how do i find the carrier for iphone 4 uk?

    Call AppleCare in the UK, they may be able to tell you.

  • How to make a group contacts for iphone 4s, How to make a group contacts for iphone 4s

    How to make a group contacts for iphone 4s

    Or there are apps
    https://www.google.co.uk/url?sa=t&source=web&cd=3&ved=0CEEQFjAC&url=https%3A%2F% 2Fitunes.apple.com%2Fgb%2Fapp%2Ftext-2-group-fast-sms-imessage%2Fid519077434%3Fm t%3D8&ei=WCkfUc6vE8THtQavlYCoBw&usg=AFQjCNHnoWUqJ9AMYWCadVceOkq-6Ed4Vg

  • How to convert an NWDI project into a Local project?

    Hi Experts,
    Please tell me " how to convert an NWDI project into a Local project? "
    If you c

    Hi Srini
    1. Copy/Paste Webdynpro components in the new project as was suggested before
    2. Or create new project, copy _comp folder from old project to the new one. But, do not forget to update .dcdef & .project files manually after this. You have to set the correct project name in .dcdef and set the correct local project path in .project.
    BR, Sergei

  • HT4528 How much would a cracked screen for iphone 4S cost, if my phone is still under warranty?

    How much would a cracked screen for iphone 4S cost, if my phone is still under warranty?

    Razmee209 is correct, out of warranty repair/replacement cost for and iPhone 4s is $199, and the reason you would have to pay for that Kats524 is because accidental damage is not covered under your limited hardware warranty. Hope this helps, best of luck to you.

  • How can I have message delivery for Iphone ios7.1

    How can I have message delivery for Iphone ios7.1

    There is no option in the mail application to request a read receipt - if that is what you are asking.

  • How to Convert spool which is for smartform output  to PDF?

    how to Convert spool which is for smartform output  to PDF?
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF' is not working for smartform output,
    if i use this there will be error spool not contain list output?
    than whats the function module or way to convert spool contain smartform output to pdg?
    regards,

    <b>Procedure</b>
         When we activate the Smartform the system generates a Function Module. The function module name we can get from Smartfrom screen from menubar
    “Environment => Function Module_Name” . In a report we can get this Function module name by calling a Function Module standard SSF_FUNCTION_MODULE_NAME. This function module  at runtime calls the FM generated by smartform, which in turn is then used to pass data from the report to Smartform. In the report given below the FM generated is “ /1BCDWB/SF00000152 ”. In this FM we can see CONTROL_PARAMETERS in import tab. This is of type SSFCTRLOP. We need to set the GETOTF of this to be ‘X’. Setting this field will activate the OTF field in smartform.
    In export tab of the FM generated by smartform we can see a parameter JOB_OUTPUT_INFO which is of type SSFCRESCL. The SSFCRESCL is a structure of having one of fields as OTFDATA. OTFDATA in turn is a table of type ITCOO. ITCOO has two fields TDPRINTCOM and TDPRINTPAR. TDPRINTCOM  represents command line of OTF format data and TDPRINTPAR contains command parameters of OTF format data.
    In every Smartform output in OTF format, TDPRINTCOM begins and ends with ‘//’. ‘EP’ represents the end-of-page value for TDPRINTCOM field.
    In addition we need to set few fields at the place where we call this FM(generated by smartform) in our program. While calling this FM we should set control_parameters, output_options, user_settings and job_putput_info fields as shown in program.
    Once these settings are done we can call Function Module CONVERT_OTF to convert the OTF data of smartfrom output to PDF data format. Once these are done we can call method “cl_gui_fronted_services=>file_save_dialog” to specify the directory path where we want to save the output PDF file. After this we can call Function Module GUI_DOWNLOAD to download the PDF file on our local system.
    <b>Here is a sample code of program to perform the function.</b>
    SAMPLE CODE
    [code]*&---------------------------------------------------------------------*
    *& Report  ZAMIT_SMART_FORM_PDF                                        *
    REPORT  ZAMIT_SMART_FORM_PDF                    .
    data: carr_id type sbook-carrid,
          cparam type ssfctrlop,
          outop type ssfcompop,
          fm_name type rs38l_fnam.
    DATA: tab_otf_data TYPE ssfcrescl,
          pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE,
          tab_otf_final TYPE itcoo OCCURS 0 WITH HEADER LINE,
          file_size TYPE i,
          bin_filesize TYPE i,
          FILE_NAME type string,
          File_path type string,
          FULL_PATH type string.
    parameter:      p_custid type scustom-id default 1.
    select-options: s_carrid for carr_id     default 'LH' to 'LH'.
    parameter:      p_form   type tdsfname   default 'ZAMIT_SMART_FORM'.
    data: customer    type scustom,
          bookings    type ty_bookings,
          connections type ty_connections.
    start-of-selection.
    ***************** suppressing the dialog box for print preview****************************
    outop-tddest = 'LP01'.
    cparam-no_dialog = 'X'.
    cparam-preview = SPACE.
    cparam-getotf = 'X'.
      select single * from scustom into customer where id = p_custid.
      check sy-subrc = 0.
      select * from sbook   into table bookings
               where customid = p_custid
               and   carrid in s_carrid
               order by primary key.
      select * from spfli into table connections
               for all entries in bookings
               where carrid = bookings-carrid
               and   connid = bookings-connid
               order by primary key.
      call function 'SSF_FUNCTION_MODULE_NAME'
           exporting  formname           = p_form
    *                 variant            = ' '
    *                 direct_call        = ' '
           importing  fm_name            = fm_name
           exceptions no_form            = 1
                      no_function_module = 2
                      others             = 3.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        exit.
      endif.
    * calling the generated function module
      call function fm_name
           exporting
    *                 archive_index        =
    *                 archive_parameters   =
                     control_parameters   = cparam
    *                 mail_appl_obj        =
    *                 mail_recipient       =
    *                 mail_sender          =
                     output_options       =  outop
                     user_settings        = SPACE
                     bookings             = bookings
                      customer             = customer
                      connections          = connections
          importing
    *                 document_output_info =
                     job_output_info      = tab_otf_data
    *                 job_output_options   =
           exceptions formatting_error     = 1
                      internal_error       = 2
                      send_error           = 3
                      user_canceled        = 4
                      others               = 5.
      if sy-subrc <> 0.
    *   error handling
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      tab_otf_final[] = tab_otf_data-otfdata[].
      CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
       format                      = 'PDF'
       max_linewidth               = 132
    *   ARCHIVE_INDEX               = ' '
    *   COPYNUMBER                  = 0
    *   ASCII_BIDI_VIS2LOG          = ' '
    IMPORTING
       bin_filesize                = bin_filesize
    *   BIN_FILE                    =
      TABLES
        otf                         = tab_otf_final
        lines                       = pdf_tab
    EXCEPTIONS
       err_max_linewidth           = 1
       err_format                  = 2
       err_conv_not_possible       = 3
       err_bad_otf                 = 4
       OTHERS                      = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    *  EXPORTING
    *    WINDOW_TITLE         =
    *    DEFAULT_EXTENSION    =
    *    DEFAULT_FILE_NAME    =
    *    FILE_FILTER          =
    *    INITIAL_DIRECTORY    =
    *    WITH_ENCODING        =
    *    PROMPT_ON_OVERWRITE  = 'X'
      CHANGING
        filename             = FILE_NAME
        path                 = FILE_PATH
        fullpath             = FULL_PATH
    *    USER_ACTION          =
    *    FILE_ENCODING        =
    *  EXCEPTIONS
    *    CNTL_ERROR           = 1
    *    ERROR_NO_GUI         = 2
    *    NOT_SUPPORTED_BY_GUI = 3
    *    others               = 4
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *************downloading the converted PDF data to your local PC********
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
       bin_filesize                    = bin_filesize
       filename                        = FULL_PATH
       filetype                        = 'BIN'
    *   APPEND                          = ' '
    *   WRITE_FIELD_SEPARATOR           = ' '
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    IMPORTING
       filelength                      = file_size
      TABLES
        data_tab                        = pdf_tab
    *   FIELDNAMES                      =
    EXCEPTIONS
       file_write_error                = 1
       no_batch                        = 2
       gui_refuse_filetransfer         = 3
       invalid_type                    = 4
       no_authority                    = 5
       unknown_error                   = 6
       header_not_allowed              = 7
       separator_not_allowed           = 8
       filesize_not_allowed            = 9
       header_too_long                 = 10
       dp_error_create                 = 11
       dp_error_send                   = 12
       dp_error_write                  = 13
       unknown_dp_error                = 14
       access_denied                   = 15
       dp_out_of_memory                = 16
       disk_full                       = 17
       dp_timeout                      = 18
       file_not_found                  = 19
       dataprovider_exception          = 20
       control_flush_error             = 21
       OTHERS                          = 22
    IF sy-subrc <> 0.
    ENDIF.
    [/code]
    Thanks and Regards,
    Pavankumar

  • Does anyone know how to convert 3GPP videos to the iPhone 4S?  I have favorite videos I would like to transfer to my new phone.  Any help would be appreciated.  Thank you.

    Does anyone know how to convert 3GPP videos to the iPhone 4S?  I can sync my photos from my computer but not my videos.  Any help would be appreciated.  Thank you.

    Hello,
    This link may be useful to you:
    http://www.iorgsoft.com/iphone-4s/convert-3gp-to-iphone-4s-on-mac.html

  • HT1349 How much is a new screen for iphone 4s?

    Does anyone know how much is a new screen for Iphone 4s?
    Many thanks!!
    C.

    Apple does not sell iPhone parts, and for the iPhone 4S, the replace the phone. Cost is US $199.

  • How To Download Free Games & Application For IPhone 4 From Itunes & Store !

    Hi guys iam amrit from Nepal I have IPhone 4, I want to download free games & application for iPhone 4 from itunes or application store.Guys please tell me how to download free games & application for iPhone 4 without credit card or debit card.

    Log out of any iTunes account on iPhone then go to the app store. Find a free app and purchase it. Create a new account and select none for payment. Pretty simple
    http://support.apple.com/kb/ht2534

  • How much is the battery replacement for Iphone 3g Please reply immedietly

    How much is the battery replacement for Iphone 3g Please reply immedietly In philippines price

    Who exactly are you demanding an immediate reply from ?
    This a user to user form you are not instructing Apple on this forum

  • How do I cancel a preorder for Iphone 6?

    How do I cancel a preorder for Iphone 6? Will I be able to then purchase at a store? The local Apple and Verizon store both have them in stock but my preorder says Oct 17th.

        Hi davidgolfer! We can help cancel your pre-order if you like. I've sent you a Private Message in the forums. No worries, we'll take care of this for you!
    ChristinaB_VZW
    Follow us on Twitter @VZWSupport

  • How I can make an ibook for iphone?

    how I can make an ibook for iphone? when I export my book, the iphone says that the format is just for ipad

    You need to recreate your book in .epub format.  The apple app for that is Pages. 

Maybe you are looking for

  • Migration assistant screw up, Mac Pro not seeing wifi/TC

    Hi I've been using a MacBookPro (MBP) for almost 5 years now, with a 1TB Time Capsule (TC1) using Time Machine (TM). I am the sole user, HDD is 270Gb used/50Gb free; using Mavericks, v10.9.2. On Friday, I used Sophos anti virus home edition, to scan

  • Production Order GR with Planned Price

    Dear All, We are using following steps for production order= 1) Create BOM, for Semifinished material with Price control = "S" 2) Create Roting, with all Keys PP01, PP02 and PP03 with Material allocation to respective steps 3) Standard Cost Estimatio

  • How to Create Windows ISO Show Only One Windows Version

    Dear, I want to create Windows ISO server for 2012, but I want this ISO show me only one version of the Windows for example, I have Core version, Standard, DataCenter etc..So I don't need after I create ISO to show me all those choose versions, I nee

  • Help - not able to access files stored on ipod

    I really need some help. I recently used my ipod to transfer files from my old windows based pc to my new imac. My ipod still has the disk use enabled, and when I open itunes, i can see that there is still a significant volume of files still stored o

  • Guest Tunneling Problems

    Hi I was wondering if anybody could help me out here. I have been following the guidelines as per the WLC softweare configuration guide with regards to configuring the internal controller which is pretty straightforward. The mobility anchor is up wit