AS3 to JS conversion: future and preparation

Hey guys!!
So, new job here and big responsabilities. I have a HUGE project in my hands and my mission is to implement it with Flash and AS3 but later on I'll need to migrate ALL OF IT to HTML5 + JS. Well, I know there are things like the EasyJS and stuff but that's not quite what I'm looking for. I need to know for sure if in the near future we'll be able to convert  entire flash projects to JS. Is Adobe working on it but just didn't have the time? Should I do it myself somehow? How should I prepare my code so it's close to ready when this conversion is made possible?
My first thought was to program for AS3 pretending I'm doing it in JS...I'd create in AS3 classes with the same name and signatures of EaseJS ones so I can use the about same code in Flash and in JS. Do you guys think this is a good idea? Coding this way would make the flash project terribly ugly =|
I really need help here, I hope someone from Adobe can give me some piece of advice and answer this questions about the future.
Thanks!
MB

Adobe cross compiles AS3 to ARM, I think they can handle AS3 (ECMAScript compliant) scripting to JS. The problem is probably coming from the fact that JS is still prototype and converting OOP oriented code to prototype isn't easy or even sometimes possible. It literally almost NEEDS to be hand redone. But that's actually the easier part of the "hard part".
The difficult thing is there are tons of times when certain things will need to be done on Canvas and others simply using built in HTML rendering. Combining the two sometimes may not be possible. You may have an animation with text behind it. They'd choose to cross compile the animation into blitting it into the canvas but always choose using regular text anywhere you use regular text. Now the text is on top of canvas instead of appearing behind your animation unless they knew to zindex it. Or, they'd need to know the text is behind and blit the text into the canvas. Etc etc.. The situations you'd get into and the efficient, device-friendly way you'd convert from one project to another is astoundingly varied and pretty near impossible.
Even if they do a pretty good half implementation of some small parts of AS->JS, I would never expect there to be a perfect "Export to HTML5" option that will do 100% of your work. They don't offer 100% of any conversions targets capabilities currently either. AIR for iOS does not even almost support everything obj-c/cocoa can do. AIR for Android does not even almost do everything Java+SDK can do. They just converted "enough" to make it a usable product. Even their native extensions have serious limits.
At this point in time I would expect no magic bullets. Possibly some help, nothing automatic.
At best, if this really is a complex project, I'd start to write both at the same time. You may find something you're trying to do in one is impossible in the other. It makes choices for you.

Similar Messages

  • I am going to buy myself a MacBook Pro in the near future and was wondering if the new Retina Display model would be worth the extra cash. I will mostly be doing photo/video/music editing.

    I am going to buy myself a MacBook Pro in the near future and was wondering if the new Retina Display model would be worth the extra cash. I will mostly be doing photo/video/music editing.

    if you're not in a big rush - why not hold off until Adobe and Microsoft releases an update to support the Retina Screen.
    Don't get me wrong - the Macbook Retina is a good and videos look great - but when it comes to Photoshop, it's a little blurry and the fonts in Excel and Word is pretty blurry too.....I own one....
    In any event, if it's something you can live with - then by all means - go for it.....
    Otherwise - get the non Retina Macbook Pro - it's cheaper, and it's user upgradeable in both RAM and Hard Drive.
    Good luck.

  • HT5085 I would like to upload my music library from my PC to the Cloud through iTunes Match.  I also will be purchasing a Mac in the near future and would like to download some of that music from iCloud to my Mac.  Will I have compatability problems?

    I would like to upload my music library from my PC to the Cloud through iTunes Match.  I also will be purchasing a Mac in the near future and would like to download some of that music from iCloud to my Mac.  Will I have compatability problems?

    You should have no problems. To add a second computer or device to iTunes Match, see:
    http://support.apple.com/kb/ht4913
    Regards.

  • I have downloaded DNG Profile Editor 1_0_4 and prepared a profile which I can not see in my Camera Raw 6.0 (I have photoshop CS5). Could you please give me an advice?

    I have downloaded DNG Profile Editor 1_0_4 and prepared a profile which I can not see in my Camera Raw 6.0 (I have photoshop CS5). Could you please give me an advice?

    Uninstall Trusteer software
    http://www.trusteer.com/support/uninstalling-rapport-mac-os-x
    Remove Sophos
    https://discussions.apple.com/message/21069437#21069437

  • Conversion Routines and Function Modules

    Hi All,
    I have to write the Conversion Routines and Transformation Process for below Fields,
    I have a situation, where am having text files with the data having below fields, and before uploading the data to Database i have to do conversion.
    So anybody Plz help me regarding this conversion topic how to write the process and how to write the code.
    Table       Field Name  Type    Length        Short Text
    BKPF     BLART       CHAR     2     Document Type       
    BKPF     BUKRS       CHAR     4     Company Code     
    BSEG     BUKRS       CHAR     4     Company Code     
    BSEG     HKONT       CHAR     10     General Ledger Account
    BSEG     KOSTL       CHAR     10     Cost Center       
    BSEG     VERTN       CHAR      13     Contract Number     
    KNA1     KUNNR       CHAR     10     Customer Number

    Hi Bala
      Supposing all the fields exist in internal table itab. You can add the code simple as below:
    loop at itab.
       perform conv_fld changing: itab-bukrs,
                                  itab-blart,
                                  itab-hkont,
                                  itab-kostl,
                                  itab-vertn,
                                  itab-kunnr.
    endloop.
    *&      Form  conv_fld
    FORM conv_fld  CHANGING fld.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT         = fld
    IMPORTING
       OUTPUT        = fld.
    ENDFORM.                    " conv_fld
    So for each field depending on its length the conversion routine acts and gives the right output. Please make sure, that your internal table if defined with the right field references or length.
    Kind Regards
    Eswar

  • Conversion Agent and the module processor

    Hi,
    i have to make an offer for a client of ours. Therefore i was thinking to propose the conversion agent for developing a process module into the inbound communication channel in the XI-Scenario.
    But i think i understand sth wrong or does this module substitute the normal mapping inside the XI?!
    Can someone give me a hand?!
    thx in advance

    Jens,
    Conversion Agrent is used to convert non XMl data into XML and vice versa.
    For example it can read a PDF, EXCEL and conevrt it into XMl and also convert XML into EDI formats etc etc.
    You use the conversion agent studio to develop the conversion mapping and then deploy it as a module. From the comm channel you call the Conversion Agrent Module which in turn runs on its own Engine and does the conversion for you.
    So, if possible, you can also use conversion agent to actually read your source and create iyt in the format of the target and thgerbey replace Mapping. But, it all depends on  the feasibility of what you are trying to do.
    Regards,
    Bhavesh

  • Difference between Conversion progs and INTERFACES

    Hi  plz     tell me  ...
    whats  the difference between    Conversion progs and Interfaces in ABAP .
    wat are  conversion progs  ( exmple) and interfaces  ( exmple ) ?
    thnks in advance....

    Hi
    CONVERSION programs are the ones which have one time usage, usually when a legacy system is being replaced by a system like SAP, then the data has to be mapped from the legacy system to SAP system. Here the data to be converted is given on a flat file & is uploaded to SAP tables mostly using LSMW only. Conversions programs are BDC,BAPI and LSMW programs in which you upload all the related tables from the flat files.Those are one time programs.
    Interface programs are those programs in which you fetch the data from the application server and process on theose data.These are helpful when you have to run any program in the backgroup when the presentation server is not working.
    INTERFACE programs are the ones which are run at regular intervals, say weekly, monthly or even daily. Here the legacy system continues to co-exist along with SAP system, the legacy system might be useful for certain functionalities but the data might have to run thru SAP transactions for complex data maintenance at regular intervals.
    In Simple
    CONVERSIONS : Converting Legacy System DATA into a flat file
    INTERFACES : Converting Flat File into SAP
    Conversion Program
    http://help.sap.com/saphelp_erp2005/helpdata/en/d3/a65a14e96911d1b401006094b944c8/frameset.htm
    Interface Program
    http://help.sap.com/saphelp_erp2005/helpdata/en/64/be5b4150b38147e10000000a1550b0/frameset.htm
    <b>Reward if usefull</b>

  • Difference between conversion id and correlation id in bpel

    Hi All,
    In invoke/receive/pick activity, there are two options. one for conversion id and one from correlation id. I know the purpose of correlation id in these activities. But donot know what is the difference between both.
    Are both having same functionality or something overlapping.
    Regards,
    Sunil

    Sunil,
    Find an explanation here:
    http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_correlate.htm#sthref914
    Arik

  • Differnce between  requestor and  preparer

    Hi,
    Can u please any one give the description of purchase requisition details.
    I have one doubut how to find the requetor and preparer of perticular requisition ,where is stored in data base.
    what is the derfernce between requestor and preparer.
    i know only preparer is nothing but buyer hwo ever create the requisition it is stored in po_requisition_headers_all column as preparer_id,\
    But i don't know what is requestor and where it is stored.
    Thank's

    Preparer id is at the req. header level. It is the employee id of the person who actually types in the req.
    Requestor id is at the line level. It is the employee id of the person who actually requested the material.
    In a lot of companies, a manager will request material but his admin will type the req. Here the manager is requestor and the admin is the perparer.
    Hope this answers your question
    Sandeep Gandhi
    Independent Consultant
    513-325-9026

  • HT1338 My macbook came with snow leopard, if  I upgrade to Lion will I be able to use my restore disks in the future and if I do use my disks that brings me back to snow leopard, Will itunes remember I purchased Lion or will I have to purchase a second ti

    My macbook came with snow leopard, if  I upgrade to Lion will I be able to use my restore disks in the future and if I do use my disks that brings me back to snow leopard, Will itunes remember I purchased Lion or will I have to purchase a second time ?

    At this point, you can no longer download Lion (10.7) from the App Store, only Mountain Lion (10.8) - make sure all your applications are fully compatible if you decide to upgrade.
    Yes, you can restore 10.6 using your restore disc should you wish to - and the App Store (not ITunes) will have a record of all your purchases, since it's linked to your AppleId.
    Matt

  • No entries in Define conversion group and external function module setting.

    Hi all,
    After active bussiness function SAP Oil & Gas, my system have a problem in SPRO.
    SPRO --> IMG --> Industry solution Oil & Gas (Downstream) --> HPM --> QCI configuration --> Define conversion group and external function module setting.
    Problem appear: Has no entries in there!
    Please, help me! Thank you so much!
    Tks & best regards,
    DatHT

    Dat,
    There are few entries normally delivered by SAP and which are good for a regular implementation. It is possible that those are not copied over from the reference client. Second option is to check the BC set (if) available for this activity and pull those in. Check the SAP reference client first, most likely that has entries which you can copy over to your regular client.
    Regards,

  • Common Bills only with future and current components

    Hi all,
    We want to common BOMs which have components with date effecitivity in the past in a new ORG.
    Therefore we would like to common only the future and current components. Otherwise we had to enable all the old items (components) in the new org.
    Has anybody an idea how to do this respective has experiences with a cusomization concerning this issue (in standard it seems not possible).
    Thanks!
    Best regards
    Oliver

    Hi all,
    We want to common BOMs which have components with date effecitivity in the past in a new ORG.
    Therefore we would like to common only the future and current components. Otherwise we had to enable all the old items (components) in the new org.
    Has anybody an idea how to do this respective has experiences with a cusomization concerning this issue (in standard it seems not possible).
    Thanks!
    Best regards
    Oliver

  • Char set conversion to and from UTF-7

    Hi,
    I am working on Char set conversion to and from UTF-7. However I cannot find and ChatToByte classes for UTF-7 in i18n.jar . Any ideas as how to proceed further with this issue. I feel that there must be a way since UTF-7 is a pretty popular charset especially in emails.
    Thanx in advance.
    Khurram

    Hi!
    I had the same problem a couple of months ago. I didn't find any classes in the jdk distribution to do this, nor did I find any classes or package on the web that did this.
    The solution? I got a bit of C code from one of my working mates and converted it to Java. I have the code, but my company own the code. I have to check if it�s ok to share this code with you.
    BTW. If you find any package on the web that does this, pleas inform me.
    Regards
    Johan

  • I've had my ipad for almost a year and it's worked fine up until the new ios6.  Now, when I'm using facetime it keeps cutting the conversation off and we have to reconnect - any ideas?

    I've had my ipad for almost a year and I use Face Time every day.  It's been working perfectly all the time but now I've upgaded to the new ios6 it keeps cutting the conversation off and we have to reconnect.  Anyone got any ideas?

    Does the iPod connect to other networks?
    Does the iPod see the network?
    Any error messages?
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar
    maybe this:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar

  • Mavericks Mail; difference in delete folder and trash folder?  I don't know which folder to use clearing out old messages, spam, junk and other detrious I might want to recover in the future and which folder for highly sensitive or personal  informa

    I don't know which folder to use clearing out old messages, spam, junk and other detrious I might want to recover in the future and which folder for highly sensitive or personal  in formation I want to keep confidential.

    More to my question regarding standard Mail folders, how do Trash and Delete differ in function?

Maybe you are looking for

  • Error when deleting a user

    Hi, I created a user with User ID = "TestUser800" through a program. Now I am trying to delete it (from the code only) but its throwing the following exception. com.sap.security.core.persistence.datasource.PersistenceException: The given ID "TestUser

  • External Web Service - User and password in HTTP header

    Hi! How is it possible to add user and password in the HTTP header in a external web service call?  I have created a "Portal Service from WSDL file - Client side" with the wizard in SAP Developer Studio.  I following the Java Development Guide - Web

  • Win 7 wifi causes my WRT54G to slow down 20x till reset

    My wrt54g (firmware old - v1.00.6) has run fine for years until my daughter got a laptop with win7. All my other systems still run XP or win2k. I only run wireless with her win7 and one netbook with xp, all the other connections are wired. Going to s

  • 280x BIOS

    Hi, I'm new here. I just purchased 2x MSI 280x and based upon some reviews I read that I need to update to the latest bios. I'm a bit confused as to what updating to newer bios does? what program should I be using? also, separate question. Will 750 w

  • Fssnap warning, 'Dump: Warning - directory at inode '2264' vanished!'

    i was taking backup using fssnap, and got the following warning: Dump: Warning - directory at inode '2264' vanished! i have observed that this is the common warning and finishes backup after taking snapshot smoothly. but what does this warning for? a