This is a good one. I unistalled Flex2B2, deleted the project defenition, installed B3 and Player9, rebooted, created a new project, and pasted the code below into the main mxml file. When I launch the application, the initializing screen shows the blue color but the initializing progress bar doesn't appear. The application just sits there. Any ideas?
Thanks,
Tim Hoff
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" layout="absolute"
paddingTop="10" paddingBottom="12" paddingLeft="10" paddingRight="12"
horizontalAlign="center" horizontalScrollPolicy="off" verticalScrollPolicy="off"
xmlns:control="org.ets.main.code.control.*"
xmlns:business="org.ets.main.code.business.*"
xmlns:topMenu="org.ets.main.code.view.topMenu.*"
xmlns:sidePanel="org.ets.main.code.view.sidePanel.*"
xmlns:mainPanel="org.ets.main.code.view.mainPanel.*"
xmlns:login="org.ets.main.code.view.login.*"
currentState="{ ModelLocator.getInstance().etsViewCurrentState }"
creationComplete="initApp()">
<mx:Style source="ets.css"/>
<mx:Script>
<![CDATA[
import mx.effects.*;
import mx.controls.Alert;
import org.ets.main.code.model.ModelLocator;
import org.ets.main.code.control.ApplicationController;
private function initApp():void
{
ModelLocator.getInstance().initialise();
}
]]>
</mx:Script>
<!-- ========================================================================== -->
<control:ApplicationController id="controller" />
<!-- ========================================================================== -->
<mx:Canvas id="applicationCanvas" width="100%" height="100%"
verticalScrollPolicy="off" horizontalScrollPolicy="off">
</mx:Canvas>
<mx:states>
<mx:State name="{ModelLocator.VIEWING_ETS_APPLICATION}">
<mx:AddChild target="{applicationCanvas}" position="lastChild">
<topMenu:TopMenuView x="0" y="0" width="100%"/>
</mx:AddChild>
<mx:AddChild target="{applicationCanvas}" position="lastChild">
<sidePanel:SidePanelView x="0" y="42" width="230"
title="{ ModelLocator.getInstance().sidePanelViewTitle }"
currentState="{ ModelLocator.getInstance().sidePanelViewCurrentState }"/>
</mx:AddChild>
<mx:AddChild target="{applicationCanvas}" position="lastChild">
<mainPanel:MainPanelView x="244" y="42" width="100%"
title="{ ModelLocator.getInstance().mainPanelViewTitle }"
currentState="search"/>
</mx:AddChild>
</mx:State>
<mx:State name="{ModelLocator.VIEWING_ETS_LOGIN}">
<mx:AddChild target="{applicationCanvas}" position="lastChild">
<login:LoginView/>
</mx:AddChild>
</mx:State>
</mx:states>
</mx:Application>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

