# Function as Data type i gotta question about it

**URL:** <https://forum.kirupa.com/t/function-as-data-type-i-gotta-question-about-it/328086>\
**Category:** flash\
**Created:** [April 18, 2012, 11:38am UTC](https://forum.kirupa.com/t/function-as-data-type-i-gotta-question-about-it/328086 "2012-04-18T11:38:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raphaelle](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@raphaelle](https://forum.kirupa.com/u/raphaelle)\
**Post date:** [April 18, 2012, 11:38am UTC](https://forum.kirupa.com/t/function-as-data-type-i-gotta-question-about-it/328086/1 "2012-04-18T11:38:52Z")

</div>

i gotta question about function, anyway im using flash as3 for about 6 months, and im still kinda confuse in this things like getters and setters, and idk what you call that but here’s and example :

private function myBoolean():boolean  
{  
//codes here //  
{

idk how to use it, and what it differs from getters and setters,  
hope somebody can answer this things. anyway thanks in advance for your help guys…

-raphaelle  
cheers.
