Jai’s Weblog – Tech, Security & Fun…

Tech, Security & Fun…

  • Jaibeer Malik

    Jaibeer Malik
  • View Jaibeer Malik's profile on LinkedIn
  • Subscribe

  • Feedburner

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 31 other followers

  • Archives

  • Categories

  • Stats

    • 410,285
  • Live Traffic

  • Advertisements

Tips&Tricks: Flexlib SupertabNavigator tab close event handling

Posted by Jai on August 20, 2009

To get handle of tab close event in super tab navigator of flexlib use:

<flexlib:SuperTabNavigator id="tabNavigator"

private function handleEventCloseTab(event:SuperTabEvent):void
				//Remove data from model in case of a Details tab close
				if (tabNavigator.getChildAt(event.tabIndex) is DetailsTab)
					var obj:DetailsTab=tabNavigator.getChildAt(event.tabIndex) as DetailsTab;

The event gives you the handle to do tab specific operations on tab close event.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: