# Redrawing components on parameter change

**URL:** <https://forum.kirupa.com/t/redrawing-components-on-parameter-change/306548>\
**Category:** flash\
**Created:** [March 17, 2010, 9:37am UTC](https://forum.kirupa.com/t/redrawing-components-on-parameter-change/306548 "2010-03-17T09:37:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoooom](https://avatars.discourse-cdn.com/v4/letter/z/9dc877/32.png) [@zoooom](https://forum.kirupa.com/u/zoooom)\
**Post date:** [March 17, 2010, 9:37am UTC](https://forum.kirupa.com/t/redrawing-components-on-parameter-change/306548/1 "2010-03-17T09:37:06Z")

</div>

Hi there,

I have a component I have built in AS3 that takes a parameter which is likely to change with each instance of the component on stage. ie. the parameter will be different on frame2 to what it was on frame1.

The problem I am having is that flash will not recognise the change of parameter and redraw the component unless I do something like giving it a different instance name or putting it on a new layer. I find this very puzzling as I have the exact same component in AS2 and am not required to perform these actions to get it working.

I suppose what I’m essentially after is a way of forcing the component to refresh on every new frame.

Thanks for any help you can offer!
