flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WelshAndy <a...@eazyweb.net>
Subject FontAwesome and Flex 4.14
Date Sun, 19 Apr 2015 15:03:40 GMT
Hi,
Im trying to get FontAwesome icons working with buttons in my Flex project,
but having no luck at all. Ive tried all sorts of fixes but only see
fontawesome icons on labels. Its doing my head in, web searches throw up
nothing on this, and its got me beat. If anyone can shed any light on this,
Im eternally grateful...

I do the following:

In the <s:View I have this:
xmlns:components=&quot;flatspark.components.*&quot;

in the &lt;fx:Script I have this:
import flatspark.components.ButtonIcon;
import flatspark.skins.ButtonIconSkin;
import flatspark.utils.AwesomeUtils;

and then this in the main mxml part I have the default code from CWiki:
&lt;components:ButtonIcon iconFont=&quot;{AwesomeUtils.fa_info_circle}&quot;
height=&quot;{ButtonSizeEnum.Large}&quot; label=&quot;Icon see
anything&quot;/>

Instead of a symbol, that just shows me a square with a cross in it (the
broken char symbol)
What am I missing please?

many thanks for any clues!




--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FontAwesome-and-Flex-4-14-tp46092.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Mime
View raw message