# How do I get my GUI to Control ActionScript?

**URL:** https://forum.kirupa.com/t/how-do-i-get-my-gui-to-control-actionscript/288699
**Category:** flash
**Created:** [May 19, 2009, 9:32pm UTC](https://forum.kirupa.com/t/how-do-i-get-my-gui-to-control-actionscript/288699 "2009-05-19T21:32:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![zigsta](https://avatars.discourse-cdn.com/v4/letter/z/ed8c4c/32.png) [@zigsta](https://forum.kirupa.com/u/zigsta)
#### Post date: [May 19, 2009, 9:32pm UTC](https://forum.kirupa.com/t/how-do-i-get-my-gui-to-control-actionscript/288699/1 "2009-05-19T21:32:21Z")

</div>

Hey there I have this animation that makes patterns you can change the patterns shape and so on with the action script but I want the users to be able to change it at run time.

What I need is for a scroll bar or maybe text field to be able to change the action script.

This is the line that needs to be editable e.g the number must change.

this[newnode].\_rotation=137.5;

I am at a complete loss, how do I go about doing this?

Any help is much appreciated

Many Thanks.
