« Return to Thread: Embedding programmatic skins in CSS and compiling to SWF

Embedding programmatic skins in CSS and compiling to SWF

by ak-20 :: Rate this Message:

Reply to Author | View in Thread

I am experimenting with using external CSS files compiled as SWF. However, I have a problem.

My css files use programmatic skins, and FlexBuilder cannot resolve the class references.

So if I have

border-skin: ClassReference("com.border.SimpleGradientBorder");

it will choke when trying to build the swf because it doesn't know how to find it.

Obviously this works fine when compiled into the application, since my project properties resolves the above path.

Is there a way to embed the above class, and if so what is the syntax?
 
aK


      See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/

 « Return to Thread: Embedding programmatic skins in CSS and compiling to SWF