A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: streaming files

  1. #1
    Senior Member naoneo's Avatar
    Join Date
    Apr 2001
    Posts
    257

    streaming files

    okay, quick question for a friend, heres the example


    audio control.swf <----> audio file.swf

    what actionscript is needed to load and STREAM the audio from the file audiofile.swf, and what scripting is needed in the audio file to make it stream?

    tnx
    vectorize your soul

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    No scripting for streaming needed. Put the music in the first frame. Drag out the timeline as long as the music. In the Audio Panel change from Event to Stream and compress it as MP3 at a bitrate that fits you.

    You load it by.........

    on(release){
    loadMovieNum("myMusic.swf",1);
    }

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

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