# External actionscript and Internal as3?

**URL:** <https://forum.kirupa.com/t/external-actionscript-and-internal-as3/326069>\
**Category:** Uncategorized\
**Created:** [November 21, 2011, 8:44am UTC](https://forum.kirupa.com/t/external-actionscript-and-internal-as3/326069 "2011-11-21T08:44:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raphaelle](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@raphaelle](https://forum.kirupa.com/u/raphaelle)\
**Post date:** [November 21, 2011, 8:44am UTC](https://forum.kirupa.com/t/external-actionscript-and-internal-as3/326069/1 "2011-11-21T08:44:27Z")

</div>

whats the difference having a actionscript 3.0 in a layer(internal)

and a as3 .as file(external) ?

I know that it is just a simple question but I don’t even know their differences.  
Is there something that you can’t do inside a as3 file in a layer ?

I just wanna make sure, can I access database inside an as3 in a file ?

Anyways thank you guys.
