Hi All,

I have a problem with ViewStack, when I click the first time on the first button that called a file, for example when I click on "SMET Team" button I want to get the "SmetPanelLeft.mxml" file and when I click on "Input Form" button I want to get the "InputPanelLeft.mxml" file.

That work, but there is a problem the file display on the ViewStack over it self like a loop after clicking many times on the button it display the correct file.

Can anybody help me and advice me with that problem?

Many thanks

Saleh


Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



SPONSORED LINKS
Web site design development Software design and development Macromedia flex
Software development best practice


YAHOO! GROUPS LINKS




Attachment: Main.mxml
Description: 3097075302-Main.mxml

Attachment: SmetPanelLeft.mxml
Description: 2484319410-SmetPanelLeft.mxml

Attachment: InputPanelLeft.mxml
Description: 1735446230-InputPanelLeft.mxml

Attachment: ReportPanelLeft.mxml
Description: 3666302476-ReportPanelLeft.mxml

@font-face {
	src:local("ARIAL");
    fontFamily: titleFont;
}

Application {
	marginTop: 10;
    marginBottom: 10;
    marginLeft: 10;
    marginRight: 10;
}

Panel {
    headerColors: #4C555E;
    footerColors: #4C555E,#4C555E;
    cornerRadius: 6;
    backgroundColor: #4C555E;
    dropShadow: true;
    panelBorderStyle: "roundCorners";
    color: #FFFFFF;
}

TitleWindow {
    headerColors: #97D38A;
    cornerRadius: 6;
    dropShadow: false;
    color: #000000;
}

Alert {
    headerColors: #97D38A;
    cornerRadius: 6;
    dropShadow: true;
    color: #000000;
}

TabNavigator {
    backgroundColor: #4C555E;
}

TextInput {
    color: #000000;
}

TextArea {
    color: #000000;
}

Tab {
    fillColors:  #2C2E31,#008090;
    selectedFillColors: #4C555E,#0f8090;
    textRollOverColor: #CBE9C4;
    textSelectedColor: #FFFFFF;
}

Button {
    cornerRadius: 3;
    borderThickness: 1;
    fillColors: #999999, #999999;
    themeColor: #14527A;
    color: #000000;
    disabledColor: #999999;
	border-color:#00CC66;
}

List {
    headerColors: #4C555E,#999999;
    alternatingRowColors: #4C555E,#454C53;
    rollOverColor: #CBE9C4;
    selectionColor: #97D38A;
    backgroundColor: #4C555E;
}

DataGrid {
    headerColors: #4C555E,#999999;
    alternatingRowColors: #4C555E,#454C53;
    rollOverColor: #CBE9C4;
    selectionColor: #97D38A;
    backgroundColor: #4C555E;
}

Spacer {
    backgroundColor: #999999;
}

.title{
    fontFamily: titleFont;
    fontSize: 20;
    color: #FFFFFF;
}


.ScrollBar {
   theme-color: #4C555E;
   }

.MenuBar {
   color: #FFFFFF;
backgroundAlpha: #4C555E;
backgroundColor: #4C555E;
backgroundDisabledColor: #4C555E;
backgroundImage: #4C555E;
backgroundSize: #4C555E;
barColor: #4C555E;
borderCapColor: #4C555E;
borderColor: #4C555E;
borderSides: #4C555E;
borderStyle: #4C555E;
borderThickness: #4C555E;
cornerRadius: #4C555E;
disabledColor: #4C555E;
dropShadow: #4C555E;
errorColor: #4C555E;
fillColors: #4C555E;
highlightColor: #4C555E;
modalTransparency: #4C555E;
scrollTrackColor: #4C555E;
selectedFillColors: #4C555E;
shadowCapColor: #4C555E;
shadowColor: #4C555E;
shadowDirection: #4C555E;
shadowDistance: #4C555E;
symbolBackgroundColor: #4C555E;
symbolBackgroundDisabledColor: #4C555E;
symbolBackgroundPressedColor: #4C555E;
symbolColor: #4C555E;
symbolDisabledColor: #4C555E;
themeColor: #4C555E;
}

Reply via email to