Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Issue while working with Tabs in Flex screens  RSS feed

Ram Korutla
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a flex screen, which displays information is 2 separate tabs, mostly identical, with some other differences. Now there is a message I am trying to display on top of the screen, reading from property file..something like below.

Your are are visitor number {0}..xxxx

Now the above parameter 0 value is different in each tab let's say. I am configuring it's value using a variable _displayValue in the action script file associated with this mxml file. Initially when the screen is first loaded, the value, initialized in the action script file bind display to context is 1. Now when I click the other tab, on mouse down I am calling a click handler in action script file, say methodA. In this methodA, I am setting the _displayValue to 3. When I used, it shows 3, but on the screen, the value is still 1. I am breaking my head since yesterday on this. Please help
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!