开发者

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

开发者 https://www.devze.com 2022-12-21 12:23 出处:网络
quick question.. I\'m trying to make two variables appear in one text box but I\'m not sure how to do so

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

精彩评论

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