# Loading bar, trying to attach a pixel shape to the end of my load bar mc

**URL:** https://forum.kirupa.com/t/loading-bar-trying-to-attach-a-pixel-shape-to-the-end-of-my-load-bar-mc/189412
**Category:** flash
**Created:** [June 2, 2006, 8:26am UTC](https://forum.kirupa.com/t/loading-bar-trying-to-attach-a-pixel-shape-to-the-end-of-my-load-bar-mc/189412 "2006-06-02T08:26:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![messlah](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@messlah](https://forum.kirupa.com/u/messlah)
#### Post date: [June 2, 2006, 8:26am UTC](https://forum.kirupa.com/t/loading-bar-trying-to-attach-a-pixel-shape-to-the-end-of-my-load-bar-mc/189412/1 "2006-06-02T08:26:43Z")

</div>

Hi all,

I have a loading bar setup built with 2 objects.  
My load bar and the loadbar housing, it works by.

loadBar.\_width = loadBarHousing.\_width \* (percent / 100);

Now my problem is that I would like to add a 2pixel line to the right side of my loadBar\_mc and make it sit to the right of the loadBar MC all the way until it completes the fill/load. Obviously I cant just add the shape to the loadBar\_mc because that will resize.

No sure on where to go from here.

I have a file here:  
[http://users.ncable.net.au/~timfrancis/load\_bar\_testing.fla](http://users.ncable.net.au/~timfrancis/load_bar_testing.fla)

If someone with knowledge on how to do this could help it would be really appreciated.
