# Action script directory settings

**URL:** https://forum.kirupa.com/t/action-script-directory-settings/292764
**Category:** Uncategorized
**Created:** [July 18, 2009, 4:12pm UTC](https://forum.kirupa.com/t/action-script-directory-settings/292764 "2009-07-18T16:12:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![FSL](https://avatars.discourse-cdn.com/v4/letter/f/cab0a1/32.png) [@FSL](https://forum.kirupa.com/u/FSL)
#### Post date: [July 18, 2009, 4:12pm UTC](https://forum.kirupa.com/t/action-script-directory-settings/292764/1 "2009-07-18T16:12:06Z")

</div>

Hi.  
I am new to flash.

I have read flash reference and I am reading action script reference now; I wanted to work with some examples in the AS3 reference.  
such as embedding this code in time line:

```auto
import fl.containers.ScrollPane;
import fl.controls.ProgressBar;
var path:String = "test.jpg";
var sp:ScrollPane = new ScrollPane();
sp.move(10,10);
sp.setSize(530,300);
sp.addEventListener(ProgressEvent.PROGRESS,reportProgress);
sp.load(new URLRequest(path));
addChild(sp);
var progressBar:ProgressBar = new ProgressBar();
progressBar.move(10,320);
progressBar.setSize(530,50);
progressBar.source = sp;
addChild(progressBar);
function reportProgress(e:ProgressEvent):void {
    trace(e.bytesLoaded + " loaded out of " + e.bytesTotal);
}

```

but flash cs4 authoring environment says:  
1172: Definition fl.containers:ScrollPane could not be found.  
1172: Definition fl.controls:ProgressBar could not be found.  
1172: Definition fl.containers:ScrollPane could not be found.  
…

even if I reduce the code to `import fl.containers.ScrollPane;’ I get similar messages (1172: Definition fl.containers:ScrollPane could not be found.).

then I checked edit-\>preferences-\>actionscript-\>actionscript 3.0 settings…  
and I see that all paths (source path, library path and external library path) are empty.  
I ask you to check your flash cs4 paths and tell me about them so that I can set them accordingly.  
thanks.
