macromedia.director.basics
[Top] [All Lists]

Re: go to movie in folder

Subject: Re: go to movie in folder
From: Dean Utian <d.utian@xxxxxxxxxxx>
Date: Wed, 26 Dec 2007 10:30:55 +1100
Newsgroups: macromedia.director.basics

sensiblemind wrote:

> hi all
>  i have strange problem here , i have main movie and others movie in folders i
> called the movies from folder using ths smiple code "go to movie" but when i
> wanted to return to the main movie above i make error
>  thnx

Hi,

To jump to a movie in a subfolder called 'movies', you can use:
go to movie the moviePath & "movies\nameofMovie"

You can also use use the @ operator followed by the path structure with / \ or:
Search the @ pathname operator under the help file for examples but for now, 
here
are some:
Example 1: These are equivalent expressions that specify the file linkedFile, in
the subfolder bigFolder, which is in the current movie?s folder:
@:bigFolder:linkedFile
@\bigFolder\linkedFile
@/bigFolder/linkedFile

Example 2: These are equivalent expressions that specify the file linkedFile,
which is in the folder otherFolder. The otherFolder folder is in the folder one
level up from the current movie?s folder.
@::otherFolder:linkedFile
@\\otherFolder\linkedFile
@//otherFolder/linkedFile

So, you may use:
go to movie the moviePath & "@\\nameofMovie"
to go up a folder level and find movie 'nameofMovie'.

regards
Dean

Director Lecturer / Consultant / Director Enthusiast
http://www.fbe.unsw.edu.au/learning/director
http://www.multimediacreative.com.au
email: d.utian@xxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>