Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

dynamic textfield var score not working in facebook post

Contributor ,
Feb 27, 2016 Feb 27, 2016

dynamic textfield var score not working in facebook post . Rather it showing "OBJECT TEXT FEILD"

import flash.events.Event;

btnFB.addEventListener(MouseEvent.CLICK, gotoFB);

function gotoFB(e:Event)

{

  var url:String = "https://www.facebook.com/dialog/feed?" +

  "%20app_id=1487500124800564%20&display=popup" +

  "&caption=I%20just%20scored%20" + score +

  "&link=graphicscoder.org" +

  "&redirect_uri=https://www.facebook.com/";

  navigateToURL(new URLRequest(url), "_blank");

}

score.jpg

TOPICS
ActionScript
287
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 27, 2016 Feb 27, 2016

you're assigning something (eg, score) to be the textfield instead of the textfield's text property.

Translate
Community Expert ,
Feb 27, 2016 Feb 27, 2016
LATEST

you're assigning something (eg, score) to be the textfield instead of the textfield's text property.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines