Hello i have a problem. I am trying to make my website an application. I am having problem on the login page. I made the connection with the database but i cant log in as a user.
this is the code. Can anyone help me?

<?xml version="1.0" encoding="utf-8"?> 
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"

            protected function button_clickHandler(event:MouseEvent):void
                User_LoginResult.token = employeeService.User_Login(username.text, password.text);

    <!-- Declarations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

        <s:CallResponder id="User_LoginResult"/>
        <employeeservice:EmployeeService id="employeeService"/>
        <!-- Place non-visual elements (e.g., services, value objects) here -->

    <s:Panel x="24" y="95" 
             width="390" height="200">

            <s:VerticalLayout gap="10" 
                              paddingTop="15" paddingLeft="15" paddingRight="15" paddingBottom="15"/>

        <s:TextInput prompt="Username:" id="username"/>

        <s:TextInput prompt="Password:" editable="true" id="password" />

        <s:Button id="button" label="Submit" click="button_clickHandler(event)"/>



Recommended Answers

All 3 Replies

You aware that Android and iPhones ditched support for Adobe Flash

the applications run with Adobe Air and Zend framework. If thats the same will you send me a link of how to make an application?

I do only native Android development so I will not be able to help you with this. Have look at http://www.adobe.com/devnet/air/air_for_android.html for articles in regards of this. Also they do have their own forum where you can ask questions and get answers...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.