dizz
February 6, 2003, 2:50am
1
Okay I have a movie where i am trying to load variables through a text file… The dynamic textbox is loacated in a MC named “text” and the instance of the dynamic text box “text”, what I forget is how to load the variables from the text file to that area in my movie…
this is what i have in the root frame one:
loadVariablesNum(“rock.txt”, _root.text.textbox);
but no luck! it works fine when the dynamic text box is in the root but i can’t figure it out when it’s in a MC?
Any help would be great thanx!!!
system
February 6, 2003, 3:11am
2
well … [color=red]text[/color] is actually a property of a text field … maybe that’s causing the problem
try something like …
movie clip instance name: textMC
text field instance name: textBox [size=1][ which you already have ][/size]
anyway … i think it’s easier with the LoadVars (object)
http://www.kirupa.com/developer/mx/dynamic_scroller.asp
hopi it helps
system
February 6, 2003, 3:25am
3
thats works good except all of my HTML formatting got messed up?? any help?
system
February 6, 2003, 3:28am
4
nope
post your file so i can take a look
system
February 6, 2003, 3:31am
5
this is the text file i am trying to load…
before it would parse the HTML now it just skips it???
system
February 6, 2003, 3:34am
6
ehmm … yeah … and the fla ?? :cyclops:
system
February 6, 2003, 3:47am
7
i can’t open your file :-\ failed to open document
what’s going on here ?? second time it happens today
here’s a fast example … hope it solves your problem
system
February 6, 2003, 3:53am
8
thanx works great i have no idea why mine wasnt workin?
anyways thanx again!!
system
February 6, 2003, 3:56am
9
no problem =)
and since i couldn’t open your file i don’t know either
system
February 6, 2003, 4:08am
10
i have one more question how would I be able to align all of the text full/justified… the button on the dynamic text box doesnt work its just stuck on left/justified
system
February 6, 2003, 4:27am
11
seems like flash doesn’t support it :-\
however …
<p align="left">
<p align="right">
<p align="center">
are supported …
system
February 6, 2003, 4:35am
12
what about fully justified?
system
February 6, 2003, 4:44am
13
nope :*(
seems like flash doesn’t support it
or at leats … i couldn’t get it
let me see if i can find a list or something of the supported tags …
system
February 6, 2003, 4:50am
14
<a href="url">
<b>
<font [color="#xxxxxx"] [face="Type Face"] [size="Type Size"]>
<I>
<p [align="left"|"right"|"center"]>
<u>
< (<, less-than sign)
> (>, greater-than sign)
& (&, ampersand)
" (", double-quote)
' (', apostrophe)
nope … it’s not supported. sorry :-\
[size=1][ EDIT ]
ehemm … lol it’s all messed up
here’s the link
http://www.macromedia.com/support/flash/ts/documents/htmltext.htm[/size]