dcsimg
A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: help me please im new

  1. #1
    Junior Member
    Join Date
    May 2002
    Posts
    10
    hi

    im doing sort of a jukebox thing and i have some sounds on there and when I click on one it plays but when you click on it again to stop the sound from playing the sound starts playing again i was wondering that the method/what you have to do to make it so you click on it once and then you click on it again and the sound stops. Ive tried everything and i was wondering if you knew the method.

    Thanx

  2. #2
    Senior Member zoranvedek's Avatar
    Join Date
    Aug 2001
    Location
    Wagoner OK
    Posts
    892
    Try this:

    http://www.deadyeti.com/into3dfa/resources

    If you download any of the sound sets, the movie file that they are in will be in the zip. Open the movie file and check out how the main button is set up. You will notice that there is an off and on button and that they trade places.

    Also make sure you don't have your movie file set to loop.

    Hope this helps some........

    -Jason

  3. #3
    Junior Member
    Join Date
    May 2002
    Posts
    10

    mmmm

    Originally posted by zoranvedek
    Try this:

    http://www.deadyeti.com/into3dfa/resources

    If you download any of the sound sets, the movie file that they are in will be in the zip. Open the movie file and check out how the main button is set up. You will notice that there is an off and on button and that they trade places.

    Also make sure you don't have your movie file set to loop.

    Hope this helps some........

    -Jason
    No sorry that dosent help because you never stop those sounds I want it so that you click once and the sound plays that i have got and so you click again and the sound stops that i cant do.

    Thanx

  4. #4
    Senior Member zoranvedek's Avatar
    Join Date
    Aug 2001
    Location
    Wagoner OK
    Posts
    892
    Look again, a little closer, the main sound(on all of the sets) has an off and on button, the 'on' button won't show up until the the 'off' button is clicked, and vica-versa. You're right about the moue-over and button down sounds though, they are constant.

    The trick is to use 2 buttons, one on top of the other. When your movie starts only have one of them showing, then when it is clicked, you hide it, and show the other one. This can aldo be done by placing the buttons in a view chooser and switching between views.

    I'll post an example of a single sound with an off/on button in few.

    -Jason

  5. #5
    Senior Member zoranvedek's Avatar
    Join Date
    Aug 2001
    Location
    Wagoner OK
    Posts
    892
    Ok, try this one:

    http://members.aol.com/moodxiii/off_on.html

    and the movie file:

    http://members.aol.com/moodxiii/off_on.movie

    All of the actions are on the 'button down' make sure you have the 'element has properties' button clicked or it won't allow you to hide show your buttons. There is no sound on the movie file, so you will get an error message saying that it couldn't locate the file, just ignore it and go on.

    If you have any questions, don't hesitate to ask.

    -Jason

  6. #6
    Junior Member
    Join Date
    May 2002
    Posts
    10

    same subj

    it said that all the files needed weren't there but I imagined that they all were there but it still seemes to complicated and I didnt fully get it do you recon I could send you the file and you could take a look at it? thanx

  7. #7
    Senior Member zoranvedek's Avatar
    Join Date
    Aug 2001
    Location
    Wagoner OK
    Posts
    892
    Send away......

    you can get my email address from my website, just click on my footer to get there.

    -Jason

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