Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. compile/run the test app with following code. it first opens/closes the window, it has title, status string set
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/halo"
xmlns:local="*"
creationComplete="openAWindow()"
close="myWin.close()">
<!-- test window is closed, set some properties, then reopen,
verify properties are changed
-->
<fx:Script>
<![CDATA[
import spark.layouts.BasicLayout;
import spark.components.Button;
import spark.components.Window;
import spark.components.CheckBox;
public var myWin:Window=new Window();
public function openAWindow():void
public function toggleWindow():void
{
if (check1.selected)
else
{ if (!myWin.closed) myWin.close(); check1.label="window closed"; } }
]]
>
</fx:Script>
<s:CheckBox id="check1" x="130" y="150" label="close" click="toggleWindow()" />
</s:WindowedApplication>
2. when windowedApplication shows up, select the checkbox" close", it will open the window.
Actual Results:
there is no title for the window.
Expected Results:
the title string should show up(same as status text string).
Workaround (if any):