|
| |||||||
| |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
| | #1 (permalink) |
| Registered User Join Date: May 2003
Posts: 816
+1 Internets | Loading Dynamic text in a movie clip in Flash MX Ok so I can't get this dynamic text shit to work for the life of me. I don't know what I am doing wrong. What I want to happen is when this movie clip is loaded for flash to read from a text file and show the text in that dynamic textbox within the movie clip. Here is what I have done: I have a movie clip that is part of this website I am making and within this movie clip is a dynamic text box that is set to multiline, render as html, and has the Var set to loadtext. On the movie clip action script I have onClipEvent(load) { loadVariablesNum("nameoftextfilehere.txt", "_level1"); } Now the text file has the loadtext= in the first line, then the text I want it to load. Now from reading tutorials online and stuff it was my understanding that doing this tells flash that when you load the text file it is loaded into the dynamic text box. However, the text doesn't show at all, I tried putting it on level 0 and 2 as well, text still doesn't show. Any help would be appreciated.
__________________ "Talk all you want, but when I say I'm going to kill you, there's nothing you can do but die" |
| | |
| | #2 (permalink) | |
| CHARLIE DON'T SURF! Join Date: Jul 2004
Posts: 777
| You said you checked the tutorials, but if you're using Flash MX, this looks like it would be useful: Quote:
__________________ In Soviet Russia, Exception throws you! Last edited by Kallian : 01-07-2006 at 06:44 PM. | |
| | |
| | #3 (permalink) |
| Registered User Join Date: May 2003
Posts: 816
+1 Internets | I fixed it, it was so fucking stupid. For some reason designating the 'level' field as "_level1" is not legit but just using a 1 works. Even though "_level1" format is documented, it doesnt seem to work with dynamic text boxes.
__________________ "Talk all you want, but when I say I'm going to kill you, there's nothing you can do but die" |
| | |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
| |