Embbeding a transperent Flash into an Air Ajax Application

I've got a html page with it nativeWindow transparent attribute set to true on top of that page I need to show swf file. The swf content only needs to be visible when the cursor is hovering over the edges rest of the time the swf needs to be invisible (meaning keeping the transparent window transparent). When I build the flash as an air app the transperency is perfect, but when I embed the swf into the the html document (using wmode="transparent") the transparency isn't there.
Any help will be appreciated!

Thanks for the help Joe,
As you mentioned the problem is that the transparent part of the swf are opaque. When executing the swf as a standalone air app they are transparent but when embed into a html document as part of and Air app they are opaque
Cheers

Similar Messages

  • Can worker created/packaged/executed into a Air application use Air features(like File?

    Hello,
    I have compiled "successfully" a Worker swf that uses some Air classes (like File, FileStream etc).
    Then i have embedded it into an AIR desktop application, but when i execute the application (with ADL or even installing and then executing it),
    i receive a Security Error from the worker, like if it's context doesn't support that type of operations. Is it correct?
    Can't workers use Air features like file write/access even if they are embedded in a Desktop Air Application?
    It means that can't workers open o write a file in every scenarios?
    Thank you
    Daniele

    Sorry. This is the answer:
    http://forums.adobe.com/message/4688380#4688380

  • AIR/Ajax support for gzipped HTTP response

    I run from one problem into another. I would like to fetch
    XML data from one site, but apparently it sends it gzip encoded.
    And it seems AIR/Ajax is not good with supporting this.
    I saw some workarounds for this in AIR/Flex (and Flash i
    suppose as well) by using some ActionScript code. Is there any
    option for AIR/Ajax ?
    Or maybe is there an option to setup URLRequest/URLLoader in
    a way it looks to external site as 'browser' that does not support
    gzip encoding ?

    I agree, it would be nice to have gzip encoding support in
    AIR's browser component. But, I looked at what my AIR app sends
    when it requests a web page, and it's not claiming to the remote
    server that it can support gzip. If the server is sending the
    content gzipped anyway, it's almost certainly broken. Web servers
    aren't supposed to dictate encodings. Clients say what they're
    capable of receiving, and servers send the data in that format if
    they're capable of sending any of the requested formats.
    I see only one exception in the spec.
    Section
    14.3 says the server is allowed to send what it likes if the
    client doesn't say what it wants (true for AIR) and it cannot
    support the default, which is to say, sending the raw data as it is
    on disk. So, is that the case? Can this server really not send raw
    data, to anyone, ever? If so, it's violating the spirit of the web,
    to the point that I'd say it's broken, even if the spec does allow
    it. And if the server really is capable of sending the raw data,
    it's
    really broken for insisting on sending it compressed when
    the client hasn't told it that it can handle it; this would
    actually be against the spec, not just against the spirit of the
    spec.
    It would seem a more sensible use of your time to fix the
    server than to go and learn another technology just to work around
    its brokenness.

  • Duplicate session error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with CF10

    We're getting the "duplicate session" error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with Coldfusion 10 Standard.
    faultCode:Server.Processing.DuplicateSessionDetected faultString:'Detected duplicate HTTP-based FlexSessions,
    generally due to the remote host disabling session cookies.
    Session cookies must be enabled to manage the client connection correctly.' faultDetail:'null'
    Have read most of the docs about this error -all to do with LCDS
    Notes:
    Not using LCDS,
    No Remote Calls from loaded Sub-Apps,
    No Errors from the Flex Web App which is pretty  much identical and calls the same cfcs.
    The error does not happen all the time and is hard to reproduce - say 5% of app sessions at a guess.
    Could it be a two first time remote calls hitting the server together before a session is set up?
    Our remoteObjects are in two places 1) Main Application.mxml and within a class compiled into the main app - can't see how this would be an issue.
    I enabled session management for the CFCs in Application.cfc but still occurs. Is this neccessary - it's not in any docs?
    Could this be something to do with the app not being shut down - as is typical with mobile users? When they resume use after a day or two surely a new session will be created?
    Please advise thank you.

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • Not supported: Air + Ajax + (flex-ajax-bridge) + LCDS

    I'm building an application Air (Flex + extjs) and offline synchronization with LCDS. For sure I need the flex-ajax-bridge.
    But the experiments failed on Air runtime container, when ajax tried to communicate with server end data services.
    And I checked the source code of flex bridge file (FDMSBridge.as):
    import bridge.FABridge;
    import flash.display.DisplayObject;
    import flash.display.MovieClip;
    import flash.events.Event;
    import flash.external.ExternalInterface;
    import mx.core.mx_internal;
    use namespace object_proxy;
    [Frame(extraClass="FakeFlexInit")]
    public class FDMSBridge extends FDMSBase
    private var gateway:FABridge;
    public function FDMSBridge()
    super();
    if (ExternalInterface.available == false)
    return;
    ExternalInterface.addCallback("createObject", createObject);
    private function createObject(className:String, cArgs:Array):Object
    From the source code, we can tell the bridge rely heavily on the flash.external interface; AND look at this link -
    http://livedocs.adobe.com/labs/air/1/aslr/flash/external/ExternalInterface.html
    where it says -
    Note: Adobe AIR currently does not support the ExternalInterface class.
    which leads to the conclusion that:
    Air + Ajax(HTML) + LCDS solution is not supported by AIR currently.
    The ExternalInterface class environment:
    Browser Operating System Operating System
    Internet Explorer 5.0 and later Windows
    Netscape 8.0 and later Windows MacOS
    Mozilla 1.7.5 and later Windows MacOS
    Firefox 1.0 and later Windows MacOS
    Safari 1.3 and later MacOS
    Can anyone tell me what's the version of AIR built-in browser (squirralfish)? or, will AIR support FDMSBridge soon?
    Thanks!

    I agree, it would be nice to have gzip encoding support in
    AIR's browser component. But, I looked at what my AIR app sends
    when it requests a web page, and it's not claiming to the remote
    server that it can support gzip. If the server is sending the
    content gzipped anyway, it's almost certainly broken. Web servers
    aren't supposed to dictate encodings. Clients say what they're
    capable of receiving, and servers send the data in that format if
    they're capable of sending any of the requested formats.
    I see only one exception in the spec.
    Section
    14.3 says the server is allowed to send what it likes if the
    client doesn't say what it wants (true for AIR) and it cannot
    support the default, which is to say, sending the raw data as it is
    on disk. So, is that the case? Can this server really not send raw
    data, to anyone, ever? If so, it's violating the spirit of the web,
    to the point that I'd say it's broken, even if the spec does allow
    it. And if the server really is capable of sending the raw data,
    it's
    really broken for insisting on sending it compressed when
    the client hasn't told it that it can handle it; this would
    actually be against the spec, not just against the spirit of the
    spec.
    It would seem a more sensible use of your time to fix the
    server than to go and learn another technology just to work around
    its brokenness.

  • Flash builder and air app Help

    Hi everyone
    I am new to flash builder I have many adobe products ie master collection, and have an Idea for a small application. But need it to do a few things. I have only looked into fash builder a little but want to know a few things before getting started by getting the trial and then purchasing the real deal.
    With flash builder and air can I make a app that will detect the top most window on the clients computer and return the name of the program ie photoshop etc and then give me the name of the active window, tab etc.
    How much scope is there for interaction with other adobe products in the master collection.
    I have written a few little script before in java. vb, applescript and actionscipt but I want to know if flash builder and air combo has the functionality I need before I bother getting into it to deep.
    Thankyou for your time in advance.
    Regards Daniel

    You can run the AIR app separately, it should still be on your system (Applications > Adobe > Adobe Help or the root of your Start menu on windows).
    If for some reason the app isn't there, reinstall it from http://www.adobe.com/support/chc/. There's a preference under Edit > Preferences > General Settings for "Accessibility Mode". If you select "Open Help in browser", your Adobe applications will open a browser instead of launching CHC.
    Jason San Jose
    Software Engineer, Flash Builder

  • AIR+AJAX+FTP

    Hi,
    I am building an app which needs to connect via ftp and
    upload some files to the server. I am using AIR and AJAX. I am not
    able to do that. All the tutorials are mainly for Flex. Can anyone
    help me?
    Gaurav

    I am just touching my toes into AIR+AJAX now, and would be interested in created a similar app, where a user could drag a file from their desktop to the app, and upload to ftp.  Did you get any help on this, or know of any tutorials that may be helpful?
    Cheers,
    Dan

  • Events on a SWC work in Flash but not AIR

    I built a SWC (UIMovieClip document) in Flash CS5.
    When I use it with Flash (Flash player 10), I can register events directly on all the symbols in the SWC.
    When I use it in AIR (2.0), the only thing I can get events for is the SWC's document member (there are no errors when adding events to other symbols in the SWC, they just never fire).
    All the examples I found on the net are using Flash CS3 for display in a web browser.
    Could someone point me to a working solution for incorporating SWC's from Flash CS 5 into AIR 2.0?

    Only only the symbols in the SWC that are converted into a SWC Component can be used in Flex.
    I don't really understand your problem but if you wawnt to import a symbol made in Flash into Flex do this:
    1. Create your symbol
    2. Convert it into a Flex Component (Commands -> Convert symbol to Flex component)
    3. Get the SWC file
    4. Add it into your project (you don't really have to do this but i prefer to)
    5. In your Flex project right click it -> Propreties -> Flex Build Path -> Add SWC or Add SWC Folder
    6. Select the file/folder with your SWC
    7. Use the symbols into your project
    The symbols will be taken from the library not the stage. Oh ya... one more thing... if you want to use var myVar:MovieClip = ... use UIMovieClip instead.
    P.S. Sorry if I wrote this 'lil tutorial and that's not what u wore locking for...

  • 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

  • Is there a way to update Flash Professional CS5 / Air to publish for iOS7?

    Hi all,
    I'm fairly un-knownledgeable about AIR but here's my issue:
    I've been developing and prototyping an app in AS3 for some time- publishing to iOS from the iPhone OS Settings in Flash Professional CS5, and testing on my iPhone 4. However, ever since the iOS7 update, when my app runs on my iPhone it simply turns white. Too old a version of AIR, incompatible with iOS7? CS5 has AIR 2.0, and I've gone through steps to try and replace and update it with 3.9, though I can't find any tutorials or info on how to do anything earlier than CS5.5.
    Having swapped some files around to get Flash to recognize AIR 3.9, the best I was able to get happen was for Flash to run the app in debug mode but instantly close it.
    Any way I can update CS5 to support iOS7 Publishing?
    thanks

    I've got my .bat file fully written out, but now the error the command-window brings up is:
    'java' is not recognized as an internal or external command, operable program, or batch file.
    The entire contents of the adt file in the AIR 3.9 compiler package is:
    @java -jar "%~dp0\..\lib\adt.jar" %*
    I have little idea what this means, though I do have the latest version of java. The compiler package I'm using is the one found here: http://helpx.adobe.com/air/kb/archived-air-sdk-version.html -the Adobe AIR 3.9.1030 SDK & Compiler Windows (218.2 MB).
    Further ideas? Thanks so far

  • The drop down view by menu (Song, album, etc) at the right side of the iTunes window is like a ghost. It flashes into view for a millisecond once in awhile but never lets me click on it. Anyone know what this is about and what to do?

    The drop down view by menu (Song, album, etc) at the right side of the iTunes window is like a ghost. It flashes into view for a millisecond once in awhile but never lets me click on it. Anyone know what this is about and what to do?

    Short answer:
    Click Hide Song(s), it is what you wanted to do...
    Long answer:
    iTunes in the Cloud is a feature of your iTunes store account that allows you to redownload or stream your past purchases. When you delete a purchased track that is downloaded to your computer (like the first one shown here) you are asked if you also want to hide the song from iCloud. This would remove it from the computer and also stop it showing up with the iCloud symbol as the other tracks from that album (which are not downloaded) do.
    If a track shows with the cloud symbol you can play (stream) it by double-clicking the title, or click the cloud symbol to download a local copy to your library. If you try to delete one of these tracks you get a slightly different message confirming that you want to hide the track. Clicking hide will remove the listing from the library and any other device that shows your past purchases.
    Should you want to retrieve any item hidden in this way at a later date use Store > View My Account > iTunes in the Cloud > Hidden Purchases > Manage.
    To hide all your previous purchases that are not downloaded to your computer use Edit > Preferences > Store and untick Show iTunes in the Cloud purchases.
    tt2

  • I would like to know how do I install the brazilian keyboard into macbook air, keyboard with accents (Portuguese Language), I tried so many times how to put into it (Macbook Air). So, thanks for now! I'm waiting for it.

    I would like to know how do I install the brazilian keyboard into macbook air, keyboard with accents (Portuguese Language), I tried so many times how to put into it (Macbook Air). So, thanks for now! I'm waiting for it.

    After you go to system preferences/keyboard/input sources as suggested by sberman, click on the + button and scroll down to Portuguese and select that.  Over at the right you will see the choices Brazilian, Brazilian abnt, Portuguese.  You might want to add all three to see which you like best.
    The "Brazilian" layout is pretty useless.  It is identical to the US layout and the only way to make accents is via the option key shortcuts:  option + n, then o gives you õ.
    The Brazilian abnt and Portuguese layouts have dead keys for adding accents over at the right edge of the keyboard.  But these may not match what is printed on your keys.
    You may prefer to stay with the US layout.  On that you can get accented letters by just holding down the base letter and selecting what you want from the popup menu that appears.  Or you can use the option key shortcuts.
    Another option is the layout called US International PC, which has accent deadkeys on ~, ', etc.
    Which ever layout you want to use, you must select it in the "flag" menu at the top right of the screen.
    To see which key does what for any layout, use the Keyboard Viewer:
    http://support.apple.com/kb/PH13746

  • CSS Help! Inserting flash into a div has caused layout change

    Hi,
    I am trying to insert flash into a div. I'm new to CSS so I
    think I must be doing something wrong. As soon as I insert the
    flash the layout goes wrong and all divs below it are pushed down
    out of my "main" div. I've now taken the flash.swf out and inserted
    an image again, but it's still wrong. It previews fine in the
    browser though.
    Any ideas!?
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <link href="style.css" rel="stylesheet"
    type="text/css">
    </head>
    <body background="images/newwall.jpg">
    <div id="wrap">
    <div id="main">
    <div id="flash"><img src="images/flash.gif">
    </div>
    <div id="strip"><img src="images/strip.gif">
    </div>
    <div id="middle">
    <div id="news">
    <div class="newstext">NEWS....
    </div>
    </div>
    </div>
    <div id="gap"><img src="images/gap.gif">
    <div id="subnav"><img
    src="images/wallpaper.gif">
    <div id="bottom"><img src="images/bottom.gif">
    </div>
    </div>
    </div>
    </div>
    </div>
    </body>
    </html>

    And where is the CSS?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Dava" <[email protected]> wrote in message
    news:ei2526$mji$[email protected]..
    > Hi,
    > I am trying to insert flash into a div. I'm new to CSS
    so I think I must
    > be
    > doing something wrong. As soon as I insert the flash the
    layout goes wrong
    > and
    > all divs below it are pushed down out of my "main" div.
    I've now taken the
    > flash.swf out and inserted an image again, but it's
    still wrong. It
    > previews
    > fine in the browser though.
    >
    > Any ideas!?
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    > <html>
    > <head>
    > <title>Untitled Document</title>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    > <link href="style.css" rel="stylesheet"
    type="text/css">
    > </head>
    >
    > <body background="images/newwall.jpg">
    > <div id="wrap">
    > <div id="main">
    > <div id="flash"><img src="images/flash.gif">
    > </div>
    > <div id="strip"><img src="images/strip.gif">
    > </div>
    > <div id="middle">
    > <div id="news">
    > <div class="newstext">NEWS....
    > </div>
    > </div>
    > </div>
    >
    > <div id="gap"><img src="images/gap.gif">
    > <div id="subnav"><img
    src="images/wallpaper.gif">
    > <div id="bottom"><img
    src="images/bottom.gif">
    >
    > </div>
    > </div>
    >
    > </div>
    > </div>
    > </div>
    >
    >
    >
    > </body>
    > </html>
    >
    >

  • I need appleisightinstaller.exe to install the isight driver for Windows Vista running in Parallel Desktop 6 for Mac, but I don't have a Leopard DVD. What came with my Macbook Air was a flash stick "MacBook Air Software Reinstall Drive" only.

    I need appleisightinstaller.exe to install the isight driver for Windows Vista running in Parallel Desktop 6 for Mac, but I don't have a Leopard DVD. What came with my Macbook Air was a flash stick "MacBook Air Software Reinstall Drive" only.

    All,
    A very interesting NOTE to this thread. In order to try and get the "ignore permissions" box to show up in GET INFO (so I could execute Matt the Magician's solution to file sharing issues)-- I ran the terminal command for disabling ACLs on my internal HD / start up disk (as indicated in the linked thread to BDAqua's forum).
    Although I understand that this was useless for disabling permissions on the start up disk (as everyone here pointed out) and allowing me to see the "ignore permissions" check box - somehow it did seem to fix my file sharing problem...and that was the root problem I wanted solved in the first place! After doing the terminal command and a quick reboot, I went in and tested file sharing on the chosen directory and I can create new files or work from existing files in the directory, with both users being able to modify / and save from both machines and each machine sees the revisions and can build from them. Bottom line - I'm stoked and want to thank everyone for their help.
    The only other tweak I made was going over to my wife's machine and instead of using her log in / password, I just used my name and password to connect to my main machine that was sharing directories. Maybe that's what fixed the problem or the ACL disable but either way...I'm up and running the way I want to be.
    Hope this thread helps anyone else who has these file sharing / permissions issues with Leopard. Especially for anyone wanting to do such a simple file sharing set up between 2 computers. I wish I understood exactly which tweak fixed the problem, but at least it works the way I want now.
    So happy to be done w/this one!
    Thx everyone. Any additional input on what solved it is welcome, so my curiosity is quelled...
    TC

  • May I use the power adaptor for Macbook pro into Macbook Air?

    May I use the power adaptor for Macbook pro into Macbook Air?

    Yes.  You can use one of a higher wattage, just not a lower wattage.
    Here's the full info.
    http://support.apple.com/kb/HT2346
    Regards,
    Captfred

Maybe you are looking for