【问题标题】:two variables in one text box - flex - actionscript-3一个文本框中的两个变量 - flex - actionscript-3
【发布时间】:2023-04-01 02:20:01
【问题描述】:

快速提问.. 我试图让两个变量出现在一个文本框中,但我不知道该怎么做

这就是我所拥有的。

        title1.text = dg_post.selectedItem.post_title;
        date1.text = dg_post.selectedItem.post_date;

我想让 post_title 和 post_date 出现在 title1 框中,并完全删除 date1 框。

谢谢。

【问题讨论】:

    标签: apache-flex actionscript-3 text variables


    【解决方案1】:

    调整口味:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-02-02
      • 2010-10-21
      • 1970-01-01
      • 1970-01-01
      • 2015-07-25
      • 1970-01-01
      • 2011-04-05
      相关资源
      最近更新 更多