ok i got that working with the form fields as well, but my problem now is this
the user can type in a hex code e.g 0x454545 in the skin box, click the prievew button and it will re colour the image, but then if they cahnge it again and press the preiview button it will not change the image. I traced the form value and it is being changed but it is just not re-coloring the image, any ideas?
nevermind i fixed it 2 seconds after posting this, will post it here in a sec
Code:on (release) { if (this.test == "1") { player.skin.setRGB(_root.formskin); player.shirt.setRGB(_root.formshirt); player.trouser.setRGB(_root.formtrouser); player.shoe.setRGB(_root.formshoe); } else { trace(_root.formskin); player.skin = new Color(_root.player.skin); player.skin.setRGB(_root.formskin); player.shirt = new Color(_root.player.shirt); player.shirt.setRGB(_root.formshirt); player.trouser = new Color(_root.player.trouser); player.trouser.setRGB(_root.formtrouser); player.shoe = new Color(_root.player.shoe); player.shoe.setRGB(_root.formshoe); this.test = "1"; } }




Reply With Quote