Instead of using dots (com.border.SimpleGradientBorder), try using slashes (com/border/SimpleGradientBorder).
--- In [email protected], ak <ak_...@...> wrote: > > 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/ >

