A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Need Help... using sound and audio outside flash from flash link

  1. #1
    |animation|queen|
    Join Date
    Aug 2003
    Location
    Funkytown
    Posts
    73

    Need Help... using sound and audio outside flash from flash link

    My client has some sound clips (MP3s) and a video clip (an MPG file) that they want to include on their site.

    They don't want to embed it into the flash file, they want a button you click on and the video or sound is downloaded and played by the appropriate player...

    I can't get it to work... I'm not sure what AS I should be using. I tried:

    on (release) {
    getURL ("media/clip1.mp3", "_blank");
    }


    But I can't get it to work...

    Any help?

    P.S. I'm still using Flash 5...

  2. #2
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    Not sure what else you can do other than loading from an HTML link.

    There seems to be no guarantee that a 3rd party app like RealOne or Windows Media will launch from a Flash getURL statement. For some reason the browser will launch the app from HTML link but does not work as well from getURL.

  3. #3
    |animation|queen|
    Join Date
    Aug 2003
    Location
    Funkytown
    Posts
    73
    thanks hp3...

    i was also told to use _self instead of _blank... i'll try that out and see how that works.

    this is one of those clients that doesn't "get it"...

  4. #4
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    _self will probably unload the window containing the flash movie.

    have you tried loading into an IFRAME or frameset?

  5. #5
    |animation|queen|
    Join Date
    Aug 2003
    Location
    Funkytown
    Posts
    73
    Originally posted by hp3
    _self will probably unload the window containing the flash movie.

    have you tried loading into an IFRAME or frameset?
    no... what would that possibly do?

  6. #6
    Junior Member
    Join Date
    Nov 2003
    Posts
    1

    sound files on your web

    I presently can't help as far as flash is concerned - I'm just starting to figure that one out! but you CAN still do this by embedding the sound file in the page, that's a normal html page.

    Do you have Ms FrontPage? perhaps?
    in that program, you have two options.. one is to also downlaod the "add-in", to add "insert windows media player" as a menu item, or you can "insert" "advanced" "plug-in" either of these ways will embed the sound file into the page - or rather I should say the player interface - which will in turn - when the site visitor clicks the play button - the sound wil Stream in - no downloading beforehand, no temp file.. just click n listen ! I could also recommend for this method - converting the mp3's to "wma" - much much much smaller file size - though streaming it doesnt really matter - but if host space is a matter - then this will solve that - ( 1 minute of sound for 140k !! )
    I'v run over this very briefly here - but there are areas you might not be familiar with ~ so any elaborations needed or questions - u can email, I'll be happy to help out. if I can. (hopefuly!

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