Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Flex
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Flex Discuss the Adobe Flex programming language
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flex section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 16th, 2009, 12:40 AM
Registered User
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy In Flex 3 the panel inside a viewstack is not visible

In the flex coding, the command

viewstack.selectedChild = printScreen.

has been given,and its always getting executed when the particular screen/function is called.

But the displaying of the screen happens only sometimes.

In all conditions the Viewstack is getting activated and is being displayed.

But the panel in the Viewstack is not getting displayed always.

Cant understand why its not happening.

I have checked it in Debug mode also.

Always the code is getting execute successfully.

But in the Viewstack the panel/screen is not getting diaplayed.

I need a help in this.


Code:-

public function openPrinter():void{
viewstack.visible=true;
mainPanel.enabled=false;
viewstack.selectedChild=printissue;
}




<mx:ViewStack id="viewstack" creationPolicy="auto" width="100%" height="100%" visible="false" hideEffect="{fadeOut}" selectedIndex="{-1}" resizeToContent="true" resizeEffect="true" resize="true">


<pr:PrintIssue id="printissue" showEffect="{irisIn}" height="100%" width="100%" user="{user}" LLCookie="{LLCookie}" verticalCenter="middle" cancelPrintIssue="cancelPrintIssue()"/>


</mx:ViewStack>

Last edited by Soorej Simon; July 16th, 2009 at 06:56 AM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a Panel visible in a FormView steve35719 VB How-To 0 June 29th, 2006 07:49 AM
Panel.visible shai505 C# 1 April 25th, 2006 05:10 AM
ViewState problem when adding a panel to a panel koekie17 C# 3 February 20th, 2006 08:17 AM
visible vs. not visible on form akibaMaila VB.NET 2002/2003 Basics 2 August 15th, 2005 02:40 PM



All times are GMT -4. The time now is 08:50 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.