Flash cs5.5 FLVplayback Encoding Problems with Air for Android

Dear All,
I'm trying to play flv in my air application by using FLV playback in flash cs5.5.
I can play flv in the pc but not on the samsung galaxy tab andriod platform.
if anyone out there has tried out FLV playback with either an Air For Android application, where the FLV files are packaged within the app, or either streaming via normal http//:, any help  would be greatly appreciated.
Thanks!

First disable autoplay. It gave errors for me. Try to make the movie play with the play() command.
to embed the movie in your air bundle, just go to publish settings for your flash project. Then in that screen go to the player settings.
In the first GENERAL tab you'll see a the bottom that you can add files to your project
Propably there is allready your .swf and an .xml file in there.
Using the + icon you can add your video.
Make sure that your video is in the same directory as your . FLA file and you can use it as is (by name)
If for example your flashfile is in c:\mytest\mytest.fla and the video in c:\mytest\videos\myvideo.flv , then you will have to load your video as "videos/myvideo.flv" with a FORWARD slash, never use \
Good luck

Similar Messages

  • Sound delay with air for android

    Hi,
    I am building a game with air for android, all work just perfect but I have just little problem with the sfx.
    When I play sound I have 500 millisecond delay.
    I tried to use wav format instead of mp3 and its help a bit but still there is a big delay.
    Any ideas?
    Thanks

    First, never use the nativePath property of File.applicationDirectory (as the example does). This isn't supported on Android. You get an empty string. While you could usually bypass the write-restrictions on te application directory using this technique on the desktop, it definitely does not work on Android. Always use URLs rether than native paths to refer to application files.
    What you should do is create the database in the applicationStorage directory. You could do this with SQL, or by coping a "template" database file that you packaged with the application from the application directory o the application storage directory (using the URL not the native path, of course.)

  • Flash CC: I am having problem with publishing to Android?

    Hi,
    Is there any tutorial that explains every step for Android publishing on Flash CC? I am looking for it for the last few days with no luck.

    Flash Professional Help | Publishing AIR for Android applications

  • Using Google Play Developer License RSA code with Air for Android App?

    What is the procedure for using Google Play Developer's provided license code (Base64-encoded RSA public key to include in your binary) for an Air for Android app in Flash?
    I see the need to load a p12 file and have gone through the process of creating one for Air for iOS with OpenSSL but the Google provided key is in a different format. To start with it is delivered by copy/paste off a webpage.
    I am using Flash CS5.5. I could switch to CS6 if neccesary.
    Thanks

    Follow this link, see post number 12.
    http://forums.adobe.com/thread/1115438

  • APP created with Air for Android but doesn't work on the emulator for test - Help!

    When I create an application using Flash CS5.5>>> AIR FOR ANDROID.
    After creating a test page I go to publish settings and send the app on Emulator RELEASE ... The APP is loaded correctly but as soon as you start the emulator, give this error "The application XXnameappXX (process air.XXnameappXX) has stopped unexpectedly. Please try again" Help Please!

    Ok i've find this before "Adobe Flash CS5/AIK2.5/runtimes/air/android/emulator/Runtime.apk" and install it on android emulator! Now works all i hope! Thanks for your answer!

  • Problems with AIR for DW extension

    Is anyone having luck with the AIR for Dreamweaver component?
    I've got it installed but I try to export an AIR project all I ever
    get is stuff like this:
    File does not exist: /Users/databell/Library/Application
    Support/Adobe/Dreamweaver
    9/Configuration/Temp/FlashElements/ImageViewer/application.xml

    I am also experiencing problems. I am running DWCS3 build
    3481, Mac OS X 10.5.4 on an Intel MacBook, and AIR 1.0 (the 1.1
    updater page still provides v. 1.0 download) according to the file
    info, and I've tried completely re-imaging my computer and cleanly
    installing DWCS3, AIR, the extension, etc.
    The problems are centered on either selecting an existing
    certificate or trying to create a new one:
    1. Select an existing cert ~ selecting a previously-created
    certificate and entering in the *correct* password still results in
    a "could not load keystore file (password may be incorrect)" error.
    The cert is located one directory above the app folder, and it
    works fine via the command-line adt tool.
    2. Create a new cert, 1st attempt ~ attempting to create a
    new cert and selecting to place it in a central project folder
    within my home directory fails. I get an "unexpected failure:
    /scott/Documents/Projects/Optimac.pfx (No such file or directory)"
    error. Look closely at that path. The actual path I selected to
    save this cert to is
    "/Volumes/data/scott/Documents/Projects/Optimac.pfx." My disk is
    partitioned and my home folder is located on the "data" partition,
    whereas my operating system and applications are located at
    "/Volumes/os." (Mac OS X 10.5 enables locating your home directory
    on separate partitions, and I have not encountered any other
    problems with this configuration since Leopard was released, up
    until now.) It looks like Dreamweaver erroneously misconstrued my
    home directory as existing on root ("/"). So...
    3. Create new cert, 2nd attempt ~ if I create the new cert at
    root ("/"), that process completes successfully, but then if I
    select it and click "Create Air file" I get an "unable to create
    temp file in output directory" error.
    As is, I cannot create an AIR app in Dreamweaver.

  • Garbled/scrambled text with Air for Android & GPU mode

    Please excuse the big image! Has anyone come across this? As you can  see the 'U' in 'Nebula' is scrambled and so are the digits below best  time.  It only happens within  the space a character would occupy. The line under 'game' is just a reflection.
    I can't work out what's causing it, it's not always the same  characters that do it although the U in Nebula is always scrambled.  Sometimes digits are scrambled and sometimes the same ones are not. It  seems to occur with embedded fonts and with normal ones like Arial. I've  tried using both Classic and TLF text, and changing anti-aliasing  settings. It occurs on both dynamic and static text.
    But it only happens  with GPU rendering, not CPU rendering.
    I can't find any mention of this at all on Google, starting to wonder if perhaps it's just my phone? (Desire S).
    Any input is greatly appreciated!

    Thanks for the fast reply! Switching to device fonts does fix the problem, but it means using some horrible default font rather than the one I want to, which I've embedded. I've tried a few more settings and Bitmap Text seems to fix it in some instances but not in others.

  • AIR for Android Captive Runtime

    Is it possible to package android apps with AIR (or will it be) using Flash CS5.5? I don't see anything on the web about. Just how to do it with Flex and ADT etc...

    Hi,
    I've made a complete working example for publishing an application with captive runtime, assets and native extensions starting from Flash CS5.5
    I was able to make it thanks to hints and suggestions I found in this thread.
    Note: english is not my native tongue so I hope you understand what I've written also if sometime it sounds "engrish".
    Here it is the link to the zip file:
        http://www.genereavventura.com/hosted/Air3NativeExtensions/AirVibrate.zip
    Requirements:
    - You must have Flash cs5.5 pro (obviously)
    - You must have installed the overlay for Air3.0 sdk on your Flash cs5.5 pro
    Here it is a link that explain how to accomplish it: http://forums.adobe.com/message/3939712
    Here the steps I made.
    1) Open Flash CS5.5 and create a new AIR for Android application
    2) Add the swc to the libraries used by your FLA (open Actionscript 3.0 settings and add "VibrationActionScriptLibrary.swc")
       Btw, you can find this "ready to use" native extension inside the zipfile that you can download from here: http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/vibration.html
       However in my example you will find also a directory named "extension" that contains it.
    3) Open and then close the "air for android settings": by doing this Flash will create yourapp-app.xml file in the directory where your FLA resides.
       For example my fla is named "vibrate.fla" so Flash created for me a "vibrate-app.xml" file.
    4) Make a copy of this "vibrate-app.xml" file by naming it "real-vibrate-app.xml" (or choose whatever name you want)
       I've done this because after modyfing the original one by adding the <extension> tag (see below) I wasn't able to test my app from within Flash IDE (when I compile it it simply doesn't start)
       Instead by doing this all worked fine.
    5) Edit the "real-vibrate-app.xml" file by adding somewhere these lines (I added it just before the <initialWindow> tag)
        <extensions>
          <extensionID>com.adobe.Vibration</extensionID>
        </extensions>
    6) Add <uses-permission android:name="android.permission.VIBRATE"/> in the <android> <manifestAdditions> part in "real-vibrate-app.xml" file.
       You should do something like this:
       <android>
          <manifestAdditions>
            <![CDATA[<manifest>
              <uses-permission android:name="android.permission.VIBRATE"/>
            </manifest>]]>
          </manifestAdditions>
       </android>
    7) Develop your application
       I made a simple one that loads an external jpg and shows it on the stage: then the user can tap on it to make the phone vibrate.
       The function "doVibration" is called only when the app is running on Android Device so I do not get any executions error when I run the app from within Flash Ide
    8) Publish and test it to your USB connected device by launching the "publish.bat" file I have created
       Open a dos prompt and move to your project directory then type publish.bat and press enter.
       Note: it can be that you have to edit the bat file in order to change the path to the ADT tool that comes with Air3.0 sdk
       It should be in [your adobe flash cs5.5 directory]\AIR2.6\bin\adt (rememeber, you must have installed the Air3.0 sdk overlying the old Air2.6/2.7 in the AIR2.6 directory)
       Inside the bat file you can change easily the target type (captive or not) simply by commenting/decommenting the right line.
       Captive version is about 8Mb more than the normal one but the big deal is that the user that installs it do not need the air runtime installed on his phone!
       The "big line" that creates the package is the following one:
       call %ADT_LINK% -package -target %TARGET_TYPE% -storetype pkcs12 -keystore certificate/vibrate.p12 -storepass android AirVibrate.apk real-vibrate-app.xml -extdir extensions vibrate.swf icons assets
       where:
       call %ADT_LINK%          it's just the path to the ADT tool
       -package                 it's the command that we want ADT to execute
       -target %TARGET_TYPE%    captive/non captive version
       -storetype pkcs12        certificate related
       -keystore certificate/vibrate.p12  path to your self signed certificate
       -storepass android       certificate related, I created the example certificate with "android" password and this parameters tell ADT to always use it without prompting
       AirVibrate.apk           the name of the Apk
       real-vibrate-app.xml     the apk-xml to use that is the one we modified manually above
       -extdir extensions       it's the path to the directory that contains the native extension
       vibrate.swf              the main swf
       icons                    the icons directory
       assets                   the assets directory (where I put the external jpg)
    That's all.
    If everything is correct, the batch file creates the AirVibrate.apk then installs it on your attached usb device and run it.
    When you tap over the Android image that will appear, your phone should vibrate.
    Now.. does someone wants to develop a Native Extension to show Admob banners in our Android Air Applications?
    If I missed something, please let me know.
    Thanks

  • Air for Android app just a black blank screen on emulator.

    Greetings,
    I'm starting android app development using air for android and I'm encountering the same problem as in this discussion, http://forums.adobe.com/message/4343423.
    Followed all the suggested solutions on the above link and nothing is working for me.
    Before I started air for android development, I upgraded my air sdk from 2.6 to 3.2, I overlayed the AIR 3.2 SDK in flash following the instructions on this link http://www.flashdeveloper.co/post/20583114199/air32-in-flash-cs-55.
    Published my first air for android test app (a simple test app to test swipe gestures) and installed the .apk on the emulator using the command line. When I launched the app on the emulator, it says Adobe AIR runtime is required so I installed the AIR runtime on the emulator using this tutorial http://renaun.com/blog/2010/12/finding-the-air-for-android-emulator-runtime/.
    When I thought everything will now work as expected then this problem came up. What do you think is the problem here?
    I'm using flash pro cs5.5 on windows 7 64-bit.
    Thanks in advance.
    Thanks,
    Randy

    Hi guys, any ideas?

  • AIR for Android: Streaming audio data won't stop unless I quit....

    I write an application (AIR-Android with Flash Builder) which can play internet radio stations (streamed audio in mp3).
    When I want to stop the stream like myChannel.stop() / mySound.close(); the sound is stopping but the stream is still loading (I can see it with a network monitor app).
    Streaming audio data won't stop unless I quit the application or I switch my connection from WIFI to 3G or from 3G to WIFI.
    I do not have this problem with Air for Mac and IOS.
    How can I solve this problem ?
    Bernard

    Hi Chris,
    I received a response from a certain Wang Zhe (from Adobe) about this bug.
    https://bugbase.adobe.com/index.cfm?event=bug&id=3070987
    It should provide an example of his test that apparently it worked but I have still no answer from him.
    Is it possible to contact him directly?

  • AIR for Android monetizing

    I am new to this so forgive me, but i launched a paid version of an AIR for Android App and wanted to launch a free version with ads in an attempt to see how the monetizing of an app goes.  Does anyone have experience doing this with AIR for android?  if so what are my options?
    erik

    After a lot of trouble (account canned on ADMOB ) and research, I have gotten Ads to work in all my Android Apps. This will work on a lot of AD networks, but most will ban you click fraud. Only one network allows this method and they provide support for it too.
    I have over 100 games apps. with this method implemented and working. Here is a link to one of them for you to see how it will look in game. I am using multiple ads in this to force the user to click and make me some money: https://market.android.com/details?id=air.GraffitiCityMarketFree&feature=search_result
    Does LeadBolt offer HTML integration for banner ads?
    LeadBolt does allow banner ads to be integrated into your app using HTML, rather than using our SDK. To create a HTML banner ad after adding an app to the LeadBolt portal, simply click “Add Ad” and select “App Banner (HTML)” from the drop down box. The HTML snippet can then be added directly into your app’s HTML framework.
    So far my eCPM is $6.15
    I have created this guide to show my appreciation:
    Publisher Code:
    STEP I:
    Get an Account: http://leadboltapps.com/web/publishers/signup.php?ref=10022842
    STEP II:
    Click on the “APPS” tab and “Create New APP” to create an AD. Remember to change content unlocker to HTML Banner. While in the process.
    STEP III:
    Get the HTML AD Code and keep it safe. That is all we need from the site. How simple was that?
    AD HTML FILE:
    Create an HTML File and Load it to your site. Remember to replace your HTML Code from above step with where I have put: ****ENTER HTML AD CODE HERE****
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title>Untitled Document</title>
    <style type="text/css">
    body,td,th {
         color: #FFF;
    body {
         background-color: #000;
         margin-left: 0px;
         margin-top: 0px;
         margin-right: 0px;
         margin-bottom: 0px;
         text-align: center;
         position: relative;
    </style>
    </head>
    <body>
    ****ENTER HTML AD CODE HERE****
    </body>
    </html>
    Action Script Code:
    STEP I:
    Credit: I found this on another site and would like to give credit to the author of pixelpaton.com
    The only change you need to make is to enter your website html url where you have placed the AD HTML FILE in the space where I have put : "****ENTER COMPLETE HTML URL HERE****". Where ever you want the AD, place the following code:
    // imports
    import flash.events.Event;
    import flash.events.LocationChangeEvent;
    import flash.geom.Rectangle;
    import flash.media.StageWebView;
    import flash.net.navigateToURL;
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    // setup variables
    var _stageWebView:StageWebView;
    var myAdvertURL:String = "****ENTER COMPLETE HTML URL HERE****";
                    // check that _stageWebView doersn't exist
                    if (! _stageWebView) {
                                    _stageWebView = new StageWebView () ;
                                    // set the size of the html 'window'
                                    _stageWebView.viewPort = new Rectangle(0,0, 800, 100);
                                    // add a listener for when the content of the StageWebView changes
                                    _stageWebView.addEventListener(LocationChangeEvent.LOCATION_CHANGE,onLocationChange);
                                    // start loading the URL;
                                    _stageWebView.loadURL(myAdvertURL);
                    // show the ad by setting it's stage property;
                    _stageWebView.stage = stage;
    function toggleAd(event:MouseEvent):void {
                    trace("toggling advert",_stageWebView);
                    // check that StageWebView instance exists
                    if (_stageWebView) {
                                    trace("_stageWebView.stage:"+_stageWebView.stage);
                                    if (_stageWebView.stage == null) {
                                                    //show the ad by setting the stage parameter
                                                    _stageWebView.stage = stage;
                                    } else {
                                                    // hide the ad by nulling the stage parameter
                                                    _stageWebView.stage = null;
                    } else {
                                    // ad StageWebView doesn't exist - show create it
    function destroyAd(event:MouseEvent):void {
                    // check that the instace of StageWebView exists
                    if (_stageWebView) {
                                    trace("removing advert");
                                    // destroys the ad
                                    _stageWebView.stage = null;
                                    _stageWebView = null;
    function onLocationChange(event:LocationChangeEvent):void {
                    // check that it's not our ad URL loading
                    if (_stageWebView.location != myAdvertURL) {
                                    // destroy the ad as the user has kindly clicked on my ad
                                    destroyAd(null);
                                    // Launch a normal browser window with the captured  URL;
                                    navigateToURL( new URLRequest( event.location ) );
    // setup button listeners
    Hope this works and helps you. If you have questions, let me know. Enjoy.

  • How can I use a file in flash cs6 that I made in flash cs5.5 air for android

    I have made an app in in air for android in flash cs5.5 air for android, and I want to edit it in cs6 and play it in cs6.
    But if I put Ctrl+Enter I got an error: createWin process failed with error 2: system couldn't find the file. I think the problem is that I'am using air for android 2.6 version in flash cs5.5 and version 3.2 in flash cs6. I have searched the web and found out that you can add older air versions using the sdk manager and I have tried it but first I get the error that the version of the sdk I am trying to install is not valid and after some files that I added to the sdk folder I get this error:Only SDK higher than version 3.4.2540 may be added.
    I there a possible way to update the air for android for an fla or apk? Or how can I let my originally file work fine in flash cs6??

    system couldn't find the file
    If you can´t get a more specific hint why your project can´t compile then I can think of some reasons theis error might occur
    1.You had files included besides the swf, like videos, audio files, xml files, that are not present in the place air expects them to be
    2.somewhere in your createWin functions there is a class import needed that isn`t present in 3.2 anymore, for example some classes or functions from classes that were valid in 2.6 are not any more in 3.2
    3. to achieve better eror logging, allow for debugging in the publishing options and see what specific lines in your code throw the error
    4.any air app needs a cert file, this needs to be created once, if you migrated to e new system it might be you never created that file which air expects to even begin the compiling process
    once you isolate the problem, report back

  • Adobe Flash CS5 has encountered a problem and needs to close

    Hi,
    I have two laptops. I have installed Adobe Flash CS5 in my first laptop (Windows XP). When I start the application, it shows the following message:
    "Adobe Flash CS5 has encountered a problem and needs to close"
    I have installed the Flash CS5 in my second laptop and it worked fine.
    Error signature:
    AppName: flash.exe AppVer: 11.0.0.485 ModName: updaternotifications.dll
    ModVer: 1.0.0.64 Offset: 0006a8dc
    Can anybody help?
    Thanks.
    Housea

    try this also
    1. Reset preferences:
    To reset on Windows, delete:
    C:\Documents and Settings\username\Local Settings\Application Data Adobe\Flash CS4\
    C:\Windows\system32\Macromed\Flash\FlashAuthor.cfg
    To reset on Mac OS X, delete:
    /Users/username/Library/Preferences/Flash CS4 Preferences
    /Users/username/Library/Preferences/Flash 10 MRU
    /Users/username/Library/Preferences/com.adobe.flsh-10.0.plist
    /User/%username%/Library/Application Support/Adobe/Flash CS4/
    /Library/Application Support/Macromedia/FlashAuthor.cfg
    2. Install the latest Flash update if available.
    3. Install the latest version of Flash.
    4. Install current Windows service packs and other updates.
    5.  Run Flash in a simplified mode (Windows). / Run Flash in safe mode (MAC  OS - Refer to http://kb2.adobe.com/cps/404/kb404936.html)
    Some  applications or services may cause system errors or freezes when  running concurrently with Flash. Services are specialized programs that  perform functions to support other programs. Before starting Flash,  disable other applications, including startup items (items that start  automatically), and services.
    To disable startup items and services, see "Disable startup items and services (Windows XP)" (TechNote kb404984).
    To re-enable startup items and services:
       1. Choose Start > Run, type msconfig, and click OK.
       2. Choose Normal Startup on the General tab, click OK, and restart the computer.
    Note: If unselected items were present on the Services or Startup tab, then you will need to unselect them again
    6. Install Flash from the desktop.
    7. Reinstall Flash in a simplified/safe (for MAC OS) mode.
    8. Run Flash in a new user account.
    9. Check for font problems.
    10. Optimize handling of temporary files by Windows XP.
    11. Set the virtual memory paging file to the default size.
    12. Repair and defragment hard disks.
    13. Scan the system for viruses.
    14. Identify the file that causes the problem.
    15. Install Adobe Flash CS4 on a different computer.

  • Air for Android template missing from Flash CS5 Professional

    I am trying to get started with developing android apps in flash.  Most tutorials begin with my selecting the Air for Android template in Flash CS5 Pro.  This option is not available to me.  When I try to install the extension I get this: http://labs.adobe.com/technologies/flashpro_extensionforair/
    I am running the latest update for CS5.
    Any suggestions?
    Thanks!
    John

    Hey James,
    Thanks for the reply.  I clicked the updates button but all I can find is the trial version of CS5.5.  Is that correct?
    http://www.adobe.com/cfusion/tdrc/index.cfm?product=flash&promoid=EBYEX
    Cheers,
    John

  • The Error Message 'Application descriptor file cannot be parsed' shows when compiling (Ctrl + Enter) Adobe AIR for Android applications on Flash Professional CS5.5

    The Error Message 'Application descriptor file cannot be parsed' shows when compiling (Ctrl + Enter) Adobe AIR for Android applications on Flash Professional CS5.5
    This is happening for most of the pupils and staff at our school and they are unable to complete their work.
    This also happens on a fresh copy of windows and CS5.5 without any updates and also with all latest updates.
    I have tried it on 32-bit and 64-bit CS5, Windows, Air and Java with the same error every time.
    There are a small minority of users where this works fine for them with no issue.
    I have tried re-setting user profiles.
    I have tried a local admin and domain admin account with the same issue
    I have noticed however that if the file is moved to the shared area it will compile. If it is on their documents area it will not compile. The users have full control in both locations. This is fine for staff but we are unable to give full control or modify access to the shared area for the pupil's
    I have been through the online support section and it directed me to phone Adobe Customer care who informed me that all support has been discontinued for CS5, CS5.5 and CS6 and they will only support creative cloud.
    Any ideas what to try next? There is no other information about this error and I cannot work out what is causing it.

    I have tried and  able to package an apk using your XML file.Could you please make sure your XML file starting from line 1 and coloumn 0.Any space will results in the error (Application Descriptor file cannot be parsed)
    -Pranali

Maybe you are looking for

  • No matching record found G/L Account (OACT) A/P Credit Memo

    Hello Experts,                                When i post A/P Credit Memo i get message as No matching record found G/L Account (OACT).                                 Version SAP B1 8.8 PL11 I tried following    check  the rounding account In G\L de

  • Invalid Configuration Location error on startup

    I have just installed Flash Builder 4.5 on my Windows 7 Enterprise edition. I installed this using my username (not Administrator), which has local administrative rights. When I start the program, I'm getting the error Invalid Configuration Location

  • Error while running Flights example

    Hi, I have successfully deployed the Flights example. During running, I got the following error: com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type extern:com.sap.test.flights.model.types.FlightsModel:com.sap.test.flights.model.ty

  • Latest 7.6.1 firmware broke all Airport Express connections with Airport Extreme

    Installed the latest Airport Utility (6.0) last night.  Once installed I ran Airport Utility and saw my 4 Airport Express N's, one Time Capsule, and Airport Extreme needed a firmware update to version 7.6.1.  Installed to all of them, and initially e

  • My name is different when sending message to wife

    My sons name keeps showing on my wife's phone when I send her messages