# Adding Stroke or Fill to vector graphic objects that are pulled from the library

**URL:** <https://forum.kirupa.com/t/adding-stroke-or-fill-to-vector-graphic-objects-that-are-pulled-from-the-library/314423>\
**Category:** flash\
**Created:** [September 28, 2010, 10:47am UTC](https://forum.kirupa.com/t/adding-stroke-or-fill-to-vector-graphic-objects-that-are-pulled-from-the-library/314423 "2010-09-28T10:47:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darthjones](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@darthjones](https://forum.kirupa.com/u/darthjones)\
**Post date:** [September 28, 2010, 10:47am UTC](https://forum.kirupa.com/t/adding-stroke-or-fill-to-vector-graphic-objects-that-are-pulled-from-the-library/314423/1 "2010-09-28T10:47:24Z")

</div>

```auto
var myArrow:ArrowMovieClip = new ArrowMovieClip();
var vectorDisplayObject:DisplayObject = stage.addChild( myArrow );

```

I used the code above to create an instance of an arrow graphic that I made using the line tool (the graphic is embedded in a movie clip). I now want to add different colored fills and different stroke sizes and colors using code. Is it possible to do this with pre-drawn vector graphic objects, or is it only doable if I create the arrow with code using things like lineTo and curveTo?
