Problem with removeEventListener

here what i wanted to say

i have created sq_thumb movie clip. then i linkage sq_thumb with class name “thumb”. then i double click sq_thumb in the library to go to inside sq_thumb timeline. then i write following code

var thumbURL:String =  "thumb/" + basename + id + ".jpg";

var imageLdr:Loader = new Loader();
var imageURLReq:URLRequest = new URLRequest(thumbURL);
imageLdr.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);

function imageLoaded(event:Event):void

then i go to main timeline. and create two buttons. one button is HOME and second button is PROFILE. so when i first run the program it first run the HOME button in which the above code is executed. then when i click the PROFILE button it should remove above code and display the content of PROFILE. code for PROFILE button on the main timeline is below

function bProfile(event:Event):void
	var contentRequest:URLRequest = new URLRequest("profileButton.txt");
profileButton.addEventListener(MouseEvent.CLICK, bProfile);

also see the attached file.

please help me i really need help