Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2004
    Posts
    6

    Huh? Flash with text file

    I have a flash movie that draws data from a separate text file. When the flash movie is compiled into the .exe it does not read the uncompiled text file. Is there a way to import the text file into the project so that it will be a part of the .exe file and readable by the flash movie?
    Out of my mind. Back in five minutes.

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Hi. If you put your flash movie and your text file together in the same folder, then make sure your flash movie is not adding a path to the file reference, i.e. simply refer to "yourfile.txt" there should be no problem because when the .exe is extracted, the files are still in place in relation to the file reference. Hope that helps.

  3. #3
    Join Date
    Jun 2004
    Posts
    6
    I had it set up that way and it wasn't working. The flash works fine on the comp and the web as long as the .txt file is in the same folder as the .swf file but not in the CD project.
    Also, I have noticed that with flash movies comprising more than one frame, the Indigo Rose program appears to ignore simple frame commands such as 'stop' and will load the movie on the last frame of the movie. If an embedded movie has an alpha property of "0" It will show up in Auto Play as an alpha of "100"
    I have disabled the auto start and loop setting for the flash through the Indigo Rose software and I've added the following to both the flash project properties and the page properties with no results:
    result = TextFile.ReadToString("flower.txt");
    Flash.Stop("flower");

    What am I missing here? Or does this software only work with simple flash loops and not the interactive movies? I am trying to load puzzles whereby the viewer has to input text or click on a button in order to get a particular result and only the simplest one frame movies will work right on the CD. =P
    Out of my mind. Back in five minutes.

  4. #4
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    I had it set up that way and it wasn't working.
    Not sure then, works OK on my end. If you want to post your project I can have a look for you.

    Also, I have noticed that with flash movies comprising more than one frame, the Indigo Rose program appears to ignore simple frame commands such as 'stop' and will load the movie on the last frame of the movie.
    I've never observed that, they always seem to work fine on my end. Again if you wish to post an example I'll have a look.

    If an embedded movie has an alpha property of "0" It will show up in Auto Play as an alpha of "100"
    I've never observed that one either, again, it works fine on my end. If you wish to post an example I'll have a look.

Similar Threads

  1. New Setup Factory 7.0 (v 7.0.2.0) Available
    By Darryl in forum Setup Factory 7.0
    Replies: 9
    Last Post: 03-06-2005, 01:57 PM
  2. Example: Loading Paragraph Text Using a Timer
    By Jonas DK in forum AutoPlay Media Studio 5.0 Examples
    Replies: 7
    Last Post: 11-25-2004, 05:10 PM
  3. Writing Text to a File
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-22-2003, 02:02 PM
  4. Text File Actions
    By csd214 in forum Setup Factory 6.0
    Replies: 0
    Last Post: 12-06-2001, 12:50 AM
  5. Replies: 0
    Last Post: 08-17-2000, 02:29 PM

Posting Permissions

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