Publishing to Air, differences in

I am new to Flash, so created a very simple test file. I am simply clicking on the stage, in a 3 frame file, which brings me to the next frame, cycling through them with a click. There is a movie (mp4), playing on one frame and sound on another. It comiles fine when I publish it as a swf for flash 10. But if I publish it for Air 2.6, it goes once through the3 frames, and then when I click on frame 3, to avance back to frame one, it goes to frame 2 instead. when I click on frame 2, it goes back to frame three, and then toggles between these two.
I had a similar problem with the swf, until i input code to release the listener. So I am assuming it is some similar problem? Or is there something obvious about compiling to air that I am missing? Thanks
This is so simple, it seems it must be something very basic.
thanks
This is the code in each frame.  There is only 1 scene with 3 frames:
------frame 1 code---
import flash.events.MouseEvent;
stop();
stage.addEventListener(MouseEvent.CLICK, moveme1);
function moveme1(e:MouseEvent):void{
        gotoAndPlay(2);
        stage.removeEventListener(MouseEvent.CLICK, moveme1);
------frame 2 code---
import flash.events.MouseEvent;
stop();
stage.addEventListener(MouseEvent.CLICK, moveme2);
function moveme2(e:MouseEvent):void{
        gotoAndPlay(3);
        stage.removeEventListener(MouseEvent.CLICK, moveme2);
------frame 3 code---
import flash.events.MouseEvent;
stop();
stage.addEventListener(MouseEvent.CLICK, moveme3);
function moveme3(e:MouseEvent):void{
        gotoAndPlay(1);
        stage.removeEventListener(MouseEvent.CLICK, moveme3);

Thanks for your help.
I kept having issues. If I compiled it in flash, it worked, if in air it did not.
so, I took it apart piece by piece.
I removed all the  layers on all 3 frames.
I removed all the code.
I was left with the original library from the inDesign import, which included 3 movieclips, for the 3 spreads.
here is what I found:
I renamed all three frames.
I created a movieclip rectangle  to use as a navigator  for each frame. Their code was in the action layer for the frame. I  just had a stop() and a gotoAndStop() to the next frame, calling the frame by label.
I  put instances of rectangles on the stage of each frame as content.
I compiled in air and in flash. it worked in both.so the code was ok.
I put one of the movieclips back onto frame 1, as an instance.
I compiled, it did the same thing as before in Air.  It clicked through each frame, but on frame 3, it just redrew the button of frame one, and kept the button from frame 3 drawn, It never redrew properly. If I compiled in flash, it worked fine.
I removed the inDesign movieclip, and compiled again, in both. it worked fine.
I added a different movieclip from the indesign import. The same thing occured.
so, I added all 3 movieclips back in, one on each frame. I compiled in flash, it worked. I compiled in air, it did the same thing on frame 3 with the redraw issues, (the last frame).
It has to be some bug with Air dealing with the imported pagespreads from inDesign. One has clipping paths. Another has animation. The video was placed in the spread while in flash. It seems they caused a redraw issue. Before I had buttons navigating, i thought the frames were not advancing. But they were. It was just you could not tell, as the redraw was incorrect.
There are only 3 pages....and 2 movie clips, 768 X 1024px.
I guess I will have to build the whole thing from scratch in Flash, to make it compile correctly in Air.
Really disappointing.

Similar Messages

  • Image cannot be displayed (as htmltext) when published for Air, android and iphone

    Hi,
    I am using Adobe Flash CS5.5 (AS3) and am building an online rss reader which loads a rss(xml) feed as htmlText containing title, description (with html formatting, linkage and image).
    My rss format is roughly based on the online sample found at  *** http://movies.msn.com/rss/topcelebs
    ***sample code as given below***
    <description><![CDATA[<div><a href='http://movies.msn.com/celebs/celeb.aspx?c=153441&affid=100055'><img src='http://entimg.s-msn.com/i/150/Movies/Actors/Sheen_TD00988581054_150x200.jpg' title='Tyler Demogenes/Retna Ltd.' style='float:left;border:none'></a>
    <p>A leading man who has displayed a knack for action, comedy, and dramatic roles, "Charlie Sheen" is nearly as well known for his offscreen exploits as for his acting, though after suffering through scandals that would have ended many performers' careers, he overcame bad press and bad habits to enjoy a major comeback on television in the late '90s. "Charlie Sheen" was born Carlos Irwin Estevez to actor "Martin Sheen" (born "Ramon Estevez") and his wife, Janet Templeton, in 1965. By all accounts, young... [<a href='http://movies.msn.com/celebs/celeb.aspx?c=153441&affid=100055&mp=b'>more</a>]<br clear=all></div>]]></description>
    Success story
    All text and images are displayed from online as htmlText when published as SWF
    The problem/requirement
    Images are NOT displayed when published as AIR 2.6, AIR for Android or AIR for iphone
    Searched the net, but no success. The images are not visible/loading when the rss application is installed on mobile devices (Android and iPhone)
    Please help.
    Thanks in advance.

    Hi Colette
    Are you saying that there should be .hhc, .hhk, .hhp, etc. files for each topic?
    Those are project files and you would not see one for each topic. There is one (maybe more, depending on what you are doing) for each project.
    One thing you may wish to try is to enable the "Use lowercase file names" option in your SSL recipe.
    After you do this, generate and publish again.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcererStone Blog
    RoboHelp eBooks

  • Getting Flash CS5 to publish an AIR 1.5 file

    *** For the record, I just want to say that I think it is totally absurd that Adobe shipped Flash CS5 with the ability to ONLY publish AIR 2.0 apps...which hasn't been publicly released yet. I've been working on an AIR app for several weeks and needed to upgrade from Flash CS3 to CS5 to take advantage of the new Text Layout Framework. Now, my app can't be installed by my customers because I can't publish for a version of AIR they can access!! How this decision got made baffles me. Adobe needs to be on top of their game these days and this blunder makes it that much more difficult to defend the Flash/AIR platform that I love so much. Flame over.****
    Now, for the workaround I've discovered. To get Flash CS5 to publish an AIR 1.5 file, I first published an AIR 2.0 app. Then I went into the app descriptor xml file and changed the version from 2.0 to 1.5 <application xmlns="http://ns.adobe.com/air/application/1.5"> Then I deleted the xml nodes in that same file that are specific to AIR 2.0 (<visible>, <fullScreen>, <autoOrients>, <aspectRatio>, <renderMode>). I locked the app descriptor file so it couldn't be changed by the next publish. Then I deleted the previously created .air file and the .swf file. I then republished the app from CS5 and it was able to install under the publically available version of AIR (1.5.3.9130).

    @mattwade, thanks for posting this. Is it possible to open up your flash project inside of Flash Builder to convert to 1.5?

  • First publish to AIR in Flash CS6 problem

    I get this error after trying to install the .air file from a successful publish to AIR from Flash CS6. The file I'm using has been working fine for publish to AIR in CS5.5.  Anyone know what is up here?  I'm not using teh embedded runtime publish option.
    "This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance."
    Thanks!

    Hi David ,
    The reason for the above problem could be that the same application exported with different certificates, and the new one which you are trying to install conflicts with the old one.
    Try the following steps :
    1. Make sure you uninstall the AIR application completely.Search for the application from its App name which you had specified in the "AIR Settings" dialog.
    2. Install the AIR application again.
    If this also doesn't help then
    You can check by changing the ID of the application and install it as a brand new app that has never been installed before.
    Thanks and regards,
    Sudeshna Sarkar
    Adobe Flash Professional Team.

  • Help me, I am using flash pro cc and air 4.0,i have one problem when publishing apk through air publish settings,choosing the run time option from third party is disabled.can any one help me bcoz i have to publish without air runtime.......

    Help me, I am using flash pro cc and air 4.0,i have one problem when publishing apk through air publish settings,choosing the run time option from third party is disabled.
    can any one help me bcoz i have to publish without air runtime.......

    Hi,
    This option is available when your publish target is set to AIR 3.6.
    You can download the desired AIR SDK version from Archived Adobe AIR SDK versions
    Thanks!
    Mohan

  • Mac + FlashCS4 + Publish to AIR = crash. Everytime. Anyone?

    That about says it, publishing an Air file from Flash does not work on my mac.Completely crashes flash...
    Works fine on a PC for the same file.
    Flash version is current...
    Bug or user-error?
    Thanks!
    -Ted

    Will do... I think God is telling me it's time to move on to Flash Builder 4.

  • Mac + Flash CS4 + Publish to AIR = Crash.

    Anyone else having an issue with this? I can't seem to publish my AIR app on my Mac. Publishes like a charm on the PC...
    Just me?
    I'm feeling more and more these days like it's just time to move into Flash Builder 4 (I downloaded and installed it, but I'm still afraid of it ).
    Any help is appreciated.

    Will do... I think God is telling me it's time to move on to Flash Builder 4.

  • Flash CC 2014 publishing Adobe AIR 17 - use captive or shared runtime?

    I developed an app using Flash CC 2014, In IOS I had to upgrade to the builder and I got the function to work, but now I have the same app and need to develop for Android. I created a separate fla and did the following
    Used Android 17.0.0.96
    added the general info
    created the p12 now I have the option to choose captive or shared runtime. I get warnings about each when I publish so I have to publish this app to GooglePlay and need to know the procedure as I'm on a Mac and I see procedures involving code when doing this on a windows machine.
    Can someone help me out here?
    R

    I would recommend to use "Captive".
    Difference is pretty simple...
    Shared Basically means that it compiles the "apk" without the Adobe AIR runtime, resulting in a smaller file size apk but REQUIRES users to have the "Adobe AIR App" installed.
    Captive means that it compiles the "apk" with the Adobe AIR runtime, resulting in a larger file size apk but DOES NOT REQUIRE users to have the "Adobe AIR App" installed.
    If you want to Guarantee everyone can run your app, use captive. If you want to rely on users to hope the have the correct version of AIR installed to view your app, use Shared.

  • CS4 won't publish to AIR - error help please!

    hi guys,
    our machines (XP, Flash CS4 pro, Air 1.5) are failing to publish AIR files.
    even creating a basic hello world *.fla exporting to AIR on default settings will fail with the following error:
    "Error creating AIR file."
    "Application descriptor file cannot be parsed"
    I have also tried creating a basic custom descriptor file but this has the same effect:
    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    <application xmlns="http://ns.adobe.com/air/application/1.5">
        <id>com.adobe.example.main</id>
         <version>1.0</version>
         <filename>main</filename>
         <description/>
         <name>main</name>
         <copyright>2010</copyright>
        <initialWindow>
             <content>main.swf</content>
             <systemChrome>standard</systemChrome>
             <transparent>false</transparent>
             <visible>true</visible>
             <width>650</width>
             <height>400</height>
             <x>0</x>
             <y>0</y>
             <maximizable>false</maximizable>
             <minimizable>false</minimizable>
             <resizable>false</resizable>
         </initialWindow>
         <customUpdateUI>false</customUpdateUI>
         <allowBrowserInvocation>false</allowBrowserInvocation>
    </application>
    can anyone shed any light on this issue as it's killing our work flow.
    regards, Rich

    I'm running into this same problem; glad to see others have too (and fixed it). Now, I'm completely self-taught with Flash, so I'm not too keen on many terms. Could you better describe to me what (and where and how) you messed with that caused (and fixed) the issue? This is my first project in which I changed (or rather set) the source path for my .as files. Is that what you're talking about?

  • Publish with AIR 2.6 SDK for AIR 3.4?

    Any reason I can't/shouldn't publish using the AIR 2.6 SDK even thought many users will have AIR 3+? My least common denominator is targeting Mac OS X 10.5 systems so I need AIR 2.6, but don't need any features in AIR 3. So I'd rather publish one set of .air files instead of 2.6 and 3.x files.

    from http://blogs.adobe.com/cantrell/archives/2011/03/how-to-use-air-2-6-with-flash-builder-4.h tml:
    Right-click on your project and choose "Properties".
    Select the "Flex Compiler" section.
    In the "Additional compiler arguments" field, add -target-player=11.
    Click "OK".

  • Flash Pro CC 2014 Crashes When Publishing with Air

    While trying to publish my app with Flash Pro CC 2014 the program crashes. I'm using the current Beta version of AIR 15 (previous version had the same results) on a Mac (Yosemite OSX 10.10 beta 5, Not the public beta) . When I publish to just a swf file there is no problems. If I publish to Android, iOS or Desktop then Flash crashes. When the Adobe crash scene comes up I do submit the reports to Adobe. At the end I get a message telling me Adobe found a solution for the recent crash and to "click here" for further details.  When I do it just goes to the Adobe home page with no help. Is there a solution or workaround? I've been using one of my other machines that has Mavericks on it for publishing for the time being.  I would like to work at one machine and not transferring back-and-forth. Any help will be great!

    The updates are not available @ http://www.adobe.com/support/flash/downloads.html#flashCC
    The updates are available through Creative Cloud desktop app or through in-app update option.
    You can also try by launching flash professional CC 2014 version you have installed and go to Help->Updates. This should ideally do it.
    Incase, it is not updating after this, can you please let me know the type of Creative Cloud license that you own?
    Do you belongs to an environment where Installation / update of applications are managed by IT team? In that case, please check with your IT team for how to get the latest update.
    Rgds,
    Mukesh

  • Problems publishing my AIR 2.0 Application

    Hi guys, what's up?
    I've got a problem. I'm trying to develop a game in AIR. It has a transparent Chrome. When I test it into Flash it works great, then I publish the Application and install it.
    When I launch the application nothing happens, or better, in my taskbar in Windows I can see the App Icon like if it's running, but nothing is on screen.
    What am I doing wrong?
    Thanks for help

    Hi Samuel,
    In case you haven't already figured this out, in your application descriptor file make sure that you turn transparent to true (and uncomment it).  Here's a brief tutorial that describes the code needed:
    Chromless AIR Application
    Chris

  • InDesign - publish to air desktop

    I have looked everywhere and cant find a anwser/solution. I would like to use Adobe InDesign CS6 to produce a desktop air app like the one. I am producing a prestation for a client with graphics video clips etc. I would then like to publish this as a iPad app and a windows desktop app. I know I can produce the iPad version via Digital Publishing route in InDesign. When I preview the app it does show me via air what I would like to produce for the desktop, is there anyway to export this?

    Hello,
    This was answered in a previous post. You can check it out here:
    http://forums.adobe.com/thread/586685
    -Bear

  • Macbook Air difference between two models?

    My lovely other half has offered to buy me a Macbook Air - my question is (being an ignoramus) what is the difference between the model having a 80GB 4200-rpm PATA hard drive and the much more expensive model with 64GB solid-state drive.
    can anyone explain in simple terms?
    Thanks

    Hi,
    I hope simple enough ;-):
    a) 80 GB 4200 rpm PATA model: This model uses a regular hard disk drive to store long-term data. This means, there are a couple of thin glass disks spinning at 4200 rpm. These glass disks hold a thin metal layer that is magnetized in either one or the other way. That way the computer can store data like your files or the operating systems files for long-term retrieval. The disk is rewriteable.
    b) Same usage principle for the SSD model. The difference is, no moving parts, no glass disks, but small "ic-chips" storing the data just like the memory (RAM) of your computer does use. The difference to the RAM is that the data is not forgotten on power down, like with the glass disks.
    The pro's of b) are less heat, no moving parts, faster access. The con's limited size (only 64 GB) and more expensive. If I would be you, I would take the HD version and ask for an external hard disk or even a TimeCapsule (for wireless Time Machine backups).
    Volker

  • No Publish button - AIR for iOS and Android

    Hi,
    I upgrade Web Premium from CS5 to CS5.5. I have a big problem with publishing for mobile devices.
    When I am in Publishing settings I cany see buttons :OK, Cancel and the most important Publish.
    For OK I ken press Enter, for Cancel Esc, but it looks there isn't any key, which can be pressed as Publish.
    I am Mac user. My version of Adobe software is Polish.
    I tried reinstall all Web Premium, but it ist't working. What else can I do?

    Ok, so I made it once again with bigger of my screen.
    My screen:
    And the screen from video tutorial:

Maybe you are looking for

  • Can't download drivers!

    Hello. I have a DV7-6179us and never had any problems until about a month or so ago when it became super sluggish (it's almost impossible to even type). So yesterday I formatted and did a clean install of Windows 7-64bit. I've been trying to download

  • Lifecam Hd 3000 not working with skype

    I have a new Surface pro 3, (Microsoft) and a new HD3000 camera (Micorsoft) It works on the screen but when I use it with Skype (Microsoft) whilke it shows up in the set up, the program will not allow me tro send a video message,

  • I hate icloud! How can i get rid of it and go back to only downloading movies to my pc and NOT to ICLOUD!!! grrrrr

    hi guys.... i hate icloud! i dont even remember setting it up! i dont want to use it. i just want to download movies and tv programmes to my PC and not to Icloud which it keeps doing. someone just help me!!! thank you

  • Caller 04 error

    Hi gurus i'm tryin to upload data from flate file ,when i uploading in infopackage i'm geting two errors 1) i cant see preview on ip 2)when i'm schelude i'm arithmetic error with caller 04 is showing error from source system can u plz clear my doubts

  • Copying OSX and Win XP partitions to a new hard disk drive

    Hi guys. I just upgraded my MBP to a new 160GB Hitachi HDD (from 100GB) but got stucked in copying/cloning Windows XP partition. I tried SuperDuper but it can only copy Mac partitions.(successfully and its currently running) Win XP partition cannot b