# Passing a variable to the constructor from the timeline

**URL:** <https://forum.kirupa.com/t/passing-a-variable-to-the-constructor-from-the-timeline/235361>\
**Category:** flash\
**Created:** [August 10, 2007, 2:06pm UTC](https://forum.kirupa.com/t/passing-a-variable-to-the-constructor-from-the-timeline/235361 "2007-08-10T14:06:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rlowenberg](https://avatars.discourse-cdn.com/v4/letter/r/8491ac/32.png) [@rlowenberg](https://forum.kirupa.com/u/rlowenberg)\
**Post date:** [August 10, 2007, 2:06pm UTC](https://forum.kirupa.com/t/passing-a-variable-to-the-constructor-from-the-timeline/235361/1 "2007-08-10T14:06:42Z")

</div>

Hey everyone! My first post, hopefully not too dumb a question…

How do you pass a variable to your constructor function when the instance of the class is on the timeline, rather than created with ActionScript?

MUCHAS GRACIAS!

Rich.
