Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Relative Pathnames using Test Movie command |
From: | Mark Zukiwsky |
Date: | Tue, 5 Sep 2000 20:16:35 +0100 |
Earlier I wrote:
>>Is there anything equivalent to using "*" (the star character) in the
>>"loadmovie" action for a root relative pathname while testing a movie
>>using the "Test Movie" command (from the Control menu). I'm trying to load
>>movies that reside in folders inside my "root" or "*" folder.
>>
>>I can load a movie successfully using the "Publish Preview Command", or
>>when I load my site from my server, but I can't get any movies to load
>>when I use the "Test Movie" command. I'd really like to have access to the
>>trace window.
>>
>>Am I missing something? BTW, I'm using Flash 4.
Kurt Dommermuth replied:
>I'm not aware of an equivalent to "*", but you can use "../" before the
>file name to climb up directories. Forgive me if this is something you
>were already aware of, but for instance if you wanted to load "movieA.swf"
>into "movieB.swf" and "movieA.swf" is one directory level up, then the path
>name would look like;
>
>Load Movie ("../movieA.swf", (pick a level)).
>
>If "movieA.swf" were two levels up then it would look like
>
>Load Movie ("../../movieA.swf", (pick a level)).
>
>and so on.
>
>I just tested this and had success with it on my local machine, but I
>should say that a long time ago I had problems with this on a client's
>server. Unfortunately I can't remember what the specific problems were,
>but ultimately I realized that the best thing to do was to include all
>.html and .swf files in the same directory. Sloppy, but consistent.
>
>hope this helps,
Sorry, maybe I didn't state the problem clearly enough, plus "."
(period) is the character to set all movie paths relative to that
movie, "main.swf" in my case (see below).
Let's just say this is my directory structure:
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
So, 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 this loadmovie command,
called from movie "main.swf", that works in Publishing Preview and
from my server, but not from the "Test Movie" command in the Control
menu.
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)
I guess what I'm asking is there an equivalent to "." that I can use
when I run the "Test Movie" command. I really need to be able to see
my traces.
That's what I'm looking for.
Mark Zukiwsky
Edmonton, Canada
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 helpchinwag [dot] com
Replies
Re: FLASH: Relative Pathnames using Test, Kurt Dommermuth
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]