Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compatible with adobe flash builder 4.6 / flex? #1154

Closed
emage opened this issue May 23, 2013 · 4 comments
Closed

compatible with adobe flash builder 4.6 / flex? #1154

emage opened this issue May 23, 2013 · 4 comments

Comments

@emage
Copy link

emage commented May 23, 2013

Tried using it on flex and it just shows a lot of errors. So just wanted to know if its compatible.

@davegandy
Copy link
Member

Never used Flex. I don't know why it wouldn't work, as it works with all other desktop software. Instructions here: http://fontawesome.io/cheatsheet/.

If it doesn't work with Flex, I'm not sure it's my issue.

@pimplug
Copy link

pimplug commented Apr 22, 2014

Just include this in your css:

@font-face {
    fontFamily:             FontAwesome;
    embed-as-cff:           true;
    src:                    url("/assets/font/font-awesome-4.0.3/fonts/FontAwesome.otf");
    fontStyle:              normal;
}
@font-face {
    fontFamily:             FontAwesomeNonCff;
    embed-as-cff:           false;
    src:                    url("/assets/font/font-awesome-4.0.3/fonts/FontAwesome.otf");
    fontStyle:              normal;
}

And add the contents of FontAwesome in your assets folder (or somewhere else).

Then use this syntax to show icons as a label:

<s:Label id="icon" text="&#xf011;" color="#000000" fontFamily="FontAwesome"/>

Use the link http://fontawesome.io/cheatsheet/ to find the right code for your icon (or write a function to nick-name it).

@RavichandranJ
Copy link

wow!! great

@drmaposa
Copy link

drmaposa commented Feb 3, 2015

Hi, i discovered that it works on the default Flash Builder Flex SDK (4.6.0) with AIR version 3.1
Im using Apache Flex 4.13.0 and AIR 16. So I tried it and was showing boxes/errors. I then overlayed Adobe Flex SDK 4.6.0 with a new AIR version AIR 16 and it didnt worked as well.

So I think The issue is with AIR 16, unless we are missing something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants