Posted in Flex | Posted on 11-10-2006 | 3,141 views
Ok, so this isn't the most useful example of Flex, but I have a soft spot for the old Lemonade Stand Apple IIe game of my youth. I rebuilt it with Flex:
http://ray.camdenfamily.com/demos/ls/main.html
It still has a few quirks, but have fun. I've also included the source code as an attachment to this zip. Please note that I'm very much a Flex newbie, so don't consider my code as anything even near "Best Practice".


Thanks for the example. I couldn't wrap my brain around binding data to different components and this showed me the way.
example: http://www.berkeley-county.com/egmgr/bin/
Very nice, Ray!
Jon Alexander
sales@e-revenues.com
Thank you
Jon
http://ray.camdenfamily.com/index.cfm/2006/11/25/L...
As your private function checkForm(), shows the Alert.show on error when the usernameValue ==''
This Alert dialog box, shows as a pop up while the main login (or in my case a desired main app) in the background as fuzzy.
The closest I have found for a visual example is the Mystic Support Ticket by Peter Ent, please note it is not working due to the Coldfusion connection to MySql, BUT, it does present an exact visual representation of what I hope to accomplish:
http://www.e-revenues.com/private/SupportTicket/Ma...
htaccess username is: erev
htaccess password is: hi93Lj48
PLEASE REMOVE THE HTACCESS part after you have a chance to maybe jot it down.
But in this example you can see the login with the main app in the background faded out, but I hope to have a fuzzy'ed out look.
So one first arrival on my web site, the main app is in the background but the login dialog pop up is on top with the main app fuzzy'ed out.
Thank you.
Very sorry to take up your time, any thoughts would be most gratefully appreciated.
Jon
The part I am having difficulty is HOW to NOT need to use the mx:Button click="showLogin()
BUT instead have the showLogin() be performed when the app runs
<!-- main.mxml -->
<mx:Script>
<![CDATA[
import mx.managers.PopUpManager;
import mx.core.IFlexDisplayObject;
private function showLogin():void {
var helpWindow:IFlexDisplayObject =
PopUpManager.createPopUp(this, MyLoginForm, true);
}
]]>
</mx:Script>
<mx:Button click="showLogin();" label="Login" x="307.5" y="269"/>
When the screen is shown, the creationComplete event calls the onShow() function to display the TitleWindow on top of the main app.
Any ideas, please?
Jon
[Add Comment] [Subscribe to Comments]