Flash to Air

Hello guys,
I'm trying to convert a Flash Project into an AIR application and have some serious problems.
The Flash Project uses actionscript 3 classes in order to transform graphical objects placed at the stage. These transactions are realised using matrix's. All works perfectly in flash.
As I change the profile from Flash 10 to AIR 1.5 in Flash CS 4, the transformations doesn't work any more as expected. I need to move the Mousecursor almost the whole Screen in order to get a transformation of 1 mm (guessed!) of the graphical object.
Has somebody had this problem as well? When I change the Profile back to Flash Player 10 it all works perfect. Please help me!
Greetings

Hello,
after some investigation I was able to figure out the problem.
I first used "stage.mouseX" and "stage.mouseY" to get the position of the MouseEvent and this worked for Flash Player 10 but not under AIR. I remembered that the MouseEvent - class itself has the "stageX" and "stageY" property and replaced the previous code with it, and it works now better.
But now I have the Problem, that my matrix transformations (calculated in MouseEvent.MOUSE_MOVE) sometimes are just incorrect. I thought it would be a performance issue and tried it again with the Flash Player 10, but the problem still remains.
I think I've read somewhere, that the "stageX" and "stageY" are calculated everytime and the "stage.mouseX" and "stage.mouseY" should be used (because of performance) but this doesn't work for me. Can someone please help me?
Sorry, but I can't reveal code .
Greetings

Similar Messages

  • Flash or Air on INTEL Android?

    Hi there;
    I'm wondering if any version of the Flash player exists that can be run on INTEL based Android systems?
    I've posted a stackoverflow question on this here:
    http://stackoverflow.com/questions/5575064/install-flash-or-air-on-android-x86-intel-based -android
    but realized that I should come here to see if I can get a direct response from Adobe, since I haven't gotten one on stackoverflow.
    I'm running Android x-86 in VirtualBox, and it runs 10x faster than the emulators for me, and I'd love to be able to test Flash/Android out like this.
    Thanks for any suggestions,
    Brad.

    Vote here for Android X86 support :
    https://bugbase.adobe.com/index.cfm?event=bug&id=3651397

  • Flash Pro CS5.5 and Flash 11/Air 3

    Hey guys. First time posting here.
    I recently read up on some news about Flash player 11 / Air 3 update coming soon and that Adobe is bringing full hardware-accelerated 3D graphics to both Flash and Air. Which sounds awesome . Buuut.. Here's the thing. Will these features be updated into CS5.5? as well as be available for CS6 (I'm just assuming it's coinciding with the release, I may be wrong). I've only just hopped on the CS bandwagon and bought my student liscence for CS5.5 and I really hope I don't regret not waiting for CS6 to buy instead.
    For all who have been using Flash Pro for a while now, how has it been for previous software updates? Did Air become available to those who had earlier versions of Flash Pro when they released a new version?
    Let me know
    Thanks

    Yes its available to those people who have previous versions. Just to change or update the folders (tweeking) for new AIR releases.

  • Flash Player / Air telemetry data ?

    Hello Adobe and Community
    What about to add a telemetry data function to Flash Player & Air similar to Mozilla's about:telemetry / metrics.mozilla.com  ?
    - OS / Version / Patch Level
    - CPU / GPU / RAM / Chipset / ...
    - Audio / Video / Chipset Drivers
    - Browser / Version / Settings
    - Flash Player Version / Settings
    - DirectX / OpenGL / ...
    - Display / Resolution / FPS / CPU&GPU load
    It should/could be added as an opt-in UI into the installers or on first use.
    Reason:
    To get better performance feedback from the "real world" to make it smoother on low end devices.

    Thanks for the suggestion.  The adoption of the Beta Channel over the last few months has been phenomenal, and we have a large enough population to do highly accurate sampling and A/B testing.
    We're actively designing and approach and corresponding infrastructure to gain new insight into Flash Player performance in the field.
    Best regards,
    Jeromie Clark

  • Must be Auto update flash Player/AIR [No update alert]

    Every second day Adobe are improving the flash player and AIR, so Flash Player must be Auto update to newer versions and (Major and minor) [No update alert]. It should auto check, and auto download and auto update the flash player. There should not be any user interaction needed. And no administration rights as Flash player is already installed on system, Adobe is just auto updating it. So no alert or dialog box to update player just auto update with out any message as Google Chorme is doing right now (Google chrome update the browser application without any alert to user). So Please follow it.
    Why it's required: Every second day Adobe programmers are improving and adding new features, but Flash/Flex developers around the globe can not use those features as their target customers (users) don't have the updated version of flash player/AIR. We can show the alert but we know most of users pick the "NO" as their preferred option.
    How can Adobe implement this, there are privacy issue: Adobe can implement this by changing their Adobe flash player agreement (for new installations). They can add one "Flash player policy" web page to their website and link at their home page. Adobe can add one more menu element in their setting tab (right click flash player menu). It's will take little time but for future, it will be really easy for developers to adopt the new feature and software from Adobe.
    Please think about it.

    Hi ersatyle,
    Thanks for clarifying.
    will flash player  be automatically updated while a standard user is connected (no admin rights) and without any notifications.
    By pointing the Background Updater to an internal server, yes.
    Are those settings will work as I intended?
    The AutoUpdateInterval setting in the mms.cfg has no effect on the Background Updater. AutoUpdateInterval can only be used for the notification updater. If you're setting up background updates from an internal server, this property is best dropped from the mms.cfg to avoid confusion. The other settings will work as expected. Once you have your clients set up and tested, I also recommend dropping SilentAutoUpdateVerboseLogging, since this will reduce the size of the log file.
    As we'll use 32 bits browsers do I need to put the mms.cfg file also in c$\Windows\System32\Macromed\Flash, If it wont work, is it doable?
    There is only one location for the mms.cfg. The same file is used for 32-bit and 64-bit browsers. From the administration guide, page 22:
    mms.cfg file location:
    Assuming a default Windows installation, Flash Player looks for the mms.cfg file in the following system directories:
    •32-bit Windows - %WINDIR%\System32\Macromed\Flash
    •64-bit Windows - %WINDIR%\SysWow64\Macromed\Flash
    Note: The %WINDIR% location represents the Windows system directory, such as C:\WINDOWS.
    I hope this answers your questions. Let us know if there's anything else.
    -Stephen

  • 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

  • Flash, Flex, AIR Which is best for producing small interactive apps?

    Hi
    I posted to the flash forum but really looking for feedback from flash, flex, AIR users as well
    I'm looking for the forums thoughts and advice on which of Adobe's current technology set (CS5) is best suited for creating small interactive applications/packages by users who would not have any background in coding and very little interest in learning coding.
    The idea is that users would know basic drag & drop development and maybe extend it to include some basic scripting to wire up elements of it. The ability to develope applications for a range of access points (website, mobile, desktop) would also an added benefit
    The over arching idea would be to let the users create some apps/programmes/packages quickly on any topic they like but not bog them down with coding
    Which CS5 technologies would be best for that

    I don't see how it would be any different for mobile than for desktop, considering the biggest difference is frame-size.
    Flash Builder is very good at building fluid layouts.  VERY good.  By extension, Catalyst, built on the same framework, should be too (haven't seen the final version, but the betas were looking good in this regard).
    The entire platform has been getting optimized for mobile creation lately, and CS5 should have a lot of tooling towards that end.
    I would suggest downloading the trial version of the softwares when they are released (supposed to be mid-may) and playing around with it before you decide.
    If you want to, you can hit up labs.adobe.com to download the beta of Catalyst right now, which might give you the answers you need. (Flash Builder was already released, and is available on adobe's site for trial download currently)

  • Present and future of Flash with AIR on iOS

    I'm having a hard time finding clear information on the situation about deploying Flash with air runtine on iOS. While it seems clear that the plugin flash for iOS is ended I didn't find any infos about Adobe AIR. Is it still possible to distribute apps for iOS through the iTunes Store. Arte the apps using Air still running on iOS.
    Thank
    Marc

    While it seems clear that the plugin flash for iOS is ended
    There was never any Flash plugin for iOS. Apple has always been very forward about iOS simply does not support Flash. It ended for Android.
    Adobe AIR apps compile down into native code (ARM for iOS). You're not actually running "Flash" or "AIR" at that point. This method of deploying apps is very convenient because the same code used to produce an AIR for iOS app can be largely re-used on the Android side, reducing overall costs involved in developing for both platforms.
    I think it's pretty safe to say this method of app creation isn't going away anytime soon.
    Lastly yes there are plenty of AIR for iOS apps on the market (I have some myself) and they all work fine as long as you do as an Xcode or Java developer would when a new OS comes out. You test for compatibility and update as necessary to keep your app functioning properly. The vast majority of fixes needed come from OS changes, not issues with Adobe AIR. Stability is very good.

  • Flash, Adobe Air, Time Machine, Safari not  working with Snow Leopard

    Really need some help with this.
    Did an archive and install of Leopard then installed Snow Leopard. No problems yet.
    90% of Video sites would not work. Uninstalled and reinstalled Flash. Uninstalled ShockWave, could not reinstall with 10.6.1.
    Attempt to install adobe air, received this message: "couldn't write the application to hard drive - please verify and try again." performed verify disk, disk permissions, repair permissions all ok.
    Attempted to install Air again, same message.
    Tried to use Time Machine to open Safari from a week ago, received message: I did not have permission.
    Using Macbook Pro, 2g memory, 80g hd, with 42g free.
    Backed up on ext. HD,
    Oh, one more, getting a lot of spinning wheels when using Safari that causes a lockup and hard re-start.
    I have an expensive piece of software that uses adobe air and I create videos for my business and I'm not able to do so now.
    Can anyone give me any ideas what I can do.
    Thanks,
    Z

    After a couple of days of problems with Snow Leopard and flash, safari etc... I figured out the problem is with my account.
    I created a new admin account and everything seems to be working. Well almost.
    a couple of things I've noticed are right clicking on dock icons does nothing, no option to quit or keep in dock.
    Apple Techs', had me change my account months ago to fix a problem with safari crashing. It didn't really work and more problems resulted.
    *So now my big question is: How do I move need items over to the new account.* I don't want to move everything over as I might bring what caused the problem in the first place.
    What I need are several apps,(like ilife, iwork, firefox, devonthink, 1password etc.) downloads, desktop, docs, files, and book marks.
    *What is the best way for me to do this?* Is there anything I need to do re: Snow Leopard on the new account?
    I feel like I have a new and functioning Mac again just around the corner.
    Looking for your help, thanks,
    Z

  • Local videos not playing in Flash/Dreamweaver Air app

    Hi there. I am having trouble playing local video from an Air app created from Dreamweaver. I have found many similar [posts, but most are about Flex and so on. I need some help getting this working form Flash and Dreamweaver.
    What I did wat create a jQuery site that uses Flash to play videos. It will be packaged as a desktop Air app using the Dreamweaver Air plugin.
    From advice that I got here (http://soenkerohde.com/2008/06/playing-local-files-with-air/)
    I started a new Air Project in Flash as suggested. Using an Air flash app makes more sence I guess, but I still need to imbed it into an HTML framework.
    Here is the code I am using:
    import flash.filesystem.File;
    var myVideo:Video = new Video(stage.stageWidth, stage.stageHeight);
    addChild(myVideo);
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    var client:Object = new Object();
    client.onMetaData = function(metadata:Object):void {
    trace(metadata.duration);
    ns.client = client;
    myVideo.attachNetStream(ns);
    var f:File = new File("Special_Assignment_Title.flv");
    ns.play(f.url);
    When I run this I get the following error:
    <blockquote cite="">ArgumentError: Error #2004: One of the parameters is invalid.
              at Error$/throwError()
              at flash.filesystem::File/set nativePath()
              at flash.filesystem::File()
              at videoPlayer_fla::MainTimeline/frame1()[videoPlayer_fla.MainTimeline::frame1:17]</blockquo te>
    Any suggestions on how to fix my problem? Any help would be greatly appreciated

    Instead of using the File object, try URLRequest instead:
                                            var urlReq:URLRequest = new URLRequest("Special_Assignment_Title.flv");
                                            ns.play(urlReq.url);
    Chris

  • Import file to flash Pano2VR air 3.2 for iOS ?

    Good evening.
    Actionscript 3.0
    import flash.display.*;
    import flash.net.URLRequest;
    import flash.events.Event;
    var loader:Loader = new Loader();
    var url:String = "panorama.swf";
    var urlReq:URLRequest = new URLRequest(url);
    var vr:MovieClip; // panorama movieclip
    // This is done after the swf is loaded.
    function finished_loading (e:Event) {
    function initHandler(event:Event):void {
    trace("initHandler: " + event);
    vr = MovieClip(loader.content); // cast 'DisplayObject' to 'MovieClip'
    //     vr.isFlash10=false; // Disable Flash 10 rendering if the container is Flash 9
    function initPanorama(e:Event) {
    // check if the panorama object is available and initialize it
    if ((vr!=null) && (vr.pano!=null)) {
    removeEventListener( Event.ENTER_FRAME , initPanorama);
    vr.x=50;
    vr.y=50;
    vr.pano.setWindowSize(400,300);
    // call initPanorama every frame
    addEventListener( Event.ENTER_FRAME , initPanorama);
    // Tell the loader to call 'finished_loading' after the swf is loaded.
    loader.contentLoaderInfo.addEventListener(flash.events.Event.COMPLETE, finished_loading);
    // Tell the loader to call 'initHandler' after the swf is initialized.
    loader.contentLoaderInfo.addEventListener(Event.INIT, initHandler);
    loader.load(urlReq);
    addChild(loader); // add your swf directly to the stage
    Flash Player works perfectly, but unfortunately for air IOS version, generates this error:
    Error #3226: Cannot import a SWF file when LoaderContext.allowCodeImport is false.
                       at flash.display::Loader/_loadBytes()
                       at flash.display::Loader/loadBytes()
                       at PanoPlayer/initPanoCube()
    Which solution to power mport file Pano2VR?
    I appreciate all the help possible.
    Thankful.

    Nevermind. Unchecked Omit Trace Comments.

  • About MOV video in flash cc air

    Hi,
    I imported MOV video in an air app. The video didn't show up after publishing the mobile app in iPad. I attached the video as a file when I published the app.  The video exists in the same flash file though.
    Why the video doesn't work on iPad after publishing it? Does anyone have an idea?

    this doesn't sound like a scripting issue.
    look at the directory with your published air file.  do you see something like alongflvplaybackskinname.swf?
    that swf needs to be added to your included files in the publish settings.

  • Adobe Flash or Air

    1st time Smart Phone user. Just got a Pantech Marauder. How do i load Adobe Flash or Adobe Air?

    Adobe Flash is No Available for Use on Android and Smartphones.. Adobe Air you can get by going to the Google PlayStore and put in Search Adobe Air and it should Come up. All you have to do is then Download it...

  • Wittyritesh question on flash cc air for android deployment error

    why do we get captivating runtime error in flash cc when we render apk file in adobe air. It is successful when we choose AIR 2.5 but when we change it to AIR 13 and render then we always get a error message

    I'm having the same problem with Flash CC on Mac OS 10.8.5 using AIR 3.6 and 3.9 beta sdks publishing to Android.
    Essentially Flash CC builds the apk just fine then hangs at 00:05 when it should be installing the apk to the device.
    In looking at Activity Monitor I noticed I had two adb processes launched which could be part of the problem.
    I then tried publishing through Flash CC but installing on devices via the command line when I've now run into another error:
    $ adb install Untitled-1.apk
    1311 KB/s (9427446 bytes in 7.021s)
              pkg: /data/local/tmp/Untitled-1.apk
    Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
    Apparently the apk isn't signed despite including my certificate in the publishing settings (along with the password) and the publishing process finishing without error.
    An unsigned APK will not install on devices, which *could* be related to the problem of Flash CC never finishing publishing when 'install on device(s)' is selected in the publishing options. If Flash CC is waiting for a 'success' event to be fired from adb it may simply never be receiving one and therefore never finishing the publishing process… (just speculating).
    Also, this is happening with *ANY* FLA I try to publish to Android.

  • Flash CS3 + Air 1.0 = no test?

    I just installed the new AIR 1.0 plug-in for Flash CS3. I've
    been developing an AIR app in Beta3 and when I open one of my FLAs
    since the update, I can't test or debug my movie from within Flash.
    Is this no longer supported? or have I botched that really
    annoying 4,000 step
    "uninstall/manuallydeleteabunchoffiles/install/butdon'tinstallthisbeforethat/nowyoumayins tall"
    process?
    Any help on how to remedy the problem would be greatly
    appreciated...

    jcedens,
    Please try deleting the application descriptor file
    (swfname-app.xml) that is in the same directory as your swf, then
    test movie again. The problem is because the xml file is of a Beta
    format. Another way to reset it to the release format is to open
    the application and installer settings dialog. Also make sure
    adl.exe is not running in the processes (ctrl alt del, select Task
    Manager > Processes).
    Thanks,
    San

  • How to display flash version, air version, etc.

    Hi flex community,
    I wanted to know how can I display the version number of my own project, the adobe air version, the flash version, the operating system, the processor, the ram installed of the users system in a label.
    king regards
    flexx0r

    I have found that the Capabilities Class gives you a great deal of information.
    check it out:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Capabiliti es.html

Maybe you are looking for