Skip to main content
Participating Frequently
December 8, 2009
Question

Adobe Captivate / External Files of integrated SWF

  • December 8, 2009
  • 3 replies
  • 1867 views

I have an Captivate File that contains an SWF, that loads an external XML File. The SWF works perfect / AS3 and the files are in the correct folder.

However, Captivate does not link to the relative path, that is given by the swf, but to a very strange temporary path in my documents.../local.../temp...:

Error #2044: ioError unverarbeitet. text=Error #2032: Stream-Fehler. URL: file:///C|/DOKUME%7E1/cpe/LOKALE%7E1/Temp/cp4Temp/%7ECa292/config.xml
    at test_xml()

This is somewhat spectacular, since I didn't thought that captivate could top the main bug of not providing right-click opportunities on local machines without setting a trusted path (this file goes to customers...).

Whatever: I would be very thankful if someone would provide me with a solution for this bug, since I'm running towards a deadline and captivate confuses me with ridicoulous errors on problems that I would have never imagined of.

    This topic has been closed for replies.

    3 replies

    shreddingAuthor
    Participating Frequently
    December 9, 2009

    Hey Rick.

    Thx again. I've tried your solution, and it works well for HTML-embedded SWFs, but - as said earlier - I need this to work as an Windows Excecutable.

    To provide you with the necessary informations, I'm telling you the process:

    0. I export my SWF from flash, test it and everything works fine.

    1. I'm opening captivate and an empty project.

    2. I'm switiching AS2 to AS3.

    3. I'm importing my SWF to Captivate.

    4. Captivate crashes.

    5. The flash player gives me an error message:

              Error #2044: ioError unverarbeitet. text=Error #2032: Stream-Fehler. URL: file:///C|/DOKUME%7E1/cpe/LOKALE%7E1/Temp/cp4Temp/%7ECa101/config.xml
        at test_xml()

    6. I copy the requiered XML-Files to the folder  file:///C|/DOKUME%7E1/cpe/LOKALE%7E1/Temp/cp4Temp/%7ECa101/ and am now able to save my Captivate project after repeating steps 1 to 3 (there are a few flash player error message, that I can manage by clicking "close all".

    7. I export the file as an EXE.

    8. I run it and am becoming the following error message:
             Error #2044: ioError unverarbeitet. text=Error #2032: Stream-Fehler. URL: file:///C|/DOKUME%7E1/cpe/LOKALE%7E1/Temp/config.xml
        at test_xml()
        at flash.display::Sprite/constructChildren()
        at flash.display::Sprite()
        at flash.display::MovieClip()
        at captivate.Veela_AS3::rdBase()
        at captivate.Veela_AS3::rdItem()
        at captivate.Veela_AS3::rdSwf()
        at flash.display::Sprite/constructChildren()
        at flash.display::Sprite()
        at flash.display::MovieClip()
        at captivate.Veela_AS3::rdBase()
        at captivate.Veela_AS3::rdSlide()

    9. I copy my XML files to file:///C|/DOKUME%7E1/cpe/LOKALE%7E1/Temp/; now the EXE works fine.

    The basic problem is, that the EXE (and the Captivate-exported plain SWF, too) are not setting the path of my config files to the root of the EXE, but to this goddamn temp folder.

    Thanks for your time.

    shreddingAuthor
    Participating Frequently
    December 14, 2009

    Nobody knows

    I already mailed the adobe support, but they didn't answer (instead they send me a formular about how happy I am with the service)...

    shreddingAuthor
    Participating Frequently
    December 8, 2009

    Thanks Rick. I'm will try that tomorrow at my office(I'm from germany, I'm not at work right now). I'm not sure if it'll help, captivate already crashes when I'm trying to import the SWF, so it's a hard job to export. Anyway, I made it once.

    I'll report back here tomorrow.

    (btw: I installed E-Learning Suite a few days ago and run a major update (700MB) today, thus, Captivate should be on last it's last version).

    Captiv8r
    Legend
    December 8, 2009

    Hi there

    My guess is that you are seeing the weird path because you are previewing? Have you tried this after publishing?

    When you preview, things run from a temporary location, which likely explains the odd path.

    Cheers... Rick

    Helpful and Handy Links

    Captivate Wish Form/Bug Reporting Form

    Adobe Certified Captivate Training

    SorcerStone Blog

    Captivate eBooks

    shreddingAuthor
    Participating Frequently
    December 8, 2009

    Hi Rick,

    thanks for your answer. Sure I did.

    If I copy my files to the path given by the error, it works. Well, you'll guess that I can't tell my customers to do so...

    Btw: I use Captivate & Flash 10 with AS3. I'm very good at flash, but this is my first captivate project (it will surely be my last!).

    Thx.

    Captiv8r
    Legend
    December 8, 2009

    Hi again

    Normally Captivate simply looks for whatever it is linking to inside the same folder as where teh Captivate project is. Because you are viewing in Preview, it runs from the temporary location. Once you upload to a server, you just ensure the additional content is in the same server folder. There should be no need for your end users to copy files. Captivate should just find them and work with them.

    Cheers... Rick

    Helpful and Handy Links

    Captivate Wish Form/Bug Reporting Form

    Adobe Certified Captivate Training

    SorcerStone Blog

    Captivate eBooks