PDA

View Full Version : Swiffcanvas question....


-=[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]=-

shawntim
08-21-2001, 12:12 AM
not that i'm a mod but you aren't supposed to cross post...
no one likes loading the same mesage twice!

Av
08-21-2001, 01:58 AM
Hi Necrosis.

Welcome to FlashMove :)

As Daysleeper pointed out Cross posting is not tolerated here, and as you are a new member this is a freindly message just letting you know that cross posted messages go un-answered and even deleted (like your message in the 'New Softwares' forum).

Unfortunately I cannot help as I've not used SwiffCanvas but I hope someone can answer your question.

Goodluck~

Regards~

~Av~

-=[NECROSIS]=-
08-21-2001, 01:07 PM
Sorry guys...I was not aware of this rule. It won't happen again.

Thanks.

-=[NECROSIS]=-