# How to include a graphical movie clip in an object

**URL:** <https://forum.kirupa.com/t/how-to-include-a-graphical-movie-clip-in-an-object/320121>\
**Category:** Uncategorized\
**Created:** [March 14, 2011, 9:14pm UTC](https://forum.kirupa.com/t/how-to-include-a-graphical-movie-clip-in-an-object/320121 "2011-03-14T21:14:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeromeramone](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jeromeramone/32/3405_2.png) [@jeromeramone](https://forum.kirupa.com/u/jeromeramone)\
**Post date:** [March 14, 2011, 9:14pm UTC](https://forum.kirupa.com/t/how-to-include-a-graphical-movie-clip-in-an-object/320121/1 "2011-03-14T21:14:29Z")

</div>

I am an experienced programmer, but an as3 OOP newbie. I am trying to FINALLY make the switch to authoring in OOP, but there is one hitch that I can’t wrap my head around. Perhaps someone can help explain.

For my first use of OOP, I wanted to make a “Dialogue box” object that I could share among multiple applications. This consists of a rectangle graphic with two dynamic text fields and a “close” button.

It seems that objects exist as “.as” files - but if I want to use graphics and textfields that I have created in the Flash UI, where do those go, and how do I refer to them? Do I have to make all my graphics programatically? Or do I have to include a copy of them in the library of every fla file that will be using my object?

I’m sorry if this is a stupid question - all the beginner’s OOP tutorials I’ve read don’t mention this, and I can’t figure out a way to google it!

thanks everybody…
