-
[RESOLVED] what does this trace message mean?
Hi,
I am trying to code a game and when retrieving an array of objects from an extension I get this trace when I use it to see if anything was passed.
Deck = ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
the array with the card object is in the extension, so I tried to redeclare the variables to reassign the object again in the client side, but I will get undefined. The deck is supposed to be randomly generated so I need it in the extension and that's where I have the functions to generate it.
I would only like to know if this trace could mean anything. I had never seen it in such a format and there are 48 commas equaling the total amount of cards in the deck.
Last edited by capdetrons; 02-19-2014 at 03:37 PM.
-
.
Hi Cap,
It is most likely the trace of 48 empty array values.
-
Designer, Programmer, Musician
That means the Deck array has empty values in each 48 items. I guess that the array will get values when the other functions happens or the game starts.
Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries
-
Hi, thanks!
I'm trying to read about it as we write.
Looks like the extension is passing an empty object of arrays. Is that what you mean?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|