# How to add on-the-fly-created-movieclips into datagrid?

**URL:** <https://forum.kirupa.com/t/how-to-add-on-the-fly-created-movieclips-into-datagrid/327289>\
**Category:** flash\
**Created:** [February 19, 2012, 5:53pm UTC](https://forum.kirupa.com/t/how-to-add-on-the-fly-created-movieclips-into-datagrid/327289 "2012-02-19T17:53:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![slvr](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@slvr](https://forum.kirupa.com/u/slvr)\
**Post date:** [February 19, 2012, 5:53pm UTC](https://forum.kirupa.com/t/how-to-add-on-the-fly-created-movieclips-into-datagrid/327289/1 "2012-02-19T17:53:31Z")

</div>

I need to create several movie clip by coding, and then put them in a certain cell of datagrid.  
I can’t use pre-designed movieclip in library, for that’s not an option for me. But I can use the clip inherited from them.  
The point is to create several movieclip by scripting. Then put them in a cell of a datagrid by scripting as well.

All I know is using the iCellRenderer class. But i don’t know how to do it. Could anyone help me please.

Thanks.
