hi everybody, i’m working on the video player from gotoandlearn.com
Now i want to add to images underneed the player wich refer to a FLV. When i click on one of these images the video should start playing in the player. So no xml has to be used just 2 images and they need to load a external FLV when they get clicked. How can i add that to this video player ?
This is the player i am talking about http://www.gotoandlearn.com/player.php?id=5
my god!
you stick the image in an MC and say on the main timeline
this.MCimage.onRelease = function(){
}
So Lets say my clickable MC’s would be MC_1 and MC_2
And my videos would be 1.flv and 2.flv
then i would need to add this script:
this.MC_1.onRelease = function(){
ns.play("1.flv");
}
this.MC_2.onRelease = function(){
ns.play("2.flv");
}
am i correct ?
take a peek at this tutorial here - after you get it set up per the tutorial you can use:
this.yourImageClip.onRelease = function() {
yourFlvPlackBack.stop();
yourFlvPlackBack.close();
yourFlvPlackBack.contentPath = "pathtoyourmovie.flv";
yourFlvPlackBack.play();
}
thanks thats what i need.
:thumb2: