;

PDA

Click to See Complete Forum and Search --> : Windows Media Player HTML problem (flashkit.com)


Marmita
11-19-2006, 01:16 PM
Hi Everybody,
first of all, i'm new in here!
I have download a great video player at flashkit.

Windows Media Player HTML,

http://www.flashkit.com/downloads/movies/zip/8996/Windows%20Media%20Player%20HTML.zip

but I got a problem.

It's only playing 1 .swf, how can i make it possible for playing more .swf

//
fscommand("allowscale", "false");
// This scripts make nex function work
_global.gotoswf = function(swf) {
MediaPlayer.LoaderMovies.loadMovie("movie1.swf") }; I think that the problem is in here somewhere.

// here is how to split the string into arrays
firstload = firstload.split(",");
if (firstload.length>2) {
gotoswf(firstload[0]);
actualmovie = 0;
} else {
gotoswf(firstload);
}

Rohm
11-20-2006, 05:17 AM
But if you read the info.rtf it says clearly how to play more files then one and as it comes it plays all three of them.

Marmita
11-20-2006, 07:20 AM
But if you read the info.rtf it says clearly how to play more files then one and as it comes it plays all three of them.

yeah if your doing it with HTML, but i want to take the information out of flash.

but I already found it. this is the right a.s.

fscommand("allowscale", "false");
// This scripts make nex function work
_global.gotoswf = function(swf) {
MediaPlayer.LoaderMovies.loadMovie(swf)
};
var firstload:Array = new Array();
firstload[0]="movie1.swf";
firstload[1]="movie2.swf";

if (firstload.length>1) {
gotoswf(firstload[0]);
actualmovie = 0;
} else {
gotoswf(firstload);
}