00:00
00:00
Newgrounds Background Image Theme

MovementalStudio just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

call a _global array

1,154 Views | 2 Replies
New Topic Respond to this Topic

call a _global array 2014-09-07 23:03:32


i need to access a string array to get the questions for my game.

i've been using the code below, but it results to undefined.
_global.questionArray[i]

this is my global array;
_global.questionArray = ("Manunggul Jar?", "Mactan?");

what do i need to change or add to get what i need.


I don't have formal education about flash game development. all i know is the product of my self-study alone. so, kindly help me.

Response to call a _global array 2014-09-08 00:01:15


What language are you working in? If this is Actionscript, those questions belong in the Flash Forum.

Response to call a _global array 2014-09-08 02:09:29


What language are you working in? If this is Actionscript, those questions belong in the Flash Forum.

oh, sorry. i thought this Programming forum is all about any programming language.


I don't have formal education about flash game development. all i know is the product of my self-study alone. so, kindly help me.