# Optimize code help!

**URL:** <https://forum.kirupa.com/t/optimize-code-help/176873>\
**Category:** flash\
**Created:** [January 27, 2006, 4:12pm UTC](https://forum.kirupa.com/t/optimize-code-help/176873 "2006-01-27T16:12:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flash\_noob1](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@flash\_noob1](https://forum.kirupa.com/u/flash_noob1)\
**Post date:** [January 27, 2006, 4:12pm UTC](https://forum.kirupa.com/t/optimize-code-help/176873/1 "2006-01-27T16:12:02Z")

</div>

Man I suck at action script!!!:crying:

I need help please.🙂

I have 4 TQ sections with multiple parts  
4 TQsections parts = (4, 4, 12, 6); Each section consists of multiple parts…

Im trying to set each to “undefined”

I dont want to have to write this out 26 times…

Here what im trying to do programatically:  
\_root[“teachingQuestion”+ for each TQ section (4) +“Quiz”+number of sections per TQ (4, 4, 12, 6) +“Status”] = undefined;

Help please!

Ill offer you $10.00 via pay pal for the first working answer.

TIA!

-T
