View Full Version : Loading flash video from a subdirectory
ksduded
06-05-2008, 06:41 PM
how do I play flv files which are in a subdirectory and not in the same folder as the existing swf or html file
I am using this code
btn_promo_03.onRelease = function():Void
{
myVideo.play("/flash/2008-07/flv_video3.flv");
}
dosen't seem to work
gnomeontherun
06-05-2008, 07:59 PM
Have you tried putting the full URL?
ksduded
06-05-2008, 09:52 PM
yeah full url worked. but isn't it possible to use a file in the subdirectory by simpler means?
gnomeontherun
06-05-2008, 10:08 PM
Drop the / in front of the path, and double check every letter. I like to use exact URLs myself, but if you expect to be moving files frequently I guess relative is ok. If you don't expect to move the video files, I would strongly suggest full URL.
_Aerospace_Eng_
06-06-2008, 01:21 AM
What would be the full url? Is the flash directory at the first level from the root? That / tells flash to start at the root then look for the video in the flash directory, and then the 2008-07 directory.
ksduded
06-06-2008, 09:02 PM
thanks for the answers. Those two posts cleared my concept about linking root paths
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.