|
Prev: Screen size
Next: M I`5,P ersecution , Compar ing th e MI 5 Persecu tion wit h Germ an Final So lution
From: sensiblemind on 25 Dec 2007 10:55 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
From: womp on 25 Dec 2007 16:59 You can find the path of the movie one folder above folder i (which is where your main movie will be) or you could save the trouble and just remember the main movie path in a variable. -- put this inside the script but outside the behavior used to navigate global gMainMoviePath -- inside the behavior that's used to navigate to a movie in folder i, put this before your "go to...": gMainMoviePath = the moviePath Then when you want to return to the main movie just declare the global again in that script and: go to gMainMoviePath & "the name of your dir goes here in quotes" Craig "sensiblemind" <webforumsuser(a)macromedia.com> wrote in message news:fkr958$l11$1(a)forums.macromedia.com... > 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 >
From: Dean Utian on 25 Dec 2007 18:30
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(a)unsw.edu.au |