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,
I
Solved, though not sure why! I include it here for completness, in the hope
it may help someone else.
I gave up trying to get the icons displaying and went ahead and created
PNGs, then added the first of them using the icon tag of ButtonIcon
(icon="assets/icons/ico1.png") leaving the FontAwesome a
hmm... apparently that only fixed it on the AIR Simulator. Just tried it on 2
Android devices and still get the broken symbol (square with a cross) with
no FontAwesome icon, so no fix yet.
Do I need to manually add something / swc / font / package to the
compilation stage perhaps?
Thanks for any
Thanks. Yes, I selected the font support & that seemed to install okay. I see
Flatspark buttons, and I see Fontawesome icons on labels, but I dont see the
FontAwesome icons on buttons, using the code above, outside of the AIR
simulator. Im using 4.14. Should I update to the 4.14.1 maybe?
--
Vi
That was it! Thanks so much. I checked the settings for embedAsCFF and set
the fontWeight to bold, and sure enough it now works on external devices.
Thanks Alex, thats been bugging me for a couple of weeks!
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/Fo
Hi,
Is it possible to add custom labels to a ToggleSwitch in a mobile project
using AS3 rather than MXML? I need to add custom labels & add via AS3. Im
using Flex 4.14 & FB4.7.
Ive created the external package (using the usual MyToggleSwitch sample out
there) and that works just fine when calling
Thanks Om. Yes, that was the source of the code I mentioned. Problem comes
when I try and call it using AS3. In MXML, it works as expected by adding a
ToggleSwitch component and then adding a skinclass = skins.togYesNo.
But when I add it using AS3 (which I need to do, because the rest of the
page
Hi Om,
Thanks. Unfortunately, that skinClass suggestion didnt work :( Hope its
appropriate to post the following code - Ive reduced it to the minimum:
CustomToggle.mxml
http://ns.adobe.com/mxml/2009";
xmlns:s="library://ns.adobe.com/flex/spark"
creationComplete=