A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: looking for an easy way to attach sounds to buttons

  1. #1
    Junior Member
    Join Date
    Jul 2008
    Posts
    5

    looking for an easy way to attach sounds to buttons

    Hi all,
    2 years ago, thinking of doing a language-learning blog, I made buttons with sounds attached (of me reading a sentence). I abandoned the idea because it took too much time making the buttons and it was buggy in firefox.
    I recently heard that it would possible to have a php script automatically create an XML file that would tell the buttons which sound to play.
    Does anyone have an idea how this could work?
    Thanks

  2. #2
    Senior Member EQFlash's Avatar
    Join Date
    Jun 2002
    Location
    where i'm at
    Posts
    2,735
    this can be done without php, and just creating 1 button, if you prefer to go at it this way, let me know, and i'll help you.
    P.S. you could also use a comboBox to do this. the user would just select a sound from the drop down and the sound would play.
    Last edited by EQFlash; 07-06-2008 at 09:28 AM.
    If you don't think you're going to like the answer, then don't ask the question.

  3. #3
    Junior Member
    Join Date
    Jul 2008
    Posts
    5
    thanks for your answer.
    To illustrate what I was trying to do, here's a link to the test page...
    I'm looking for a faster way of attaching sounds to buttons (and one that doesn't bug in Firefox)

  4. #4
    Senior Member EQFlash's Avatar
    Join Date
    Jun 2002
    Location
    where i'm at
    Posts
    2,735
    it seems as if the text is html and the buttons are flash. is this correct?
    If you don't think you're going to like the answer, then don't ask the question.

  5. #5
    Junior Member
    Join Date
    Jul 2008
    Posts
    5
    Yes, it's just a regular blog post with flash buttons inserted.
    Does anyone know of a better way of making buttons for this application?

  6. #6
    Senior Member EQFlash's Avatar
    Join Date
    Jun 2002
    Location
    where i'm at
    Posts
    2,735
    instead of inserting icons all over the place, of different mini.swf(s). you could create one with the entire blog being read aloud. the thing is every time the blog changes, the sound file would have to change. just a sugesstion.
    If you don't think you're going to like the answer, then don't ask the question.

  7. #7
    Junior Member
    Join Date
    Jul 2008
    Posts
    5
    but then people can't figure out which part of the text is being read...

  8. #8
    Senior Member EQFlash's Avatar
    Join Date
    Jun 2002
    Location
    where i'm at
    Posts
    2,735
    then i'm afraid i can't help you, sorry. you could combine the blog and the sound, other than that, the way your doing it is it. i'm not one to tell you how to do your blog.
    Last edited by EQFlash; 07-07-2008 at 02:11 PM.
    If you don't think you're going to like the answer, then don't ask the question.

  9. #9
    Junior Member
    Join Date
    Jul 2008
    Posts
    5
    Thanks, I'm going to try and mod a generic player like Dewplayer to suit my needs.

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