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

ContextMenuItem item.caption

Participant ,
Mar 22, 2013 Mar 22, 2013

Copy link to clipboard

Copied

Hi,

In as2 i can take the value of the item.caption. I want to know how to achieve the same. Reason is i am assigning dynamic value to contextmenuitem.

as2

var movefront = new ContextMenuItem("Move Front", handleMenuCommand);

handleMenuCommand(obj, item):Void

{

    trace(item.caption)

}

as3

how to get item.caption in as3

TOPICS
ActionScript

Views

267

Translate

Translate

Report

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

Participant , Mar 22, 2013 Mar 22, 2013

s it can be acheiveed by e.target.caption

Votes

Translate

Translate
Participant ,
Mar 22, 2013 Mar 22, 2013

Copy link to clipboard

Copied

LATEST

s it can be acheiveed by e.target.caption

Votes

Translate

Translate

Report

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