HELP ME WITH FLASH!

Out of context: Reply #3

  • Started
  • Last post
  • 3 Responses
  • connerd0

    vibe,

    its because you identified the 'music' object inside a movie clip (musicMC) when you defined the sound.

    then when you try to reference it to turn the sound down later, you are looking for it on the root.
    (_root.music.setVolume());

    when you put some code, variables, or objects inside a movie clip, they are no longer on the _root level.

    so you need to access them via
    _root.musicMC.music etc.

    provided you gave musicMC an instance name, but that's the first thing you learn in AS school now isn't it.

    mc.

View thread