Opening an EXE from a Button

Hi everyone,
Hope someone can help me, i'm having major difficulties. I'm using Adobe Flash Professional CS3 and I'm trying to create a button to open a .exe file. I have been going roudn in circles and nothing seems to work for me at all.
I have created my button and gave it an instance name, if someone can talk me throgh the procedure I would be very much obliged.
Many Thanks
Paul

I belive that is for a security reasons.
This is a help for fscommand.
To use fscommand() to send a message to Flash Player, you must use predefined commands and parameters. The following table shows the values that you can specify for the fscommand() function's command and args parameters. These values control SWF files that are playing in Flash Player, including projectors. (A projector is a SWF file saved in a format that can run as a stand-alone application—that is, without Flash Player.)
Command
Parameter (args)
Purpose
quit
None
Closes the projector.
fullscreen
true or false
Specifying true sets Flash Player to full-screen mode. Specifying false returns the player to normal menu view.
allowscale
true or false
Specifying false sets the player so that the SWF file is always drawn at its original size and never scaled. Specifying true forces the SWF file to scale to 100% of the player.
showmenu
true or false
Specifying true enables the full set of context menu items. Specifying false hides all of the context menu items except About Flash Player and Settings.
exec
Path to application
Executes an application from within the projector.
trapallkeys
true or false
Specifying true sends all key events, including accelerator keys, to the onClipEvent(keyDown/keyUp) handler in Flash Player.
Not all of the commands listed in the table are available in all applications:
None of the commands are available in web players.
All of the commands are available in stand-alone applications, such as projectors.
Only allowscale and exec are available in test-movie players.
The exec command can contain only the characters A-Z, a-z, 0-9, period (.), and underscore (_). The exec command runs in the subdirectory fscommand only. In other words, if you use the exec command to call an application, the application must reside in a subdirectory named fscommand. The exec command works only from within a Flash projector file.

Similar Messages

  • Can't open an Executable From Click Button

    Hi, Everyone!
    I've broken a learning module into several small project
    files to match the client's standards. I've set up click buttons
    within each file to open each of the published movies for the
    module. Everything works as expected.
    Now I need to create a standalone course using the same
    files. I've published each file as a Standalone executable. I've
    modified the open action on the click buttons to "Open URL or File"
    and selected the appropriate .exe file as the target. I've
    republished the files with the new click action. When I open an
    executable and click a button to open another executable, I get an
    error message stating that the page cannot be displayed.
    What am I doing wrong? Can anyone help?
    Thanks,
    Bob Browne

    Hi Bob
    For starters, did you try simply exporting all related files
    as .EXE files and test that way before making any changes? If so,
    what were your results? I've seen before where once Captivate was
    successfully linking to another movie, simply changing from .SWF to
    .EXE format just worked.
    Just a thought... Rick

  • Opening a popup from custom button in a Form

    I have a requirement to open a popup from a custom button of a portal form and once the value is selected from the popup the control should return to the main form with the value selected and set it to some display only field in that same form. It can be done thru' popup of a field directly but how can I do this thru'a button ?.
    Help would be appreciated.
    Thanks
    -Krishnamurthy

    Works for me if I middle-click a bookmark on the Bookmarks Toolbar and browser.tabs.loadBookmarksInBackground is set to true.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Opening a URL from a button within a Web Template

    Hi All,
    I have a requirement to provide report specific help from within a standard web template. Assuming that I had a list of help URLs for each report and an intermediary way to redirect to those URL based upon a unique id such as the reports technical name, is it possible to create a generic button from within a web template that would dynamically create a URL based on the reports technical name? I.e., http://www.example.com/page.html?ZGTRPTNME
    To date I have only used the Action "Command via Command Wizard" from within the parameters of the button Web Item. However, I did notice that a Script Function was provided. Has any used this functionality and is it possible to create a URL with the technical name of the report?

    Rekesh,
    I had a look at the document you linked however what I need to find out is how I can place the technical name (dynamically) within the web template URL (i.e., this needs to work for multiple projects over many reports that all use the same global web template).
    It's actually very easy opening a new window via javascript however finding the varible for the report technical name remains unclear. At present I am looking at command URL's. The only other option is that I use a java script substring command to pull the report technical name from the URL (although this not as clean as using command URL's).
    EDIT: Found this document: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/ef9a6c13f2025be10000000a1553f7/content.htm
    Appears that the command: sapbi_page.GetMainTemplateName(); will give me the technical name of the webtemplate although I'm finding it hard to find the command for getting the technical name of the current report.
    Edited by: Paul Thomson on Feb 18, 2010 4:00 PM

  • Custom RH9 WebHelp skin: Problem opening PDF file from custom button

    Hi, I've been troubleshooting and checking forums trying to figure out how to get a PDF file to open from a custom button on my WebHelp skin. It worked for me once upon a time, but I changed something in the document and tried to upload the new version and it has errored out ever since.
    I want to have the ability to open the PDF in a new window from the custom button (called 'Printable PDF' on my skin), so I am using the following custom JavaScript in the 'Click On' field of the the custom button's components: window.open('print_test.pdf','printWindow','menubar=0,resizable=0,width=900,height=500,scr ollbars=1');  I know the script is good because I have the same script for the Support custom button and it works great. The only difference between those scripts is the Support script calls an .html file instead of a PDF and the window names says 'supportWindow' instead of 'printWindow'.
    I've tried deleting and recreating the custom button, changing the JavaScript with a developer's help, generating the help on another machine thinking it was a glitch with my browser (using IE8) or RoboHelp license, and combing the help files numerous times. I've also ensured that the PDF file is stored in the skin and project folders along with the other project files/folders. I've used previous versions of RoboHelp and had no problems attaching a Word document and PDF, so I'm wondering if this is a bug in RH9?? Especially since it worked for me initially. Any assistance and/or fresh ideas are welcomed! Thank you!

    Hello again
    Happy I was able to help.
    MOTW is only present and affects things when you are running content off your local C drive. It's value is in preventing that Yellow Information Bar and all that from appearing when you are using IE. Once you publish content to a server and access it that way you are in a different security zone and MOTW has no influence either way. So there would be no adantage to enabling it before publishing to a server. The only reason you might want to consider enabling it would be if you were copying the WebHelp to everyone's hard drive and having them run it from their hard drives.
    Make sense?
    Hope so... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Open Explorer (windows) from CRM button

    Hi,
    how can i open windows explorer for a specific directory from a CRM button in the Web UI ?
    The CALL_BROWSER function (which works fine in the SAP GUI) will result in a
    500 SAP Internal Server Error
    ERROR: Exception condition "FRONTEND_ERROR"  raised. (termination: RABAX_STATE).
    How to solve my problem ?
    Any suggestions ?
    gr
    Hans

    kelvin_nitk wrote:
    Hi i have a java application running on a unix machine.What does this have to do with the rest of the question?
    On a jsp i need to provide a hyperlink which should open a new window but not the internet explorer window but the windows explorer window of some remote windows machine. How can this be done. Can anybody suggest?You want to execute the Windows Explorer program on somebody's computer from within the browser? Running executables from the browser is a security hazard that the browser tries very hard to prevent. You can't do it without getting the user to install some software into their browser where they agree, in advance, that they will let your site do insecure things.
    In this case most likely an ActiveX component would be the best bet.

  • Opening a PDF from flash button

    Hi guys,
    I have not done this for a while and the old source files I got do not seem to work anymore in flash pro cs5. In the past I used ZINC and flash and these code lines:
    the link to the PDF is loaded from an XML:  " ... url="data\\presentations\\EN_Vienna_Opening_Session\\EN_JShepherd_Past&Present.pdf" ... "
    the link is then stored in a flash variabl:  " ... tPath = contentItems[0].childNodes[2].childNodes[3].attributes.url; ... "
    the PDF is then opened with ZINC with: " ... mdm.System.exec(mdm.Application.path+tPath); ... "
    I know this is not forum to support ZINC, but is there any other way of opening PDF files (so they open Acrobat outside FLash)?
    Thanks,
    Nik C

    Have you already tried adding
    htp.p('Content-Disposition:  attachment; filename...as described here?
    http://download.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/up_dn_files.htm#CIHDDJGF
    Maybe it solves the problem, in case IE is a little bit picky. But I really don't know.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Opening a frame from a button

    Can some one help me figure out how to get a frame to open ferom a button with input. here is the source code where it would be used.
    // Programmer:     AISC AM Programming class
    // Jan. 22, 2004
    // DiseaseSim2 driver to test out People class
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class DiseaseSim2 extends JApplet implements ActionListener
    int i,r,numPeople=100,diameter=10;
    int mx,my;
    int lenghtOfIllness = 15;
    boolean sick;
    Person[] people = new Person[numPeople];
    Rng randn = new Rng();
    Locator datastore = new Locator();
    JButton pressButton = new JButton("Move Folks Around");
    public void init()
    Container con = getContentPane();
    con.setLayout (new FlowLayout());
    con.add(pressButton);
    pressButton.addActionListener(this);
    //CREATE PEOPLE OBJECTS AS AN ARRAY
         for(int i=0;i<numPeople;i++)
    people[i] = new Person(randn.getR(100,400),randn.getR(100,400));
    //SLOW DOWN PROCESS FOR RANDOM NUMBER SEED distinction
    pause(13);
    //MAKE ONE PERSON SICK INITIALLY
    r=randn.getR(1,numPeople);
    people[r].setSick(true);
    public void actionPerformed(ActionEvent e)
    Object source = e.getSource();
    if(source == pressButton)
    repaint();
    public void paint(Graphics gr)
    setBackground(Color.blue);
    pressButton.repaint();
         //ERASE PREVIOUS POSITIONS
    for(i=0;i<numPeople;i++)
    gr.clearRect(people.getx(),people[i].gety(),diameter,diameter);
    //Locator CALL
    datastore.setNumPeople(numPeople);
         datastore.contaminate(people);
    //MOVE PEOPLE
    for(i=0;i<numPeople;i++)
    mx = randn.getR(-100,100);
    my = randn.getR(-100,100);
              people[i].move(mx,my);
              //Make red or green
         sick = people[i].getSick();
         if(sick)
              gr.setColor(Color.red);
    //INCREMENT DAYS SICK
    people[i].countDaySick();
         else
              gr.setColor(Color.green);
         gr.fillOval(people[i].getx(),people[i].gety(),diameter,diameter);
              //MAKE PEOPLE WELL (NOT SICK)
              if(sick && people[i].getDaySick() > lenghtOfIllness)
              people[i].setSick(false);
    people[i].setDaySick(0);
    //REQUIRED METHOD FOR PAUSE
    void pause(int time)
    try{ Thread.sleep(time);}
    catch(InterruptedException e) { }

    &#91;code&#93;public void actionPerformed(ActionEvent e)
        Object source = e.getSource();
        if(source == pressButton)
            JFrame jf = new JFrame("My New Frame!!!");
            jf.setBounds(200,200,200,200);
            jf.setVisible(true);
    }&#91;/code&#93;
    Isn't code easier to read with &#91;code&#93;&#91;/code&#93; blocks around it?

  • Open URL Website from WHEN BUTTON PRESSED

    I need to open an internal website when a button is pressed on Forms 9i, which is the best and simplist way to go about it, using the available inbuilt forms 9i functions.
    Any ideas?????

    Hello,
    Use the Web.Show_Document() built-in.
    Francois

  • How to open a pdf from a button in Flash

    Good Afternoon All,
    I am working in CS4.
    AS 3.
    I am putting together a self-contained Flash presentation. The presentation and all linked images/files will be contained on a flash stick.
    I need to know how to link to a pdf that will be on the flash stick and have it open directly in reader when clicked. I've tried the following AS:
    on (release) {
      getURL("myDoc.pdf", "_blank")
    and it does work, but opens the pdf in a browser window version of reader as opposed to just reader...if that makes sense.
    Any and all help is appreciated.
    THanks.
    Geno.

    Hello,
    <p>Web.show_document calling .htm files saved on disk.....</p>
    Francois

  • Error while trying to open Postinstall.exe in Windows 7

    I am using Cisco Agent Desktop ver 7.6(2) and Windows 7 (32 bit ). While tyring to open Postinstall .exe from  bin folder I get the following error message :
    "The procedure entry point NetApiBufferAllocate could not be located in the dynamic link library netutils.dll ".
    Can some one help with solution or suggest a workaround ?

    Hi Pragati,
    no firewall or antivirus software running on the machine?
    Out of curiosity did you try running CAD as an administrator? 
    Are you trying to run postinstall.exe from this path "c:\program files\cisco\desktop\bin" ?
    According to the CRS comp matrix,
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_compatibility/matrix/crscomtx.pdf
    Supported windows 7 for CAD/CSD/CDA Client OS15:
    Windows 7 (Ultimate, Enterprise, and Professional)
    Windows 7 x64bit with WoW64(Ultimate, Enterprise, Professional )
    Thanks,
    Anand

  • Open "project.app" from "project.osx"

    Hi everyone,
    I created a Director splash using Director MX2004 on WindowsXP. I published my project for Mac ("project.osx"). I also have a seperate project created in Flash CS4 that was published for Mac ("project.app"). Using buddyAPI, I cannot open "project.app" from a button used on "project.osx". Is this even possible to do? I cannot find any type of documentation on this issue...
    thank you in advance for your help.
    Rafael.

    Well.... I figured it out. I changed my delimiter to ":" for Mac (instead of "\"). Also, I was NOT telling it to open "project.app", I was telling it to open "project.osx".
    Rafa.

  • Error while tryin to open Postinstall.exe in windows 7

    I am using Cisco Agent Desktop ver 7.5(1) and Windows 7 (32 bit ). While tyring to open Postinstall .exe from  bin folder I get the following error message :
    "The procedure entry point NetApiBufferAllocate could not be located in the dynamic link library netutils.dll ". Can some one help ?

    Hi,
    In support of the above answer please visit the below links:-
    http://www.cisco.com/en/US/products/sw/custcosw/ps1846/prod_eol_notice0900aecd80607dcc.html
    Also, Also, have a look at this compatibility matrix:
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_compatibility/matrix/crsmatrxeol.pdf
    Hope this helps.
    Tx,
    Shalu

  • Opening an app or exe from a flash projector

    Hi everyone:
    How can I open a exe application from a flash projector. I am
    burning a project to a CD and I need (in AS3) to call out run an
    EXE when the user clicks a button.
    I tried using the code below, but what it does is it prompts
    the user to either run or download. If the user clicks run, the
    prompts them that EXE are dangerous...blah, blah....How can I make
    the EXE run from the CD automatically when the user clicks on the
    "search" button without any notices (like other CDs do)?
    I cant find this anywhere. I know in AS2 you can use
    fscommand, but I read on line that this is not supported anymore.
    thank you for your help.
    Rafael.

    Ok, Flash continues to infuriate me!
    I have removed the 'settings' file parameter from my
    fscommand call to see if my projector would at least launch the
    .exe file, as per the following code . . .
    fscommand("exec", "Ripstation Lite.exe");
    But nothing happened . . .
    I also tried another Windows .exe to see if it would work and
    again it failed to launch anything . . .
    fscommand("exec", "C:\Windows\System32\calc.exe");
    This .swf is wrapped by Zinc to produce a Projector .exe file
    but yet it fails to launch either .exe file! Why is this!?!?

  • Open a report from button click/javascript

    Hi,
    Does anyone know if there is a way to call a report from a button click? Or through javascript? I set the report to Display Results > Link - within the dashboard and then did a view source on it and found the function that calls the report from the hyperlink.
    This is the code:
    return DashboardReportLink('saw.dll?PortalGo&amp;_scid=v-x8QJloqTY&amp;PortalPath=/shared/Plan\x2520Setup\x2520Audit\x2520Tool\x2520/_portal/Plan\x2520Setup\x2520Audit&amp;Page=Historical&amp;NavFromViewID=d\x253adashboard\x257ep\x253acp4tq3p9brn77o6o\x257er\x253a8a2g9nltmkrtra9n&amp;Path=/shared/Plan\x2520Setup\x2520Audit\x2520Tool\x2520/Archive\x2520Reporting/Run\x2520Historical\x2520Report&amp;Action=PromptStart&amp;Options=frdc', 'd:dashboard~p:cp4tq3p9brn77o6o~r:8a2g9nltmkrtra9n','Dashboard&amp;PortalPath=/shared/Plan\x2520Setup\x2520Audit\x2520Tool\x2520/_portal/Plan\x2520Setup\x2520Audit&amp;Page=Historical', false)
    I added this function to the end of my javascript but when i click the button it just opens a blank page with
    http://la820119:9704/analytics/saw.dll?PortalGo
    as the url.
    Any help would be appreciated

    Hi,
    So i have been trying out a few things and the following url works to open the default view of the request:
    window.location='saw.dll?Go&Path=/shared/Plan Setup Audit Tool /Archive Reporting/Run Historical Report&Options=dfr';
    I just replaced 'Dashboard' in the code provided with the 'Go' and it started to work :)
    What i need to do though is have this work for the session variables set up on the dashboard. I have 7 prompts which a user can use to filter a request. Each is assigned to a session variable that is used to call a stored procedure. Originally i thought that by setting the variables and then calling the report from the url that the session variable values i set would be used in the request. What seems to be happening is that the variables get set and then, on calling the url, they are reset to the defaults and the report is run.
    Any help in solving this would be very much appreciated
    Una

Maybe you are looking for

  • Brand new imac i5 21.5" wifi says "no hardware installed"

    I just bought a brand new imac i5 21.5 inches running osx 10.8.2 and minutes after having everything working, wifi stopped working and gave me a "no hardware installed" message on the wifi icon on the top right corner of my tool bar... I'm extremelly

  • Max Hard Drive Size....?

    recently picked up an emac, after holding out for a 1.42ghz model anyway, already added a DVD burner and about to add some RAM (currently has 768mb) the current hard drive is only 80gb - plus its having some issues... after some slow down in using an

  • Calling FPM application from another FPM application

    Hello Experts, I've created 2 FPM configurations, one displays the list of POs created by the user through a List UIBB and the other displays the Header and Item of the PO when selected. Scenario is that when I should click on the PO (which is a link

  • HOST PJC with parameters

    Hello, Does HOST PJC (OTN samples) support parameters ? It is working well on client, but I have problem with parameters, and the same time it is working and it can run application. For example I need run some application from client site : "C:\Appli

  • How to Migrate 10g sso integrate with EBS 11.5.10.2  to 11g OAM(oracle access manager) with R12.1.3

    How to Migrate 10g sso integrated with EBS 11.5.10.2  to 11g OAM(oracle access manager) with R12.1.3 Os:Linux 64 bit database:11.2.0.3 Rac