Help with Dynamic Text!

It seems like that topic has been lingering around the help forums for quite some time. i’ve searched on kirupa.com and couldn’t find a dynamic text tutorial (unless you can provide me with a link). i think i’m going to step in and create a tutorial.

what do you guys say?

Thor, I’m almost done adding Chris’ tutorial: http://www.kirupa.com/developer/mx/multiple_dynamictext.htm (the text doesn’t load yet - I’m working on that ;)) and I was messing around with something similar before I changed tracks to HTML/JS tutorials. I’ve attached my fla/swf:

Feel free to modify my attached source or create your own - there can be no shortage of dynamic text tutorials.

Cheers!
Kirupa :bandit:

hm…that seems like a superb tutorial. maybe i won’t need to make one.

I found his explanation to be quite lacking; if you want, you can simply write a few paragraphs as an AS Trick. Up to you though :ub:

“Make sure that you save the text file as TEXT1, TEXT2, and TEXT3” should be “Make sure that you save the text file as TEXT1.txt, TEXT2.txt, and TEXT3.txt” ! are you on a mac? lol
and normally you should call the loadVars.load AFTER defining the onLoad handler…
Much to do here…

1 thing I’d change is the static button handlers into dynamic handlers, but other than that it’s nice :slight_smile:

*Originally posted by Ilyas *
**1 thing I’d change is the static button handlers into dynamic handlers, but other than that it’s nice :slight_smile: **

Or show both method and let the viewer use what they want.

I don’t agree, Lost. This is a tute for Flash MX, we should use Flash MX Actionscript (we’re not going to use tellTarget in the tutes just because it’s a possibility :P).

I agree that dynamic event handlers are better and should be focused on, but on handlers are still a possibility of use and some people find them easier to use, so it is really user preference.

and tellTarget is deprecated so it is best to try and veer away from that since it may be gone in the future. As far as I know on handlers and onClipEvent handlers aren’t deprecated yet :wink: :stuck_out_tongue:

If I had to choose one over the other I would go with dynamic event handlers, but it never hurts to add that little extra something.

All right, all right, bad example :stuck_out_tongue: How about LoadVariables instead of loadVars?

I mean, if people find it easier to use static handlers, they should change their habits, don’t you think?

*Originally posted by lostinbeta *
**I agree that dynamic event handlers are better and should be focused on, but on handlers are still a possibility of use and some people find them easier to use, so it is really user preference.

and tellTarget is deprecated so it is best to try and veer away from that since it may be gone in the future. As far as I know on handlers and onClipEvent handlers aren’t deprecated yet :wink: :stuck_out_tongue:

If I had to choose one over the other I would go with dynamic event handlers, but it never hurts to add that little extra something. **
shudders tellTarget…

*Originally posted by Ilyas *
**All right, all right, bad example :stuck_out_tongue: How about LoadVariables instead of loadVars?

I mean, if people find it easier to use static handlers, they should change their habits, don’t you think? **

MUCH better example :wink: