FORUMS: list search recent posts

How do you autoplay a Flash video when the homepage launches...

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
ctrent
How do you autoplay a Flash video when the homepage launches...
on Jun 5, 2006 at 7:10:56 pm

I don't want to use a splash page but I want to autoplay a Flash video when the homepage launches. Then I want the Flash video to disappear or redirect to another homepage.

Thanks,
Chas

Chas


Return to posts index

Sher Ali
Re: How do you autoplay a Flash video when the homepage launches...
on Jun 6, 2006 at 2:08:19 pm

just call the play method of the NetStream class to start
playing the video, e.g.

ns.play("myVideo.flv");

let say you have named your video object on that stage as

myVideoObj

then try this piece of code.

ns.onStatus = function(info){
if( info.code == "NetStream.Play.Stop" ){
myVideoObj._visible = false;
getURL("http://webeyestudio.com");
}
}


Sher Ali
Web Eye Studio
http://www.webeyestudio.com


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]