Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Repost: Pathnames during local development |
| From: | Mark Zukiwsky |
| Date: | Mon, 18 Sep 2000 22:36:09 +0100 |
Nope, that won't work. I think I've tried every path permutation
trying to load movies that are in other directories, but it just
doesn't work in with the "Test Movie" command.
If anyone from the mothership (JD?) can elaborate on whether this can
or can't be done that might save me a lot of trouble.
Thanks anyway.
Mark Zukiwsky
Edmonton, Canada
Helen wrote:
>My only thought is the same as Kurt's, that you don't need that "." and
>maybe Flash Test Movie doesn't like it. Based on the structure you show
>below, you should be able to do this:
>
> Load Movie ("head_folder/head_" & eval("_level0:mod_ID_" &
> _level0:current_module) & ".swf", 6)
>
>Does that work any better?
>
>(I just tried running Test Movie on a fla that does a load movie into
>another level and it loaded and ran it, so it's at least possible in
>theory... but mine were in the same directory)
>
>Helen
>> How do I use relative paths to swf movies in other directories during
>> development, i.e., selecting the "Test Movie" command from the
>> Control menu. I'm on a Mac using Flash 4.0a.
>>
>> This is an example of the directory structure I'd like to use:
>>
>> root_folder
>> main.swf
>> head_folder
>> head_1.swf
>> head_2.swf
>> head_3.swf
>> head_4.swf
>> content_folder
>> content_1.swf
>> content_2.swf
>> content_3.swf
>> content_4.swf
>>
>> My root_folder contains two other folders; head_folder and
>> content_folder. Basically, I'm trying to load the movies "head_1.swf"
>> and "content_1.swf", which are located in the "head_folder" and
>> "content_folder" respectively, into "main.swf" which is at the root
>> level.
>>
>> What I'm trying to do is duplicate the loadmovie command below,
>> called from the movie "main.swf".
>>
>> Load Movie ("." & "/head_folder/head_" & eval("_level0:mod_ID_" &
>> _level0:current_module) & ".swf", 6)
>> Load Movie ("." & "/content_folder/content_" & eval("_level0:mod_ID_"
>> & _level0:current_module) & ".swf", 3)
>>
>> The scripts work in both Publishing Preview and on my production
>> server, but not from the "Test Movie" command in the Control menu. Is
>> there something equivalent to the "." character that I can use to
>> load swf files that are in other directories that I can use when I
>> run the "Test Movie" command. I really need to be able to see my
>> traces.
>>
>> Is this even possible using the "Test Movie" command?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

