import mx.core.View;
import mx.containers.HBox;

function createHBox(targetView:View):HBox
{
    var ref:HBox = HBox(targetView.createChild(HBox));
    return ref;
}

----- Original Message ----- 
From: "rgwilson26" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, November 30, 2005 3:59 PM
Subject: [flexcoders] dynamically created HBOX


What would be the best way to go about creating a function that will 
dynamically create rows (HBOX) for data input? I want an HBOX with 
various text input fields to be succesively added when the user pushes 
an add button. I am thinking of using a repeater, but just wondering if 
there is a better way to do this? Also, if someone knows of some 
examples of this being I would appreciate it.

Thanks,






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to