Skip to main content
err229
Inspiring
June 24, 2008
Question

'$' in not a valid integer

  • June 24, 2008
  • 3 replies
  • 702 views
I'm working on a project in C3. Usually, I publish to SWF, but this project needs to be EXE. I've linked my files as usual, "Open other project" and pointed to the CP file. I've been using Captivate for years, and have never had a problem, but now I'm getting a Flash Player error - '$' is not a valid integer.

I've tried publishing to Flash Player versions 7 and 9 (most users have 7) in case version was the problem, but I get the same error.

Does anyone have any ideas about what might be causing this? And better yet, does anyone know how to fix it?

ERR229
    This topic has been closed for replies.

    3 replies

    Known Participant
    June 25, 2008
    Hey dude,
    I got the same problem and the replies you got were just confusing. Here's how I solved it:
    You know when you publish there's a field called Project Title?
    Well, if you change that FROM the file name you selected in the button link, that breaks the link.
    ERGO: If, in the button, you linked to file_123.cp BUT in the Project Title renamed it to 123_File, it breaks.
    UPSHOT:
    The .cp file name and the Project Title MUST be the same (at least, that is what worked for me.

    Cheers mate!
    Captiv8r
    Legend
    June 25, 2008
    Hi ML021469

    Actually, if you think about this logically, it makes sense. After all, when you point to the .CP file, you are pointing to a file with an expected name. And if you change that name during the process... Well... The link will break!

    Cheers... Rick
    err229
    err229Author
    Inspiring
    June 24, 2008
    Hi Rick,

    Thanks for the reply. I've published each lesson as an EXE, and they are all in the same folder. They are not, however, in the same folder as the CP files (for obvious distribution reasons). I'm trying to call EXE's using Open other project - is that what I'm doing wrong? I've tried using open URL or file but that causes another whole set of problems.

    ERR229
    June 25, 2008
    Does this link to the external file work if you publish the file as the HTM + SWF file and not as the compiled EXE?

    You mentioned pointing to a CP file and that cannot be opened from a running SWF. Perhaps you meant a CP output file. If it is another project, then perhaps you meant an external EXE file?

    What is the name of the External file? Make sure that it contains no slashes (a subdirectory interpretation to a program) or other unusual punctuation.

    Are you trying this on a single drive or a server? If it is an Apache Server you need to use exact upper and lower case letters to match your typed external file name. So MyFile.EXE is not the same as myfile.Exe

    Start by trying this as a regular HTM + SWF and go form there.

    Joe C.
    Captiv8r
    Legend
    June 25, 2008
    Hi Joe

    With regards to your thinking one shouldn't link to a .CP file...

    If you choose the option of "Open other project", that is what you are doing. You browse to and choose the .CP file of the project you are wanting to open. I know it sounds bizarre to point at the .CP file, as one would think the link would try to open the .CP file of the other project and the end user is highly unlikely to have Captivate, no?

    The thing is, while you point to the .CP file, Captivate does whatever it needs internally to sort things. In the end, the other project should then open. Whether it exists as .SWF or .EXE.

    Cheers... Rick
    Captiv8r
    Legend
    June 24, 2008
    Hi there

    The message you are seeing is what results when a .EXE output is attempting to open a .SWF and the .SWF cannot be found where the .EXE is looking.

    You typically need to ensure that both files are in the same folder.

    Cheers... Rick