Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

tfu skinning
Page 1 of 1

Author:  splendidbob [ 19. Feb 2009, 18:53 ]
Post subject:  tfu skinning


I am trying to skin the tfu uploader.. however some of the buttons are proving problematic.

mx.controls.Button.prototype.falseUpSkin = "BlueButtonUpSkin";
mx.controls.Button.prototype.falseDownSkin = "BlueButtonDownSkin";
mx.controls.Button.prototype.falseOverSkin = "BlueButtonOverSkin";
mx.controls.Button.prototype.falseDisabledSkin = "BlueButtonDisabledSkin";

is the code I am using, but it is only affecting some of the buttons, the options remove and upload buttons remain unchanged, as can be seen here


these buttons seem to be instances of the button component so I cant work out why they arent accepting the new skin. (I tried using the non code method of skinning and the same thing happened).

Also I am unsure how the labels are being applied to the button.. changing the labels in the component inspector doesnt work (presumably they are being changed somewhere in the code?)

Any help would be appreciated.


Author:  TinyWebGallery [ 19. Feb 2009, 19:02 ]
Post subject: 

I think it has to do with active and not active buttons. Because if you e.g. select a file the remove button gets active and then the new skin is used.

I think you have to apply this to the inactive buttons as well.

But why the options buttons does not change is strange because its a button like the others.

- Michael

Author:  TinyWebGallery [ 19. Feb 2009, 19:14 ]
Post subject: 

about the labels. Change them in the xml file ;).

- Michael

Author:  splendidbob [ 25. Feb 2009, 05:20 ]
Post subject: 

Thx for the help.. I now have the skin of the buttons working but am having troubles with the label font size ;)

Is the label size changed somewhere outside the main fla?


Author:  TinyWebGallery [ 25. Feb 2009, 08:56 ]
Post subject: 

Not that I know. I only make the font of the close buttons a little bit smaller (the X)

- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group