# Better colour change method for smaller file?

**URL:** <https://forum.kirupa.com/t/better-colour-change-method-for-smaller-file/143365>\
**Category:** Uncategorized\
**Created:** [April 5, 2005, 1:41pm UTC](https://forum.kirupa.com/t/better-colour-change-method-for-smaller-file/143365 "2005-04-05T13:41:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![forcefeed](https://avatars.discourse-cdn.com/v4/letter/f/ad7895/32.png) [@forcefeed](https://forum.kirupa.com/u/forcefeed)\
**Post date:** [April 5, 2005, 1:41pm UTC](https://forum.kirupa.com/t/better-colour-change-method-for-smaller-file/143365/1 "2005-04-05T13:41:55Z")

</div>

Hi, I’m new to Flash but eager to learn! I hope you guys can give me some good tips on using better code to reduce file size.

I’ve just done a colour change swf for a friend who has a clothing business. Basically it just needed to change the colour of the t-shirt according to button presses.

I just wanted to know if there is a better way (more code i assume) to do the colour changes? I’m looking for a really compact file size because there’s a lot more to go in it yet!

[http://www.souldaze.com/tshirtv1.html](http://www.souldaze.com/tshirtv1.html) – this is the swf I’ve got so far…  
[http://www.souldaze.com/tshirtv1.fla](http://www.souldaze.com/tshirtv1.fla) – and that’s the source file.
