# getBytesTotal() from an externally loading picture

**URL:** https://forum.kirupa.com/t/getbytestotal-from-an-externally-loading-picture/149697
**Category:** flash
**Created:** [May 31, 2005, 5:51pm UTC](https://forum.kirupa.com/t/getbytestotal-from-an-externally-loading-picture/149697 "2005-05-31T17:51:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zimmermann](https://avatars.discourse-cdn.com/v4/letter/z/f19dbf/32.png) [@Zimmermann](https://forum.kirupa.com/u/Zimmermann)
#### Post date: [May 31, 2005, 5:51pm UTC](https://forum.kirupa.com/t/getbytestotal-from-an-externally-loading-picture/149697/1 "2005-05-31T17:51:23Z")

</div>

Hello,

I’m using this code to load a .jpg into a movieclip with the instance name [color=royalblue]picholder [/color]

```auto
 _root.picholder.loadMovie("pic.jpg");

```

How do I get [color=royalblue]getBytesTotal()[/color] or [color=royalblue]getBytesLoaded()[/color] to work with this picture? I’ve tried to get the total and loaded this way:

```auto
 _root.picholder.getBytesLoaded()

```

But it doesn’t seem to work :\*(
