dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

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

  1. #1
    Junior Member
    Join Date
    Oct 2000
    Posts
    24
    Hello,

    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:


    Off

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

    On

    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
    Member
    Join Date
    Feb 2002
    Posts
    61
    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