as3 code to support swf player with control buttons

i need code for swf player.the player consists of play, pause ,stop, next and previous with seek bar and time control.i had try my code which not support my swf …the code is …
function swfLoadedHandler(e:Event):void {
trace(“swf loaded”);

currentSWF=MovieClip(swfLoader.content);

playerSwf.btForward.addEventListener(MouseEvent.CL ICK, button_forward);
playerSwf.btRewind.addEventListener(MouseEvent.CLI CK, button_rewind);
playerSwf.btPause.addEventListener(MouseEvent.CLIC K, button_pause);
playerSwf.btPlay.addEventListener(MouseEvent.CLICK , button_play);

currentSWF.addEventListener(Event.ENTER_FRAME , checkLastFrame);
}

function checkLastFrame(e:Event):void {
if (currentSWF.currentFrame==currentSWF.totalFrames) {
currentSWF.stop();
}
playerSwf.sliderMc.width=(currentSWF.currentFrame/currentSWF.totalFrames)*140;
}
function button_forward(e:Event):void {
currentSWF.nextFrame();
}

function button_rewind(e:Event):void {
currentSWF.prevFrame();
}
function button_pause(e:Event):void {
currentSWF.stop();
}
function button_play(e:Event):void {
currentSWF.play();
}

swfLoader.load(swfFile);

playerSwf.container.addChild(swfLoader);

function closePlayer(e:MouseEvent):void {
playerSwf.container.removeChild(swfLoader);
removeChild(player);
}
}

pls help me with another code to run my swf with player…and i had attached my swf and player pls help me frds…