A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [RESOLVED] what does this trace message mean?

  1. #1
    Senior Member
    Join Date
    Jan 2007
    Location
    Barcelona
    Posts
    389

    resolved [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.

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi Cap,

    It is most likely the trace of 48 empty array values.

  3. #3
    Designer, Programmer, Musician angelhdz's Avatar
    Join Date
    Mar 2010
    Posts
    971
    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

  4. #4
    Senior Member
    Join Date
    Jan 2007
    Location
    Barcelona
    Posts
    389
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center