A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Windows Media Player HTML problem (flashkit.com)

  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    2

    Windows Media Player HTML problem (flashkit.com)

    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/mo...yer%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);
    }

  2. #2
    Interested User Rohm's Avatar
    Join Date
    Aug 2004
    Location
    Sweden
    Posts
    214
    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.
    There is "actionally" a truth to be found in flash.

  3. #3
    Junior Member
    Join Date
    Nov 2006
    Posts
    2
    Quote Originally Posted by Rohm
    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);
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center