i'm having a weird problem with set rgb. i'm making an avatar chat system using xml. one of the features is setting the colours of your avatar's clothes; hat, jumper etc.
in the first scene there is an editor, where you can set the colours and preview them. this works fine, it's once the avatar is created that the fun begins...
the duplicate movie section reads an data string from the xml and sets an array, which includes x and y pos, plus all 6 colour options as set in the login screen, the array is boxLocation, the elements are  x,  y,  ffffff etc. i checked these in list variables, and all are present and correct. now to colour the new avatar. the code i have written goes
boxcolor = new Color(eval(node.attributes['user']).jumperlight);
boxcolorcontroller = '0x' add boxLocation;
jumperlight is the jumper movie clip inside the new avatar clip(node.attributes['user']), boxcontroller is 0x plus the 3rd item from the array, a hexidecimal value, say 33ccff.
however, when the character appears, all the setRGB movieclips are black!, obviously something is being written into the setRGB value, but not what i want.
an extra weird thing is that one one occasion, one of the items turned blue, putting paid to my thought that a value of 0 was being sent to the setRGB, making everything black.
any thoughts would be greatly appreciated, as i've only managed to setRGB to my eyes (ff0000) and my hair (C0C0C0)!!!
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|XML PRELOAD Problem||grafxidg||Newbies||3||04-08-2010 01:06 AM|
|textfield focus problem in external swf||mrpoate||Newbies||1||07-10-2007 11:34 AM|
|setRGB() and movement problem...||Genius||Flash MX||4||04-11-2003 08:17 AM|
|setRGB problem||teatime||General Flash||1||11-11-2002 01:45 PM|
|setRGB problem||BlueSkull||Advanced Flash||3||05-17-2001 07:03 PM|