# \#include "file.as" not working on macs

**URL:** https://forum.kirupa.com/t/include-file-as-not-working-on-macs/17853
**Category:** flash
**Created:** [April 10, 2003, 1:04am UTC](https://forum.kirupa.com/t/include-file-as-not-working-on-macs/17853 "2003-04-10T01:04:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![shuga](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@shuga](https://forum.kirupa.com/u/shuga)
#### Post date: [April 10, 2003, 1:04am UTC](https://forum.kirupa.com/t/include-file-as-not-working-on-macs/17853/1 "2003-04-10T01:04:16Z")

</div>

i have some as included from an external file. it works fine on my pc at home at work and everywhere else i’ve tried it … but i’m on a mac at school and then i checked it at my friend’s house who has a mac … and it doesn’t work. it’s like the code isn’t even included

does anyone have any information on how to fix this?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 10, 2003, 1:07am UTC](https://forum.kirupa.com/t/include-file-as-not-working-on-macs/17853/2 "2003-04-10T01:07:49Z")

</div>

everything is the same otherwise?  
are you grabbing includes from the current directory or the include directory? (and with this are you sure they are there heh - I would assume so though)

Ill have to try it out at work tomorrow… OSX or under?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 10, 2003, 2:45am UTC](https://forum.kirupa.com/t/include-file-as-not-working-on-macs/17853/3 "2003-04-10T02:45:46Z")

</div>

OSX and under … i’m pretty sure school is running OS9 and my friend uses OSX

.as file is in the same dir as the .fla

[http://www.aaronsleeper.com/site.fla](http://www.aaronsleeper.com/site.fla)  
[http://www.aaronsleeper.com/imageloader.as](http://www.aaronsleeper.com/imageloader.as)

those are the files

in the fla the files are being called from \_root.window.content.techtext and from designtext on the same path

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 14, 2003, 5:23am UTC](https://forum.kirupa.com/t/include-file-as-not-working-on-macs/17853/4 "2003-04-14T05:23:29Z")

</div>

so did it work for you on your mac senocular?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 14, 2003, 11:02am UTC](https://forum.kirupa.com/t/include-file-as-not-working-on-macs/17853/5 "2003-04-14T11:02:55Z")

</div>

well AN .as include worked. I dont know what yours does and really dont have enough time to try to figure it out, but I just made an as with a trace in it, included it in the first line of your file and it worked fine. Its probably just your use of the code

I can tell you one thing, you only need to define prototypes once. Your as file has 2 or 3 in it and including those more than once is unnecessary (and ultimately adding to file size).

I think you just need to try to figure out the logistics of whats not working :-\
