Hi,
var len:int = buttons.length;
for (var i:int = 0; i len; i++)
{
var obj:OBject = buttons[i];
var button:Button = new Button();
button.label = obj.label;
container.addChild(button);
}
I think you get the hint. This is VERY basic compared to what you can do
dynamically.
Depending on
And here is a full example app:
http://www.cflex.net/showFileDetails.cfm?ObjectID=562
At the simplest level, it is very simple!
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Schmalle
Sent: Thursday, May 31, 2007
Solved this,
For anyone that may need this, you have to use addChild() as Below.
var myNewButton:Button = new Button();
parent.addChild(temp);
On 5/31/07, Dave @ VitalPodcasts.com [EMAIL PROTECTED] wrote:
Is there are resources out there on how to create, let's say a button,
on the fly
3 matches
Mail list logo