Loading flash 8 SWF in adobe AIR, loses the stage width in flash 8 SWF

Currently i am using a CS3 IDE to compile AIR application.I
am trying to load the flash 8 SWF inside my AIR application.After
loading the SWF, when i try to trace the stage width inside the
flash 8 SWF , it says undefined.Not sure why..
Googling few hours not able to get the solution.
Please help me on this, urgently needed.
Thanks in advance

This is a fairly common question on these forums. Basically,
AS2 and AS3(Flex/AIR) can't communicate directly. You will either
need to use LocalConnection or use ExternalInterface and javascript
to pass info between the 2.

Similar Messages

  • Adobe Air Initiates the wrong launch Image on iPhone 6 - Possible App Rejection by Apple Review Team for all developers

    I've opened a bug for this issue as well. I want to ask if anyone experiencing the same issue and has found a workaround.  Basically Air Runtime is picking up the wrong launch image when launching on iPhone 6. It defaults to [email protected] instead of the [email protected] iOS 8 picks the correct image but Air Runtime does not. Here is the link for the bug. If this is confirmed, this could result in rejection for all the app developers who optimized their apps for iPhone 6 . It is hard to catch this bug in release mode since the Air Runtime loads pretty fast and it occurs when you device is slow or doing something in the background. You can see it easily on iOS simulator or debug mode. We tried everything for a workaround but we failed.
    Bug#3831747 - Adobe Air Initiates the wrong launch Image on iPhone 6 - Possible App Rejection by Apple Review Team for a…

    Apple recommends the storyboard/xib option but you can still use launch images as assets in your root. When you open a new project in xcode you can look at Contents.json and see the naming conventions they use for iOS8. We grabbed the new naming convention from here. Also setting up in the application xml the UILaunchImages key works too. Please see the below example. It would be a better solution if Adobe Air refers to xml/info.plist values that the developer sets instead of hard-coded naming conventions.
    <key>UILaunchImages</key>
      <array>
          <dict>
              <key>UILaunchImageMinimumOSVersion</key>
              <string>8.0</string>
              <key>UILaunchImageName</key>
              <string>Default-667h</string>
              <key>UILaunchImageOrientation</key>
              <string>Portrait</string>
              <key>UILaunchImageSize</key>
              <string>{375, 667}</string>
          </dict>

  • HT1338 how do i load windows 7 on a mac air using the super drive?

    How do I load windows 7 on a Mac Air using the super drive?

    You use Boot Camp to partition the SSD in the Air, download the Win 7 Support files from Apple (part of the boot camp process), save them to a USB thumb drive, have the USB superdrive connect to the Air with the Win 7 install DVD in the drive. Once partitioned the system will reboot and start the Win 7 install.

  • Does updating Flash Player and Adobe Air solve the Swf.Exploit.CVE_2014_0581 problem?

    My ClamXav found the following attached to an app (JL Edwardian Advent Calendar) on my computer: Swf.Exploit.CVE_2014_0581. I have deleted and reinstalled the app, and I have updated the Flash Player and Adobe Air, but ClamXav continues to mark it as infected. Could this be a false positive? Is it safe to run this app after the updates?

    Added one yesterday:
    https://bugbase.adobe.com/index.cfm?event=bug&id=3560258
    Interestingly air 3.7 on IOS to Desktop air 3.7 will work.
    I am investigating if I can use 3.7 on Android to connect to 3.7 on iOS - so far I cannot get the apk to install on my Galaxy S3, compile using 3.4 and all is good. Air runtime has been updated via Play store - and build uses compiled runtime.
    I cannot get Flash player 11.4 to connect with air 3.7 on iOS either.
    NetGroup.Neighbour.Connect never fires.
    All SDKS above 3.4 upto 3.8 beta exhibit the same problem.
    3.4 works perfectly and can connect to flash player, and other Air/iOS devices just fine.
    Shuld not be a issue with firewalls etc, thay are all open.
    I can email you the fla, it is for a product so I can't post it here.
    Thanks,
    Steve.

  • Help install Adobe Air tried the terminal fix- Not working

    I own a lot of Adobe products including Creative Suite Design Premium.  I have tried downloading Adobe Air to no avail.
    I eventried
    manual solution to Adobe AIR not installing:  Didn't work.  Can anyone help?  Here is the log file from the attempt.
    Sep 24 21:09:27 macintosh /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[2532]: Launching subprocess with commandline /bin/chmod -fRP +rw "/Users/tanya_mac_laptop/Library/Application Support/Adobe"
    Sep 24 21:09:28 macintosh /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[2532]: Starting silent runtime install. Installing runtime version 2.7.1.19610
    Sep 24 21:09:28 macintosh /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[2532]: Error occurred during copy operation; beginning rollback: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #1" errorID=1]
    Sep 24 21:09:28 macintosh /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[2532]: Error during rollback ignored: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #3003" errorID=3003]
    Sep 24 21:09:28 macintosh /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[2532]: Rollback complete
    Sep 24 21:09:28 macintosh /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[2532]: Exiting due to error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #3003" errorID=3003]
    Sep 24 21:09:28 macintosh /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[2523]: Exiting due to error: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Error #3003" errorID=3003]
    Sep 24 21:09:28 macintosh /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[2532]: Runtime Installer end with exit code 7
    Sep 24 21:09:31 macintosh /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[2523]: Runtime Installer end with exit code 7
    Sep 24 21:09:31 macintosh com.apple.launchd.peruser.501[151] ([0x0-0xd30d3].com.adobe.air.Installer[2523]): Exited with exit code: 7
    Thanks in advance.
    Tanya Metaksa

    Could you try manually deleting the following folder: /Library/Frameworks/Adobe AIR.framework ?  Once deleted, try installing again.
    Thanks,
    Chris

  • Tried to install latest version of adobe air using file hippo, this didn't work so uninstalled adobe air in the hope of reinstalling but this didn't work either.

    Hi,
    I tried to install an update for adobe air 11 yesterday, at the end of the process I got the message "An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please contact your administrator."
    After I click close, Windows Program Compatability Assistant opens saying "This program might not have installed correctly" and offers to "Reinstall using recommended settings".
    When I click on "Reinstall using recommended settings", the same message comes up about the error and contact the administrator.
    I use Google chrome and FileHippo update checker, I have also uninstalled the version of adobe air that was on my computer in the hope I could install the current version but unfortunately the error message is all I get.
    If you need any further information I will be happy to help, although I have forgotten how to do a screenshot.
    Regards,
    Helen Smith.

    A reply to myself! Thanks to Adobe support I needed to update the Adobe Applications Manager to the Creative Cloud App which so far appears to have fixed the problem

  • What HTML and JavaScript engine is used within Adobe AIR on the desktop?

    HTML and JavaScript within Adobe AIR are handled by the WebKit HTML/JavaScript engine.

    I've made a little headway with this. Within your initHandler just make a call to login:
    FacebookMobile.login(loginCallback, this.stage, [], webview);
    webview is a StageWebView instance with the viewPort defined. If I left it null, or didn't set the viewPort nothing happens...
    var webview:StageWebView = new StageWebView();
    webview.viewPort = new Rectangle(0,0,400,400);
    I'm now getting a login screen.

  • I am having trouble running the New York Times Reader (Times Reader) application.  It runs on adobe air. I've reloaded adobe air and the application, but it won't run. Any ideas?

    I can't figure out why the Times Reader won't run on my Mac (OS 10.8.5).  The application opens, but doesn't run.  Nothing shows up on the screen except the menu bar at the top. 
    I have reloaded the application, and uninstalled and reinstalled Adobe Air, but neither has helped.
    Loooking for ideas.

    If it happens again then try to reload the website or clear the cache and the cookies from that website.
    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    *http://support.mozilla.com/kb/Deleting+cookies
    *http://support.mozilla.com/kb/How+to+clear+the+cache

  • Adobe installer files remain as windows after Reader installed, I've gone to Adobe Chat and they had me uninstall and reinstall Adobe AIR but the problem presists in Firefox only, not AOL or IE browsers.

    After uninstalling/reinstalling AdobeAIR I now not only get the Adobe Reader install window but also get the AdobeAIR install window upon bootting up Firefox.

    Attached are the two windows I get, Firefox hangs for a couple of minutes while these windows load, a real annoyance.

  • Will Adobe AIR support the new Android Wear OS?

    Because if it did, that would be amazing!
    If you haven't heard of Android Wear yet, check out:
    http://news.cnet.com/8301-1023_3-57620475-93/google-unveils-android-wear-its-modified-os-f or-wearables/
    http://moto360.motorola.com/
    http://www.engadget.com/2014/03/18/lg-g-watch-android-wear/
    That moto 360 is damn sexy, and i'd love to be able to develop apps for it using AIR.

    I can build from Flash Pro to Google Glass ok, though there are a number of gestures that Flash doesn’t know about. Perhaps someone will do an ANE to handle the wearable device special gestures.

  • HT6207 Security update made my MacBook Air lose the dock. Help

    Once this update occurred, I lost my background and my dock.  How can I get them back?  Version 10.9.2

    I checked both of those items and neither worked.  Turn Hiding is not checked, but "position on bottom" is.  I've gone to Sys Pref/Desktop & Screen Saver and selected the desired background picture, but once I click it, the background does not change.  In fact, each "change" that I request, does not produce a change.  If I change my dock to "turn on hiding", and then go out, come back to menu/Dock, the Turn on Hiding is not checked.  I've rebooted, I've tried to reinstall the security patch, I've tried to reinstall the operating system and yet, it still doesn't show up a background, or my Dock. 

  • [advance question] loading a swf in adobe Air, which loads an image with "componentloader"

    Good evening all,
    I think this is a complex issue.
    I have adobe air application which loads a SWF I made.
    Inside this SWF I have used the "component LOADER" to load
    something with "ContentPath=image.jpg" for example.
    But the swf loaded in the Adobe air works, but does not load
    the "ContentPath image"...
    (it does load and display it when it this swf is run outside
    adobe Air)
    I need it to be dynamic like this, so if eventually I Include
    it in the package it won't help much...
    I just intend to replace an image background from this loaded
    swf file!
    Thanks!
    Edit:
    At this time of the editing, I fear and realize
    something....I have been using Actionscript2 for the .SWF file,
    could it be why it does not works???
    If its problematic, is there a simple way like telling it to
    read actionscript2, rather than transforming everything??
    edit2:
    I found this on the official AIR FAQ:
    Will Flash version 8 and below SWF files run in Adobe AIR?
    Yes. However, the Adobe AIR APIs are only exposed to Flash
    content via ActionScript 3 / AVM2, and thus Flash 8 / AVM1 SWFs
    will be able to run, but they will not have direct access to the
    Adobe AIR APIs.
    source:
    source
    faq Adobe
    it seems it should works!!??
    Edit3:
    nope I confirm at least some code made in Actionscript2
    works.
    I am sure this code needed to be changed for working in
    actionscript3, so "actionscript2" code works in Adobe Air.
    The problem of not loading my image must come from something
    else!!??

    Good Morning all!
    Hilarious....
    I tried so much to think maybe Adobe Air does not like a SWF
    using actionscript2, or it does not load any "external image from a
    swf", etc...
    None of that!
    I just in FLASH in the ComponentLoader....I did put simply
    the ContentPath at "myimage.jpg"....
    Of course I had to use the absolute path like
    "c:\\myfolder\\myimage.jpg"
    Of course aswell it works now!!!

  • Adobe Air Applications Not launching. Flash Builder 4.5.1

    I had this issue before where only flash based applications would launch but not adobe air. The issue is when you click run on adobe air, in the task manager on windows 7, 64 bit you get: Adobe Air Debug Launcher. Killing that gives me: If the program is already running, close it before attempting to run.
    The program never launches hence why you have to kill it in the task manager.
    I tried cleaning out the PreloadSWF entry in the mmc.cfg file. This does nothing to help the cause.
    Ideas?

    Please read the OP on the stale pale loader. I already took out the line in mm.cfg and I set vsible to true (never had to before on any air application Oo)
    Tests:
    The setting to visible to true though worked..... (again with never had to set that before)

  • Adobe AIR not playing sound from swf, but Flex-app in browser does. Why?

    Hi
    Why won't Adobe AIR play the sound in an swf animation I've got? It plays perfectly as an Flex Application in a browser.
    This works good (Animation is shown and sound is played):
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:SWFLoader id="testLoader" source="niceview.swf">
    </mx:SWFLoader>
    </mx:Application>
    This does not work: (Animation is shown BUT sound is NOT played):
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="500" height="400">
    <mx:SWFLoader id="testLoader" source="niceview.swf">
    </mx:SWFLoader>   
    </mx:WindowedApplication>
    I started out loading the swf from the filesystem, which is what I want to accomplish, but in this test the "niceview.swf" is located inside the source folder and therefore sandbox-violations should not be the issue here, right?

    A little bump.
    I still haven't found any solution to this.

  • Flash Catalyst, Flash Builder and Adobe Air....Issues...

    My problem is simple.
    I have a flash catalyst project I importedc it into flash builder - whats the issue? its a web app. I need it as a air app. I don't know how to change it from a web app to an air app.
    Also:
    If I publish the "demo" version in Flash cat as a air app and install it, I have to resize the window? even when I set the bounds to be 800x600 it shows up on the desktop as either half that or sligtly larger. even running the swf - publishing for both web and air for testing - i have to resize the swf (unless its embeded on a page). why is this happening?
    Tha main purpose here is to change the imported flas cat proj into a air app in flash builder so i can change the default chrome.
    Thanks.

    I finally find what the problem was. It has nothing to do with either the server, neither Flash Player or Adobe Air.
    The problem came from mstc window (remote desktop software). By default it was set to display 16bit colors. I might have changed it sometime to 15bit.
    By setting it to 16bit, it solved the problem.

Maybe you are looking for

  • Help please on importing pics and Iphoto version

    Hello, I currently have Iphoto 6 (version 6.0.6) and I realized that when I want to import pictures it wont let me select the pictures I want only. it has been inport all them at once. Can I get a new version of Iphot without paying? and do these new

  • Report Painter for GR55 report

    Hi I am changing the formula of one cell of one column in report painter type report. what is happening with my report there are FIVE columns of profit center AND one TOTAL column , every column has 10 rows, there are three rows of total revenue , gr

  • CCM schedule job and OCI used

    Hi all, We are using Requisite BugsEye 4.0.5.6 with SRM 4.0.  I'm studying CCM 2.0 to replace BugsEye and need helps from all of you: Q1: I saw a screen in service marketplace presentation, schedule upload catalog job in CCM need to specify Catalog I

  • Basic file moving question

    i must be numb. embarassed to say that i need a little help in understanding the easiest way to move songs into (1) a static play list, and (2) over to the ipod. Here is the set up - I have about 10K songs in itunes and I need to go through the entir

  • ICloud Mail Reliability?

    Hi, I was wondering about your general opinions on weither I should switch to iCloud mail from Gmail.  The only reason why I am hesitant to do this is because I know that iCloud had some issues when it came out.  I am very afraid of not getting some