# Problem with external ".as" file and browser

**URL:** <https://forum.kirupa.com/t/problem-with-external-as-file-and-browser/278389>\
**Category:** Uncategorized\
**Created:** [December 29, 2008, 10:46am UTC](https://forum.kirupa.com/t/problem-with-external-as-file-and-browser/278389 "2008-12-29T10:46:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trupti](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/trupti/32/3418_2.png) [@Trupti](https://forum.kirupa.com/u/Trupti)\
**Post date:** [December 29, 2008, 10:46am UTC](https://forum.kirupa.com/t/problem-with-external-as-file-and-browser/278389/1 "2008-12-29T10:46:08Z")

</div>

Hello, all

Here is my problem,

File structure  
Folder **Main** - holds main interface file, folder components  
Folder components - holds component flas, folder com  
Folder com - holdes folder Book  
Folder Book - holds “.as” files for the components

Main.fla loads components from the components folder and accesses functions from the “.as” files. It accesses functions and load data from server into the textfield inside components.

This thing works perfectly when i run “Main.swf”.  
But when i run html file (in which this “Main.swf” is embeded), it does not show me the data in the textfield, also it gives error while sending data to the server.

What could be the problem?

Please Help!  
Thanks in advance  
Trupti
