# Passing var between as2 and as3

**URL:** <https://forum.kirupa.com/t/passing-var-between-as2-and-as3/318971>\
**Category:** Uncategorized\
**Created:** [February 4, 2011, 8:46pm UTC](https://forum.kirupa.com/t/passing-var-between-as2-and-as3/318971 "2011-02-04T20:46:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hosein\_mirian](https://avatars.discourse-cdn.com/v4/letter/h/e0b2c6/32.png) [@hosein\_mirian](https://forum.kirupa.com/u/hosein_mirian)\
**Post date:** [February 4, 2011, 8:46pm UTC](https://forum.kirupa.com/t/passing-var-between-as2-and-as3/318971/1 "2011-02-04T20:46:16Z")

</div>

[LEFT]hi  
I have a as3 file which load a as2 file into it .  
as2 file has a variable called A  
I want to get the value of this variable from my as2 file and use it into my as3 file

please give me a tip or a method that doesn,t need any Class ! ! cause I dont Understand Classes and I hate them ! !

show me a easy Way plz

tnx

🏒  
[/LEFT]
