scat_happens
12-04-2001, 10:18 AM
recently i posted:
this is probablyu amazingly simple but as they say...only if you know how.
ne way here is the problem...i am making a flash site to be pout onto a cd to be sent out to people and i would like to add an avi to it...the avi is on the cd and in the same directory as the flash page. i want to set it up so that clicking on a button will play the movie.
i have tried doing it with a get url command but it only seems to work if i give it a full path. this is not practicle however as the path may change depending on the letter of the cd rom drive in other computers
any help greatly appreciated
__________________
cheers
Scat
and in response i got:
You can get around the problem of the drive label changing by doing this in your flash file:
code:
basePath = _url
that will give you the full system path to the current SWF, so with substring you can lop off the swf name and throw in the avi name and you should be away!
__________________
Cheers
Jesse
(thankyou very much by the way :0) )
ne way the point is that i can't figure out what is meant when jesse says to putting this into yoiur flas file....does it mean to enter it as an action in a frame or what??
if anyone could tell me a step by step that would be perfect :0) ok ok ok i am comming across stupid here but i am not used to flash
this is probablyu amazingly simple but as they say...only if you know how.
ne way here is the problem...i am making a flash site to be pout onto a cd to be sent out to people and i would like to add an avi to it...the avi is on the cd and in the same directory as the flash page. i want to set it up so that clicking on a button will play the movie.
i have tried doing it with a get url command but it only seems to work if i give it a full path. this is not practicle however as the path may change depending on the letter of the cd rom drive in other computers
any help greatly appreciated
__________________
cheers
Scat
and in response i got:
You can get around the problem of the drive label changing by doing this in your flash file:
code:
basePath = _url
that will give you the full system path to the current SWF, so with substring you can lop off the swf name and throw in the avi name and you should be away!
__________________
Cheers
Jesse
(thankyou very much by the way :0) )
ne way the point is that i can't figure out what is meant when jesse says to putting this into yoiur flas file....does it mean to enter it as an action in a frame or what??
if anyone could tell me a step by step that would be perfect :0) ok ok ok i am comming across stupid here but i am not used to flash