Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActionScript 2.0 scope issue

Status
Not open for further replies.

rolan18

Programmer
May 11, 2006
26
0
0
CA
Ok, so I have an actionscript file that is not working the way I intend it to.

I'm calling a function in the actionscript file from within the actionscript file, however I have to use this.objectRef to refer to a function that should act independently of any object.

I'm thinking that I might have changed the object I was referring to at some point in the code, but that's just speculation.

Any insight on this or scope in flash would be awesome!!
Thanks
 
Read more about:
private/public vars
local/globel vars
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top