A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Controling sounds from external swf.

  1. #1

    Controling sounds from external swf.

    Hello,
    I'm working on a flash template purchased by a friend. My alterations include loading an external swf file which plays a little movie. The template came with a nice sound loop that I have no trouble stopping with:

    Code:
    on (release) { stopAllSounds(); }

    I want the "background music" to stop when the button to load the external swf is pushed, and for it to start up again when the button to close the external swf and "unload" it is pushed. Is there is a way to restart the sound which is on the main timeline once a button is pushed in the external swf?
    Last edited by RazzberryGirl; 11-03-2008 at 01:16 PM.

  2. #2
    bump ^

  3. #3
    bump ^

  4. #4
    If you need more information, please ask and I'll let you know. Thanks...

    bump ^

  5. #5
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    use a Sound object rather than timeline sound.
    Create it as a global sound object and you can control it from any timeline.

    http://www.kennybellew.com/tutorial/

  6. #6
    Thank you! I will research global sound objects.

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