Play And Exit

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tussom
    New Member
    • Mar 2007
    • 16

    Play And Exit

    HI EVERYONE
    I want to ask about two things:
    1- how can i make an exit button in flash that causes the player to exit when clicked.
    2- how can i make a play button that plays a song once i don't want the song to start unless play is clicked and i don't want it to loop.

    i'd be grateful if anyone helped me
    i need it asap
    thanks
  • kestrel
    Recognized Expert Top Contributor
    • Jul 2006
    • 1071

    #2
    have you searched google for these things?

    Comment

    • Motoma
      Recognized Expert Specialist
      • Jan 2007
      • 3236

      #3
      I am not sure if 1 is possible.

      Do you have a music file loaded already? If so, set up a button that calls play().

      Originally posted by tussom
      HI EVERYONE
      I want to ask about two things:
      1- how can i make an exit button in flash that causes the player to exit when clicked.
      2- how can i make a play button that plays a song once i don't want the song to start unless play is clicked and i don't want it to loop.

      i'd be grateful if anyone helped me
      i need it asap
      thanks

      Comment

      • kestrel
        Recognized Expert Top Contributor
        • Jul 2006
        • 1071

        #4
        for #1, you can use javascript
        [code=javascript]
        javascript:wind ow.close()
        [/code]

        but that only works if the window that the flash is embeded in, is a popup called from a main page.

        Comment

        Working...