-=[NECROSIS]=-
08-20-2001, 05:49 PM
Hi guys....
I have a swift Canvas question, hope you guys can help me. I'm building a CD-ROM, all of its contents are in flash. I have a main stage and from there I'm loading movies from a subdirectory.
As I was browsing through the swiffcanvas help I saw this:
"...you will not know by forehand what the drive letter of your clients CD-ROM will be.
SwiffCANVAS solves this problem by creating a variable text file in the users TEMP directory containing the path from where the movie was launched. You can load the path, as a variable into your movie by including the following command in your movie:
Load Variables ( "SwiffCANVAS.dat", "Level / Target” )
The contents of this “SwiffCANVAS.dat” file is always formatted like this:
LaunchFolder="[Path were projector got launched from: ending on a backslash"]
So - by doing this command, a variable named “LaunchFolder” will contain the path of launch ended with a backslash. You may now use this path as a prefix when loading any aditional SWF's from the CD. "
My question is:
After inserting the Load Variables command...What would the loadMovie call look like and how do I extract the string from that variable and attach it to the rest of the path that's already there?
Thanks in advance for any help...
-=[NECROSIS]=-
I have a swift Canvas question, hope you guys can help me. I'm building a CD-ROM, all of its contents are in flash. I have a main stage and from there I'm loading movies from a subdirectory.
As I was browsing through the swiffcanvas help I saw this:
"...you will not know by forehand what the drive letter of your clients CD-ROM will be.
SwiffCANVAS solves this problem by creating a variable text file in the users TEMP directory containing the path from where the movie was launched. You can load the path, as a variable into your movie by including the following command in your movie:
Load Variables ( "SwiffCANVAS.dat", "Level / Target” )
The contents of this “SwiffCANVAS.dat” file is always formatted like this:
LaunchFolder="[Path were projector got launched from: ending on a backslash"]
So - by doing this command, a variable named “LaunchFolder” will contain the path of launch ended with a backslash. You may now use this path as a prefix when loading any aditional SWF's from the CD. "
My question is:
After inserting the Load Variables command...What would the loadMovie call look like and how do I extract the string from that variable and attach it to the rest of the path that's already there?
Thanks in advance for any help...
-=[NECROSIS]=-