A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: This will stump you guys

  1. #1
    Member
    Join Date
    Oct 2002
    Location
    England
    Posts
    80

    This will stump you guys

    Ok I ran in to this little bug over the weekend.

    Write this code onto your first frame:-
    stump=08;

    click the test script button and you will get an error message.

    Naming any variable to = a number works, but not for 08 and 09.

    Try testing the same thing but changing the number to say 07. You will find it works.

    I'm stumped

  2. #2
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,875
    Due to flash using octal system when numbers are proceeded by zero ..check out http://board.flashkit.com/board/show...ighlight=octal for an explanation
    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

  3. #3
    Senior Member
    Join Date
    Nov 2005
    Location
    dante's inferno
    Posts
    904
    trying to "stump" these guys, is next to impossible


    IMS

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