# Trace (function return value);

**URL:** <https://forum.kirupa.com/t/trace-function-return-value/279010>\
**Category:** Uncategorized\
**Created:** [January 8, 2009, 3:26pm UTC](https://forum.kirupa.com/t/trace-function-return-value/279010 "2009-01-08T15:26:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThaJock](https://avatars.discourse-cdn.com/v4/letter/t/9de0a6/32.png) [@ThaJock](https://forum.kirupa.com/u/ThaJock)\
**Post date:** [January 8, 2009, 3:26pm UTC](https://forum.kirupa.com/t/trace-function-return-value/279010/1 "2009-01-08T15:26:42Z")

</div>

I’m having trouble refering to the return value of this function. I have done this before but not with a mouseEvent function. Can anyone tell me how to trace blueClick so that I can get the return Value

var theHolder:MovieClip = new the\_Holder();  
var theContent:MovieClip = new the\_Content();

blueBtn.addEventListener (MouseEvent.CLICK, blueClick);

function blueClick (event:MouseEvent):Object {  
with(theHolder){  
addChild(theContent)  
}  
return theHolder;  
}

trace(blueClick());
