Flash CS4 FLV

Associate
Joined
29 Dec 2004
Posts
159
I am using flash to load an external video file into a website it works on my local machine but not when i upload to my webspace, im using the command:

Video1.play("Videos/Windows XP/VideoName.mp4");

the video file is in the Videos/Windows XP subfolder on the webspace with the correct file name am i missing something?
 
where is your swf stored in relation to the Videos/ directory?
is the swf embedded/loaded into an html file? if so where is this html file, because if its in a different directory to the swf youll need to move the Videos/ directory to be in the same directory that html file is stored in... if that makes sense
 
Depends where the flash file is in comparison to the file you've opened I would imagine.

Try:
Code:
Video1.play("../Videos/Windows%20xp/VideoName.mp4");

If they are in different folders that should work. Also try lowercase a url.
 
Last edited:
The index.html file is in the root directory, in which is a folder called videos and then a folder called windowsxp i removed the space, and the mp4 files is in that.
 
Back
Top Bottom