开发者

two variables in one text box - flex - actionscript-3

quick question.. I'm trying to make two variables appear in one text box but I'm not sure how to do so

Here's what I have.

        title1.text = dg_post.sele开发者_C百科ctedItem.post_title;
        date1.text = dg_post.selectedItem.post_date;

I'd like to have post_title and post_date appear in the title1 box and remove the date1 box altogether.

thanks.


Adjust to taste:

title1.text = dg_post.selectedItem.post_title + " " + dg_post.selectedItem.post_date;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜