Archive for August, 2008

Aug 13 2008

Clarification for “First Class Ever”

Published by admin under Basics, Flash AS3

It was brought to my attention that some people would like to access not only the features of the stage (addChild(), eventListeners, etc) but also the DisplayObjects that reside there. If you played around with the files provided in the original post and tried to do something like this:

private function checkText(evt:Event):void {
if (_stage.myInput.text == "test text") {
_stage.addChild(customText);
dispatchEvent( new Event(correctText) );
}
} Continue Reading »

Popularity: unranked [?]

No responses yet

Aug 01 2008

AMFPHP AS3 Class and Wrapper – MySQL Query Example

Published by admin under AMFPHP, Flash AS3

Mysql to Flash via AMFPHP

Hopefully you’ve had a chance to read my other postings on AMFPHP and the classes and wrappers I’ve written for it. This post will be an example on how to query a mysql database from php and pass it into flash, then parse it into a multi-dimensional associative array (a big array that gives you the ability to loop through its records by number, and access its columns by name – similar to PHP’s mysql_fetch_assoc() ). First, if you are unfamiliar with my other postings, you can view them below:

Continue Reading »

Popularity: 42% [?]

2 responses so far