PDA

View Full Version : basics of forum messageboard in flash



VoS
March 28th, 2005, 11:44 AM
hey..
im about to try to make a message board =)
going to make it with flash php and mysql..
the php and mysql parts i can manage just fine..
but when it comes to the flash im hoping one of yall can help me =)

my php output will look something like this..

user=someone&titel=hello&message=hello world&date=today bla bla bal&

now im gonna loop that out on the page for as many entries as there are..

now for the flash part..
i want to read all the information into arrays...
question 1) how do i read the 4 variables into 4 different arrays..
and what is the command for getting how many entries in an array ( so i know how many times to loop arrays onut onto flash text box)
the output on the page will be something like

posted by:someone
title:hello
message:
blalbalbalblalba
date posted :today bla bla

posted by:someone1
title:hello1
message:
blalbalbalblalba1
date posted :today bla bla1

i want to put all these messages in the same text box ( thinking that would be the best)..
all the help i really need here is
question 2) how do i get flash to jump down a line
thought it was /n but that dont work ... and putting html format on and using <br> dont work eitrher =)

question 3)
and i want the title to be in bold. now im wondering if you can format just one word to be bold
ex
boldword=(whatever code is needed to make text string 'big' bold)
word1='i like'
word2='butts'
done=(word1+" "+boldword+" "+word2);
so done if placed in a text box would look lie
i like big butts


thanks

//VoS