Error opening URL-local files-mac

I'm using a var and an Array code on an empty move clip. The code is set on an "Actions" layer. The code checks good. All files are on my desktop.
When I test movie I get 'Error opening URL 'file:///Andrea/Users/user/Desktop/BosigerWk6/swfs/one.swf'
I'm on Mac running CS3. Flash setting is set to "Access local files only" I searched hours for a solution to this problem.
Please help. Here's the code:
//your swf list can be anything and any length. I named them one two three so you can easily test that it works
var swfList:Array = new Array("one.swf", "two.swf", "three.swf", "four.swf", "five.swf", "six.swf", "seven.swf", "eight.swf", "nine.swf", "ten.swf", "eleven.swf", "twelve.swf", "thirteen.swf", "fourteen.swf", "fifteen.swf", "sixteen.swf", "seventeen.swf", "eighteen.swf", "nineteen.swf", "twenty.swf");
var i:Number = 0;
loadMovieNum(swfList[i], 1);
//where next button has an instance name of 'nextBtn'
nextBtn.onRelease = function(){
    i++;
    if(i > swfList.length - 1){
        i = 0;
    trace(swfList[i]);
//your load funtion here like loadMovieNum(swfList[i], 1); or instance name.loadMovie(swfList[i]);
//where previous button has an instance name of 'prevBtn'
prevBtn.onRelease = function(){
    i--;
    if(i < 0 ){
        i = swfList.length - 1;
    trace(swfList[i]);
//your load funtion here like loadMovieNum(swfList[i], 1); or instance name.loadMovie(swfList[i]);
Thanks you so much,
Andrea Bosiger

I had a problem to test my movies locally in Flash Professional CS5, too. When I turned off the encryption on my Mac, the problem went away.

Similar Messages

  • Error opening URL  Error on a Mac

    So is this happening to anyone else?
    I do a test movie from my Mac and when the movie I’m
    testing needs to load an external file I get the following error
    message:
    Error opening URL
    "ETC:Users:michael:Current:cvs:Gigapets:launch:banner_main.swf/xml/home.xml"
    This happens on my Mac alone mind you, everyone else's in the
    office works fine.
    It doesn’t matter if I am loading an xml file through
    the XML object, or a swf or jpg file through the loadMovie
    functions, it always gives me this error when I load files with a
    relative path on my local machine.
    I am running Flash 8 on OS 10.3.9

    In this particular example I am using this code to start the
    xml file load:
    // now load the XML file that contains the content strings
    var sXMLFile:String = "xml/home.xml";
    var xmlContent:XML = new XML();
    xmlContent.ignoreWhite = true;
    xmlContent.onLoad = onXMLLoadComplete;
    xmlContent.load( sXMLFile );
    But I don’t think the code is the problem here . This
    happens on every file I load when I am using a relative path to the
    content, regardless of how I load the content (XML object,
    loadMovie, MovieClipLoader, etc…) and the same code executes
    perfectly on every other machine in the office(Mac and PC).
    I’m more concerned with the semi-colons and .swf filename
    that Flash is putting into my relative path on the error message.
    Is that normal?

  • Flash cs4 mac - Error opening URL '/:Users:someting.swf' - Not a "loading external content" problem

    Hello.
    I am having a weird problem when trying to test a movie or publish preview -> flash on mac with Leopard os.
    The result is a blank movie with the usuall "movie not loaded" if u right click on it and the output returns the "Error opening URL 'the path of the swf here'.
    This has nothing to do with loading external files or something like that. It happens even in blank movies and it gives the same error if I try to open a swf from flash ide.
    I can publish the project or export the movie with no problem at all.
    I can preview the movie in html. I can run all the swf files in my hard disk, network, usb stick, dvd etc., but when I try to open any of these files from flash ide I got that stupid error.
    Its not something that stops me from working in flash ide but its slow to export movie any time I want to test it.
    Things that I've tried so far but nothing worked:
    Update the flash cs4 to the latest version
    Update the flash players
    Restored the release flash player as default player (I am using as default the debug player)
    Cleared the preferences
    Move the flash cs4 folder to another location in hd
    Saved the fla document first before testing the movie (in different places with or without spaces in document name or folder)
    Give read & write permissions for everyone for flash.app, players and for fla files when saved first before test movie
    Unistall and install the application 3-4 times.
    Test every as version just in case.
    Also I've checked the folders when testing movie and I can see that it creates an swf file, which I can run it outside flash ide (the one that the flash ide player cannot load) with no problem.
    The mac os has the default set up as it came. Nothing chnaged in permissions or security settings.
    Thanx in advance.

    In this particular example I am using this code to start the
    xml file load:
    // now load the XML file that contains the content strings
    var sXMLFile:String = "xml/home.xml";
    var xmlContent:XML = new XML();
    xmlContent.ignoreWhite = true;
    xmlContent.onLoad = onXMLLoadComplete;
    xmlContent.load( sXMLFile );
    But I don’t think the code is the problem here . This
    happens on every file I load when I am using a relative path to the
    content, regardless of how I load the content (XML object,
    loadMovie, MovieClipLoader, etc…) and the same code executes
    perfectly on every other machine in the office(Mac and PC).
    I’m more concerned with the semi-colons and .swf filename
    that Flash is putting into my relative path on the error message.
    Is that normal?

  • Error opening url 'file: What does it mean?

    When I test some of my as3 movies a new window opens and I can test the file. Yet when I test other movies I get an (error opening url 'file message.) What causes that? It seems to me that if a movie plays it should also test in a new window.

    It doesn' work. I only got the one file open. The swf file won't open at
    all. The fla file won't test. But when I debug the fla file the flash player
    debugger opens the movie in a new window and I get this message in the
    output window: "Attempting to launch and connect to Player using URL
    /Users/schweideltyson/Desktop/Circle.swf"
    SWF Users:schweideltyson:Desktop:Circle.swf - 2887 bytes after
    decompression
    Could it be my flash player is not working properly? I wish I knew.

  • Error opening url 'file ///undefined'

    Hey everyone. I'm new to actionscript and I'm having some issues. Here is my code:
    function onFinish(success_boolean, results_obj, xml)
        if (success_boolean)
            play ();
        } // end if
    } // End of the function
    Stage.align = "MC";
    Stage.scaleMode = "noScale";
    url = "25904";
    _root.cacheKiller = "true";
    stop ();
    var parsed_obj = {};
    var unCash = new Date().getTime();
    if (_root.cacheKiller == "true")
        fileToLoad = url + "_main.xml?cacheKiller=" + unCash;
        fileToLoad = url + "_main.xml";
    else
        fileToLoad = url + "_main.xml";
    } // end else if
    gs.dataTransfer.XMLParser.load(fileToLoad, onFinish, parsed_obj);
    _root.emp.useHandCursor = 0;
    _root.mus = 1;
    _root.n = 1;
    _root.num = 1;
    when I try to test mouvie in Flash I received the following error:
    Error opening URL 'file:///O|/W%20E%20B%20%20%20%20D%20E%20%20S%20%20I%20%20G%20%20N/web%20design/25904/sou rces/flash/TRY/25904undefined'
    I don't know what the probblem is..
    Can anyone help me? pls!!!

    Use the trace function to track down what values you are trying to process.  The error is telling you it cannot find the file for the path specified, and the path that it is identifying seems to be showing that there is a problem not only with the path (appears to have several blanks spaces) but also the file name.
    Try tracing the url value before it gets sent to the loading line, as in... trace(url) and see what it shows.

  • Open URL or File not Working

    Hi
    I've scoured the forum and found some similar issues but not an answer to my problem.
    I have a button that launches a web page in a new browser window using "On success: Open URL or file". The Captivate files are published out as SWF and will be burnt to run from CD when I get this working. On my machines (I have tested on two computers) it works fine running locally, both off the hard drive and from CD. On my client's machines on their corporate network it doesn't work at all. There is no error message and the Flash security setting seem OK. When you click on the button nothing happens, zilch. I hope someone will be able to help with this one. Thanks in advance.

    Hi there
    I totally agree with you. It would be way cool if there were an easier way.
    Note that for CD-ROM/DVD, you can place a lightweight server (Server2Go) so that it tricks the content into believing it is being run from a server.
    Actually, you (and others) should Pepper the Adobe Wish Form asking for a simple replacement that works with CD-ROM/DVD that would ship with Captivate and operate as a button push to create the files needed.
    Click here to visit the Wish Form/Bug Reporting Form
    Cheers... Rick
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Error opening URL 'rtmp://localhost/vod/mp4:480p.mov'

    greetings all,
    i've bult a video player that has a dynamic playlist (via
    xml)
    i have loaded the FMS3 on my local computer and i'm trying to
    test a rtmp stream..
    i keep getting this
    Error opening URL 'rtmp://localhost/vod/mp4:480p.mov'
    the player will play any and all http video files from my
    local drive or web server.
    i've tried AS.org fixes
    -Security.allowDomain("rtmp://localhost/vod/");
    - crossdomain.xml
    <?xml version="1.0"?>
    <cross-domain-policy>
    <allow-access-from domain="*" />
    </cross-domain-policy>
    and
    -Access network only
    no luck
    i'm not sure what's going on with the RTMP...
    any advice or leads in solving this would help.
    thanks
    -n8

    ya it's all local so it dosn't even go out to the network..
    it'll load any video on the local drive with a direct path
    video1.mov
    and it will load video on the network with a http addy
    www.videosource/video1.mov
    i just wont load any rtmp
    i've tried both 'rtmp://localhost/vod/mp4:480p.mov'
    and
    a video on our fms3 server URL
    'rtmp://fms.addy/vod/mp4:480p.mov'
    i keep getting this damn error
    Error opening URL 'rtmp://localhost/vod/mp4:480p.mov'
    i've tested both the above videos with the FMS3 app_vod
    test.html
    and they play fine.
    i 'm feeling lost at this point.
    ***********keeps smashing head into wall**********

  • How to open a local file from javascript in a jsp-page

    Hi
    I have created an iview from a PAR file. In the par file I have a jsp-page with some javascript code. From the javascript coe I want to open a new window with an Excel file.
    I have tried window.open("c:
    test.xls", "test_window"), but it doesn't seem to work. I have created a small HTML page locally with the same command and there a new window opens with the Excel file.
    If I change the local file path with an URL it also works.
    Any idea how to open a local file ?
    Thanks
    /Jakob

    Jacob,
    I'm not 100% (but 99,9%) and it has to do with security ristrictions of the browser not allowing to have local workstation interation from the web. This is ofcourse very dangerous if the browser would allow it... So therfore it is blocked. What if somone would point to a file/executable that formats your drive so for that reason it is not allowed to have web interaction with a local file. Only with Java Applets this is possible but still with many limitations, and what I remember Google Gears and Adobe Air do have some limited web 2 local file interaction... So best and most simple solution you are left with is pointing to a url instead of a file on a c:\ drive.
    PS The reason why it works when you start the html from your local PC has todo with the fact that the browser detects that the html is not running in the web at that moment therefor allowing the access.
    Cheers,
    Benjamin Houttuin

  • Error opening URL

    Hello,
    I am working on a project in Flash CS 3 Profesional but I am using Actionscript 2.0.  I am using Adobe's Flash 8 Actionscript:  Training from the Source book.  I am attempting to open a file from a URL on my site and I am getting an error saying "Error opening URL".  I am stuck right now and have not been able to find what the problem might be and what the solution is.  If anyoneone has an answer or has come acroos this and fixed it please help.
    Thanks,
    -r

    Thanks for your fast response.  Here is the code.
    stop();
    var pollURL:String = "http://www.wurlshaka.com/poll.asp";
    var poll:LoadVars = new LoadVars();
    function pollLoaded() {
        gotoAndStop("Display");
    poll.onLoad = pollLoaded;
    function submitChoice() {
        var choice:Number = radioGroup.selectedData;
        poll.load(pollURL + "?choice=" + choice);
        gotoAndStop("Waiting");
    submit_btn.onRelease = function() {
        submitChoice();
    I tried to upload the fla file but it did not work.
    Thanks,

  • Error opening editor for file

    When I'm opening files via a SFTP connection the file opens; however, I get a somewhat annoying "Error opening editor for file c:\users\[user]\AppData\Local\Temp\[connection]\[folder]\(SFTP)[file]"
    I can't figure out why!
    Any ideas?

    you should use "<xsl:include href" instead of "<xsl:import href"
    Regds
    --

  • "error opening url to submit this form"

    Hi,
    I develop AcroForm PDF file using Acrobat. file Contain so many fields and Submit button.
    when I was click on Submit button than I got the Error message
    Error opening url to submit this form
    I set the return type XFDF on button.
    How can I fix this bug?

    To which URL are you trying to submit it?

  • Problem with opening URL (articulate) file in Captivate 3

    Hi,
    I created a Captivate 3 file, hoping to link an Articulate .html file if I click on a button.
    I created a text button:
    On success: open URL or file
    URL: Z:\Tutorial\WebsiteTutorialReviewandSurvey_09_03_10\quiz.html
    If I publish this file, I am able to play this file on my computer or any computer that is mapped to this drive. However, when I open the file on other machines, where this drive is not mapped, then the file cannot be opened. The file will be sent to other users who will not have access to my local drives, so I'm not sure how to set up my URL directory.
    Can someone please help???
    - is it the directory? "Z:\"
    - I've also changed that to start off as \\servername\Tutorial\WebsiteTutorialReviewandSurvey_09_03_10\quiz.html = this also does not work
    Thank you so much!

    Hi, You most likely will find help at this Forum:
    http://forums.adobe.com/community/adobe_captivate/adobe_captivate_general?view=discussions &start=0
    Also when you first open your thread here on the Flash Forum, you'll see a section to the right "More like This" that may be helpful as well.
    Thanks,
    eidnolb

  • XML.sendAndLoad - (Security-related) Error Opening URL

    Hi All,
    I know this is a common problem (I've searched), but I'm
    hoping you can help me out.
    1. What my Application Does
    My Flash app uses XML.sendAndLoad() to communicate with a
    Java Servlet on the same domain, in the same webapp.
    2. What happens when I run it on my (developer) machine
    It works.
    I connect to a url "
    http://localhost:8080/webapp1/servlet/FlashServlet"
    perfectly and pass around XML between Flash and Java
    3. What Happens on the Real Machine
    The Real Machines equivalent URL is
    http://int-tzn:8101/webapp1/servlet/FlashServlet
    The XML.sendAndLoad() cannot connect, with a "Error Opening
    URL" error.
    4. What I've Tried
    4.1. Using a
    crossdomain.xml on Real Machine
    (not sure if I've got in correct place, but i
    can see it at
    http://int-tzn:8101/crossdomain.xml
    4.2. Tried a StandAlone (Projector) WITH Network Access
    4.3. Tried using
    LocalContentUpdater to confirm and set
    network access
    4.4. Have set in my ActionScript :
    System.security.allowDomain("*");
    Please help.
    This needs to go into a large Production Environment in 2
    days and there are large amounts of money behind it.
    Thanks in advance.
    - Laven Pillay

    OK the deal is:
    When using TLF, a user visiting your webpage will download the TLF's SWZ file, if the user already has that file it will be downloaded from the adobe site, if the adobe site is down then it will search the .swz from where the website is hosted on.
    Have a read here:
    http://help.adobe.com/en_US/flash/cs/using/WSb03e830bd6f770ee-4b0db644124bbdb363d-8000.htm l#WSb03e830bd6f770ee72b69dc71257a25aa72-8000

  • Can i trap "Error opening URL" error?

    Can i trap "Error opening URL" ?
    I am using someMC.loadMovie("someImg.jpg")
    This works fine I would however like to be able to use the
    error "Error opening URL" and switch to another file if the first
    dose not exist. Can i do this?

    use the moviecliploader class to catch that error.

  • Why won't my I pad open a local file

    Why can't I open a local file with safari

    It was a web address that my employer gave me and when I put it in to the address bar and hit go it comes up with the error message cannot open a local file

Maybe you are looking for

  • Rare Problem with latest NVidia GeForce 8600m GT

    I downloaded apple's nvidia update from here for windows xp: http://docs.info.apple.com/article.html?artnum=306891 After installing it everything seemed to work fine, my dvi to video adapter was working like a charm. Now my problem was that after a f

  • Laptop no longer detects MG2520

    The first time I installed my printer like a breeze, after that I've had trouble with it since. Last time installing a new driver worked, but I've tried that this time and it still didn't work. I uninstalled the whole printer thinking I could get it

  • Enumeration how to go beginning element of a reqest.getParameterNames()

    if i do Enumeration enu_p = req.getParameterNames(); twice will i get the parameterNames in same order - each time - i need to go through the list of paarmeter names twice in same order - if not how can i set the Enumeration object back to beginning

  • I'm SICK of Safari crashing - ANYONE ELSE?

    What is the deal? I can't go for 5 minutes in safari without it crashing me back to home screen. It seems to really be the case with sites that have a lot of stuff on them or if I start to click around on the site faster than the iphone can handle. T

  • Red LED is on all the time

    I got the problem with new phone z30. i just had it for a week and when i turn on the phone from the first time. there a red led on and it kept on all the time never stop.it hot really hot when i make or receive a phone call. it burning my ear. i try