Alex,

I have no idea how can I check whether "FontAwesomeIconType" (sourceID) is a
class based on this code:

["FontAwesomeIconType", "GLASS"]

I know that in case of Flash I have getQualifiedClassName or
getDefinitionByName, but even that if I have above string without package I
got from this methods null.

In case of JS I see FLEXJS_CLASS_INFO, but again I have only my simple
string so I got nothing.

I have found some workaround if code looks like that:

<fa:FontAwesomeIcon
iconType="{org.apache.flex.fa.FontAwesomeIconType.GLASS}" size="fa-lg"  />

ItemRendererDataBinding - will create generic binding (makeGenericBinding)
and this is working.

Piotr 



-----
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57949.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to