i'm creating a flash website. I have macromedia flash mx 2004 proffesional edition. I did this tutorial (link) but if i wanted the text to be in a different position what would i have to do? would i have to modify the xml or the actionscript? and wat kinda code would i have to add? thx alot and this site has been SUPER helpful to be lately so i decided to register
havin' troubles
Started by
tuan43
, Jul 31 2005 08:34 PM
3 replies to this topic
#1
Posted 31 July 2005 - 08:34 PM
#3
Posted 01 August 2005 - 04:55 AM
stop(); for (var i=0; i<thisXML; i++) { _root.createTextField("field_txt"+i, i, 10, i*20, 0, 0); _root["field_txt"+i].autoSize = true; _root["field_txt"+i].text = amount[i]; }
_root.createTextField("field_txt"+i, i, 10, i*20, 0, 0);
This is the code to create a textfield.. now..
createTextField(name of new field, depth, left, top, right, bottom)
Hope this helps
#4
Posted 01 August 2005 - 10:43 AM
thx alot funky soul! that really helped alot man...by the way can xml display links? (tryin to create a news system within flash if ur wondering)
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users