# Interaction between .swf action frame and .as file

**URL:** <https://forum.kirupa.com/t/interaction-between-swf-action-frame-and-as-file/325604>\
**Category:** flash\
**Created:** [October 25, 2011, 6:40pm UTC](https://forum.kirupa.com/t/interaction-between-swf-action-frame-and-as-file/325604 "2011-10-25T18:40:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dreadis](https://avatars.discourse-cdn.com/v4/letter/d/e5b9ba/32.png) [@Dreadis](https://forum.kirupa.com/u/Dreadis)\
**Post date:** [October 25, 2011, 6:40pm UTC](https://forum.kirupa.com/t/interaction-between-swf-action-frame-and-as-file/325604/1 "2011-10-25T18:40:46Z")

</div>

Hello I have a .swf file. From there I use a MovieClip witch is associated with a class. The information is inside of a separate .as file. On Runtime i create several instances of this object. This all works.  
Now I would like to let functions inside of th .as file give access to variables set in the action layer on frame 1 where i handle the code that is associated with the .swf file. Or the other way around. Is there a way to manage this communication?

I hope it is understandable. 🙂  
regards.
