# A Problem

**URL:** https://forum.kirupa.com/t/a-problem/242413
**Category:** flash
**Created:** [October 25, 2007, 5:54pm UTC](https://forum.kirupa.com/t/a-problem/242413 "2007-10-25T17:54:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wiifanatic](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/wiifanatic/32/2995_2.png) [@wiifanatic](https://forum.kirupa.com/u/wiifanatic)
#### Post date: [October 25, 2007, 5:54pm UTC](https://forum.kirupa.com/t/a-problem/242413/1 "2007-10-25T17:54:55Z")

</div>

Well as progress of making Oabbo Hotel (See signature) i need to do something like this.

File Structure:  
|- A.swf  
|- B.swf

A.swf:  
This file has a function called “drawItm” and loads up B.swf

B.swf:  
Has a button that when clicked calls “drawItm” inside A.swf

How could i make B.swf able to call the “drawItm” function inside A.swf?
