Obi1-Cannabis Posted February 9, 2007 Share Posted February 9, 2007 i'am trying to make a news engine using mysql, php, xml, flash... until the flash part everything is ok, but now i have a problem.i'am using a for that gets the information from each new of the xml and it's suposed to creat a new textfield for each one also, but i can't figure out how to make this last one happen i've tryied something like: cont += "<font size='12' color='#006600'><b>"+titulo+"</b> -"+date+"</font><br><b>"+bdesc+"</b><br>"+desc+"<br><br>";this.createTextField("txt"+[i], 999, 20, txt[i-1]+20, 300, 200);txt[i].html=true;txt[i].htmlText=cont; but it doesn't work... can anyone help me with this??? Link to comment Share on other sites More sharing options...
funkyjunky Posted February 9, 2007 Share Posted February 9, 2007 Beyond me =( Link to comment Share on other sites More sharing options...
smiles Posted February 10, 2007 Share Posted February 10, 2007 I 'm still confused with your post, could you be more clearly Link to comment Share on other sites More sharing options...
Obi1-Cannabis Posted February 12, 2007 Author Share Posted February 12, 2007 I 'm still confused with your post, could you be more clearly Nevermind it, i figured it out:i=0;while(i<10){this.val = "mc"+i;this.createEmptyMovieClip(this.val, this.getNextHighestDepth());this[val].createTextField("data_txt", 8, 1, 20, 140, 20);this[val].data_txt.text=data_n;i++; what i needed was something similar to this, of course data_n also gets changed inside the while. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now