Please help me,

Preloader, sound and full screen not working .

Here are the as 3 codes :-

package {

import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.text.*;
import flash.ui.*;


public class MainTimeline extends MovieClip
{
public var default_volume:Number;
public var sound_control:MovieClip;
public var percent:Number;
public var fm_bar_bg:MovieClip;
public var music_volume:SoundTransform;
public var loader_info:TextField;
public var rakesh_background:MovieClip;
public var rakesh_fullscreen:SimpleButton;
public var total_bytes:Number;
public var loaded_bytes:Number;
public var fm_bar:MovieClip;
public var bg_music:Sound;
public var music_channel:SoundChannel;

public function MainTimeline()
{
addFrameScript(0, frame1, 1, frame2);
return;
}

public function switch_screen_mode(event:MouseEvent)
{
if (stage.displayState == StageDisplayState.NORMAL)
{
stage.displayState = StageDisplayState.FULL_SCREEN;
}
else
{
stage.displayState = StageDisplayState.NORMAL;
}
return;
}// end function

function frame2()
{
stop();
rakesh_fullscreen.visible = true;
sound_control.visible = true;
stage.addEventListener(Event.RESIZE, resize_listener);
stage.dispatchEvent(new Event(Event.RESIZE));
rakesh_fullscreen.addEventListener(MouseEvent.CLIC K, switch_screen_mode);
default_volume = 0.5;
bg_music = new rakesh_music();
music_channel = bg_music.play(0, 10000);
music_volume = new SoundTransform();
music_volume.volume = default_volume;
music_channel.soundTransform = music_volume;
sound_control.stop();
sound_control.addEventListener(MouseEvent.CLICK, play_pause);
return;
}// end function

public function play_pause(event:MouseEvent) : void
{
music_volume.volume = default_volume;
if (event.target.currentFrame == 1)
{
music_volume.volume = 0;
}
music_channel.soundTransform = music_volume;
event.target.play();
return;
}// end function

public function goto_music(event:MouseEvent) : void
{
navigateToURL(new URLRequest("song"), "_blank");
return;
}// end function

public function load_progress(event:Event) : void
{
loaded_bytes = stage.loaderInfo.bytesLoaded;
total_bytes = stage.loaderInfo.bytesTotal;
if (total_bytes == 0)
{
total_bytes = 1;
}
percent = Math.round(loaded_bytes / total_bytes * 100);
fm_bar.scaleX = percent * 0.01;
loader_info.text = "Loading... " + percent + "%";
if (percent >= 100)
{
fm_bar.removeEventListener(Event.ENTER_FRAME, load_progress);
play();
}
return;
}// end function

function frame1()
{

stop();
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
fm_bar.addEventListener(Event.ENTER_FRAME, load_progress);
return;

public function resize_listener(event:Event) : void
{
rakesh_background.x = stage.stageWidth * 0.5;
rakesh_background.y = stage.stageHeight * 0.5;

rakesh_fullscreen.x = stage.stageWidth - 22;
rakesh_fullscreen.y = stage.stageHeight - 22;
sound_control.x = stage.stageWidth - 65;
sound_control.y = 20;

return;
}// end function

}
}