dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] splice

  1. #1
    Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    1,040

    resolved [RESOLVED] splice

    hi, is this normal or a bug:

    PHP Code:
    var stuff:Array = new Array("one","two","two","two");
    stuff.splice(2,2);
    trace(stuff); 
    however more unique names splice properly:

    PHP Code:
    var stuff:Array = new Array("one","two","ttfdsf","twvcx");
    stuff.splice(2,2);
    trace(stuff); 
    Adobe racey me

  2. #2
    Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    1,040
    nvm I was using it wrong, second splice input must be a 1
    Adobe racey me

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