A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Attacting Sound to Varibles

  1. #1
    Senior Member Gloo pot's Avatar
    Join Date
    Aug 2005
    Location
    Australia Mate!
    Posts
    874

    Attacting Sound to Varibles

    I have a wave sound, and i dont know how to use sound in flash so how would i add it to my file...

    I dont want to have to add the code to each and every thing i want sound to so can i just say

    _root.sound1 = (sound code)

    and then on the MC have
    on(release){
    play (_root.sound1)

    Thanks
    92.7 Fresh FM for all your South Aussies - Doof Doof music FTW people!

  2. #2
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    I would suggest you first take a look at the tutorials on sound objects listed in the Common Sound Probelms Sticky thread listed at the top of this forum. These should get you started with basic sound control.

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