Reputation: 66
import spark.components.supportClasses.MobileTextField;
in my Flash Builder 4.5 there is a error: it can't find the MobileTextField class in the park.components.supportClasses. i think it is in flex4.5 sdk and air 2.5. so i want to know how to do it in flex4.5.1 sdk.
Upvotes: 0
Views: 459
Reputation: 1863
you can also use the property MobileTextField as
MobileTextField(txtMyText.textDisplay).htmlText = "sample <b>text</b>";
and it works. Just needed to import:
import spark.components.supportClasses.MobileTextField;
to get it working.
Upvotes: 0
Reputation: 2881
That was a beta class and it didn't make the cut.
Although, you should be able to just use a TextField. Is there some specific functionality you were needing?
Upvotes: 1