Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > General > Flashants Support Forum

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-23-2002, 02:21 AM   #1
davidjac
Registered User
 
Join Date: Sep 2002
Location: Boise, Idaho
Posts: 3
Default dir or path - video files for projector

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
davidjac is offline   Reply With Quote
Old 09-23-2002, 03:45 AM   #2
Flashants
Moderator
 
Join Date: Apr 2002
Location: Taipei, Taiwan
Posts: 147
Default

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
Flashants is offline   Reply With Quote
Old 09-24-2002, 11:18 AM   #3
Flashants
Moderator
 
Join Date: Apr 2002
Location: Taipei, Taiwan
Posts: 147
Default

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.
Flashants is offline   Reply With Quote
Old 10-11-2002, 02:40 PM   #4
Yozeph
Registered User
 
Join Date: Oct 2002
Posts: 5
Default

Don't use spaces in you directory names makes a difference as well I found out.

Success
Yozeph is offline   Reply With Quote
Old 10-14-2002, 04:18 AM   #5
Flashants
Moderator
 
Join Date: Apr 2002
Location: Taipei, Taiwan
Posts: 147
Default

Quote:
Originally posted by Flashants
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.
Check the FAQ here:
http://www.flashants.com/faq/faq.shtml#2_17
Flashants is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:41 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.