A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    May 2001
    Posts
    109
    I created an interactive cd rom, but I also had additional swfs that were loaded into to different levels. So when I published it, it created the exe but the additional swfs werent included with it. So all I did was put the additional files along side it with my exe and it seemed to work fine. But when tested on other machines it didn't work properly. It used whatever version of the flash plugin that was installed on their machine. I assumed that the exe would take care of this because it was made in flash 5 and it wouldn't matter what version of the plugin the machine had but apparently not.
    So what I need to know is how to fix this. Probably by making it install the flash 5 plugin automatically when the cd is inserted? How would I go about doing this? Or is there an another way to fix this?
    Thx

  2. #2
    Senior Member
    Join Date
    Apr 2001
    Posts
    215
    If you are using the loadMovie command into the .exe file, you shouldn't be having any problems. And when you publish, those .swf files are notintended to be part of the .exe. Hence the use of the loadMovie command line. You need to publish the .exe and retain the same relative paths to the .swf files when they are burned to CD. Otherwise, the application will not be able to locate them.

    I would suggest working on getting the .exe and .swf files working properly, and then you will have to avoid the whole idea of auto installing software on to someone's machine. A totally unnecessary step anyhow, if things are setup correctly.

  3. #3
    Senior Member
    Join Date
    May 2001
    Posts
    109
    I am using the load movie command. I'm not sure I understand you right. Should I specify a path for the loaded movie, then when it is published as an exe the loaded movies will be contained inside the exe itself, elliminating the need for the end user to install any software. As it is now, I put the additional swfs that are called to in the root of my cd, if I didnt the loaded movies werent there.
    Will i still need to put the additional swfs in with the exe or will this fix the problem?

  4. #4
    Senior Member
    Join Date
    Apr 2001
    Posts
    215
    Basically you need to do the following:

    Load the .swf content using the loadMovie commands.
    loadMovieNum ("folder/folder/file.swf", x);
    Then, publish the main .fla to an .exe file. [The .exe is an application, the users will not need to install any software].

    So, let's say you have the .exe and .swf files on the desktop....

    DesktopFolder/file.exe
    DesktopFolder/folder/folder/file.swf

    You need to keep the same path structure on the CD.

    CD/file.exe
    CD/folder/folder/file.swf

    The .swf files are not part of the .exe, but since the .exe is is the application that can also play the .swf files, there is no need for the installation of software.
    Is some user clicks one of the .swf files from the CD, not from the .exe, and they do not have the Flash Player installed, yes, they will not see the content.

    Hope this helps.... all of this is mentioned in the Flash Help files, btw.

  5. #5
    Senior Member
    Join Date
    May 2001
    Posts
    109
    Thanks for your response, I'll give it a try, hopefully this will fix the problem.
    I just burnt the exe and swf straight to the cd, no folders, i tested it on a machine that had a flash 4 player installed on it, the movie the external movie loaded but no longer worked properly. I right clicked on the entire movie and it said flash 4 instead of 5.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts




Click Here to Expand Forum to Full Width


HTML5 Development Center