Jump to content


Photo

havin' troubles


  • Please log in to reply
3 replies to this topic

#1 tuan43

tuan43

    Young Padawan

  • Members
  • Pip
  • 40 posts

Posted 31 July 2005 - 08:34 PM

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 :D

#2 softLearner

softLearner

    Young Padawan

  • Members
  • Pip
  • 128 posts

Posted 01 August 2005 - 03:52 AM

I belive you should of asked this question here as that is where you post your comments/questions to the author of that tutorial.

#3 funkysoul

funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

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 tuan43

tuan43

    Young Padawan

  • Members
  • Pip
  • 40 posts

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