# Function.params

**URL:** <https://forum.kirupa.com/t/function-params/229423>\
**Category:** flash\
**Created:** [June 17, 2007, 1:43am UTC](https://forum.kirupa.com/t/function-params/229423 "2007-06-17T01:43:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![K2xL](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@K2xL](https://forum.kirupa.com/u/K2xL)\
**Post date:** [June 17, 2007, 1:43am UTC](https://forum.kirupa.com/t/function-params/229423/1 "2007-06-17T01:43:57Z")

</div>

Hey guys,

I was wondering if anyone knew if it was possible to declare a function variable like so:

```auto

var f:Function = ReferenceToSomeFunctionInClass;

```

And assign parameters to the function? I was hoping I could do something like:

```auto

var f:Function = ReferenceToSomeFunctionInClass;
f.params[0] = "First parameter!";
f();

```

It’d be very helpful if this was possible; I don’t like resorting to

```auto

var f:Function = ReferenceToSomeFunctionInClass;
f.call(this,"First Parameter!");

```
