# Masking a dynamic component

**URL:** <https://forum.kirupa.com/t/masking-a-dynamic-component/895>\
**Category:** flash\
**Created:** [August 1, 2002, 8:45pm UTC](https://forum.kirupa.com/t/masking-a-dynamic-component/895 "2002-08-01T20:45:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asterix](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@Asterix](https://forum.kirupa.com/u/Asterix)\
**Post date:** [August 1, 2002, 8:45pm UTC](https://forum.kirupa.com/t/masking-a-dynamic-component/895/1 "2002-08-01T20:45:50Z")

</div>

I created a dynamic table that shows countries and values for each country (from a text file).

That table was created with **attachMovie**

I want to display only a small portion of the table, so I want to mask it.

I tried using a mask in the upper layer but then it didnt display the data.

Note: [COLOR=green]The move hierarchy is: \_root \> component Table \> Movie Clip Table \> (Script which create the table).[/COLOR]

¿Is there any way to do it by Actionscript? (or other way).

Thanks in advance,

Asterix
