PDA

View Full Version : About Themes


gghazaryan
04-10-2008, 08:33 AM
Hi folks.
I have 2 questions concerning themes.

1. Have you tried to use flex builder for creating themes with configuration file?
Sample:
<?xml version="1.0"?>
<flex-config xmlns="http://www.adobe.com/2006/flex-config">
<output>theme.swc</output>
<compiler>
<source-path>
<path-element>.</path-element>
<path-element>C:\Documents and Settings\XXX\My Documents\Flex Builder 3\PokerThemes\example1</path-element>
</source-path>
</compiler>
<include-file>
<name>button.css</name>
<path>./css/button.css</path>
</include-file>

<include-classes>
<class>images.Images</class>
</include-classes>

</flex-config>

2. How to use this class(images.Images) in my application after including theme???

Thanks a lot.

gghazaryan
04-12-2008, 03:49 PM
Can anybody say , is it possible to compile custom class to theme, and than use that class in your application which is compiled with that theme. If yes, please give me an idea how to create object of that class.
Thanks