Add labels to your Panels
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:ViewStack id="myPages"> <mx:Panel width="250" height="200" layout="absolute" title="Welcome" id="welcome" label="Welcome"> <mx:Text x="10" y="28" text="test." width="200" /> </mx:Panel> <mx:Panel width="250" height="200" layout="absolute" id="contact" title="Contact" label="Contact Us"> <mx:Text x="10" y="25" text="test." width="200" /> </mx:Panel> <mx:Panel width="250" height="200" layout="absolute" id="aboutUs" title="About Us" label="About Us"> <mx:Text x="10" y="10" text="test " width="200" /> </mx:Panel> </mx:ViewStack> </mx:Application>