A Flash Developer Resource Site

Results 1 to 20 of 38

Thread: Add a symbol from the library

Threaded View

  1. #11
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,875
    When u have split you string like above the "|" will not exist

    e.g

    Code:
    var someString="hello there how | are you man | what are you doing?";
    
    var someArray:Array = someString.split("|");
    
    trace(someArray);
    So just delete

    Code:
    for(i=0;i<(myArray.length -1);i++) {
    myArray[i] = myArray[i].split("|");
    }
    and provied the rest of your code is ok..it shud work!!
    Last edited by silentweed; 06-01-2006 at 11:43 AM.
    Flashmatics | Flashmatics Library (free downloads)
    -----------------------------------------------------
    Latest Projects:
    The Dead Room | Are You Smarter | Prison Break (Frame A Friend) | Beck's Fusions | The 24 Experience

    -----------------------------------------------------
    Flash Certified Developer

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