# Passing parameters to internal classes

**URL:** https://forum.kirupa.com/t/passing-parameters-to-internal-classes/300267
**Category:** Uncategorized
**Created:** [November 18, 2009, 3:02pm UTC](https://forum.kirupa.com/t/passing-parameters-to-internal-classes/300267 "2009-11-18T15:02:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![activa](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@activa](https://forum.kirupa.com/u/activa)
#### Post date: [November 18, 2009, 3:02pm UTC](https://forum.kirupa.com/t/passing-parameters-to-internal-classes/300267/1 "2009-11-18T15:02:17Z")

</div>

I’m sure I’m overlooking something obvious, but…

is there a simple way to pass a parameter in the “new” statement for a class that has been defined in the IDE? Like so:

var newInternalClass:InternalClass = new InternalClass (someVar);

So that when the new class is instantiated it has someVar to work with?
