Assets of air-conditioning for IOS

Animate my project includes a video file.

It would be nice to make a little video available on iPhone and a larger version for iPad, so that the download is smaller for the iPhone.

Is this possible?

Thank you

Paul

you need to have two different applications or do an application that includes video and load the video from a server.

Tags: Adobe Animate

Similar Questions

  • Flash cc could not play video when I change target air 17 for IOS.

    The video works very well when it is in flash player 10 or higher, but when I played in a SWF with air 17 for IOS this is happening. When I wanted to publish this on the iPad device, and when I open the app, it was totally white without even the green bar that you can see in the screenshot.

    Screen Shot 2015-11-05 at 5.30.04 pm.png

    I think it is because you are using a component FLVPlayback stripped, which involves an external file that has code, and which is not allowed in the iOS. Either your H.264 video, which works in Flash player, but not in the iOS.

    If you play FLV, try to adjust the skin of the component to zero, see if the video will be displayed.

  • File.upload ActionScript does not work on Air SDK for iOS devices

    I try to use the ActionScript File.upload to transfer a file on Air SDK for iOS environment, but the File.upload does not work properly. No event on the file upload handler is executed after File.upload is called, and no exception is caught. When I check the side network traffic server, I found no application http even didn't hit the server after execution of File.upload. The code is below.

    ------------------------------------------------------------------------------------------ -----------------------------------------------------------------------

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:fx s:View ' http://ns.Adobe.com/MXML/2009 "xmlns:s ="library://ns.adobe.com/flex/spark"title ="HomeView"> "

    < fx:Declarations >

    <! - Place non-visual elements (e.g., services, items of value) here - >

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA]

    private var file:File;

    private var dir:File;

    This method is executed to create a file and download it when you press the download button.

    protected void OnUploadButtonPressed(event: MouseEvent): void {}

    trace ("upload button clicked");

    var urlReq:URLRequest = new URLRequest ("http://10.60.99.31/MyPath/fileUploadTest.do");

    urlReq.method = URLRequestMethod.POST;

    var str:String = "this is test";

    var imageBytes:ByteArray = new ByteArray();

    for (var i: int = 0; i < str.length; i ++) {}

    imageBytes.writeByte (str.charCodeAt (i));

    }

    trace ("size =" + imageBytes.length);

    try {}

    dir = File.applicationStorageDirectory

    I also tested in several different directories

    dir = File.createTempDirectory ();

    dir = File.documentsDirectory;

    var today: Date = new Date();

    var filename:String = 'IMG' + now.fullYear + now.month + now.day + now.hours + now.minutes + now.seconds + now.milliseconds + ".txt";

    file = dir.resolvePath (filename);

    var stream: FileStream = new FileStream();

    Stream.Open (file, FileMode.WRITE);

    stream.writeBytes (imageBytes);

    Stream.Close ();

    Review the content of the file to check if the file is written successfully.

    var readStream:FileStream = new FileStream();

    readStream.open (file, FileMode.READ);

    var: string result = readStream.readUTFBytes (readStream.bytesAvailable);

    trace ("rear read result =" + result); The result is shown here as planned.

    file.addEventListener (Event.COMPLETE, uploadComplete);

    file.addEventListener (IOErrorEvent.IO_ERROR, ioError);

    file.addEventListener (SecurityErrorEvent.SECURITY_ERROR, securityError);

    file.addEventListener (ErrorEvent.ERROR, someError);

    file.addEventListener (ProgressEvent.PROGRESS, onProgress);

    file.upload (urlReq); This line does not work. No handler is executed. No http request struck the coast server.

    trace ("after file upload test");

    } catch (error) {}

    trace (e);

    }

    }

    Complete Manager

    private function uploadComplete (event: Event): void

    {

    trace ("Upload successful.");

    }

    IOError handler

    private void ioError (error: IOErrorEvent): void

    {

    trace ("Upload failed:"+ error.text ");

    }

    Manager SecurityError

    private void securityError(error:SecurityErrorEvent):void {}

    trace ("security error:" + error.text);

    }

    Another Manager

    private void someError(error:ErrorEvent):void {}

    trace ("an error" + error.text);

    }

    Progress Manager

    private void onProgress(event:ProgressEvent):void {}

    trace ("progressHandler");

    }

    This method is executed to call the URLLoader.load when the delicate touch.

    protected void OnTrickyButtonPressed(event: MouseEvent): void {}

    var urlReq:URLRequest = new URLRequest ("http://200.60.99.31/"); This points to a server not - exist

    urlReq.method = URLRequestMethod.POST;

    urlReq.data = new ByteArray();

    var loader: URLLoader = new URLLoader();

    try {}

    Loader.Load (urlReq); This line is very important in iOS7. He decides if the latter file.upload may work.

    But in iOS8, file.upload does not work even if that line is executed.

    trace ("after urlloader load");

    } catch (error) {}

    trace (e);

    }

    }

    []] >

    < / fx:Script >

    < s:Button = "200" x = "200" width = "400" height = "200" label = "Upload" click = "OnUploadButtonPressed (event)" / > "

    < s:Button = "200" x = "500" width = "400" height = "200" label = "Tricky" click = "OnTrickyButtonPressed (event)" / > "

    < / s:View >

    ------------------------------------------------------------------------------------------ -----------------------------------------------------------------------


    When it is run on the simulator of the Air, it works very well as expectedand the file is successfully downloaded to the server. But when run on iOS devices (in my case, iPad), as I explained at the beginning, no event on the file upload handler is executed and not the http request has even hit the server. So I think that the problem may come from the client side.

    During my attempt to solve the problem, I found something complicated about this problem on iOS7. In other words, if you call the URLLoader.load method (although the URLLoader.load points to an address non-existed) before calling the File.upload method, the File.upload will work as expected on iOS7. Specifically, when the above OnTrickyButtonPressed method is run before the OnUploadButtonPressedmethod, File.upload will succeed on iOS7. But this only happens on iOS7. On iOS8, File.upload still refuses to work, regardless of knowing if the URLLoader.load is executed before.

    I think in my case, the problem is not the problem of sandbox or a session of Firefox problem described in the two links below, because not even a http request hit the side server. It seems that the Air SDK for iOS comes to fail send the http reason request any.

    http://StackOverflow.com/questions/5967382/Flex-4-FileReference-issues-with-Firefox

    http://StackOverflow.com/questions/351258/how-do-i-make-Flex-file-upload-work-on-Firefox-a nd-safari

    To make my problem clear, I list my environment below:

    • Development environment: Windows7 (64-bit) / Mac os 10.9.4 (tested on both OS platforms.)
    • IDE: Flash Builder 4.7
    • Air SDK: 3.8 / 16.0.0 (after that I have updated to the latest Air SDK 16.0.0, problem persists.)
    • Application server: Tomcat7 + spring

    Finally, I want to mention that download the file using URLLoader.load isn't an option in my case because I want to download large files in the future, which cannot be addressed with the URLLoader.load.

    I struggled with this for days. If I really appreciate it if anyone has an idea about this.

    Thanks in advance.

    Hi KA RYU.

    We have reproduced the issue successfully, our team would work on it.

    -Tushar

  • 17 ADT of AIR package for iOS fails when you use both "-Yes hideAneLibSymbols ' and '-useLegacyAOT not.

    Hello

    I have a strange problem, and could ' thin t the answer yet on any forum.

    AIR version: 17.0.0.99

    The command-line ADT package for iOS fails when I add the two '-Yes hideAneLibSymbols ' and '-useLegacyAOT no ' and if it also contains the native extensions of .ane, which have been updated to support iOS arm64. "If I take the -" hideAneLibSymbols Yes "part of the command line, it works fine, but I need to use it as well, since I use several native extensions, and otherwise I get the error of duplicate symbol. So, it seems to me that hideAneLibSymbols is also there, then the useLegacyAOT is not taken into consideration.


    That's how I tried to package it:

    ADT-package - target ipa-test - hideAneLibSymbols no useLegacyAOT yes - no - keystore... / Certificates/ASD. P12 - stores pkcs12 - storepass asdasd-putting into service-profile... /Certificates/ASD.mobileprovision asd.ipa asd - app.xml asd.swf assets icons extdir - anes


    How could I solve this problem? I used to .ipa files using Flash Pro CC 2014 compiled, but now I can't, since I can add there Yes hideAneLibSymbols .

    Thank you

    Lehel

    Please try with the latest beta "Adobe AIR Beta 17 |" -development of applications Adobe Labs'and let us know if you still see problems.

  • Flash air app for IOS. Sound problem

    HI, I made a flash app for IOS. This flash content video. Video of the work correctly in the Simulator. I have the video work´s iPhone, but the sound is not.  Please I need solve this problem as soon as possible. Thank you in advace

    I found the solution with webView.dispose () and his works. Im going to test your solution as well. Thanks for your help

    import flash.geom.Rectangle;

    import flash.media.StageWebView;

    import flash.filesystem.File;

    import flash.utils.Timer;

    import flash.events.TimerEvent;

    Stop();

    button_1.addEventListener (MouseEvent.CLICK, fl_ClickToGoToWebPage);

    function fl_ClickToGoToWebPage(event:MouseEvent):void

    {

    var webView:StageWebView = new StageWebView();

    webView.stage = this.stage;

    webView.viewPort = new Rectangle (285,265,640,480);

    var fPath:String = new queue (new File("app:/kk.mp4").nativePath) .url;

    webView.loadURL (f)

    hh.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame);

    function fl_ClickToGoToAndStopAtFrame(event:MouseEvent):void

    {

    webView.dispose)

    };

    }

  • Adobe Air for iOS - SQLError: ' #3115 error ' no such table ".

    I'm developing Adobe Air application for iOS with sqlite on that. When running on my local machine, it worked like charm (add, edit and delete). Unfortunately, when tried to run on the iPAD, it gives me the following error:

    SQLError: Details ' Error #3115',:' no such table: ' tblEmploye ", operation: 'run', detailID:"2013".

    Here is my code when opening the sqlite database: * data is saved to the directory of the current application where all the files are stored:

           
            exampleDBFile = File.documentsDirectory.resolvePath("mydb.db");
    
            if (exampleDBFile==null || !exampleDBFile.exists) {
                MovieClip(root).mcSong.visible = false;
                MovieClip(root).mcAlert.visible = true;
                MovieClip(root).mcAlert.enabled = true;
                MovieClip(root).mcAlert.txtErrorMessage.text = "Database not found";
            }
            exampleDB = new SQLConnection();
            
            exampleDB.addEventListener(SQLEvent.OPEN, onExampleDBOpened);
            exampleDB.addEventListener(SQLErrorEvent.ERROR, onExampleDBError);
            
            //exampleDB.openAsync(exampleDBFile);
            exampleDB.open(exampleDBFile);
    

    I also tried to use the following but still no luck

    exampleDBFile = File.applicationDirectory.resolvePath("mydb.db");            

    using this, I get a different error: Error: Error #3104

    And here is the code for adding new entries

            
            sqlInsert = "insert into tblLyrics (empName, empDesc) values
                        ('"+ strReplace(txtSearchMe.text, "'", "") + "','"+ strReplace(txtContent.text,"'","") +"')";
            dbStatement.text = sqlInsert;        
            dbStatement.addEventListener(SQLEvent.RESULT, onDBStatementInsertResult);        
            dbStatement.execute();
    
    

    Hoping for your advice...

    Hello

    @uxavenue

    to add something to the post of samia:

    -on iOS your application directory is in 'read only' (at least when using native application)-so resources in the application directory (in the terminology of the Air - not iOS SDK SDK) may not be changed/written/updated

    -you could ship already created database sqlite with your application files, but must be copied to the writable to the application directory - for example documents. This directory is accessible via:

    File.documentsDirectory

    -When your application starts, you could do more:

    (1) build the path to the path of database documents

    (2) check if the database in this path exists (if this file exists)

    (3) if the file does not exist yet either copy in this path of the resource directory of the application (where you consolidate during the generation of project) OR create the new empty database using all these CREATE table and then INSERT statements required to create the new new copy of database

    (4) on each next start so check if the file exists at #2 jump creation/copy of database and simply start using it.

    Kind regards

    Peter

  • AIR 15 on iOS tlfText not rendered

    I think I have a bug, but I'm still not convinced that it's the fault of the air.

    I have an AIR applications for iOS, Android, Windows and Mac Publishing.

    I use the version of Adobe Flash Professional CS6 12.0.2.529

    I have a header positioned at 0,0 where to place two TLF textfields and some buttons. When I run on iOS 8 published under the name AIR version 15, I don't see my text, buttons display very well. When I run on Android, Windows, or Mac published as AIR 15, the text is very good. I placed my text under the heading (thinking maybe it was a black text on a black background - don't tell me you have never done this!)-the outcome proved the text was there (the "body" is positioned under the header and was pushed down when I did) - but I still didn't have my text.

    When I compile my app with AIR 14, everything was fine, the text just like on Android, Windows and Mac released with AIR 15.

    The funny thing is that I use tlfText exclusively in the entire application and all THE OTHER INSTANCES are very well, that it is precisely these text two fields render on iOS.

    On a side note, in any case, I put my tlf text using tlfMarkup (mentioned because it doesn't seem to be very popular that I can't find many articles or support on this issue, I'm starting to regret this choice)

    Any suggestions are appreciated.

    UPDATE:

    I tried to compile with 15.0.0.249 and 15.0.0.274 AIR (BETA) but the problem persists.

    They said adobe no longer supports the tlftextfield. I had to spend all the flow of text. After that I started, it was an easy transition.

  • How to reduce the suttering in Air for iOS GPU mode?

    Currently, my game runs at 60 fps on iPad 2 and has no problem concerning the rendering speed, but I'm rather annoyed by a constant stutter that causes the game to stop for 0.1 to 0.5 sec from time to time. The stuttering behavior is similar to when the garbage man is run and I assumed this is casued in Exchange for GPU memory as my game uses a lot of bitmapdata.

    Problem is that my game goes one scene to another scene seamlessly without stopping animations in the game screen leaving old-fashioned scene slide off the screen and new stage sliding in. There is therefore not the time to preload/precache active graphics used in the new scene. After various scenes of transiting a few times, the game starts stuttering trying to show new images.

    My game works fine without stuttering on old PC but on iPad 2 is quite obvious. Could someone tell me some tips to reduce stuttering when using Air for iOS? In the game, all vector graphics are drawn pre bitmapdata (so no vector graphics are shown) and the size of the active graphics that each scene is approximately 2048 * 1024 pixels. There are about 10 scenes. In addition to this, there are ways to graph common interface that are used in every scene and the size is about 30 x 400 * 400 pixels.

    I know that the game uses a lot of graphics resources. What makes the game preloads the assets before transiting to a new scene will eliminate stutter but I want to see if I can keep the scene transition seamless on iOS again.

    I am currently using Air3.5 + Flash CS6.

    * I mean cached prior/preloading displaying actually (addChild and visible = true) on stage and make time for GPU cache. All the graphics data is already loaded.

    Have you tried playing with the StageQuality class? Setting to 'low' solved my problem of rotation and orientation screen bumpy...

  • How to drag a particular area only in the Air for IOS

    Dear friends,

    IAM, creating an app for iOS using Air and AS3. I have a band below my screen I put buttons to click and go to private lessons. IAM creating striking swipe for these buttons. I have this code below:

    Multitouch.inputMode = MultitouchInputMode.GESTURE;

    stage.addEventListener (TransformGestureEvent.GESTURE_SWIPE, fl_SwipeHandler);

    function fl_SwipeHandler(event:TransformGestureEvent):void

    {

    Switch (Event.OffsetX)

    {

    slipped right

    case 1:

    {

    sw_area. Buttons.x += 20;

    break;

    }

    slid left

    box - 1:

    {

    sw_area. Buttons.x-= 20;

    break;

    }

    }

    }

    The code above makes the buttons inside the box to slide to move while sliding on the stage... I want the user to swipe Strip area available instantly drag and drop buttons. If the user swipes on the stage should not move. How can I do? pls help me friends.

    I changed as

    sw_area.addEventListener (TransformGestureEvent.GESTURE_SWIPE, fl_SwipeHandler);

    It does not work. pls help me solve this problem.

    Thanks in advance,

    Syed Abdul Rahim

    Hi friends,

    I've solved, can be usful to others... I used stageY to the control.

    Multitouch.inputMode = MultitouchInputMode.GESTURE;

    stage.addEventListener (TransformGestureEvent.GESTURE_SWIPE, fl_SwipeHandler);

    function fl_SwipeHandler(event:TransformGestureEvent):void

    {

    Switch (Event.OffsetX)

    {

    slipped right

    case 1:

    {

    If {(event.stageY > 650)

    sw_area. Buttons.x += 20;

    }

    break;

    }

    slid left

    box - 1:

    {

    If {(event.stageY > 650)

    sw_area. Buttons.x-= 20;

    }

    break;

    }

    }

    }

  • Animate CC 2015 Air for iOS full screen problem

    Hello team Adobe,

    I made many applications for iOS and Android. And I am facing 1st time a problem only in the Air for iOS. Air for Android works perfectly well. What I'm dealing with that

    even after using this code:

    internship. Align = StageAlign.TOP_LEFT;

    stage.scaleMode = StageScaleMode.EXACT_FIT;

    I see black bands top & bottom of my application. Then I downloaded the new SDK is Air SDK 21.0 but same problem :/ Please tell me as soon as POSSIBLE, why is that happening?

    Thank you

    Saad

    Hi Saad Aftab,

    I tried with the attached draft you shared.

    If this problem could be solved if you add images to your project.

    Please try the application after giving the images of the launch of the publication. The application will launch in full-screen and there will be no black bands if you have already configured the 'true' parameter in app.xml.

    Please let me know if you face any problem.

    Thank you

    Adobe AIR Team

  • the .xml file will not hold the new version I am writing on the 'AIR for iOS settings' window on Flash cc 2015

    Hello

    I need to download a new version of my app on iOS, but the .xml file will not hold the new version I am writing on the 'AIR for iOS settings' window on Flash cc 2015. It keeps appearing as:

    <? XML version = "1.0".

    also when I try to download the new .ipa on iTunes Connect with the Application Loader, I get this message:

    "" "ERROR-ITMS-4238:"redundant binary Upload. " «"" "" There is already a binary download with release ' 1.0.0' train ' 1.0.0 ' "at SoftwareAssets/PreReleaseSoftwareAsset»»»

    The problem is not of Application Loader or iTunes Connect as when I open again the .fla and check the window 'AIR for iOS parameters' he continues to display the 1.0 version over and over again. If Flash isn't that save the .xml file.

    And it happens with all my other apps Android or iOS, old and new versions, all appear as <? XML version is "1.0" on the .xml file.

    Is anyone know how can I solve this problem?

    Thank you.

    There are two different values, the build number and version number. If you use a test flight, you can submit an update without obtaining a review by increasing the build number. If you are submitting an update to an application in iTunesConnect, you must increment the version number.

  • Generate image (for iOS app) in assets could Photoshop create the contents.json file at the same time?

    Generate image (for iOS app) in assets could Photoshop create the contents.json file at the same time?

    Hi iolnation,

    I'm sorry, but currently there is no such feature available in Photoshop.

    However you can surely place the feature request here: Photoshop community customer family

    Concerning

    Jitendra

  • How can I replace my app on iTunes Connect with a new version with air for iOS and app Loader?, how do I replace my app on iTunes Connect with a new version with AIR for iOS and the Application Loader?

    How can I replace my app on iTunes Connect with a new version with air for iOS and app Loader?, how do I replace my app on iTunes Connect with a new version with AIR for iOS and the Application Loader? I got an error that the version number needs to be updated. I created a new record in iTunes Connect with version 1.1 and I took ownership of my current app 1.1 in air for iOS section in Flash.

    Check your descriptor file to make sure that it shows the updated version, too.

  • Download of AIR for IOS via the Application Loader I get the following error - the package does not contain a file Info.plist.

    I publish a .fla in the AIR for IOS.

    I'm in 2014 CC, so first I need to know what AIR I should publish in?

    more recent is AIR 14.0.0.178 for IOS

    IOS deployment type is App Store

    published with no error.

    I see that the following files included app.xml and .swf

    I converted the .ipa to a zip file

    Download through the Application Loader, I get the following error

    The package does not contain a file Info.plist.

    Here is the infoplist for that and convert the .ipa and the info in a zip file?

    I converted the .ipa in a zip file and the intoplist file is NOT THERE how to generate this?

    Any help here?

    the most recent is 16 +, Download Adobe AIR SDK

  • Loading of local swf files with actionscript on air for iOS

    I apologize if this seems like it has already been asked, but I'm not sure that having understood the answer, not on the Adobe site, or elsehwere.

    I am developing an app for iOS, targeting the last 3.9 SDK

    I have a main swf file that loads the local swf files. These local swf files have code actionscript in them. I use Flash Professional CS6.

    I publish the application successfully and everything's fine. When I start the app on the iPad, is the main swf and all is well. When I click on the button that loads the local SWF files, nothing happens. They are not loaded.

    It seems that this has been answered, but I'm losing my mind. I don't know what the problem is. I know that, in version 3.9 Air, it is now possible to load local SWF files are actionscript.

    Air for the Android version works perfectly with these local files loaded and unloaded like a charm.

    Any help would be greatly appreciated

    from the air, 3.6, you can load swf with actionscript and that run actionscript.  before 3.6 air that was not allowed (without additional work).

    but your charger must provide a loadercontext object that uses the current applicationdomain:

    var lc:LoaderContext = new LoaderContext(false,ApplicationDomain.currentDomain,null);

    yourloader. Load (yourexternalswf.swf, LC);

Maybe you are looking for