MXML is just another way to describe Actionscript.  It all gets
converted to Actionscript when it gets interpreted by the compiler
anyway.  So with any MXML you can do the equivalent with Actionscript.
Using the Flex SDK in a FlashDevelop Flex 3 project, I can do this:

 

import mx.controls.DataGrid;

 

var dg:DataGrid = new DataGrid();

 

 

 

Jason Merrill

  Bank of  America   
Learning Performance Solutions Instructional Technology & Media   



Learn about the Adobe Flash platform for rich media experiences - join
the Bank of America Flash Platform Community
<http://sharepoint.bankofamerica.com/sites/tlc/flash/default.aspx>  

 

 

 

 

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Tim Rieder
Sent: Friday, February 06, 2009 8:38 AM
To: [email protected]
Subject: [osflash] How to use Data Grid

 

Hi all,

I am very new to OS Flash/Flex development using FlashDevelop and Flex
SDK. I've built a few basic swf files, but now I want to try and connect
to a database and render a result set. I can't seem to find anything
that shows how to create a DataGrid purely through AS3 (MXML is always
shown). Is this possible? If so, can anyone point me to some
documentation or a tutorial?

Thanks,
 Tim

<<attachment: image001.jpg>>

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to