Flash Actionscript to Open a FILE not URL

Hello everyone,
I was wondering what the actionscript is to open a file in a
new window?
getURL opens a URL I want to open a file, not a URL, I cannot
get it to work no matter what I do. Someone please help me.
Anything at all would be greatly appreciated.
Also, I need this script to be done in javascript.......
Thanks
Doug

i think the user "system" is used to connect to the shared folder on the other system.
this will not work.
you may configure the OracleAScontrol-Service to logon with an user-account exists on both machines.

Similar Messages

  • AS2, Flash 8 and opening pdf files

    Hi all,
    I am using Flash 8, Actionscript 2, to open pdf files from a
    projector.
    Everything is fine if I use 'FreeMX' and the computer has
    Acrobat 5, 6, 7 installed.
    But it fails to work if the computer has Adobe Reader 8
    installed - the pdf document does not open.
    Does anyone know of this and whether there is a workround?
    It's kinda urgent - the client is breathing down my neck here:)
    Julian

    I think I may have resolved my problem - it looks like Adobe
    Reader 8 uses different code to parse its command line than before.
    The path and file name I used in my code had '/' as the path
    separator, which worked fine with Acrobat/Reader 6 and 7. But (at
    least here) not with Adobe Reader 8 - instead I had to convert to
    '\' to make it work.
    Julian

  • How do I make Flash use the original Photoshop file, not a .png one?

    Hi, this might be kind of a basic question/problem but I can't seem get Google to help me. Since I've recently started out with Flash, I guess I just missed some newbie thing out, still very greatful for help though, since this'll soon be causing a brain hemorrage...
    Ok, here goes: 
    I'd like to draw key frames in Flash, just simple drawings/skelettons using the pen tool, basically to create the movement itself. After that, I want to export the frames that I drew as images to Photoshop in order to apply texture and colour, and then put them back into Flash again, without tampering with the Flash doc I've already created, since the animation is already done. I want the file(s) that I'm working with to remain the same files throughout the process, from Flash to Photoshop and back to Flash again, like the way InDesign works. Is this even possible?
    If this isn't possible at all, I guess the alternative is to draw in Photoshop and then import the drawings into Flash, put them in order and then make any eventual changes after you've created the animation in Flash, this is less smooth though still possible. But here emerges (sort of) the same problem:
    When I import images from Photoshop, create animation out of them, and then realize I have to make some changes in the original PS pic file I head back to PS to correct it. But it just doesn't work the way I want it to... If I modify the pic file in PS, then use the "update" alternative in Flash Library, Flash just tells me that the file can't be found, and does not update the image. If I choose the "edit in PS"-alternative from right clicking on a symbol that is in the library, the file opens as a .png file in PS, not as my original file! It seems to me that Flash is creating its own library, not using the existing document. Is there anyway to go around this? How do I make Flash use my PS file which allows me to change it as much as I want (as with InDesign)?
    This is driving me crazy, what I'm working on is supposed to be full HD, I can't use a freaking .png file... Gah!
    Very many Thanks in advance!
    (If anyone has any suggestion for alternative software, that's also very welcome!)

    If you start the artwork in Flash, you are starting with a vector drawing. If you export this art as a .png so that you can edit it in Photoshop, you will be translating the artwork to a bitmap image at a specific resolution. When you edit this .png in Photoshop, you can save it, as a .png, and then import that .png into Flash.
    After you import the .png, place it on the stage in a new layer. Position the new artwork over the old artwork. Then throw away the original artwork. Now, when you want to edit the artwork, go to the original file in the movie's Library and select Edit with Photoshop. When you save the file in Photoshop, the updated file will appear in the Flash movie.
    If you have Illustrator, you can export your original artwork as an Illustrator file. Then you can open this file in Illustrator, edit it, and save it. Then, as above, import the .ai file into Flash and toss out the original. Now you can edit the original file through the Library in your Flash movie.
    Alternately, you could start by creating the artwork in either Photoshop or Illustrator. Then import that art into Flash. Now you have a link to the editor for either file in your Library. This may simplify things.
    Working with Photoshop and/or .png files will give you a larger finished file than working with Illustrator files. In either case the finished resolution of the Flash movie will be the computer's screen resolution, 72 ppi.

  • Flash can't open a file...?

    Any ideas on how to get a AS3 file to open that won't open no matter what I try?
    I was attempting to trouble-shoot some output errors I was getting while testing my movie. At one point, I had the bright idea of changing the name of the file's root folder. Once I did that, my file couldn't recognize its "home", understandably.
    So, it asked me to save as (or "replace"?) the file, and I did. Flash then crashed, and I haven't been able to open the file since.
    Any help would be much appreciated. It's a web site for a friend, and he's anxious to get it up and running.
    Thanks.

    Hi!
    I haven't looked at this thread in a while, as I abandoned trying to fix the problem and simply re-created my .fla file.
    What happened - if I can remember correctly (it happened ina  flurry of activity) was that I was getting scripting errors. I was wondering if there was a problem with Flash detecting some of my xml files in the root folder.
    So, I changed the name of my .fla file IN the root folder. Flash then gave me a warnign that the file could not be found, and if I wanted to replace it with the new file name.... which I clicked "yes".... Flash then spun around for a few seconds and then crashed.
    When I went back to the file, it would not open. That's the best of my recollections of what happened.
    I use CS5, and I am on a Mac.
    Thanks.

  • Any SW app in Lion: How can I just open 1 file, & not the last 3?

    Scenario (This happens in many software apps, and it has only started happening since I upgraded to Lion): 
    I'm in a Finder window. 
    I double-click a document to open it--it can be .txt, .doc, .pdf, .xls, or .ppt, to name a few.
    And whatever application opens, it not only opens the file I want opened, but the last 3 or 5 of the same type of document that I opened previously, and I have to wait until they all load, and then close out of doc 5, 4, 3, and 2, so I can get back to viewing or editing document 1. 
    How do I turn this off?  It's got to be some system setting (and not on the individual application level because the behavior is consistent regardless of the app I'm in), but I can't find where to do it from.
    Let me know if you need more info, but any help is appreciated.  I keep editing the wrong documents, and they are my resumes I'm sending off for a job hunt!
    Thanks in advance.

    Thanks for the help and amusement, baltwo.  I usually like Apple's way of thinking when it comes to user experience improvements, but this one smells like it's from the Microsoft playbook.
    As an end user I'm always wary of making command-line changes, but the second URL you provided led me to the UI-based solution I was looking for:
    ...disable the Resume and App Restore feature completely in Mac OS X 10.7:
    Launch System Preferences and click on the “General” icon
    At the bottom of the “Number of recent items” list, uncheck the checkbox next to “Restore windows when quitting and re-opening apps”
    Full URL:
    http://osxdaily.com/2011/07/18/disable-mac-os-x-lion-resume-window-restore/
    I tested this with Word docs and with PDFs in Preview and both passed the test.  If applications revert and start ignoring that checkbox, I will try the command-line options some morning with a few cups of coffee in me.
    Thanks again.

  • Failed to Open Document (file not 0 bytes) - Suggested resolution!

    (Posting this to assist others with same problem - I have actually resolved for me - please note Adobe developers for suggested improvement for work around… there is still a bug in there somewhere with corrupt files)
    Using Flash Pro CS6 (v 12.0.0.481) on Mac OSX 7.5
    Problem:
    Tried to open a file that I was working on last night (after MAC crashed and untidy shut down, but had saved file beforehand) this morning and got the error message "Failed to open document". The file has 10 MB of size (not 0 bit like other crashes that were not recoverable!).
    Resolution (work around): 
    Managed to recover the file using a combo of ideas I found on the web.
    First things first... check the file size, if the file size is 0, your pretty much stuffed since the file is empty, sorry. If however the file is populated, then this is what I did:
    1) copied the file and saved it to a new location (so working on a duplicate)
    2) downloaded a rar file tool (Winrar or I used The Unarchiver for Mac)
    3) Change the name of the file extension of that duplicate to .rar (you will get a warning message, accept it)
    4) Double click on the .rar file to open it using the .rar extraction ap you selected - you will be asked to say where you want that file to be extracted to - I just created a new folder on my desktop. In the process of extracting that file (believe it or not it is stored up as many parts), I got error messages that 3 images that were used in the file were corrupted. I selected to continue and ignore that. I made note of the corrupted files set.
    5) Locate the problem files (mine were in a folder called "Library" in the extracted file set) and delete those images *NOTE: you should have these copied elsewhere since they are brought into flash generally. BUT you might also like to skip this step and try the step below first - I didn't - it could be that you don't actually need to delete those images. If the step below doesn't work, then come back here and try again)
    6) In the new extracted file directory, there should be the same file name you want, just not as .fla but as a .xfl version. This means an uncompressed version (I have no idea what that really means) - double click on that same named file.xfl
    7) This .xfl file then opened for me in Flash
    8) Save that file again as .fla, add back any images that were needed and corrupted - mine were not needed so I just left them.
    I love working with flash but the instability is really a problem - I pretty much have to save a working file to another location and then try to reopen that before closing the original or shutting down / restarting.  This time I was lucky (only 1 hour of research and trial and error to recover) but previously I have had 0 byte files and had no choice but to start again (since time machine failed to save earlier versions).
    Suggested resolution adobe developers:
    It would be very useful if Flash told you which files were corrupted and then gave you an option to open the document with corrupted files removed as a copied version - at least this way we could work with most of the file to rebuild.

    This problem has been around for years and the solution you suggest is only the second best in my opinion.
    The best would be to have a Failsafe like many other products/companies already have going: Corel, Autodesk, Microsoft etc.:
    If their programs stop working they alert you to the fact and give you the opportunity to safe a copy of the file under a different name.
    Can`t be Rocket Science. If you can`t make your products work reliable, at least come up with manageable solutions.
    There is at least one day a month were I would be really lost without the ability of our company to rewind to the xfl version of yesterday.
    I can`t imagine what someone that works as a freelancer and hasn`t got the redundancy of companies has to go through if Flash burns him/her on a regular basis.

  • Error when opening a file "not compatible with this version"

    I am getting an error that says that it cannot open the file with this version of Photoshop, yet it was created with that version before my computer died and I had to reinstall everything.  Now I cannot open this file with Photoshop CS6 64 bit.

    What you can try..
    Create a blank doucument in photoshop .
    Try to place the file on that by Goint to File -> Place .
    It works if its not a multi layered  file.
    - Vishal

  • How can I stop Firefox from opening (to "File Not Found") when opening my Opera browser?

    Ever since I installed Opera 10.61 on my new computer (Windows 7 Ultimate operating system), whenever I open Opera, Firefox opens one second later with the following error message:
    '''File not found '''
    Firefox can't find the file at /C:/Users/Nasheed/AppData/Local/Opera/Opera/temporary_downloads/client-en.xml.
    * Check the file name for capitalization or other typing errors.
    * Check to see if the file was moved, renamed or deleted.
    TRY AGAIN.
    <nowiki>****************************************************</nowiki><br />
    This happens EVERY TIME I OPEN THE OPERA BROWSER. How can I stop this from happening? I'm stumped.
    [EXTRA INFO - I was unable to enable Firefox to access my previous profile on the new computer (despite putting the old profile in the appropriate Mozilla Firefox folder. So, there are now two profiles in that location.
    After reading the answer to another forum member's question, I attempted to resolve the problem using Profile Manager, but I was unable to locate the Profile Manager. The Windows "Search" feature is not enabled on my new computer (nor can it be enabled from the Customize Start Menu options).]

    Thank you for your response, Cor-el.
    I had Opera set as my default browser since this began happening. I changed my default browser back to Firefox mainly because having Firefox open one or two seconds every time I open Opera was/is such a nuisance.
    I believe this problem began because I attempted to manually transfer the files from my old computer to the new one (via the backed up files in my external drive). I was unfamiliar with Windows 7 when I did this. Microsoft changed the file set up from what I had been used to in Windows XP. I used XP for six years before being exposed to Windows 7 (I never had Vista).
    I'm almost sure this problem has something to do with where I placed the application data when I was trying to reestablish the program set up on the new computer.

  • I want to open online files, not download everything I click.

    This question applies to both Safari & Firefox.
    I search for online files to help me with school, could be PDF, PowerPoint, etc.
    When I click on a file it just downloads them. I want to open 1st and see if I even want the thing.
    With Windows, it would open and save in a temporary folder and I could save the file if I liked it. With my new Mac, it's just saving everything I click on then I have to go delete it if I didn't like it.
    Any settings to fix? Safari and Firefox doing this.
    I do have MS Office for Mac so when I click on these Power Points I do have the right programs.
    Thanks in advance.
    Message was edited by: medrep

    I tried the right click but it just opened a new window to save the file.
    There has got to be a way to open the file online to a temp without saving it.
    Just to clarify, with Windows if I found say a PDF I was interested in but not sure I wanted to download, my choices with Windows would be Open file using Adobe Reader or Save File.
    I could open it without saving it, and if I didn't like the file it wouldn't be saved on my hard drive. (It would in a temp folder, but that got automatically deleted.)
    With the Mac, I have to download everything I click on and then open the file and then if I don't like it, delete it.

  • Photoshop CC 2014 won't open any files, not even create new ones

    I have a freshly installed version of Photoshop CC 2014 and it just won't open any single file no matter what I do.  I also have Illustrator CC 2014 installed for the past week, and it is behaving fine, and even opening up the files that Photoshop won't open (jpg, psd, png, etc.).
    I've tried uninstalling completely, and reinstalling it, and it still won't open any files.  Basically, nothing happens after I click the "Open" button from the Open File dialog window.
    I've also try resetting my user preferences using this video tutorial, and it also didn't resolve the problem: http://helpx.adobe.com/photoshop/kb/preference-file-names-locations-photoshop.html
    Has anyone else experienced this or can give information on how to resolve it?
    Thanks!

    Well, I finally got it to work through trial and error.  Here were the steps that I used to get it to work:
    1) Make sure that you are not behind any firewall/VPN/etc, just a direct connection to the internet (if possible).  I use Adobe for my work laptop, and I was informed that this could potentially be an issue during installation processes.
    2) Uninstall Photoshop via the Creative Cloud application interface.
    3) Right-click on the Creative Cloud icon from the system tray and "Quit" (it was automatically started for me from a previous bootup)
    4) Right-click on the Creative Cloud desktop icon and choose "Run As Administrator"
    5) Re-install Photoshop
    After performing the above steps, I can now open any png/jpg/gif/etc file, as well as start a new file.  I have no clue why it works or if my steps played any role in fixing it, but I thought it was worth sharing for others to try if they encounter a similar issue.  It could be either the firewall I was behind, or the permissions (I don't think Creative Cloud boots up running as administrator).  But I am in no position to say I know the exact resolution.  Hope this helps!

  • Unable to open PNG files "not the right kind of document"

    I just noticed this error today when I tried to open several PNG files, some of which I created with Photoshop: "Could not complete your request because it is not the right kind of document".
    I'm running Photoshop 9.0.2 on Windows XP Pro. Opening other file types (gif, jpg) works fine. I also noticed that in the save as dialog box that PNG is not a listed file type.

    PNG certainly is listed as a file type. I have saved many of them using Save As, many quite recently, using PSCS3; and I just did a couple in PSCS2. Here's the Save As box in PSCS2 with an 8-bit flattened image being saved as PNG:
    <br />
    <a href="http://www.pixentral.com/show.php?picture=1PSNAANh2tPbX1MMDLjmQLbHFqm91" /></a>
    <img alt="Picture hosted by Pixentral" src="http://www.pixentral.com/hosted/1PSNAANh2tPbX1MMDLjmQLbHFqm91_thumb.png" border="0" />
    <br />And here's the Save As box in CS2 with a 16-bit layered image being saved as PNG:
    <br />
    <a href="http://www.pixentral.com/show.php?picture=145dp6qArIbj9k8JG23J1jGojM4imR1" /></a>
    <img alt="Picture hosted by Pixentral" src="http://www.pixentral.com/hosted/145dp6qArIbj9k8JG23J1jGojM4imR1_thumb.png" border="0" />
    <br />
    <br />Both PNG images opened properly. The second one opened as 16-bit, flattened (layers aren't preserved in PNG).
    <br />
    <br />And both of the above images were Saved As PNG from PSCS2, also.

  • Opening PDF Files Not Working Sporadically

    I inherited a VB.Net Windows application. It uses MDI Parent and MDI Child forms. Two of the child forms have viewers that open PDF files. In both cases the child forms are launched and the PDF file opened when the user selects a menu item. My application has references to four Adobe dlls, AcroPDF.dll, adodb.dll, AxInterop.AcroPDFLib.dll, and Interop.AcroPDFLib.dll. In both cases when the menu item for the desired document is selected (this raises a button click event) a very simple line of code " AxAcroPDF1.src = [path]\ [name of PDF file] " is executed. When executed from a CD, the application works fine on the development machine and on some user workstations, but on at least one workstation when the user selects the menu item that open the PDF file they get an unhandled exception error. The error message is quite lengthy, so I will only include excerpts. "0x8000405 Error HRESULT E_FAIL has been returned from a call to a COM component" is the meat of the error message.
    The user's machine on which the error occurs has Adobe Acrobat and Adobe Distiller, as does another user workstation on which the application runs fine. Windows Vista is the standard, so I do not believe it is being affected by the version of Windows. All of our workstations are supposed to be imaged using the same master; however individual users can have other software installed as needed. We do have some stringent security requirements and they vary depending on the network the particular user is on. I do not think this would have any affect on a standalone Windows application running from a CD, however I am not certain that is the case.
    Any answers, suggestions, thoughts, etc. on why this error would occur on some machines but not others will be greatly appreciated. There is so much on the net that my Google searches return it is difficult to filter through all of it. The error message in question can apparently be generated many ways and so far I have not found anything that is specific to the error occurring when attempting to open a PDF file within a Windows application.

    The user's workstation on which the application throws an error has Adobe Acrobat 9 Pro as does one of the other workstations on which the application runs correctly. I verified this with the user, so we can eliminate the version of the software as being the culprit. Please express any thoughts or ask any questions you feel are pertinent. I would like to get to the bottom of this and will gladly do whatever will help other posters help me. Thanks.

  • Open Dataset :  File Not Created In The Directory

    Hi Guru's,
    I have a small question, I try  trough my code  to create a file but when I use the "open dataset" nothing produces. I have no errors and in the debug mode the sy-subrc is always to "0".
    w_locdrive    = 'C:\RECON_SUP\'.
    w_rec         = '5499728464709 '.     "AO
    w_mess        = 'RECON_SUP'.
    SELECT /bic/ricr1_003  /bic/ricr1_061
           /bic/ricr1_010 /bic/ricr1_091 /bic/rikr2_001
          INTO CORRESPONDING FIELDS OF TABLE i_2006 FROM /bic/aro_r200600.
    CONCATENATE w_mess '.' w_send '.' w_rec '.' sy-datum sy-uzeit '.txt' INTO w_name.
    CONCATENATE w_locdrive w_name INTO w_path.
    IF i_2006[] IS NOT INITIAL.
      SORT i_2006 BY /bic/ricr1_003.
    *Open my file.
      OPEN DATASET w_path FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    * Put all records in the file output.
      LOOP AT i_2006 INTO wa_2006.
        w_rikr2_001 = wa_2006-/bic/rikr2_001. " Convert the Volume in char Field.
        CONCATENATE wa_2006-/bic/ricr1_003 ';' wa_2006-/bic/ricr1_061 ';' wa_2006-/bic/ricr1_010 ';'
                    wa_2006-/bic/ricr1_091 ';' w_rikr2_001
                    INTO  w_string.
        IF sy-subrc = 0.
          TRANSFER w_string TO w_path.
          CLEAR w_string.
        ENDIF.
      ENDLOOP.
    Thank you in advance for your help,
    Mohamed.

    Can you try like this
    OPEN DATASET w_path FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
        IF sy-subrc = 0."<---Add here
    * Put all records in the file output.
      LOOP AT i_2006 INTO wa_2006.
        w_rikr2_001 = wa_2006-/bic/rikr2_001. " Convert the Volume in char Field.
        CONCATENATE wa_2006-/bic/ricr1_003 ';' wa_2006-/bic/ricr1_061 ';' wa_2006-/bic/ricr1_010 ';'
                    wa_2006-/bic/ricr1_091 ';' w_rikr2_001
                    INTO  w_string.
        IF sy-subrc = 0. "<---Remove here
          TRANSFER w_string TO w_path.
          CLEAR w_string.
        ENDIF."<---Remove here
      ENDLOOP.
    endif."<---Add here

  • Cannot open PDF-files, "not a right win32 program"

    All my PDF-files have the wrong logo. Instead of the PDF logo the have a small Excel logo down in the right corner.
    If I try to open it is says it is not a right win32 program. I need help with this.
    I downloaded Adobe Reader X today and it did not help. In Reader X there is an option for open files and there it is no problem. All open pdf-files have the right logo in there but the same file anyplace else have abovementioned problem and can not open.

    I opened one of the PDF files in notepad and these are the first couple lines:
    瀖ᕁމጿ␠씴豈䧉筩롈ꓳ劏ꎯ僪뚢頟뻏즏谀㿃夑퀉꟠鲲쮂⫉笿褡밤籞冁탁ӓ轸뿐笼ⵆ횰䄌ඁ淥ة寨闤⬅鳦팥링빨嬄敎უ婏㣴ً鮓ࣿꢚ㑀녲莒඼ိȆ䕇纍쉉籶뺝갞伐쮠᥏﯒넉釖ȓ겴☧ ἣ秵駻�䣞띰㖔流羀籔朼敨ꢉ糶당⬤俉膇䄐惡�ಹꛖ鍡恡ⱶᶜ�堷﹑ﱌ僿걄뎔æ䋷귪⛢⫐䅪䉙὿烶ꖆ႟ᗔ瘞狻틫儩六잶覱낵듘盋崾�ᦜ㺆௹뻹燴ឋ騙쬄ꏿ뽒煹�钼뇲腎稦ꃲ㈃沒ꔈ뺐뛽첑䘶畱䍣紻 ⁜哠鳾

  • Adobe flash error when opening a file is closed and leaves open the file

    the problem is this I try to open a file FlippingBook Publication and try to open it immediately closes and says there are problems with adobe flash player 10.1 r102 you uninstall and reinstall the latest version adobe the problem continues, anyone know how to fix it?

    adobe flash player 10.1 r102
    Is there a specific reason you're using a five-year-old Flash Player version?

Maybe you are looking for