# Air 1.5, AVM1 and \_level0 references

**URL:** <https://forum.kirupa.com/t/air-1-5-avm1-and--level0-references/318388>\
**Category:** Uncategorized\
**Created:** [January 18, 2011, 7:15pm UTC](https://forum.kirupa.com/t/air-1-5-avm1-and--level0-references/318388 "2011-01-18T19:15:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chiqui](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@chiqui](https://forum.kirupa.com/u/chiqui)\
**Post date:** [January 18, 2011, 7:15pm UTC](https://forum.kirupa.com/t/air-1-5-avm1-and--level0-references/318388/1 "2011-01-18T19:15:46Z")

</div>

Im working on a banner testing application coded in flashdevelop on Adobe Air 1.5, testing sizes, kb, animation time etc. One of the tests ran by the application is clickthroughs via clicktags. Since most of these banners are coded in AS2, I’m injecting the variables via querystring when loading the banners swf files (via a browse/drag drop File reference).

```php
var req:URLRequest = new URLRequest("banner300x250.swf?clickTag=hello");

```

This works fine for \_root references to clicktags, but when the banner is looking for the variable in \_level0 I just can’t figure out how to write these variables.  
I’ve tried to load a bridge AS2 movie and set the variables there, something like _AVM2 localConnection --\> AVM1 localConnection --\> AVM1 banner_, wich worked fine on flash IDE testings, reading all \_level0 on the AVM1 bridge, but compiled on Air became into a _security errors_ storm and \*undefined \*values for \_level0.  
Probably I can’t understand adobe Air sandbox, but if anyone have a clue or any scratch to start trying something new on this I’ll be thankful. Sorry for my english!
