insomnia
insomnia

Reputation: 66

difference in Flex 4.5 & flex 4.5.1, air 2.5 and air 2.7

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

Answers (2)

Swati Singh
Swati Singh

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

Nate
Nate

Reputation: 2881

That was a beta class and it didn't make the cut.

http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/spark/components/supportClasses/MobileTextField.html

Although, you should be able to just use a TextField. Is there some specific functionality you were needing?

Upvotes: 1

Related Questions