File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Flex and the fly likes Issue while working with Tabs in Flex screens Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Issue while working with Tabs in Flex screens" Watch "Issue while working with Tabs in Flex screens" New topic
Author

Issue while working with Tabs in Flex screens

Ram Korutla
Ranch Hand

Joined: Dec 24, 2007
Posts: 80
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 welcome...you 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 Alert.show, it shows 3, but on the screen, the value is still 1. I am breaking my head since yesterday on this. Please help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue while working with Tabs in Flex screens