[Air + Flash] Problem of filestream saving using AIR libraries

Hi All,
I am developing a flash stand-alone application and encounter some problem in using Air libraries
The app should be running in fullscreen mode and I called "StageDisplayState.FULL_SCREEN" and it comes out a series of problemst
First of all,
I use the flash.filesystem.filestream to save a jpg captured in the app
(I dont want to use FileReference as I dont want to have the dialog and change my screen to not in fullscreen)
When I call the new FileStream() in the exported swf, the app stopped running and error occur
This code work fine when I use it in flash debug mode, and I have set the publish setting for calling AIR
Second,
When I use the fullscreen, I cannot use the key "Spacebar" to trigger my app menu
As I know, spacebar can be intented to use in fullscreen mode
Thirdly,
I found that the exported version of .air and .exe files is differ from the .swf, but I need to make a standalone version for my client
If you are expert enough to solve the solutions,
Please kindly tell me a better way to achieve my project, I have been finding the solution days by days and it is the only method to post my problems here for help
Thanks you very much!
Ricky

Hi Alessandro,
Please try rerunning the Adobe AIR Update for Flash CS3 to
see if the problem can be solved.
If after running the updater again and it still doesn't work,
the workaround is to create a Flash 9 (ActionScript 3.0) fla. Then
selecting Commands > AIR - Application and Installer Settings
and Flash will ask if you want convert the publish settings to
Adobe AIR, click yes.
Thanks,
San

Similar Messages

  • Using project libraries for both web-based and AIR applications

    I need to develop substantial code to build both web-based and AIR applications.  Yes, they will have different features, especially when it comes to accessing files on the local file system.
    However, 98% of the code can be shared.
    I want to use a project library that can be used for both types of applications. Maybe using conditional compile when required to not use AIR API's in a web-based application.
    I found this (somewhat old) warning:
    Include Adobe AIR libraries Select this option if your library must use AIR features, such as access to the AIR APIs. Flex Builder then changes the library path of this new Flex Library project so that it includes airglobal.swc and airframework.swc. Web-based Flex projects cannot use this library.
    Do not select this option if you are writing a generic library intended to be used only in a web-based Flex application, or in either a web-based or AIR-based application.
    Does this apply to Flash Builder 4.5?

    I have found a workaround, but it's quite clumsy, involving a transfer vector (in old-fashioned terms) in the main application for each function in the AIR library.
    I have created a library for AIR classes only (fourdtext.fileOperations is there). 
    The AIR application provides "Function" values that any other code in the general-purpose libraries can use.
    It works, but it's nasty.
    In Main.mxml:
    import com.fourdtext.fileOperations.AxFiles;
    // this gets a list of native path strings, from and array of "File" objects
    public var AxGetListFunction:Function = AxGetListRedirect;
    private function AxGetListRedirect(list:Array):Vector.<String>{
        return AxFiles.AxGetList(list);
    In general-purpose code:
    var list:Array = event.dragSource.dataForFormat("air:file list") as Array;
    var AxGetList:Function = FlexGlobals.topLevelApplication.AxGetListFunction;
    listFiles = AxGetList(list);

  • How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; I also have Microsoft Word installed on the Mac as well.

    How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; none of the options I choose work. I also have Microsoft Office (with Word) installed on the Mac as well.

    Format the external drive as FAT32 or ExFAT. Both computers will then be able to read and write to it.

  • Problems acquiring and saving multiple camera images using a switch with GigE cameras

    Hi Folks,
    We are having an issue with connecting 6 GigE cameras via an Ethernet switch. We can acquire and store individual cameras but once we increase the number of cameras we end up with jumpy avi files.
    Each camera has been physically labelled and attached to the switch, so camera 1 is attached to port 1, which then corresponds to Cam1 in MAX. When recording multiple files what appears to happen is that the avi file from cam1 actually has images from multiple cameras, as if cam1 is being renamed/allocated on each frmae and each time a different camera is allocated. How can we fix this?
    We are new to this so any help or advice would be much appreciated.
    Thanks in advance,
    Cathy
    Attachments:
    Camerad.png ‏60 KB
    Camera.vi ‏91 KB

    I think your problem is caused by using the same image name on each instance of Imaq create. "Grab and Save to AVI Acq" being the string you are using. I am pretty sure If you make each image name unique you wont get image referance problems.
    Senior Software Engineer
    www.Adansor.com

  • My Imac is ejecting every disk inserted in it, I cannot access the disks, can any body help me troubleshoot the problem. I am using snow leopard.

    My Imac is ejecting every disk inserted in it, I cannot access the disks, can any body help me troubleshoot the problem. I am using snow leopard.

    Try resetting the SMC Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support
    and PRAM How to Reset NVRAM on your Mac - Apple Support
    If those don't help you can try a cleaning disc or a quick shot of compressed air. Chances are that your drive has failed, join the club it's not all that uncommon. You can either have it replaced or purchase an inexpensive external drive. Don't buy the cute little Apple USB Superdrive, it won't work on macs with internal drives working or not.

  • MXMLC ANT task not including AIR libraries

    Hi Guys,
    This is the MXMLC ant task which I am using the compile my test app. If i set the static-link-runtime-shared-libraries="true" , the AIR libraries gets merged into my output swf. But when this attribute is set to false, I dont see the AIR libraries added to my SWF file. As a result when I run the AIR version fo my project, I dont see the application launch right. I have so many RSL in my project and I wanted to have static-link-runtime-shared-libraries="false". Is there a way to have AIR libraries include in my output file and still have this static-link-runtime-shared-libraries="false".
    <mxmlc
        file="${project.name}/src/Test.mxml"
        output="${build.mxmlc.dir}/Test.swf"
        static-link-runtime-shared-libraries="true"
        >
         <load-config filename="${air.config}"/>
         <source-path path-element="${project.name}/src" />
         <source-path path-element="${flex.frameworks.dir}/libs/air"/>
        <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/framework.swc">
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swz"/>
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swf"/>
        </runtime-shared-library-path>
        <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/datavisualization.swc">
                    <url rsl-url="${rsl.dir}/datavisualization_3.2.0.3958.swf"/>
        </runtime-shared-library-path>
       </mxmlc>
    My RSL are compiled using COMPC task and the AIR libraries are included into them using the below attributes of compc task.
    <source-path path-element="${basedir}/src" />
    <source-path path-element="${flex.frameworks.dir}/projects/airframework/src" />
    <source-path path-element="${flex.frameworks.dir}/projects/air/ServiceMonitor/src" />
    I am really stuck with this problem and not able to get my release build launch right. Again, any light on this problem will be of great help.!

        <mxmlc
             file="${project.name}/src/Test.mxml"
             output="${build.mxmlc.dir}/Test.swf"
             static-link-runtime-shared-libraries="true"
        >
              <load-config filename="${air.config}"/>
              <source-path path-element="${project.name}/src" />
             <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/framework.swc">
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swz"/>
                    <url rsl-url="${rsl.dir}/framework_3.2.0.3958.swf"/>
             </runtime-shared-library-path>
             <runtime-shared-library-path path-element="${flex.frameworks.dir}/libs/datavisualization.swc">
                    <url rsl-url="${rsl.dir}/datavisualization_3.2.0.3958.swf"/>
             </runtime-shared-library-path>
        </mxmlc>
    This also seems to work. AIR libraries are included in my output SWF. It all happens right when I have static-link-runtime-shared-libraries="true" . Why? Why does that not work when i have static-link-runtime-shared-libraries="false"  ??

  • Can't Access Air Libraries

    Hello,
    I recently started using flash builder to aid a flash designer with some AS3 code.  I'm very new to the environment and I feel like I'm missing a large element here.  I can't import in the air libraries.  Here is what we've done.
    I have Air installed.  The designer started the project in Flash Professional, created an air desktop application, and I imported in the project into Flash Builder.  He's providing me simple as3 classes.  Everything works fine till I try import air.* or any air library.  I need the functionality of the application updater.  I've tried to add the applicationupdater.swc manually and it recognizes it when I do on my end.  When I go to run the air application in Flash Professional, it's giving me a compile error.  I really feel like I'm missing a key element here when accessing libraries.  I worked in Flash Builder once before and I had a hard time with it.  Any advice?

    Rather than using different libraries in teh same computer login account, create a new computer login for her and move her library to that user account.
    Then you won't have to hold Shift and select a library.
    Also, you will each have all of your own data (contacts, calendars, photos, docuemnts, etc.).

  • Flash problem persists after 6 months...does this new information help?

    Hi All!
    I posted my problem almost 6 months ago, (I'll paste some of the info below to bring you up to date), but I STILL can't access only FOUR sites because I get a "Plugin file is missing" error, (after my previous post I found 2 other sites).  I've been trying to solve this problem off & on, but I got more dedicated the other day because I'll be needing access to these sites very soon.  I found some new information today that I hope will solve this awful problem; however, since I'm not very technically inclined I know I have to ask a "Flash Expert", so here goes....
    I run Windows 8 & I use Mozilla exclusively.  I updated Flash the other day to version 15.0.0.152 & I wanted to make sure the plugins had been updated, so I opened the "Flash Player Settings Manager" & under the "Advanced" tab it lists:
                                            NPAPI Plugin Version 15.0.0.152
                                            PPAPI Plugin Version Not installed
    Is it significant that the PPAPI Plugin is "Not installed", or does Mozilla only require the NPAPI plugin? 
    My second question regards the installation of Flash.  I know that when a program is problematic, it sometimes helps to uninstall & reinstall it...I recently had a game that went nuts & that's the procedure I had to do.  Also, someone on Mozilla's forum said they were having a Flash issue & they went to your site & downloaded the .exe AND the .msi Installers from the Distribution Page, then manually installed them & their problem was resolved.  Would this help me resolve MY Flash problem?  If you think it's worth a try, do I have to uninstall Flash first?
    Well, that's all the new info I have.  I have to figure this out before December because that's when the nest-cam comes back on...I really have to get this problem fixed!  I'll paste my previous post below, but I hope the uninstall/reinstall method will be the answer!
    Thanks in advance for your help!
    Best Regards,
    DogPal
    Here's my previous post:
    Flash 13.0.0.214 does NOT work on some sites, but works fine on all others in Using Flash Player
    Hi!
    I watch several wildlife nest-cams every day running Windows 8 using Firefox 29.0.1, but yesterday morning, (after I'd already watched the 6 cams I view every day), I started getting a solid, black screen with, "Error loading plugin: Plugin file not found", on TWO of these sites.
    My attempts to resolve the problem were:
    1.  Checked all the other web-cam sites I view daily, and there's only a problem on 2 of them.
    2.  Went to You Tube, Facebook & other similar sites and I can view streaming media.
    3.  Refreshed pages-when that didn't help, I closed & reopened Firefox & still 2 sites with "plugin loading error"
    4.  Completely shut-down my laptop & rebooted.
    5.  Did "System Restore" to earlier in the day when ALL web-cam sites were working.
    6.  Went to Adobe Flash site & verified that I had the most current version...I do, & I saw the animations on Flash site.
    7.  Verified my Flash Plugins in Firefox...AGAIN...they're all activated & up-to-date
    8.  Checked & re-checked ALL the web-cam sites I view every day, (for, at least the 10th time), and the
         same 2 sites are still showing the "Error loading plugin: Plugin file not found" on a black screen.  Even
         though the video isn't seen the "chat" area is functioning, (I don't know if that's important, but I
         thought I should mention it).
    9.  I posted the issue on Firefox's Forum but no one has an answer since Flash works everywhere except
         for 2 sites.
    I've tried everything I can think of to troubleshoot this, but as you can see, I've had no success in solving this "mystery".
    As for the 2 sites I can't view, they are: 
                                        http://www.pixcontroller.com/eagles/    And
                                        http://www.westmorelandconservancy.org/BlueBirdWebcam-1.htm
    I've been watching these sites for MONTHS, so why I can't view them all of a sudden, well, I'm clueless, (I guess you already figured that out...ha ha ha).  I was watching the 2 sites listed above early yesterday morning, then when I looked at one of the other cams I view and came back to these 2 sites, I got the "error message".
    I hope you have a solution for me, as I'm desperate!  I'm WAY behind in my documentation for these 2 sites, so hopefully you'll have an easy answer.  If it's a technical thing, please use LOTS of details, as I'm not very technically inclined.
    Thanks in advance for your help!
    Best Regards,
    DogPal 
    P.S.  I just checked on another site that offers many different wildlife cams, & I CAN view the "Pittsburgh Bald Eagles" if I go through: http://www.ustream.tv/channel/pittsburgh-bald-eagles    I'm sure this means something, but since I don't understand this technical stuff I don't know what that is!  (I told you I'm clueless!) 

    I definitely see a problem with the pixcontroller/eagles site on Windows 8.1.  It works fine for me in the same version of Firefox on Windows 7.  It's unclear to me whether it's a Firefox or a Flash Player issue, but I'm happy to look into it further and get some bugs filed.
    As a temporary workaround, both sites work fine with Google Chrome and Internet Explorer.

  • We're sorry. It seems there is a problem. Please try using Gmail with a supported browser. If you're encountering this error while using a supported browser, we

    after the last udpate I can no longer access gmail or youtube. the error message from gmail is: We're sorry. It seems there is a problem. Please try using Gmail with a supported browser. If you're encountering this error while using a supported browser, we suggest alerting your Internet Service Provider (ISP) that a proxy is failing to accept cookies on HTTP redirects.
    youtube just lists some generic issue regarding cookies, and my cookie settings are wide open. I can open both with safari so it is a firefox issue.

    Did you install any new add-ons lately? I see listed:
    AddThis 3.5.9 ({3e0e7d2a-070f-4a47-b019-91fe5385ba79})<br />
    Advertising Cookie Opt-out 1.5 ([email protected])<br />
    Flash Video Downloader 5.3.2 ([email protected])<br />
    Garmin Communicator 4.1.0 ({195A3098-0BD5-4e90-AE22-BA1C540AFD1E})<br />
    socialvest 0.5.5 ([email protected])<br />
    Troubleshooter 1.1a ([email protected])<br />
    eMusic Community Toolbar 3.21.0.1 ({9ee802e8-c931-47ab-b570-aa8f791598ca}) (Inactive)
    Are any of these new?

  • How can I install Adobe flash player on my Mac using Safari OR Chrome? I have gone through every step on all of the help pages. The installation process always stops with the black box that briefly says, "Retrieving Install . . . ", then nothing.

    I have followed every step in the various help pages I was directed to when troubleshooting the inability to install Adobe Flash Player on my Mac using either Safari or Chrome. Everything has failed. I always get the black box that says briefly, "Retrieving instal. . . " and then goes blank. When I close that window, I get the message, "Adobe Flash Player could not be installed." Then it gives some links to follow for troubleshooting. I have followed ALL of the links there and on other help pages, to no avail. I've run into problems installing Adobe before, but it's never been this bad. Would someone please develop another format besides Adobe? Trying to get help from Adobe feels a little like trying to find a building in New York City with no map or GPS. The time required is voluminous, the emotional energy a/k/a frustration is overwhelming, and long before I get anything resolved, I wish the earth would open up and swallow all things Adobe@. Absence that miraculous intervention, I have to figure out what to do next. Does anyone know? Anyone?

    Same question, same answer: use the offline installer http://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player_osx.dmg

  • Flash problem after software update (on 10.6.8)

    I'm having flash problems on *some* macs after one of the recent software updates (june 2012). 
    On my school's 10 iMac's (2010), I can't play flash games anymore *in safari*.  Chrome is ok.
    An example site, is http://www.barryfunenglish.com/games.php (select any game)
    But on my school's 6 MacBook Pro's, I can - both safari and chrome.
    It was working 2 weeks ago on all computers.
    I'm using Software Update server from our server to update all the macs, so it's possible there was an update problem.
    Why is flash missing on the 10 imacs safari?  But not on the macbook pros?

    AppleJason wrote:
    so did Apple uninstall flash on safari with it's latest update?  do you know the reason?
    Yes, it was blacklisted by Adobe for security vulnerabilities. OS X now checks to make certain you are running a safe version and disables it if you aren't.
    With the latest update, you now have the option of having Adobe doing a "Silent Update" in the background without your having to do anything. I would recommend you implement it.

  • Problem w/ image item using 9i BLOB field and InterMedia ORDImage Object

    Hi,dear all,
    I have a problem with image item in Form 6i. Oracle 9i is used as backend DB, and a table contains image data is created for testing:
    create table image_test(
    id number,
    image blob
    In Form 6i, there is no problem to create a block for inserting/updating the image record into the database. However, it can not be used to retrieve image (blob field), the image item remains empty after 'execute query', while the id field can be retrieved. When the same table is created in Oracle 8.1.7, and the exact same form can be used without any problem both in inserting and retrieval. It seems that the Oracle 9i does not use the same way to store BLOB column. Has anybody ever encountered this problem? How to retrieve image (BLOB) in Form 6i from Oracle 9i?
    I tried to use interMedia ORDImage as the data type in Oracle 9i, that is,
    create table image_test(
    id number,
    image ORDSYS.ORDImage
    Same problem, the form can insert record with image, but when retrieving, nothing displayed. Anybody could help! Thanks in advance!

    hi!
    well working with oracle8i and form6i.
    same problem..but i used (instead of blob or clob as datatype..) Long raw..
    it can be saved as usual..i mean Commit..
    and can be retrieved..using Execute_Query..its working fine..
    well if anybody get any other solution..do inform..
    mail_id:
    [email protected]

  • Flash problem in Website

    Hi all
    I am a author of a blog namely TechBlg .
    The Problem is i am using google's ad company to place ads on my blog but when viewed on microsoft windows 8 it is not isplaying .
    Please tell me the problem .
    And Please help and guide me how to solve.

    http://www.michelleseventphotography.com/stLeathercraft/order.html
    The flash file itself is
    http://www.michelleseventphotography.com/stLeathercraft/order.swf
    Ok, I found something else that is wrong that might help you tell me what I did wrong! lol
    As I said, when I view the swf file on my local machine but it's not in the html file, the scroll bar works. However, when I view the swf file by itself where it is uploaded, the scroll bar also does not work. Of course maybe all of you are saying "duh, of course it doesn't..." but I was expecting it to.
    There is something obvious here that I'm missing...

  • QuickTime/Flash problem with Firefox - Redux

    I know people are having problems getting Flash content to play on the latest version of Firefox (7) for Macs. I know it has something to do with QuickTime interceding on behalf of Flash Player and screwing with Firefox's mind. Following instructions on this forum, I downloaded the latest version of Flash Player 9, loaded it, and everything worked fine -- as long as I didn't quit Firefox. Opening Firefox again, the problem's back. Returning to your forum, you suggest I go into QuickTime's preference menu and turn off Flash in the Advanced section. Trouble was, it wasn't on. So, now what do I do?
    Also, I really don't want to turn off Flash in QuickTime. I will be making Flash movies again soon, and QuickTime is integral to that. I also like Firefox. I really don't want to stop using it. Has anyone told Mozilla they really screwed up and need to fix this problem?
    LAD
    Message was edited by: LAdolli

    You mean Firefox version 2.0.0.6. That's the latest version.
    In the preferences for Quicktime-->Enable Flash-->leave unchecked. That's to play .swf (flash) that is wrapped in a Quicktime container. And Quicktime only supports .swf (flash) version 5 and below... Really not a selling point... What are they up to version 8/9 now? To me not worth making any more. Unless your using flash to make sprites to use in Qt. And at that point you knew to know actionscript for version 5 of flash.
    If you come across a .swf/quicktime a popup window will ask you if you want to activate it. When you close out the browser window it will revert to being off again.
    Go to the MIME Settings that is just below that Enable Flash box. Scroll down to the bottom... Miscellaneous file Formats. Uncheck Flash media. This one really needs to be off!!!
    As far as I know Quicktime really doesn't play a part in Flash anymore. As a container.

  • Flash problems

    I am getting a Director Player Error message that reads:
    This application requires an Xtra (Flash Movie...) that either does not exist or failed to initialize properly. Please make sure the appropriate Xtras are in the Xtras folder(s).
    I am using Chrome but the same thing happens in Firefox. I have Windows 8 and have yet to see any threads that tell me where to locate the Xtras folder of which they speak.
    I am using the 11.8.800.97 version of Flash Player. I see here (http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html) that they only list Internet Explorer for Windows 8. Is it a problem that I am using Chrome and Windows 8?
    Please help!
    Thanks.

    Although you have the Flash Player installed, the error message you are seeing is related to the Shockwave Player and has no relationship to the fact that you have Flash installed, or its version.
    The best thing to try first is to install the full player, not the slim version. Download the full installer from this link

Maybe you are looking for

  • To sum values in a internal table

    hi iam using below loop    Loop at it_table.    At end of amount.    sum.    endat.    At end of field2.    sum.    endat.    endloop. my purpose is to sum all values of the table field1 and field2 and use it to display please let me know how to do i

  • Error message when trying to setup Airport Extreme Unit - Please Help

    I have never tried to set an Airport Extreme, but expected it to be relatively simple..... I have been given an Airport Extreme unit (model A1143 - 802.11n) to use to set up a wireless network in my home. I am using the airport utility app to try and

  • How to reinstall windows 8.1 without a dvd.

    Hi. Im from sweden tried the swedish support but could not find where to ask a question so i hope you understand. I also have another thread here about my computer slowed everytime i close an application and havent found a solution yet. I have checke

  • Designer 6 installation error

    Hi, I'm trying to install an old release of Designer 6 (7.1.3.4.0) on a XP machine with Oracle 8i already installed in another Oracle_home. The installation is aborted with the error: "tracesvr.map(0): FILE_NOT_FOUND while mapping tracesvr80" while a

  • Message saying iphone is disabled

    my son forgothis password on his iphone 5c and now says iphone disabled. I have tried connecting to itunes and restoring it to original factory but for some reason it is not working. can someone please help me