Complete Code

Hi to all! Im new in this forum, and to be honest I dont know how to program actionscript, I dont even know how to program!! I just need a little bit of help, I need to complete a code which I believe is actionscript, it is for solving a puzzle, I would greatly appreciate help. Here is the code:

package com.legendsTelegraph.puzzles.puzzle5
{
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.geom.Rectangle;

import com.caurina.transitions.Tweener;

import com.legendsTelegraph.puzzles.puzzle5.CodeField;
import com.legendsTelegraph.view.buttons.SendButton;
import com.legendsTelegraph.data.TextXml;

public class FloaterContent extends Sprite
{
public static const ON_COMPLETE :String = “onSubmitPuzzle5Complete”;private var _codeField :CodeField;
private var _compileButton :SendButton;

public function FloaterContent() {
_codeField = new CodeField();
_codeField.x = 22;
_codeField.y = 20;
addChild ( _codeField );
var codeFieldRect:Rectangle = _codeField.getRect ( this );

_compileButton = new SendButton ( TextXml.getText().puzzle5.compileButton );
_compileButton.x = int ( codeFieldRect.x + codeField.width / 2 );
_compileButton.y = int ( codeFieldRect.bottom ) + 20;
addChild ( _compileButton );

_compileButton.addEventListener ( MouseEvent.MOUSE_UP, onCompile );
}

HERE IS WHERE THE CODE MUST BE COMPLETED

private function animPuzzleOut():void {
_compileButton.removeEventListener ( MouseEvent.MOUSE_UP, onCompile );
Tweener.addTween ( this, { alpha:0, time:1, transition:“easeInOutCubic”, onCompletenAnimOut } )
}

HERE ALSO THE CODE MUST BE COMPLETED

Thanks to all!!!