Question
Is it possible to create a text field that will show in Flex project
I am trying to built a custom class and wonder if it's
possible to create a text field that will show in Flex project
for example, simple script like the one below, will create a text field in Action script project, but if I want the text to be displayed in Flex project what do I do? I am not sure if it's even possible...
PS
I can't use the compile swf file since the info is being pushed dynamically and I want to be able to move the message on the screen.
package {
import flash.display.Sprite;
import flash.display.MovieClip;
import flash.text.TextField;
public class text extends MovieClip
{
public function text()
{
var field:TextField = new TextField();
addChild(field);
field.text = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi tortor purus, aliquet a, ornare ac, suscipit a, est.";
}
}
}
for example, simple script like the one below, will create a text field in Action script project, but if I want the text to be displayed in Flex project what do I do? I am not sure if it's even possible...
PS
I can't use the compile swf file since the info is being pushed dynamically and I want to be able to move the message on the screen.
package {
import flash.display.Sprite;
import flash.display.MovieClip;
import flash.text.TextField;
public class text extends MovieClip
{
public function text()
{
var field:TextField = new TextField();
addChild(field);
field.text = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi tortor purus, aliquet a, ornare ac, suscipit a, est.";
}
}
}
