0 Replies - 4042 Views - Last Post: 30 October 2013 - 03:18 PM

How to stop function when changing a scene qustion

Posted 30 October 2013 - 03:18 PM

Hello,

I am new to flash and trying to make a function to stop when changing from scene 2 to scene 1.

Some info:

- I have 5 scenes in my flash animation
- I have 4 buttons which changes scenes.
- 2 of the scenes are on the same button (An On/Off button)
- The flash animation I am making is a TV - you can see the TV and press ON/OFF, channel 1,2 and 3. (Channel are on different buttons)

I've taken the code from another place, not sure if allowed to link to his site, but he told people it's free to use!

Anyway, the question is in the title basically, here it is more specific:

When I press the TV from Off (Standard position) to ON it jumps to scene 2 and starts playing TV snow or white static (this is where the code comes in) but when I press the off button again it's still showing, when the TV is supposed to be off.