Opening external files directly?(without prompting)

Hello,
I'm making a DVD menu in flash. It will open several kinds of files. .mov .avi . ppt . pdf etc.
But i want to open those files directly, without prompting. When i try to open non web files, a popup window appears, as shown in this screenshot: http://img32.imageshack.us/img32/5188/testtemp.jpg
Can i remove it?
I tryied to open the ppt file in the example with this ActionScript 2.0 code:
on(release)
getURL("estudo_01.pptx");
Regards,
Felipe

If you're publishing an executable you need to look into the FSCommand functionality and use it to "run" an exec command against your files. Using getURL prompts the system to open the file using the browser, and naturally the browser wants to download the file first.
Alternatively you can publish (if you have CS4 or up) a native executable using AIR 2.5 that can run simple load and execute the file but that's most likely more complex than just using FSCommand in your current project.
Here are a couple of links to help you out with that:
http://www.actionscript.org/forums/showthread.php3?t=18405
http://www.northcode.com/blog.php/2007/08/14/FSCommand-EXEC-is-Broken-in-Flash-CS3

Similar Messages

  • Why Firefox 3.6- continues openning PDF files directly without a prompt???

    When I access a direct link to a PDF file, the browser loads the file without asking if I really need open it using Firefox.
    The purpose was to download and save the file to my HD and not to visualize it on Firefox browser.
    People have been reporting this issue since YEARS AGO and until today Mozilla never treated that issue as a vulnerability.

    Try the Firefox Portable support forum. <br />
    http://portableapps.com/forums/support/firefox_portable

  • Opening External Files using SWF

    Hi all,
    Is there a way to open external files using swf? I have gone
    through a number of forums and all seem to tell me to open with a
    window projector. my problem is, I need to embed the swf into a
    html to be viewed online... So I need to do it in swf format.
    Any ideas?

    When you say 'external files' I presume you mean local files
    on the users hard drive.
    If that's true:
    When you say 'open' what do you mean? It could mean to open
    and load a text file/xml file or another swf in flash or it could
    mean to launch a document in its native application e.g. .doc
    launches word etc. Flash projectors can do the first thing, but not
    the second thing. And you need to know the path of the file because
    I don't believe you can retreive it from the filereference browsing
    support. 3rd party tools are necessary to really add a lot of file
    system support to projector applications, and then you can do both
    things mentioned here, without the limitations of flash player
    security which is only slightly reduced with regular projector
    files.
    The filereference class in flash is primarily for
    upload/download support. You can't 'open' local files with it.
    There is, to my current knowledge, no way you can do that with
    flash in a html page directly.
    The only way I can think that it might be possible (untested)
    would be to have a separate local MS Office (or any other host for
    a flash activex that gives filesystem access) with some embedded
    flash in a document that (perhaps) could talk via local connection
    with your html page content and which would in turn talk to its VBA
    host to request local file system activity. I don't know if this
    would work because I've not used localconnection, but perhaps it
    might.

  • Can I open Postscript Files directly in a browser?

    Hi all,
    the Acrobat plugin allows me to open pdf files directly in a browser. Acrobat can convert Postscript files to pdfs and then display them- but can I just get this in one step and display ps files directly in my browser?
    We are using an electronic logbook that contains hundreds of images in .ps format and it would be extremely helpful not to open an external program all the time.
    Cheers,
    Osteph

    No Adobe software does this, and I'm not aware of any other software that provides a PostScript browser plug-in.
    You could use the watched folder in Distiller to convert a folder full of PS files to PDF if that helps.

  • Good afternoon ladies and gentlemen!   My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In t

    Good afternoon ladies and gentlemen!
    My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In the settings Adobe Bridge - in "open RAW-files by double-clicking in Adobe Camera Raw» box is checked. When you try any changes in the settings Adobe Bridge system displays a message:
    Bridge's parent application is not active. Bridge requires that a qualifying product has been launched at least once to enable this feature.
    The entire line of Adobe products on my computer updated to the latest updates. Previously, a family of products Adobe Photoshop on your computer is not set. Computer - PC, Windows 7 Enterprises.

    <moved from Adobe Creative Cloud to Bridge General Discussion>

  • Hyperlink in WebI document to open external files

    Hi all,
    I'm creating a WebI 3.0 document in Infoview and would like to know if it is possible to create a hyperlink on a drill down WebI report which will then open external file formats like PDF, TIFF, JPEG or etc. The external files reside outside BOE and they're in another system in DocuFlo.
    If yes, how can we do so? I've tried OpenDoc but got to realize that it doesn't work for external files. Is there a workaround for this?
    Hope my question is not too confusing. Thanks in advance.

    Yes Kuldeep, I could.
    But the situation that I have now is - the object that is carrying the data will open the relevant external document stored on the server.
    e.g. [State] is a dimension in my universe and the data could be US, UK and NY.
    When I activate the drill and click on US, it should open the US document. (http://servername/US.pdf)
    When I click on UK, it should open the UK document (http://servername/UK.pdf)
    My problem now is, when I click on any of the states, it opens the same document (http://servername/US.pdf). I'm running out of idea and solution
    Many many Cheers~

  • Open external files

    I`ve been doing some research for a while, but haven`t found any solution for opening external files in my java app.
    Short about my problem:
    I`m giving users of the program the opportuninty to upload different kind of files. When a file is uploaded a label with the filename appears in the screen. When they click on the label I want my program to launch the correct program... Acrobat Reader for .PDF, Paint for jpg,gif.... aso.
    I found something similar that launch the cmd.exe, but it isn`t a general solution that opens all kinds of files...
    http://forum.java.sun.com/thread.jspa?threadID=625707&messageID=3569795
    As mentioned above I haven`t, so far, found a reliable solution for the problem, and I would have apprecated any kind of help.
    YS.
    Kaare

    Pre 1.6:
    JDIC
    org.jdesktop.jdic.desktop.Desktop.open(java.io.File)
    Java 6
    java.awt.Desktop.open(java.io.File)

  • Opening external files

    Hello, im starting in flash, and i want to open external
    files with buttons, for a cd menu that i'm creating. I have created
    an fscommand folder and a launcher.bat that execute the file that i
    want when i press the button. But what i really want is to execut a
    file whatever it name is. For example i want to execute a .pdf file
    whitout calling it by the name to give me the chance to use de cd
    menu with various cds. Can anyoune help me with the code to the
    launcher.bat file? I have tryed start *.pdf but it didn't work.
    Thank you.

    does it have to be through a url, can't it be trough a path,
    like C:\file.rar or something like that? it's because the computer
    where i'm going to do the presentation does not have internet, so
    that way won't help me much

  • How can I make chromium to open PDF files directly in okular?

    Hi all,
    I switched from firefox to chromium and there is one thing that I would like to have solved: At the moment, the only way to open PDF files from the web is to first save them locally and open them afterwards from the chromium statusbar or from the chromium downloads tab (chrome://downloads/). Is there a way to configure chromium to open PDF files directly from a remote URL in okular?
    Thanks in advance & kind regards,
    jamesbond007.

    Yes, I would like to know that as well. Here it tries to open pdf files with the adobe plugin but fails (grey window). It's especially annoying with javascript links that do not allow to use "save as".
    David

  • Open  a file directly!!!!!!!!!!

    Hi,
    i obtain the link to a file that i need to open. Now, i want to open the file directly. There is some method that can get the link and open it?? I will appreciate some ideas.
    Thanks
    Michel

    Hi Michel,
    Did you get any solution to this error=193 ?? I too am facing the same problem when I try execute a command from apache ant build script. Following is the command console output,
    Execute failed: java.io.IOException: CreatePro
    cess: c:\ATG\Dynamo5.1.1\home\bin\runDarina error=193
    --- Nested Exception ---
    java.io.IOException: CreateProcess: c:\ATG\Dynamo5.1.1\home\bin\runDarina error=
    193
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:551)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Exec
    ute.java:509)
    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329)
    at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:228)
    at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:162)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.Project.executeTargets(Project.java:510)
    at org.apache.tools.ant.Main.runBuild(Main.java:421)
    at org.apache.tools.ant.Main.main(Main.java:149)
    Thanks,
    - Venkatesh

  • Opening external files in Director Projector... *URGENT*

    Hi, this should be really basic, but I just can't work it
    out...
    I want to open external files (but kept in the same root
    directory as my projector file) from a mouse/button click in my
    projector.
    I don't know any Lingo, but I am assuming it should be pretty
    straight forward... I need to launch a .pdf, a .html file (I can do
    this with the goto URL behaviour actually), and a .exe.
    Is there not a preset behaviour for this somewhere?
    Your help is much appreciated.

    > Are we sure that I am doing this right?
    What about the following - copy it into your cast as a
    behavior and
    attach it to all your buttons, one at a time, choosing the
    file you want
    to open when you click each button. You might need to remove
    previous
    code attempts from your buttons. Be sure to include FileXtra4
    with your
    projector - (Menu:) Modify -> Movie -> Xtras..., click
    Add, locate the
    xtra and add it to the list displayed; or simply place it in
    a folder
    named 'Xtras' alongside your projector
    property myFile
    on getPropertyDescriptionList
    fx4 = xtra("FileXtra4").new()
    tRange = fx4.fx_FolderToList( _movie.path )
    fx4 = VOID
    return [#myFile: [#comment: "File to open:", #format:
    #string,
    #default: tRange[1], #range: tRange]]
    end
    on mouseUp me
    tDelimiter = the itemDelimiter
    the itemDelimiter = "."
    tType = the last item of myFile
    the itemDelimiter = tDelimiter
    fx4 = xtra("FileXtra4").new()
    if tType = "exe" then
    OK = fx4.fx_FileRunApp( _movie.path & myFile )
    else
    OK = fx4.fx_FileOpenDocument( _movie.path & myFile )
    end if
    if ( OK <> 1 ) then
    alert "Error opening file:" && myFile
    &RETURN& fx4.fx_ErrorString()
    end if
    fx4 = VOID
    end

  • How come I can no longer open a file direct from Lightroom 4 to PS 5.1??

    I use to be able to open a RAW file directly from Lightroom to PS, make my edits and then have the edited file resaved to Lightroom but no longer. Why?

    Hi Ryan,
    Would suggest you to try the suggestions mentioned here. Lightroom: Edit In External Editor does not work/function
    Also, make sure your Lightroom and Photoshop both are up-to-date.
    Cheers!
    ~ Arpit

  • System exec, get orders to the opened external file!!

    Hi,
    I would like to learm to use the system exec, i call the external soft and open, but i would like, with commands, get the soft open the file i put and do any success and close the soft , all controlater from lb.
    I would like to know, How i can say to the program, open any file or save any file????.
    I need to know the commands...
    Any link or example file....
    Regards, Fonsi.

    Hi Dennis!, Thanks for the reply...
    The program is very easy...
    One is icprog to program pic. Right now i can execute it with the system exec.vi... but i would like directly the lb order open the file , in the program is control+o and program all is F5, i dont need more, but maybe would be interesting activex...
    I attached the icprog and you can see if i could use it with the system exec or need more advanced system like activex, although i dont know anything about the activex.
    The other soft is MPASMWIN.EXE, i only need open the browse the file and asemble and close...
    Tell me if i could use the system exec for that or the activeX, and If to get it ant activeX is easy, since i am very loss on activeX.
    Regards,Fonsi.
    Attachments:
    icprog1.zip ‏871 KB

  • How to open external files in a Java stored procedure?

    Hi y'all,
    I'm trying to open an external text file from a Java stored procedure. The java sp has been successfully loaded, resolved, published, etc. in Oracle. I'm using the following statement to try to open the file (enclosed in a try/catch block):
    BufferedReader fileObj = new BufferedReader(new FileReader("fileName.txt"));
    I'm getting a file not found error. Where is Oracle looking (i.e., what directory)?
    Your help is greatly appreciated,
    Gary

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Gary Nool ([email protected]):
    Hi y'all,
    I'm trying to open an external text file from a Java stored procedure. The java sp has been successfully loaded, resolved, published, etc. in Oracle. I'm using the following statement to try to open the file (enclosed in a try/catch block):
    BufferedReader fileObj = new BufferedReader(new FileReader("fileName.txt"));
    I'm getting a file not found error. Where is Oracle looking (i.e., what directory)?
    Your help is greatly appreciated,
    Gary<HR></BLOCKQUOTE>
    Hi Gary,
    you must use a "database directory", e.g:
    SQL>create directory WORKING_DIR as '/home2/common/';
    SQL> select * from all_directories;
    OWNER DIRECTORY_NAME
    DIRECTORY_PATH
    SYS WORKING_DIR
    /home2/common/
    Gert

  • Openeing external files with defualt open settings

    hi can NE one tell me hwo to open an external file with it's defualt viewer
    e.g. open a .mdb file in access or a .txt file in notepad
    thnx
    help would be much apreciated

    hi,
    this is what i use on a win2000 platform:
    try {
    Runtime rt = Runtime.getRuntime();
    Process p = rt.exec("cmd /c start yourFile.ext");
    } catch(Exception e) {
    System.out.println(e);
    it is possible that a full path of the file is required.
    good luck

Maybe you are looking for