PDA

View Full Version : html in a text field


defrex
07-08-2001, 01:33 AM
i'm like 80% sure theres no tut for this, but if there is and i'm asking the question for nothing, could you point me to it?

how do i load an html file into a text field?

Jesse
07-08-2001, 01:56 AM
this tute does it but it's not specifically about it:
http://www.actionscripts.org/tutorials/intermediate/scrolling_text/index.shtml
this one might be good too...
http://www.actionscripts.org/tutorials/intermediate/Invoking_Actions_From_HTML_Textfields/index.shtml

it's pretty easy really.

defrex
07-08-2001, 01:58 AM
k, thanx.

defrex
07-08-2001, 02:20 AM
the first one dosen't talk about it at all. so i though, thats ok i'll just dl the .fla and teach myself. but it dosen't work in the .fla

so, i checked out the second one. i learned some interesting stuff, but it just put html in the variable. i need to load it from an external file.

so i'm back where i began. do you think you could help me out?

ps. i realy apesiate this.

Jesse
07-08-2001, 02:35 AM
the first one does work only I forgot to include the html.txt file which is here: http://www.actionscripts.org/tutorials/intermediate/scrolling_text/html.txt save it into the safe dir as the fla. or alternatively download the source again in 5 minutes coz I'm fixing it up now to include that file.

Jesse
07-08-2001, 02:38 AM
ok it's updated but make sure you get the most recent version. my stupid proxy is sending me the old version still but the new one IS online.

defrex
07-08-2001, 02:50 AM
thanx again.

defrex
07-08-2001, 03:09 AM
is there no way to use a file with a html extention. rather than a txt file with a variable in it?

Jesse
07-08-2001, 03:39 AM
the extension can be whatever y ou like but the variables must be defined in the Flash format. You can't just load an existing HTML file using this method without formatting it for Flash compliance.

defrex
07-08-2001, 04:09 AM
to bad. oh well, thanx for the help!