I own Studio 8 (MX 2004 I believe), and have not used Flash before, though I am
a good C programmer, ok in Javascript. I have written a few mashup style apps
in the browser with XMLHTTPRec. I want to make a very simple Flash 'widget' for
people to put on their own web sites.
The 'widget' will be only a line of input text, and a few lines of "dynamic
text" (I just looked that up in Flash docs), and a button. The user enters a
line of text (an address), clicks the button, and a the dynamic lines are
completed.
so...I have gotten somewhere with this project... I still have no results yet,
though.
I have a small 1 frame movie, with a
TextInput,<addrInput>
Button,<doItButton>
DynamicText,<addrResult_fld>
XMLConnector,<dataConn>
in the button, I have the following Action:
onClipEvent(mouseDown) {
trace("doTrigger()");
dataConn.trigger();
}
In the base Frame (?) I have
xmlListener.result = function( evt:Object ) {
trace( "results:" );
trace( evt.target.results );
trace( "" );
}
xmlListener.status function( evt:Object ) {
trace( "status::"+evt.code );
}
The XMLConnector params are:
url: a localhost cgi that works
direction: receive
ignoreWhite: ttrue
mult: false
suppressInvalidCalls: false
--
I see the trigger happen in the trace(), but nothing else...
Hints Please!!
thanks
-Brian
darkblueB - 21 Nov 2007 19:34 GMT
thoughts anyone?
debug tips?