View Full Version : access other files variables
Tarielle
August 1st, 2010, 02:04 PM
Hi, how can I access other files variable like I have a file called test1 and Im currently in the file test2 and I want to access variable var1. Something like test1.var1 would be awesome if it worked in flash
I hope you understood
Thanks :love:
glosrfc
August 2nd, 2010, 09:29 AM
It should work as you've described, providing that:
a) you import the test1 SWF into your test2 file and
b) you don't attempt to target the variable until test1 has been fully instantiated on the stage.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.