...

View Full Version : How can I redirect at the end of playing a FLV file...



daniel981
12-19-2006, 09:28 PM
Any ideas?

I want to redirect the user after they have finished watching FLV video that has been embedded into a page with a SWF file. Any ideas on how to do this?

I did find this: http://www.webvideozone.com/public/280.cfm
and that is exactly what I would like it to do, but how?

TIA

_Aerospace_Eng_
12-20-2006, 01:40 AM
That really depends on how your flv player was created. Can you attach your .fla file?

daniel981
12-20-2006, 05:45 PM
Sure, here is the file:

http://www.thedistinct.com/host/random/test.fla

Thanks!

edit: I followed these directions:
http://www.peachpit.com/articles/article.asp?p=170179&rl=1

_Aerospace_Eng_
12-22-2006, 06:18 AM
Do you know the length of the video? What you could do is use in actionscript is this

function openWebsite(url:String)
{
getURL(url,'_self')
}
var website:String = 'http://www.somesite.com';
var flvtime:Number = lengthofmovie * 1000;
setTimeout(openWebsite,flvtime,website)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum