Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stop();
- lso = SharedObject.getLocal( "home.preschool.kidscbc.cbc.ca", "/", false );
- if( lso.data.vol != undefined ) {
- if( lso.data.vol == 0 ) {
- var snd:Sound = new Sound();
- snd.setVolume( 0 );
- is_muted = true;
- }
- else {
- var snd:Sound = new Sound();
- snd.setVolume( 100 );
- is_muted = false;
- }
- }
- else {
- var snd:Sound = new Sound();
- snd.setVolume( 100 );
- is_muted = false;
- }
- ss = new stage_scale( 1.35, false, false, this, "CON" );
- ss.start_resizer();
- function lc_mute( _b )
- {
- is_muted = _b;
- if( is_muted ) {
- // is_muted = false;
- var snd:Sound = new Sound();
- snd.setVolume( 0 );
- }
- else {
- // is_muted = true;
- var snd:Sound = new Sound();
- snd.setVolume( 100 );
- }
- }
- lc = new content_lc( lcid );
- lc.addEventObserver( this, 'lc_mute', 'lc_mute' );
- lc.addEventObserver( this, 'lc_show_help', 'start_help' );
- //****************************
- // HELP FUNCTION
- //****************************
- function start_help(_b) {
- //play help animation
- template.playHelpAnimation();
- }
- function end_help()
- {
- //end help
- lc.stop_help();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement