PDA

View Full Version : [FMX] Actions on Dynamic Text



kh3mical
July 20th, 2003, 01:15 AM
Can u put actions on dynamic text?????

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

radicaljugnu
July 20th, 2003, 01:25 AM
put it in an mc and add actions to the mc.

ahmed
July 20th, 2003, 01:37 AM
what kind of actions do you want on the textfield?

kh3mical
July 20th, 2003, 01:50 AM
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

claudio
July 20th, 2003, 01:52 AM
Hmm i didnt get what you want to do... :-\
can you give more details?

kode
July 20th, 2003, 01:58 AM
Register the TextField as a listener of the Mouse object. Then you can use an onMouseMove event handler to display the mouse location. =)
myTextFieldInstanceName.onMouseMove = function() {
this.text = "X:"+_root._xmouse+"\rY:"+_root._ymouse;
};
Mouse.addListener(myTextFieldInstanceName);

kh3mical
July 20th, 2003, 02:00 AM
right......

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

kode
July 20th, 2003, 02:18 AM
Yeah, I can make it simpler. See attachment... ;)

kh3mical
July 20th, 2003, 02:25 AM
thanx

kode
July 20th, 2003, 02:27 AM
No problem. :P

kh3mical
July 20th, 2003, 04:57 AM
i couldnt find the code anywhere on that movie!? where is it?

kode
July 20th, 2003, 05:02 AM
It's in the first frame actions... highlight the frame and hit F9.