browseForOpen only works in the essay film

Greetings,

I'm here to ask some basic help.


I have this code embedded in a .fla Adobe Air 2:

import flash.filesystem.File;
import flash.events.MouseEvent;
import flash.events.Event;

var fileChooser:File = File.userDirectory;

function doSelect(e:Event):void
{
     trace (e.target.nativePath);
     var pic:Loader = new Loader();
     pic.load(new URLRequest(e.target.nativePath));
     addChild(pic);
      pic.y+=40;
}
fileChooser.browseForOpen("Open");
fileChooser.addEventListener(Event.SELECT, doSelect);

When I test the movie (control-enter style ^^) I can see the browser window appears but when I publish the swf version and exe the browseforopen simply does not work without any errors.

Is this something simple and noobish I miss?

Thank you very much in advance

Air creates the .air, not .swf or .exe file. Test with the .air file.

Tags: Adobe Animate

Similar Questions

  • Satellite A210 - 10 c only works with the 800 Mhz instead of 1.6 Ghz

    Hello

    I have a very big problem. One day, I look in Vista on my resource monitor and see that the max freuquence is only 50%.

    So first of all I think that is no problem because the assets 'energy savings' energy recorded.
    I have a Satellite A210 - 10 c portable.

    So I switch to maximum power and perform a test of prime95. But hell, the max freuquence has not changed. I also installed everest and cpu z, but all programs show the same to me:

    My laptop only works with the 800 Mhz instead of 1.6 Ghz!

    I'm looking for drivers for the AMD processor, but you need not for Vista. Update all the drivers of Toshiba and Programms and BIOS (in fact, it is the 1.9).

    Nothing helps.

    As a last test, I reinstalled Vista, but also did not help.

    And now I'm at a loss what to do.

    I hope someone can help me.

    Good bye...

    Have you installed the Vista using the recovery CD or the original CD of Microsoft Vista?

    I ask because the restore CD contains all drivers for Toshiba and yellow exclamation marks should not be apparently in Device Manager.

    If you used the original CD of Vista I think that you have not installed the Package of Intel Robson.

    I found the package of Robson on the Toshiba driver-> Satellite P200 area page.

    Maybe you should check this.

    Your comments would be appreciated

  • LabVIEW 2013 executable only works on the development machine?

    Hi all

    I created an executable to distribute my test software, but it only works on the development computer. With success, I gave my front executables with labview 2012 on the target computers by simply creating the .exe in the project and then Explorer in installing labview nessary drivers and run the engine of time without problems. Now, I created a new test with Labview 2013 program and I can not get my new test .exe application to run on the target computer. Has anyone seen this kind of problem before?  Any help will be appreciated.

    Thank you


  • BlackBerry Z10 headphone only works with the left ear

    My headphones (beats studios) only works with the left ear when connected. The helmet has never had a problem on my old iPhone 4 and currently with my rMBP so I know that's not the headphones. Any suggestions?

    There seems to be a problem with the jacket of the head. They are defective for a few pieces and the jacket cannot recognize the HP in the same case, what makes the phone to give no sounds on the notification.

    Try to use different headphones. If the problem persists try replacing the model.

  • CSS only works on the page and not in the css doc

    So I have the following code for the shadows: h3.a {text-shadow:-50px 50px white, 1px 1px #00F}.  I put it on my css doc which is connected to my page, but it does not appear.  then I put it in the top of the page, and then it appeared.  Why it only works on the page?

    I just passed something like that for a few hours yesterday and realized that I was not saving the page external .css real after adding new styles.

  • Apple tv only works on the left speaker

    Through any HDMI input audio left is the only work, regardless of the selection of entries.

    Two audio channels running on all HDMI inputs when tested with a DVD player, had the same problem with Google Chrome and referred to the shop. Everyone knows about this phenomenon?

    carpet

    It would sound as if you have confirmed that the question must be with the device and is not the cable or TV. How old is this particular Apple TV? It is still under warranty or AppleCare?

    TT2

  • L50-B-1NM satellite - wifi only works near the router

    Hi just bought this laptop for my daughter Toshiba L50-B-1NM 15.6 inches processor Ci3 4 GB 1 TB and wifi only works if he was sitting next to the router.

    It will connect to the internet if the ethernet cable is connected, BUT for wifi, the laptop has been sitting almost touch the router. The rest of the House works well.

    Please could you help me before I take it back to the shop and eventually making a fool of myself.

    I'm really not good with technology so if you do not answer could you explain to me like a baby please ;) lol

    Thank you very much, totally disappointed at the moment because it cost me a lot of money for it :(

    Hi maria,

    I think you should consider a fact: the L50-B-1NM Satellite was equipped with an Intel 802.11ac + card agn combo Wifi/BT.

    802.11 AC is a new WLan standard that isn't taken care of by all old WLan routers.
    But of course, the standard 802.11 A / G or N must be supported by older devices correctly.

    I think first of all you must check if the wireless performance question isn't related to energy saving settings. I guess during wifi problems, the laptop uses battery power
    In this case we would use different power plan settings.

    Please check the settings that are in the advanced within the current energy saving Central WLan power settings.

    Where this doesn t help you solve the problem of WiFi signal weak, you should contact the authorized Toshiba maintainer to check the connection to the WLan antenna.

    It may be possible that the antenna isn't properly connected, which is originally a weak WiFi signal.

    Because the laptop is under warranty, it should be fix toll-free number.

    Greetings

  • The mouse only works in the active window and cannot select drop-down menus (W7)

    Hello

    I can't understand what is the cause. I can only select things in the active window with my mouse, I can't move the window, I can't click on anything whatsoever outside of it.

    ATM by writing this, I can not open another program or select the bar of tasks or do anything outside that window. (unless I use CTRL-ALT-DEL and force to select a new active window with my keyboard)

    Another thing is that everything works within the window, except one thing, menus drop down, I can bring up the menu drop-down but can not select anything on the menu.

    I reinstalled windows to do this same thing. I can't understand why windows doesn't let me choose some things outside my main window, it's that I'm sort of protected mode.

    Thanks for any help

    Hello

    -What is laptop or desktop?
    -What is the brand and model of the mouse? Is it wired or wireless mouse?
    -Have you tried plugging the mouse on another computer?
     
    Method 1: I would also say you update the drivers for the mouse on the computer and check if it helps.
    Updated a hardware driver that is not working properly
     
    Method 2: Also, I suggest you use Microsoft Safety scanner to make sure that your computer is free from malware and check if it helps.
    Microsoft safety scanner
    http://www.Microsoft.com/security/scanner/en-us/default.aspx
    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again. The Microsoft Safety Scanner is not a replacement for the use of antivirus software that offers continuous protection. For a real-time protection that helps you keep your home or small office PC against viruses, spyware and other malicious software, download Microsoft Security Essentials.
    Method 3: I suggest you try to check with the other mice to make sure that the problem is not with the computer.
     
    If it is a laptop, I suggest you to check if a FN key function is to to do this. As you are facing the issue after reinstalling the operating system, I also suggest you check with the manufacturer of the computer, if there is this key.
     
    Hope this information helps.
  • Typeset only work on the platform built on the Web site

    Hello.

    I'm going to build a Web site that is currently on my development server. http://www.thepointnet.com/NovaTec-development

    I use a Typeset font (make-family: ' Fira without ";) in the CSS and it will only appear on the site when I view it on the same Mac as I build the site on.)

    Seen on a smart phone or on another PC it's just default the without police.

    I've lived any suggestions for troubleshooting Adobes does not.

    Someone at - it indexes?

    Thank you

    Joe

    Hey Joe,

    I'm sorry that you trouble with that. The CSS on your site uses the font family name "Fira without", for example

    {.navbar-css

    color: rgba (255, 255, 255, 1);

    do-family: ' Fira without. "

    do-size: 130%;

    make-style: normal;

    Police-weight: 300;

    }

    The name provided by Typekit is "fira - without", with a hyphen. The browser is looking for a locally installed version of the police currently, rather than the files provided by Typekit.

    If you update the CSS file to use "fira - without" everywhere that you have "Fira without", policies should begin to work in all browsers and operating systems.

    (For later use, you can check the last name of Typekit in the Editor Kit by clicking on the link "Fonts in CSS using" selectors):

    ( https://helpx.adobe.com/typekit/using/css-selectors.html)

    If please give that a try and let us know if you have any other questions!  Best,

    -liz

  • Palm tx only works with the charger plugged

    My palm that TX only works when it is plugged into the ac charger.  The symptoms started after I left unused device for about 2 weeks.  When it is plugged in, I get the symbol of battery charging.  The battery icon says 100%.  As soon as I unplug the charger, it dies.  I left it plugged for 2.5 hrs and still does not work when I unplug. I tried to reset hard with no improvement.

    Do I need new battery?

    Thank you

    A last ditch effort - connect the charger and press the reset button.  Let the TX through a soft reset and let it charge for a few hours.

    If still no joy, so yes it looks that your battery has reached the end of its useful life.

    Many places online will repair it for you, or allow you to buy a battery and DIY.  See directfix.com for a video on the TX of repair.

    WyreNut

  • Can I use the magnetic charger shows to recharge my iPhone or it only works with the watch?

    I'm looking to see if my Watch magnetic charger will also charge my iPhone. Can someone help me understand this?

    Hello

    Non - magnetic charge cable only works for load your Apple Watch.

  • Firefox does not start, no error message, only works in the background

    I click on Firefox it does not start
    no error message it does not start
    It works in the background in 32-bit
    I have re installed it but nothing changes

    It is possible that your security (firewall, antivirus) software blocks or limit Firefox or the process of plugin-container without you inform, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

  • G7 Pavilion: Pavilion g7 keyboard only works for the password

    I was recently given a grandma g7 Pavilion.  She barely used.  The keyboard won't let me enter her password but completely stops working after the password is entered.  He may have had an external keyboard used previously, but is not fixed now.  I read on the forum and tried all the fixes I've seen.  I tried: disconnect the battery taking then now power button for 30 seconds, put the battery back and plug in the unit, turn on press the ESC key to make Bios restore default.  Left battery, instslled all the updates, uninstalled keyboard under devices and rebooted.  Tried the trick of screen ctrl and print.  He strives to enter the password, so it has the ability to work.  Very frustrating.  The keyboard icon returns to the settings but I can't click on it.  Help, please!

    Hello

    As the keyboard works until you connect, check the following.

    Open windows control panel and on the top right, next to the display by: select "large icons".  In the new page layout, select the "ease of access Center.

    Select the option "make the keyboard easier to use".

    If there is a check mark next to 'Turn on filter keys', click the box to Remove , and then click apply and then click Ok to save this change.

    Kind regards

    DP - K

  • Access to Internet only works if the 3G network is connected?

    When I have the 3 G and WIFI are on, my internet connection works fine. My WIFI signal strength is good and connected. However, if I turn off the 3G (disable 3G) and my WIFI is still and have a good signal strength accoding to the XOOM, I don't have the internect connection.

    Can someone help me on this? Internet connection of XOOM should work on the Wi - FI mode.

    Thank you.

    makes me think that you have not actually found a wifi connection at all. are you sure that your connected to your wifi network and pulling an IP address?

  • Shockwave Flash only works for the administrator account

    Problems with flash on other users on the computer. The shockwave flash works on the admin user profile, but not on other profiles, can you help me?

    Flash Player
    Troubleshoot installation of Flash Player for Windows
    http://kb2.Adobe.com/CPS/191/tn_19166.html

    Troubleshooting player stability and performance
    http://blogs.Adobe.com/JD/2010/02/troubleshooting_player_stabili.html

    Flash Player Support Forum
    http://forums.Adobe.com/community/webplayers/flash_player releasing It Easy: with Windows | ActiveWin | Laptops | Microsoft MVP

Maybe you are looking for

  • Video Flash and flicker on the websites Gifv

    Since the upgrade to Sierra, I noticed a strange problem. Video on Facebook and Youtube Embedded flash flashes quickly.  I noticed in Google Chrome and Safari. I've upgraded to the latest Chrome and the latest version of flash player for both browser

  • Windows Search 4.0

    Do I need to Windows Search 4.0 downloaded on my computer for internet working properly?  I'm trying to free memory and delete things as much as possible.

  • Problems of WAN connection after a clean install of Vista

    Since I had my computer wiped out I can't connect to my router wirelessly. is it possible to reformat my WAN settings or anything like that to be able to connect again? right now it says everything is ok but when I unplug the ethernet cable it discon

  • Printer Setup error: insert the floppy

    I have an OfficeJet 4315 AIO, but I've seen this same problem with a number of other HP printers. Shortly after the installation of my printer, whenever my computer starts, it displays a message indicating that the printer installation disc must be r

  • The low level event listener?

    One of my screens implements scrolling on curve/bold by implementing the navigationMovement method.  To work properly on a storm, to do the same thing on 'touchEvent.  Can I substitute touchEvent and implement in my screen, but then the screen won't