Re: [Flashcoders] AttachMovieClip VS addChild

2008-03-15 Thread Omar Fouad
Thanks DUDE!!! The issue was in DC.name = "dataCard" + i; Didn't know the name property. Thanks On Sat, Mar 15, 2008 at 7:46 PM, Rich Shupe <[EMAIL PROTECTED]> wrote: > Your code does what you're asking but I suspect you're having trouble with > the positioning, or something similar. Since DC

Re: [Flashcoders] AttachMovieClip VS addChild

2008-03-15 Thread Rich Shupe
Your code does what you're asking but I suspect you're having trouble with the positioning, or something similar. Since DC has no initial y, all instances will end up at 30, using the code below. Here's an adaptation that shows two visual results: position and trace, using the instance name reques

[Flashcoders] AttachMovieClip VS addChild

2008-03-15 Thread Omar Fouad
In an AS3 Project I have a MovieClip in the Library which class (identifier) is DataCard. My project fetches data from a database through a PHP File, and retruns data in an Array. Now in this project i wanted to do exactly what I used to do in AS2: for(i = 0; ihttp://www.omarfouad.net This e-ma