AIR development question

Before I go and experiment I need to know the following.
If I have an fla with an animation which includes some as 3.0 done in CS5.5 and I re opened , changed the publishing to AIR for IOS and left the as file within the fla will this render correctly?
If not can I just cut the AS, remove , set a class and paste the AS inside the class and save then publish to AIR for IOS.
Will it work?
Reason I ask is I have some projects I want to combine into an app for IOS so rather than go thru the steps it would be easier to ask.
RD

It doesn't matter where your code comes from, thankfully. I hope you keep your AS3 external. When you compile to an IPA all of that code is used perfectly. I never code inside frame scripts, ever. I've produced a multitude of apps from flash this way. Keep your scripts external, that is fine and recommended and it will render correctly.

Similar Messages

  • Books on Adobe Air development using HTML/JavaScript

    Hi,
    I always been of the opinion that one of the signs of a healthy, viable technology is the availability of books and manuals (not just articles or short tutorials online) on how to use said technology. I'm interested in Adobe AIR development for Dekstops/Tablets but I have not been able to find any new books on the topic. Most of the existing books seems to date from 2008 and are targeted towards AIR 1.0-1.5, while the latest version of Adobe Air apparently is 3.5+. So my question is - Where are all the books?
    /Sincere Regards Kris

    quote:
    Originally posted by:
    pravinpatil23
    But can you please explain me when do I exactly use Flex Or
    HTML+JS Or Flash.
    This question gets asked about once a week. You
    can find my latest answer
    here
    and a little searching will dig up more opinions.
    quote:
    Can AIR applications(developed using HTML+Js) invoke a web
    service running on a different server
    An AIR application isn't hosted on a server, so all web
    servers are "foreign" to your AIR application. An AIR app does get
    downloaded from a server, most of the time, but it doesn't maintain
    some kind of special connection to that server.
    Because of this, there are no cross-domain restrictions in
    AIR like you have in a regular web browser.
    quote:
    Can AIR application(developed using HTML+Js) detect the
    connectivity of USB drive
    AIR does not allow low-level system access, and has very
    little in the way of platform-specific capabilities. So, you'd have
    to use a high-level, platform-agnostic way of checking for the
    drive, such as by looking around to see what files are available.
    Things like USB insert notifications are way outside the scope of
    AIR.
    quote:
    I want the data from Servlet to send back to HTML page where
    I can display it on the same HTML page where user entered his
    details.
    That question isn't on-topic here. Ask on a forum dealing
    with JSP servlets.

  • I downloaded mountain lion for my macbook pro and i want to install it on my sisters' macbook air, my question is, how many times can i share my purchase?

    i downloaded mountain lion for my macbook pro and i want to install it on my sisters' macbook air, my question is, how many times can i share my purchase?

    Association of Associated Devices is subject to the following terms:
    "You may auto-download Eligible Content or download previously-purchased Eligible Content from an Account on up to 10 Associated Devices, provided no more than 5 are iTunes-authorized computers."
    That information is available here >   iTUNES STORE - MAC APP STORE - TERMS AND CONDITIONS
    If you re download Mountain Lion using your Apple ID on her Mac, your sister will need to use your Apple ID and password to install and update apps.

  • 7 Things every Adobe AIR Developer should know about Security

    7 Things every Adobe AIR Developer should know about Security
    1. Your AIR files are really just zip files.
    Don't believe me? Change the .air extension to zip and unzip
    it with your favorite compression program.
    What does this mean for you the developer? What this means is
    that if you thought AIR was a compiled protected format, alas it is
    not.
    2. All your content is easily accessible in the AIR file.
    Since we now that the AIR file is really just a zip file,
    unzip it and see what's inside. If you have added any content
    references when you published the AIR file, voila, there it all is.
    What does this mean for you the developer? Well, you content
    is sitting there ripe for the picking, and so is everything else
    including you Application descriptor file, images etc.
    3. Code signing your Air app does nothing as far as security
    for you.
    All code signing your app does is verify to the end user that
    someone published the app. I does nothing as far as encryption and
    does nothing to project your content.
    What does this mean for you the developer? We'll you should
    still do it, because getting publisher "unknown" is worse. It also
    means that joe hacker would not be able decompile your entire app
    and republish it with the same certificate, unless they
    somehow got a hold of that too.
    4. All your AIR SWF content is easily decompilable.
    Nothing new here, it's always been this way. Type flash
    decompiler into google and you'll find a variety of decompilers for
    under $100 that will take your AIR content swf and expose all your
    source code and content in no time.
    What does this mean for you the developer? All you content,
    code, urls and intellectual property is publicly available to
    anyone with a decompiler, unless you do some extra work and encrypt
    your swf content files, which is not currently a feature of AIR,
    but can be done if you do your homework.
    5. Your SQLite databases are easy to get at.
    SQLite datatbases can be accessed from AIR or any other
    program on you computer that knows how to work with it. Unless you
    put your database in the local encrypted datastore, or encrypt your
    entire database it's pretty easy to get at, especially if you
    create it with a .db extension.
    What does this mean for you the developer? We'll SQLite is
    very useful, but just keep in mind that your data can be viewed and
    altered if you're not careful.
    6. The local encrypted datastore is useful, but....
    The local encrypted datastore is useful, but developers need
    a secure way of getting information into it. Storing usernames,
    passwords and urls in clear text is a bad idea, since as we
    discussed, you code is easy to decompile an read. By putting info
    into the local encrypted datastore, the data is encrypted and very
    difficult to get at. The problem is, how do you get it into there,
    without have to store any info that can be read in the air file and
    without the necessity of communicating with a web server? Even if
    you called a web service and pushed the returned values into the
    datastore, this is not ideal, since you may have encoded the urls
    to you web service into your code, or they intercept the results
    from the web service call.
    What does this mean for you the developer? Use the local
    datastore, and hope that we get some new ways of protecting content
    and data form Adobe in the next release of AIR.
    7. There are some things missing form the current version of
    AIR (1.1) that could really help ease the concerns of people trying
    to develop serious applications with AIR.
    Developers want more alternatives for the protection of local
    content and data. Some of us might want to protect our content and
    intellectual property, remember not all of us are building toys
    with AIR. Other than the local encrypted datastore there are not
    currently any built in options I'm aware of for encrypting other
    content in the AIR file, unless you roll your own.
    What does this mean for you the developer? We'll I've been
    told that Adobe takes security very seriously, so I'm optimistic
    that we'll see some improvements in this area soon. If security is
    a concern for you as much as it is for me, let them know.

    Putting "secret data" as a clear text directly in your code
    is a broken concept in every environment, programing language.
    Every compiled code is reversible, especially strings are really
    easy to extract.
    There is no simple, straightforward way to include secret
    data directly with your app. This is a complicated subject, and if
    you really need to do this, you'll need to read up on it a bit.
    But in most cases this can be avoided or worked around
    without compromising security. One of the best ways is to provide
    the user with a simple "secret key" alongside the app (best way is
    the good old login/password). The user installs the app, and
    provides his "secret key", that goes directly into
    EncryptedLocalStore, and then you use this "secret key" to access
    the "secret data" that's stored on your server. Then you can
    transfer the "secret data" directly into EncryptedLocalStore.
    As for the whole thread:
    Points 1-5 -> Those points do not concern AIR apps only.
    If you are developing an application in any language, you should
    follow those rules, meaning:
    - Code installed on users computer is easy accessible
    - Data stored locally is easy accessible, even if it
    encrypted using any symmetric-key encryption, because the
    encrypting algorithm and encryption key is in your source code (you
    could probably write a book on using public-key encryption so let's
    just leave it for now ;)
    Point 6 -> Is a valid one. All your app security should
    relay on the EncryptedLocalStore. But it is your job to get the
    data securely into the ELS, because there is no point to encrypt
    data that can be intercepted.

  • Web vs air development.

    Hi,
    I am new to AIR development . Is it easy to convert a Flex web application to an AIR application keeping all the styles and formatting intact . Does AIR support all the components that Flex sdk provides? I need to develop a desktop application and I was wondering whether I could develop using Flex and convert it to AIR last.

    You have more access to the file system from AIR and some components you may need may only be available in AIR (indicated in ASDocs). Any reason you are not creating an AIR application to begin with?

  • Simple AIR ajax question? One html file or many?

    I am a new ajax air developer and was wondering if it's a better practice to use one html file in my app or many html files? So far I have been testing with many html files using javascript location.href to send the user to another html page when they click different navigation buttons. This works although there is a clear webpage "loading" feel to the app due to a temporary white screen displaying over the app as it loads the next page (maybe for a couple milliseconds). Not a huge deal but still feels somewhat unprofessional since regular desktop apps do not have this "flicker" occur when changing navigation. Now if I use a single html file (where I load html using javascript) this does not occur but the file feels very large and bloated. Anyone have any suggestions of how I can eliminate the flicker that occurs using many files (perhaps I am not loading the file the correct way into the native window) or am I stuck with a single file if I want there to be no flicker?

    I'll say become a Flex/AIR developer

  • Adobe Air Developer - Central London - £250-300/day

    Adobe Air Developer needed ASAP.
    The project is to build a very simple download manager for music files being purchased on an ecommerce Web site that they are building. They are designing the application but need a developer to pull it together.
    Our client is based in Central London and is a very well established digital agency. If you do good work for this company it is highly likely you'll see repeat business again and again.
    Instant interviews, so send your CV to me ASAP.
    Ben Curwood
    Required IT Ltd
    020 8973 3770
    ben[at]requiredit.com

    Adobe Air Developer needed ASAP.
    The project is to build a very simple download manager for music files being purchased on an ecommerce Web site that they are building. They are designing the application but need a developer to pull it together.
    Our client is based in Central London and is a very well established digital agency. If you do good work for this company it is highly likely you'll see repeat business again and again.
    Instant interviews, so send your CV to me ASAP.
    Ben Curwood
    Required IT Ltd
    020 8973 3770
    ben[at]requiredit.com

  • Widget Development Question

    I need help setting margins on my widget with CSS. I have messed around with the margin properties of CSS, but how do they work in a widget environment? When the CSS is in a widget, would the margin be counting from the edge of the background image? In Safari, the margin counts from the edge of the viewing window.
    Please Help.
    Thanks

    Hi, the Apple Discussions are really meant for end users of Apple technologies, so it's usually hard to find answers to development questions here.
    However, Apple does have excellent mailing lists (listservs) covering all their technologies for developers. If you post your question to "dashboard-dev" at lists.apple.com, you'll be sure to find a lot of helpful answers there. You can also try the forums at dashboardwidgets.com. Good luck!

  • Looking for Flash/Adobe Air Developer for Startup who has some free time

    We are looking for a Flash and Air developer who will be creating a Website Music Player for a new music startup Stereo9 (www.stereo9.com).   We are also looking for the developer to be able to create a desktop application in Air, which will be used if someone chooses to download a song from the website...and the desktop application will be responsible for managing the download and downloading the music to the user's computer.  The functionality between the player and the download tool is pretty simple, and we need to just get it up to a "1.0 launch phase".  The rest of the application is rather robust, so for a small investment you can become involved in this venture that has a lot of potential where we are in touch with venture capitalists including the founder of Last.fm.
    The rest of the application is developed (completed over the last 2 years) and the engineer that we had for this area of the platform is no longer available to complete that side, you will receive a percentage of the stock options of the startup and we only need the application to be at a simple 1.0 level to get things started.   Please send an email with your interest and your confidence level that you'll be able to complete all aspects of this project.

    I am a mid-level Flex/AIR developer who offers Flex/AIR consulting. Your project sounds similar to others I have worked on. Email me at [email protected] and we can look at your requirements.
    Greg

  • Where do I find the Command-line Adobe AIR Developer Tool?

    Hi,
    Where do I find the Command-line Adobe AIR Developer Tool? (ADT)
    I downloaded the AIR 4 SDK, but can't find it.
    Thanks

    Yes, as Colin stated, FB / FlashPro calls it with app-xml and some other (device orientation, width, height etc) parameters.
    // chall3ng3r //

  • Flash-specific Book for AIR development?

    I am looking for a book to learn AIR development with Flash.
    Are there any "Classroom in a Book" type books out there on the
    topic?

    I was finally able to get my app on a Samsung TV using Flash Builder as my development tool. Here's some more info on this subject. You actually have to overlay the Air 2.6 SDK - not the 2.5 SDK.
    Also make sure when you finally package the TV app to change the application XML to point to 2.5,. During development you can leave it as 2.6.
    @see http://learn.adobe.com/wiki/display/airquestions/AIR+for+TV
    What tools do developers use to create AIR 2.5.1 apps for TVs?
    Developers can use the following tools:
    AIR 2.6 SDK
    Flash Professional CS5 Extension for AIR 2.5 (now an integral feature in Flash Professional CS5.5)
    Flash Builder 4.5
    Note: Developers can use the AIR 2.6 SDK for developing apps for AIR 2.5.1 for TV. In Flash Professional, set the publish settings to Adobe AIR 2.5. In Flash Builder, set the AIR namespace to 2.5 in the app descriptor file:
    <application xmlns="http://ns.adobe.com/air/application/2.5">.
    If you are using Flash Builder 4.5, you must do the following:
    Download the Flex 4.1.0.16076 SDK.
    Download the AIR 2.6 SDK.
    Copy each file from the AIR 2.6 SDK into the corresponding directory within the Flex 4.1 SDK, replacing the Flex original variants.
    To use this SDK within Flash Builder, select your project in the Flash Builder package explorer.
    Choose Project > Properties to open the project's Properties dialog box.
    Select Flex Compiler in the list and then click the "Configure Flex SDKs" link to open the Preferences dialog box.
    Click the Add button, browse to the SDK, and then click OK until you get back to the project's Properties dialog box.
    Click the "Use a specific SDK" option and then pick Flex 4.1 from the drop-down menu.
    You must also replace the default WindowedApplication element with Application in your project's MXML file.

  • Development Question Pertaining to Discoverer and Oracle Apps

    Hi All,
    I have a Disco Development question. First of all I am in an Oracle Apps environment.
    Here is my situation. I received a specification to make sure our End User Layer has the capability to create a workbook
    which has the following information in it:
    1. Onhand inventory by lot information using the GMF_PERIOD_BALANCES table.
    2. Demand pegging (from the msc_demands table) associated with this onhand inventory.
    3. Accounting cost information (GL_ITEM_CST information).
    4. They also want more detailed item master information information (e.g. catalog descriptive element information and costing category).
    Here is a solution to address this:
    -Take existing inventory by lot views we have and use the the gmf_period_balances table in lieu of the mtl_onhand_quantity_details table. Within this same
    view, add pegging information. This has been implemented in a development environment.
    -Take existing costing views (using the component_cost_details table) and replace with the gl_item_cst.
    -Take existing view associated with item detail information and make sure all catalog descriptive elements and costing category information have been added.
    My next main dilemma for this problem is to address the best way to join these views in the Discoverer end user layer. Here are the approaches I see:
    1. Encapsulate the item detail information with the onhand, period end with pegging view. Next, create a join with the costing view.
         pros: In my testing of this, the totalling works with extending item costing (item cost x onhand inventory).
         cons: Refresh times and scalability of this solution are concerning (consider a couple of people using this at the same time). Also, there is no nice
         way to join these two views (there is a n x m relationship between these two views). For instance, the costing calendar is used in the accounting costing
         view, and the general ledger calendar is used in the GMF_PERIOD_BALANCES table.
    2. Abandon a two or three view approach. Create an uber view which encapsulates the onhand quantity, pegging, standard costing and item detail information.
         pros: A more simpler end user experience which should then allow for the totalling to work.
         cons: Very easy for an end user to obtain a result set which is part of a cartesian product (e.g. multiple general ledger periods are included in this workbook
         with multiple costing periods). Doubtful that this workbook would be refreshable.
    3. Fan trap solution which would be some variation of onhand view being joined to an item details folder which is joined to the pegging details updated.
         pros: Without too much work, I am able to get this to work, except totaling.
         cons: Totaling.
         Please let me know what your thoughts are regarding the best approach.
         Thanks,
         Patrick

    Hi,
    Where you have complex joins I would always go for a single view. It keeps Discoverer simple and allows you to concentrate performance effort building the view. Generally you can build in conditions to stop a cartesian product.
    Rod West

  • Adobe AIR project - Questions

    Hello I m here to solve any questions related to AIR in my mind.
    I would start an offline project that consist of displaying and editing things in a db.I would like to develop this project over AIR and Action Script 3.I know that AS3 can handle Mysql but for running Mysql DB offline it would have a mysql server running on the machine...but here would like to create a db running with my AIR application and without have to install any mysql local server.
    So witch type of DB or how can i create DB for AS3 use?
    Maybe i can use xml as tables of DB and coding the xmls as they were db parts but the datas are very huge and this will not be easy to edit things in db with xml as tables
    Thanks a lot

    The AIR runtime includes the SQLite database engine, so if you want to use a database as part of your application that is the easiest way to do so. The documentation about the built-in database functionality is here:
    Flex: http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a5497-7fb4. html
    Flash:http://help.adobe.com/en_US/AIR/1.5/devappsflash/WS5b3ccc516d4fbf351e63e3d118676a5497-7fb4 .html
    HTML/JavaScript: http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118676a5497-7fb4. html
    In theory an AIR application can also communicate with any other type of database, assuming you find or write the code to perform that communication. For example, there is an open-source ActionScript library to directly access MySQL. However, as you point out, to use any server-based database you would need to have an instance of the database server running where the computer can access it.
    Aside from SQLite, the only other file-based database system that I'm familiar with is Microsoft Access. (I'm sure there are others, but I just don't know their names.) I don't know of any existing projects to work with Access database files from AIR, but again I could have just missed something.

  • Adobe AIR installation questions

    Hi all,
    I'm looking into the possibility of distributing an application with Adobe AIR and I've a few questions about the Adobe AIR installation process. Just to give you some background on the situation I'm in - if a user wants to use the service I'm working on, they need to install a binary application on their computer. We've a web site which communicates with this binary application. As the user as to install the binary application to begin with, we're beginning to look at AIR as a possible alternative to distributing the web content through a browser.
    1. Adobe AIR installation requests that the user enters their computer password. Is there any way to retrieve this password from a separate installer? The binary application that we ask our users to install asks the user for their password and it would be nice to not ask the user to enter their password twice. Are there any possibilities for sharing this password between our binary application and the Adobe AIR installer?
    2. If I sign up as a re-distributer of AIR, is the Adobe EULA which is displayed at the start of installation still necessary? I'm already displaying one EULA (with the binary application) and I'd prefer not to have to display two.
    3. I'm assuming that there is no way to specify the directory into which I'd like the Adobe AIR runtime to be placed - can you confirm that Adobe AIR is always installed in the /Applications folder on mac and c:/Program Files on Windows?
    This question goes out to Adobe AIR developers - If you have distributed your application with Adobe AIR, have you ever stumbled across the situation where a user has uninstalled the Adobe AIR runtime (either intentionally or unintentionally) and you are now left in a situation where a user cannot access your services because Adobe AIR is not installed on their computer. If so, are you aware of any usable fallbacks other than to tell customers that they have to have Adobe AIR installed to run the application?
    Thanks
    Sean

    1:  We are working on a method to use a local socket to communicate with an installed c# application on the users machine.  The situation is very similar, however we store credentials encrypted and accessible to the installed binary.  If those credentials do not exist the AIR app requests the user to input them and they are sent to the binary.  These credentials are stored either per session, daily or forever per the user's preferences.  We use this method to let AIR be the front end it was designed to be and leave all the heavy lifting OS / processor wise to the binary.  Unsure if this would help but you can read a bit more on using local sockets here: http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7caf. html
    2:  The EULA is still required as the End User has to accept it.  If there's a way around that, I'm not aware.
    3:  The installation directory can be changed by the user unless you are performing silent installs (available when you sign a redistribution agreement).  I don't recommend relying on the installation directory never changing.
    Try using nativePath to determine where your program location is: (javascript)
    //application directory
    var file = air.File.applicationDirectory.resolvePath("testfile.html");
    air.trace(file.nativePath);
    //application storage directory
    var file = air.File.applicationStorageDirectory.resolvePath("testfile.html");
    air.trace(file.nativePath);
    4:  I've faced the problem where the AIR runtime is not available, but we always fall back on the badge there.  For what it's worth it's pretty handy at detecting requirements and getting them to the user.
    hope that helps

  • Air runtime questions

    Hi all,
    We're eyeing Air suspiciously and thinking about trying to use it for distributing various apps.
    Our main concerns are all about the runtime licence model.
    1) The Runtime distiribution licence agreement says:
    Licensee may not distribute the Adobe AIR installer or installer files for purposes of bypassing installation of the Adobe AIR Runtime, an Adobe AIR application, or the EULA.
    Does this mean if we bundled the runtime distribution installer on a CD and tried ot install it as part of our installer using the -silent install method we would actually be breaking the licence agreement?
    2)Say we install the runtime this way and then our app. A new version of air comes out, the user is then quizzed by Air whether they want to upgrade.
    There is no way to avoid this?
    3) And when if they do upgrade I've heard a lot of stories about apps suddenly becoming unuseable. Can someone confirm it doesn't just break the app beacuse it wasn't written for that version, it is simply that runtimes are not backward compatible?
    I think I know the answers to these questions but I need to ask to get total clarity as basicaly it seems ludicrous if you want Air to be taken up by the raft of developers who, like me, are desperate to walk away from mdm Zinc.
    ta...

    1. There is a redistribution agreement you can sign to bundle an AIR Runtime with your app. installer.
    2. Setting Manager can set to stop update.
    3. We have made great effort to make sure new releases are  backward combatible.

Maybe you are looking for