[FMX] Actions on Dynamic Text

Can u put actions on dynamic text???

P.S. Im a n00b at actoinscript and will happily accept tutorials:thumb:

put it in an mc and add actions to the mc.

what kind of actions do you want on the textfield?

liek, the speed or where the mouse is and yeah, im a n00b at actionscript so i cant code my own. i dont even know wat half of the commands do! So i just follow tutes

Hmm i didnt get what you want to do… :-
can you give more details?

Register the TextField as a listener of the Mouse object. Then you can use an onMouseMove event handler to display the mouse location. =)
[AS]myTextFieldInstanceName.onMouseMove = function() {
this.text = “X:”+_root._xmouse+"\rY:"+_root._ymouse;
};
Mouse.addListener(myTextFieldInstanceName);[/AS]

right…

kh3mical coughs can u make it simpler, i dont think u understand how much of a noob i am

Yeah, I can make it simpler. See attachment… :wink:

thanx

No problem. :stuck_out_tongue:

i couldnt find the code anywhere on that movie!? where is it?

It’s in the first frame actions… highlight the frame and hit F9.