Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-14-2009, 01:58 PM   PM User | #1
gani
Regular Coder

 
Join Date: Nov 2008
Posts: 165
Thanks: 0
Thanked 0 Times in 0 Posts
gani is an unknown quantity at this point
Global variable not showing

I have this
Code:
package 
{
    public class globes
    {
        public static var data:Object = {};
    }
}
in timeline i have this

Code:
import thepackage;
globes.data.myglobalvar='okay';
I get an error saying
Access of undefined property globes.. How to fix it?
gani is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:43 AM.


Advertisement
Log in to turn off these ads.