# Grabbing a variable in a function from an external swf

**URL:** <https://forum.kirupa.com/t/grabbing-a-variable-in-a-function-from-an-external-swf/216924>\
**Category:** Uncategorized\
**Created:** [February 21, 2007, 7:29pm UTC](https://forum.kirupa.com/t/grabbing-a-variable-in-a-function-from-an-external-swf/216924 "2007-02-21T19:29:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lariat1997](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@lariat1997](https://forum.kirupa.com/u/lariat1997)\
**Post date:** [February 21, 2007, 7:29pm UTC](https://forum.kirupa.com/t/grabbing-a-variable-in-a-function-from-an-external-swf/216924/1 "2007-02-21T19:29:41Z")

</div>

Hey all,

I need to trace out the variable **currentClip** from the following code that is in an external swf. The parent swf calls the external swf **empty\_mc** via loadclip.  
[AS]  
function setNextClip():Void  
{  
currentClip = clipArray[iterator];  
iterator++;  
currentClip.\_visible = true;  
fadeIn();  
}  
[/AS]  
Any help is greatly appreciated!
