Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
sinatosk #1
I cna't see the problem... on simple 25 line of code
what am trying to do is to get it to send some vars to a HTTPSerivce using the
"POST" method and I wanted to try the basics out before I started working big
with flex.... but everytime I press that button... I keep getting this error
TypeError: Error #1010: undefined has no properties.
at var_test/var_test::do_send_vars()
at var_test/__btn_send_vars_click()
I'm using "Flex Builder 2.0 Beta 1" and "Flex Enterprise Services 2.0"
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*"
layout="absolute" creationComplete="initApp()">
<mx:HTTPService id="doAction" url="http://godo.ath.cx:80/flyffpl/index.php"
useProxy="false" showBusyCursor="true" method="post"/>
<mx:Script>
<![CDATA[
public var vars:Object;
private function initApp():void
{
vars = new Object();
}
private function do_send_vars():void
{
vars.username.text = 'username_test';
vars.password.text = 'password_test';
doAction.send(vars);
}
]]>
</mx:Script>
<mx:Button id="btn_send_vars" label="Send vars" click="do_send_vars();"/>
</mx:Application>
sinatosk Guest
-
How to create a simple on-line catalog
Is there a function in Dreamweaver MX2004 to help create a simple on-line catalog? -
cna't ssh localhost
Hi, I'm in trubble now, and don't know what to think about... I'm install FreeBDS 5.3. stable from DVD iso. This is fresh system: I'm not... -
Seeking critique of simple file line numbering code.
I realize that grep performs some of this same functionality, but I just wanted to create the tool on my own for the experience. To that end, I'm... -
Simple line graphs (x-y axis) from ASP script
What is a straightforward way to generate a simple line graph from provided x-y data points in an ASP script. -
C# Equivalent of VB.Net Code -- One line of code, simple
Great idea, thanks. I only need something simple in order for my contact form to work correctly. It's nothing with a lot of overhead. Ron...



Reply With Quote

