| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Sep 2002
Location: Boise, Idaho
Posts: 3
|
We use FMprojector 1.51, mostly for video/flash CD production. I have had difficulty with "paths" in some of the FScommands. I would like to place the video clips in a sub-directory on the disc. I have been unable to "find" the video when placed in a sub-directory. So far, my solution has been to place the video clips on the "root". I am now working on a project with 40 or more clips. Placing that many clips on the root would seem "unprofessional" to me. Any help would be appreciated.
Thanks David |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Apr 2002
Location: Taipei, Taiwan
Posts: 147
|
To access the sub folder for fmprojector, you always need to specify the full path:
Use fas.shell.GetInitDir to get the current working directory(the exe location) and then append the sub folder name to it.(maybe you need to add a "/" between) http://www.flashants.com/tutor/commandList.shtml#6-1-3 |
|
|
|
|
|
|
|
|
#3 |
|
Moderator
Join Date: Apr 2002
Location: Taipei, Taiwan
Posts: 147
|
Pls notice that you should wait a few frames untill the path string to be successfully retrieved.
Example: Frame 1: var initDir fscommand("fas.shell.GetInitDir", "initDir"); Frame 4: fullPath= initDir add "video\\baby.mpg" fscommand ("fas.avclip.xy", "83,64"); fscommand ("fas.avclip.load", fullPath); Or you may loop to check if the initDir is retrieved. |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Oct 2002
Posts: 5
|
Don't use spaces in you directory names makes a difference as well I found out.
Success |
|
|
|
|
|
#5 | |
|
Moderator
Join Date: Apr 2002
Location: Taipei, Taiwan
Posts: 147
|
Quote:
http://www.flashants.com/faq/faq.shtml#2_17 |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|