A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: .start()

  1. #1
    Junior Member
    Join Date
    Mar 2002
    Posts
    25

    Arrow

    in sounds control i can't get the .start() funtion to do anything.

    I have a sound clip playing and I have 2 buttons that can adjust the volume, they work
    another stops the sound altogether, this works

    another starts the sound, and i've been told from the reference that it can also start it form a certain position of the song.
    I cannnot get this to work )=/

    what the hell!?

    help please =[...

  2. #2
    NerdInside's Avatar
    Join Date
    May 2001
    Location
    Penguin Island
    Posts
    3,439
    Your sound code should look like this:

    mySound = new Sound();
    mySound.attach("mySoundLinkage");
    mySound.start();

    The sound you wish to play should have mySoundLinkage as the linkage. To set linkage, goto to the library (Ctrl+L), find the sound, right-click, select Linkage, and type in the name there.

  3. #3
    Junior Member
    Join Date
    Mar 2002
    Posts
    25

    Arrow

    mabey it's just me, i can't get this to work. If followed the intructions and all, i get the exact same result =/

    does anyone have a sample fla handy?

  4. #4
    NerdInside's Avatar
    Join Date
    May 2001
    Location
    Penguin Island
    Posts
    3,439
    I think the problem is your sound linkage. The linkage is not the name of the sound.

    Here is a simple sound player I made for another FlashKit user. (Size is 1.5MB)

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