var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Directory / file paths / wav.mp3.swf
Halo there, need some pro to help me with this puzzle.
Ok, Assume i've a form, which contains :
---> .swf (as ActiveX)
Q. How can i play this item, which is together with DB folder?
Main folder = DBfolder
DBfolder = interfaceFolder , soundsFolder, multimediaFolder,etc.
soundsFolder contains : .wav , .mp3
multimediaFolder contains : .swf
-----so i don't want to type specific where the file is;
i want to accomplish something like this, ;
PlaySounds = (currentDB + "Helo.wav)
PlaySounds = (currentDB + "Background.mp3)
Not like this : PlaySound ("D:\Design Folder\Combination\Sounds\Good Morning.wav")
For .swf file path :--
Path = (currentDB + "Multimedia.swf")
'// assign swf name & path
stSwfPath = CurrentProject.Path & MultimediaFolder & SwfName
'// check for file
If fFileExists(stSwfPath) Then
something like this.
help me pro.
Ok, so where is the problem ?
The only thing I can add to what you wrote is that you have to add a "\" after CurrentProject.Path:
stSwfPath = CurrentProject.Path & "\" & MultimediaFolder & SwfName
And everything should probably be enclosed in quotes.
stSwfPath = CurrentProject.Path & "\" & MultimediaFolder & "\" & SwfName
Have a nice day!