# Why nobody seem want to help me

**URL:** https://forum.kirupa.com/t/why-nobody-seem-want-to-help-me/321312
**Category:** Uncategorized
**Created:** [April 16, 2011, 6:53am UTC](https://forum.kirupa.com/t/why-nobody-seem-want-to-help-me/321312 "2011-04-16T06:53:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![R8K](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@R8K](https://forum.kirupa.com/u/R8K)
#### Post date: [April 16, 2011, 6:53am UTC](https://forum.kirupa.com/t/why-nobody-seem-want-to-help-me/321312/1 "2011-04-16T06:53:25Z")

</div>

Hi Guys

I have a difficulty on migrating into AS3. This is a very simple problem but take me 1 day trying to find out the answer.

I have 2 file: “main.swf” and “content.swf”

In “main.swf”, i use Loader to load “content.swf” into movieclip called content\_mc.

SO, how to access the variable inside “content.swf”??

thanks

Here are my coding:

var contentLoader = new Loader();  
contentLoader.load(new URLRequest(“content.swf”));  
content\_mc.addChild(contentLoader);

------------------------------------------ 1st try (cannot work):

var currentMovie:String = content\_mc.variableName;  
trace(currentMovie);

------------------------------------------ 2nd try (cannot work):  
var currentMovie:String;  
currentMovie = content\_mc.Object(contentLoader.content).currentMC ;  
trace( currentMovie);

Thanks alot… please help me

```
	  		  		  		  		  		  	   	 		[IMG]http://www.kirupa.com/forum/styles/kirupaProblue/statusicon/user_offline.gif[/IMG] [[IMG]http://www.kirupa.com/forum/styles/kirupaProblue/buttons/quote.gif[/IMG]](http://www.kirupa.com/forum/newreply.php?do=newreply&p=2608304)
```
