A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Please in a rush need help with Music On/Off

Hybrid View

  1. #1
    Junior Member
    Join Date
    Oct 2000

    I recently asked about placing buttons on my movie to turn music on and off on my movie. However, when I entered the following code, it didn't work:


    on (relaease) {
    tellTarget ("abc") {
    gotoAndPlay (3)


    on (relaease) {
    tellTarget ("abc") {
    gotoAndPlay (1)

    The sound movie was imported into my main movie and was named "abc". The first frame in abc starts at fram 1 and ends at frame 2. The "stop" action in abc movie was placed at frame 3 as you can see in the code.

    Please tell me why when I play my main movie, it says telltarget "abc" not found??????

    Logically it should've worked but it won't call it up.

  2. #2
    Join Date
    Feb 2002
    Have you embedded the sound into a movie clip, put it in your main time line, and, most importantly given it an instance name?

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