# Direction with Flash & PDA

**URL:** https://forum.kirupa.com/t/direction-with-flash-pda/146101
**Category:** Uncategorized
**Created:** [April 28, 2005, 7:02am UTC](https://forum.kirupa.com/t/direction-with-flash-pda/146101 "2005-04-28T07:02:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hematite](https://avatars.discourse-cdn.com/v4/letter/h/848f3c/32.png) [@hematite](https://forum.kirupa.com/u/hematite)
#### Post date: [April 28, 2005, 7:02am UTC](https://forum.kirupa.com/t/direction-with-flash-pda/146101/1 "2005-04-28T07:02:00Z")

</div>

[color=black][font=Arial]Hi ppl,[/font][/color]

Can someone help me please? I want to be able to get this preloader working in my application.

Baiscally I would like to call it in from 2 movieclips. So I tried this code:

[indent][font=Courier New][color=black]bytes\_loaded = Math.round(\_root.screenMC.preloaderMC.getBytesLoaded());

bytes\_total = Math.round(\_root.screenMC.preloaderMC.getBytesTotal());  
getPercent = bytes\_loaded/bytes\_total;  
\_root.screenMC.preloaderMC.loadBar.\_width = getPercent_100;  
\_root.screenMC.preloaderMC.loadText = Math.round(getPercent_100)+"%";  
if (bytes\_loaded == bytes\_total) {  
\_root.screenMC.preloaderMC.gotoAndStop(3);  
}[/color][/font]

[/indent][font=Courier New]Yet it never worked can someone tell me what I done wrong please?[/font]
