IF /ELSE statements

sup all…ima brand spakin NOob…trying to forget the little i knew b4(years ago) and learning as3…going from as1 to 3…i feel restarted lol its liek as i read these tutorials and whatnot, my brain flashes back to when i knew something and its way diff now…sigh anyways(bare with me lol )

ok so as im looking around for if/else statememnt tuts… eventually i wanna apply em to smooth out my transitions to external swfs (most tuts i find are in as2)

so…im testing to see if i can get results and i used this (and tried diff ways and no go)er.to be clear the butt works fine, the if statement does not

import flash.events.MouseEvent;

stop();


playBtn.addEventListener(MouseEvent.CLICK,pbtn);
function pbtn(Event:MouseEvent):void
{
	play();
	trace("hmm");
	if(trace("hmm") == true) {trace("itsWorrkkiinggg")}
}


import flash.events.MouseEvent;

stop();


playBtn.addEventListener(MouseEvent.CLICK,pbtn);
function pbtn(Event:MouseEvent):void
{
	play();
	trace("hmm");
	}

if (trace("hmm") == true) {trace("itsWorrkkiinggg")
}

i dunno what im doing lol.