PDA

View Full Version : bring on the movies


scat_happens
12-05-2001, 09:19 AM
although i have had much help on the subject i am still confounded...here is the complete problem:

1. i am making a flash site to go out on a cd as a PR job

2. i want a link on the site to go to a .avi that i have on the disk

3. ALL FILES ARE IN LOCAL DIRECTORIES (NOT HTTP://)

4. as it is on the cd it is not possible to have an absolute path defined (an absolute path does work and brings up media player with the .avi playing so i know it should work)

5. the question!
.....i need to specify a base url for the files....i have been given this code to try
basepath = _URL;
but i don't know how to impliment it
after it has been implimented i will need to know how to use it or references to it to navigate using relative links

if anyone cn tell me in lay-mans terms or knows of a website that will be able to then i will be most greatful to once and for all clear it up

although the help from Jesse and Andy has been inspiring and given a direction it hasn't cleared it up (sorry)

Ricod
12-05-2001, 01:04 PM
okay, for once I'll make an exception ... (U REALLY should stop cross-posting) :
on (release){
getURL ("yourAVI.avi");
}

scat_happens
12-05-2001, 10:14 PM
that is the code for getting the .avi relative to the swf file yes BUT when that code is entered it doesn't come up with the avi it comes up with an ie window that has http://okcorpmpeg.avi/
and a cannot display page notification.

like i say it comes up properly when i provide a direct URL but not a relative URL and i need it to do it in a relative URL coz the direct URL won't always be the same

Ricod
12-06-2001, 08:38 AM
That is a weird problem, cuz I tested it before I posted it... and it works over here ! Must be something outside of Flash then. (Why don't u post your fla here ? (or recreate the relevant stuff, and post that if its big...) and some us will try it.) If it would work here, but not by u, u might have some settings within windows thats wrong ?

scat_happens
12-06-2001, 09:23 AM
i will recreate the needed things and post them here
but just out of interest what windows settings could affect it

scat_happens
12-06-2001, 10:07 AM
here is a file that i have quickly put together...it is not thactual one but it still has the smae problem the reason i haven't put an actual one up is that as it is meant for a cd it is high graphics and is therefor too big to send ontro the net :0) the movie is also a different movie for the sake of space saving

the same problem occures as in the original ie relative urls don't work but full/direct urls do work and bring the movie up in mplayer2

thanks for any help possible

Ricod
12-06-2001, 12:17 PM
Its definitely not flash. It works fine here ! Check if the extension .avi is directed correctly to mediaplayer. Its under folder options.

scat_happens
12-06-2001, 01:36 PM
so the thing that i posted worked without you having to do any alterations?!?!? hmmmmmmmmmmm ok thanks

if you edited it though can you tell me what you did :0)

thanks alot for your help

Ricod
12-06-2001, 01:38 PM
Nope. All I did was shift+F12 to publish, then tried both the html and swf. The both worked fine. Did u check the folder options/extensions ?

tg
12-06-2001, 05:03 PM
i think there is a setting somewhere that if set, ie will take a url and go out to the internet and try to find what it thinks the closest match is.

isn't that handy??