Heh,

And why is he 'comparing' Ajax to Flex.

Bottom line is, 'truly dynamic content' depends on what you are talking
about. If you are trying to take javascript and pigeon hole it into as3,
have fun, you can't.

The design patterns of the Flex framework are roots. A crafty developer can
spin almost anything dynamically with it.

Peace, Mike

On 3/1/07, slangeberg <[EMAIL PROTECTED]> wrote:

  You can do this in AS3:

                var b:Button = new Button();
                b.id = "myid" + 2;
                trace( "b.id: "+b.id );

However, i'm guessing he means in the mxml, which i've experienced myself.
Hence you cannot do:

<Button id="{'myid'+1}" />

-Scott

On 3/1/07, Nick Collins <[EMAIL PROTECTED]> wrote:
>
>   What do you mean by "dynamic id"? I mean, you can pretty easily loop
> through a list of items in an XML file and assign one of their values as the
> id of the dynamically created object. Heck, I do this all the time with
> Actionscript 2 to create menus and such from an XML file.
>
> On 3/1/07, thetexaspsycho2003 < [EMAIL PROTECTED]> wrote:
> >
> >   I mean, creating something as simple as a dynamic ID is crucial in
> > creating truly dynamic content.
> >
> >
>


--

: : ) Scott



--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to