A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [F8] crazy music button

Threaded View

  1. #1
    flash animator guy
    Join Date
    Oct 2006
    Location
    Daly City
    Posts
    219

    [F8] crazy music button

    I have a MC "button" that loads an external mp3

    the external mp3 is called "block_party.mp3"
    the button instance is "song1".

    can any one tell me why this doesn't work. My code is as follows:

    __root.song1.onRelease = function() {
    this.createEmptyMovieClip ("song1", this.getNextHighestDepth());
    var song1:Sound = new Sound (mcSong1);
    song1.loadSound("block_party.mp3", flase);
    song1.onLoad = function (bSuccess:Boolean):Void {
    if(bSuccess) {
    this.start();
    };
    };
    var nInterval:Number = setInterval (checkProgress, 500);
    function checkProgress():void {
    }
    }


    Thanks.

    RSB
    Last edited by belotte; 04-10-2007 at 03:41 AM.

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