Open URL problem

We have a Captivate course (published as a SWF file) with a
imagebutton at the end. The user clicks it and then we want another
SWF file to load. We can get this to work fine via the "open URL or
file" action when the SWF is located on a server (
http://localhost/myfile.swf).
But when we deploy to run this off a CD, the browser window will
open via the filesystem (file:///D:/myfile.swf). In this instance
we cannot get the Open URL to work.
Remembering that not all CD drives are the "D" drive we
cannot hard-code that link in. We tried referencing the next file
(which is in the same directory) with "myfile2.swf",
"/myfile2.swf", "./myfile2.swf". We wrote some javascript that
would determine the local HREF to get the path. All of those
methods WORK when the SWF file is on a server (e.g. "localhost").
None of them work when viewing the webpage (SWF) thru the
filesystem (e.g. "file:///D:/")
Does anyone have any thoughts on how to get around this
issue? (If my explanation of the problem is not clear I would be
happy to provide more info)
Thanks,
Randy

Hi there
It's possible. Could also be the Flash Security silently blocking the link. To see if that's the case, try what is outlined in the link below.
Click here
If that cures it, you have to consider a way past it for your users. One way past it is to use a small web server. The steps for that are below:
Download the Server2Go software from http://www.server2go-web.de/download/download.html
Choose the Micro package
This should result in receiving a zip file named distribute_apache1.3_micro.zip
Unzip the contents of the zip file to the root of your hard drive ( C:\ )
This should create a folder named distribute_apache1.3_micro
Open this folder and delete the following files and folders inside:
Files:
splash.bmp
logo.ico
readme.txt
Folders:
dlls
dbdir
cgi-bin
Open the htdocs folder and delete all files and folders inside.
Copy all of your Captivate output files to the htdocs folder
Rename the HTML page Captivate created to index.htm
Copy the contents of the distribute_apache1.3_micro folder to the CD-ROM and test!
Hopefully this was helpful... Rick
Click here for Adobe Authorized Captivate and RoboHelp HTML Training
Click here for the SorcerStone Blog
Click here for RoboHelp and Captivate eBooks

Similar Messages

  • 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?

  • Problem with Yahoo Maps..."Error Opening URL..."

    I am trying to use a yahoo Action Script 2.0 map to display real estate listings from an xml file. I often receive the following output error, which prevents the entire yahoo map from opening:
    Error opening  URL  ‘http://maps.yahooapis.com/xml/apiconfig.xml?r=988’ (the last 3 digits are random and change each time the problem occurs)
    I have searched the internet for a solution and cannot find one.
    I have emailed yahoo, who has not responded, as well as other people who have had the problem, but they cannot remember what they did to solve it.
    Please help!

    No, I'm not doing anything to handle security issues.
    What I have done is downloaded all the .as files that yahoo uses for their maps (from http://modestmaps.mapstraction.com/trac/browser/trunk/reference/YahooMaps/com/yahoo/maps?r ev=6), including the xml file (http://maps.yahooapis.com/xml/apiconfig.xml).
    What I am thinking, correct me if I'm wrong, if I go through all the class files and change their names from "com.yahoo.maps.insertscriptname1.as" to something defining my own server (ie. mikeraydesign.maps.insertscriptname1.as), and point to the xml file from the one .as file that points to the one with the security issue, this might work.
    I don't know if it will, but I don't think it can hurt.  What do you think?
    Regardless, lets say I put all the files into my own folder on my server, (ie. www.mikeraydesign.ca/maps/), how would I go about importing those scripts from my fla?  The fla needs to import 4 initial classes, which then point to all the others (in the link I have above).  How do you point to online class files?  Would this even work?
    Thoughts?

  • Firefox problems with Open URL vi

    I am using Open URL in Default browser to display the contents of a file.
    If IE is the default browser and the file is xyz.htm it works but not if the file is xyz.html.
    On the other hand if Firefox is the default browser it works if the file is xyz.html but not if the file is xyz.htm.
    One further "quirk" with Firefox is that Firefox must be running for the file to display. If Firefox is not running Firefox starts but then instead of displaying the file I want it goes to a web site that sells Czech language books!
    Is there any way I can resolve these differences? Can I find out what is the default browser? Can I see if Firefox is already running? Any suggestions?
    Note: this is all in windows. I haven't tried it yet in Mac OS.
    David

    I think you're referring to the "Open URL in Default Browser" that you access from the Function Palette->All Functions->Application->Help subpalette. That VI is a simple wrapper around the "Open URL in Default Browser core" VI. Basically, to get it to work with Firefox you need to bypass the "Search and Replace" operation that it's doing, and then append a space to the URL that you enter and feed that directly to the "Open URL in Default Browser core" VI:
    This will still work if IE is the default browser
    Message Edited by smercurio_fc on 08-07-2006 11:14 AM
    Attachments:
    Open URL in Default Browser (string)d.png ‏3 KB

  • 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

  • Problems opening URL in QTX

    I'm not able to open any video from URL in Quicktime X. I've read every help file I can find and I can't seem to get it to work. It completely freezes when I put a URL in and click open. Any help is appreciated.

    Absolutely, thanks for responding: here is one of the URLs I've been trying to connect to: http://bglive-a.bitgravity.com/twit/live/high. I open QTX, go to open URL, type in the URL and click open and then it freezes until I force quit and it sends an error report.
    Best.
    Jeremy
    Message was edited by: jeremyjaytaylor

  • Problem with Open URL: Adobe Captivate 4

    I am using Adobe Captivate 4. I have a simple slide in the middle of my video that contains three text buttons--two of them "jump to another slide" when the user clicks them. The third is set to open a URL.
    When I preview the video, this all works perfectly. However when I publish, the "open URL" button does not work.
    Any ideas?

    Hi there
    Ideas? Sure! You might find this page somewhat helpful. At least we intend for it to be.
    Looks like you may have overlooked it.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Opening url rebuffering stream when previewing songs

    How can I fix music previews that play for 3 seconds and then give me an error: opening url rebuffering stream? I never had this issue, and haven't changed anything. What's wrong?

    I've been having the same probelm for about 6 months.  On itunes 10 and 11.  This appears to be a problem that goes back to years which tell sme Apple simply does not care. There are many threads like this one with no answers.  I'm going to have to find another app to listen to online radio.  I love Apple but sometime ther really can fracking suck.

  • Open url in a new browser via a button

    I have created a button within a region and set request='go'. I then have a branch that when request='go', it branches to a url. Is there a way to open a new window when it branches to that url? Basically, I'm trying to open a new browser to go to a specified url when a button is clicked.

    Yes no problem,
    call an javscript function, which open the new window. that function can get as parameter the item value (eg. the URl text)
    function callMyPopupTest(url)
    w = open(url,"winLov","Scrollbars=1,resizable=1,width=1100,height=350");
    if (w.opener == null) w.opener = self;
    w.focus();
    this should work
    In this excample the URL is static for the button.
    If not you have to solve the problem inside the javscript function with getting the value of the item (the url text)
    document.getElementById('P21_URL').value;
    for that the javascript function parameter has to be the id(eg. name: P21_URL).
    hope that helps
    thorsten

  • Captivate 4 Open url from a button not working?

    Hi All,
    I have published a scorm course from captivate 4 and have installed to our servers. I would like to have a link to a document that is online (.doc) but whenever I click the transparent button it starts to load, opens a window (which has the correct title name) but then disappears with no warning or error message.
    The link resides behind a transparent button, and has the settings On Success open url or file in a new window.  I know the problem is not specific to this document because I have had the same problem with a completly different online file location in the past.
    Please Help!!
    Many thanks in advance.
    Chris Maile

    Hi there
    Please send me a private E-Mail message to rstone75 (at) kc (dot) rr (dot) com and advise of the exact file name of the file you are linking to.
    I'll send you back a file that you can use to test and see if the link works.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Connection refused--while executing (HttpConnection) Connector.open(url);

    Hi,
    i'm using netbeans mobility 5.0
    as i was new to this mobile programming i'm getting the output as "Connection Refused"
    plz plz plz plz....... help me out from this problem
    here is my code..
    code:_
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;
    import java.io.*;
    public class FileViewer extends MIDlet implements CommandListener
    private Display display; // Reference to Display object
    private TextBox tbViewer; // View file contents in a textbox
    private Command cmView; // Command to view file
    private Command cmExit; // Command to exit
    private String url = "http://www.corej2me.com/midpbook_v1e1/scratch/fileViewer.hlp";
    public FileViewer()
    display = Display.getDisplay(this);
    // Define commands
    cmView = new Command("View", Command.SCREEN, 2);
    cmExit = new Command("Exit", Command.EXIT, 1);
    tbViewer = new TextBox("Viewer", "", 250, TextField.ANY);
    tbViewer.addCommand(cmView);
    tbViewer.addCommand(cmExit);
    tbViewer.setCommandListener(this);
    public void startApp()
    display.setCurrent(tbViewer);
    private void viewFile() throws IOException
    HttpConnection http = null;
    InputStream iStrm = null;
    try
    http = (HttpConnection) Connector.open(url);
    // Client Request
    // 1) Send request method
    http.setRequestMethod(HttpConnection.GET);
    // 2) Send header information (this header is optional)
    http.setRequestProperty("User-Agent", "Profile/MIDP-1.0 Configuration/CLDC-1.0");
    // 3) Send body/data - No data for this request
    // Server Response
    // 1) Get status Line
    System.out.println("Msg: " + http.getResponseMessage());
    System.out.println("Code: " + http.getResponseCode());
    // 2) Get header information
    if (http.getResponseCode() == HttpConnection.HTTP_OK)
    // 3) Get data (show the file contents)
    iStrm = http.openInputStream();
    int length = (int) http.getLength();
    if (length > 0)
    byte serverData[] = new byte[length];
    iStrm.read(serverData);
    tbViewer.setString(new String(serverData));
    finally
    if (iStrm != null)
    iStrm.close();
    if (http != null)
    http.close();
    public void pauseApp()
    public void destroyApp(boolean unconditional)
    public void commandAction(Command c, Displayable s)
    if (c == cmView)
    try
    viewFile();
    catch (Exception e)
    System.out.println(e.toString());
    else if (c == cmExit)
    destroyApp(false);
    notifyDestroyed();
    output*
    build.xml(debug)*
    some....
    Application descriptor does not declare any MIDlet. Direct execution is not allowed.
    Generated "C:\Documents and Settings\Lakshmi Narayan J\jlnexample\dist\jlnexample.jar" is 2655 bytes.
    post-jar:
    debug:
    C:\Documents and Settings\Lakshmi Narayan J\jlnexample\src\.timestamp
    Starting emulator in debug server mode on port 1469
    com.sun.kvem.midletsuite.InvalidJadException: Reason = 22
    The manifest or the application descriptor MUST contain the attribute: MIDlet-1
    nbdebug:
    KdpDebugTask connecting to debugger 1 ..
    KdpDebugTask connecting to debugger 2 ..
    KdpDebugTask connecting to debugger 3 ..
    KdpDebugTask connecting to debugger 4 ..
    KdpDebugTask connecting to debugger 5 ..
    Connecting JPDA Debugger to emulator timed out after 5 attempts and 31 seconds.
    C:\Documents and Settings\Lakshmi Narayan J\jlnexample\nbproject\build-impl.xml:306: The following error occurred while executing this line:
    C:\Documents and Settings\Lakshmi Narayan J\jlnexample\nbproject\build-impl.xml:311: Connecting JPDA Debugger to emulator timed out after 5 attempts and 31 seconds.
    BUILD FAILED (total time: 43 seconds)
    Debugger console:
    Attaching to localhost:1469
    Connection refused.
    Edited by: LAKSHMI_NARAYAN_J on Jun 23, 2008 9:54 AM

    It's called potential deadlock. The emulator blocks your app 'cause any connection and commandAction needs its own thread. So I suggest use a new thread with this http connection then your program will be run successful.

  • 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?

  • NW PI 7.1 Install FKD-00048  Unable to open URL file:///tmp/sapinst_instdir

    HI,
    I am installing PI 7.1 on a HP-UX/ Oralce environment. Started the install and when It prompted for Oracle Software, I  stopped the install and installed Oracle.
    When starting back SAPINST after oracle install it terminates with the following error :
    guiengine: 2011-03-18 07:26:03 Login in progress
    guiengine: 2011-03-18 07:26:03 Login successful
    ERROR      2011-03-18 07:26:50.304 [sixxcpars.cpp:179]
    FKD-00048  Unable to open URL file:///tmp/sapinst_instdir/NW71/INSTALL/SYSTEM/ORA/STD/AS/control.xml.
    Abort execution because of
    keydb.unableToOpenURL
    Nothing has been moved from the /tmp directory.
    Any help would be appreciated
    Thanks
    Christo

    Hi,
    It looks like problem /tmp file system. Generally contents in this file system are temporary.
    I think you have to start the installation again but this time I would suggest you to not use /tmp as installation directory.
    Thanks
    Sunny

  • 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

    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,

Maybe you are looking for

  • How to use imports with JDOM

    I'm trying to learn the basics of using JDOM to work with XML. I have the following import statements, but I get errors for each item saying "X Does not exist". import org.jdom.*; import org.jdom.input.*; import org.jdom.output.*; In C# you have to r

  • How to delete existing user and create the account

    Hi All, How to delete the existing user and does not loose the shopping cart link, confirmations for etc and then create back the account for the user? Please tell me the steps. Thank you. Regards, Henry

  • Error--tax code-taxinj..issue

    hi guys I  raised or,lf,pgi and f2 and after that when i release to accounting. Error message appears. I am now working on CIN.. Even I done revenue account determination. for my sales org with account key - EXD. Error Message: Tax code  in procedure

  • Buying a legal copy of ps cs2

    hello, is buying from here http://www.amazon.com/gp/offer-listing/B00080DPTA?ie=UTF8&colid=&coliid=&qid=&sr= gives me a legal license to cs2? will I then be able to legally download and use photoshop cs2 from the site? thanks.

  • JSTL Tag

    TC 4 Java 1.4 JSTL 1.0.6 I'm having a problem including the core tags. I have 1 web app that is working fine. I copied the 2 jar files ( core, standard into WEB-INF/lib) to a new web app and a simple example. The simple example doesn't work in the ne