Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: New Flash Game
From: Brandon Wolf
Date: Mon, 16 Nov 1998 15:45:03 +0000 (GMT)

Hi Branden,
Got a stack overflow at line 142 in IE 5.0. But you'll be happy to know it
works like a charm in Netscape 3.0. Great work man, love that game...

btw, your name is misspelled =)
Brandon
FlashZone
www.flashzone.com

-----Original Message-----
From: Branden Hall <bjhallatwam [dot] umd [dot] edu>
To: flasheratshocker [dot] com <flasheratshocker [dot] com>
Date: Monday, November 16, 1998 2:14 AM
Subject: Re: FLASH: New Flash Game


>Thanks for the input ya'll, I just got the @*#&$^ thing to work with all
>4.0+ browsers.
>For ya'll who don't know the game I wrote worked fine in IE4, and N4.5,
>but would not work in N4.0-N4.07. Since it is an oddball javascript bug
>that other people may run into I'll explain:
> Apparently in N4.0-N4.07 the passed in argument of a FS command is
>rigidly set to being a string, and nothing that I have found will
>convert it to a number, not the Number function, not the usual x=x-0,
>not using a second variable (i.e. blah=arg), not even converting the
>second variable using either Number or the x=x-0 method, nothing. Now
>here is where my program was screwing up, it was trying to use that
>argument directly to index an array, (i.e. x=blah[arg];) thus since the
>argument was a string, and not the expected integer javascript was
>giving up without even the usual error barf. I solved the problem by
>using another variable and just using a few if statements. Setting the
>temp to be the numerical equivalent of the argument passed in. (i.e.
>if (arg=="1") { temp=1; } ) and then using the temp variable where I was
>directly using the argument fixed the problem immediately.
>
>For some reason IE4 and N4.5 does not set the argument to be a certain
>type and keeps it loosely typed as the javascript spec says variables
>are supposed to be. Oh well, after putzing with this thing for hours
>now I am *finally* going to go to sleep! Everyone please check out the
>game, even those of you who have already seen it because I have also
>updated the SWF! Here is the URL again for ya'll who may have missed it:
>
>http://www.wam.umd.edu/~bjhall/work.html
>Click on the Master Mind link at the bottom of the page.
>Thanks for being the best developer list I have ever been on ya'll!
>
>--
>-=Branden J. Hall=-
>Webmaster, Campus Recreation Services
>University of Maryland, College Park
>http://www.wam.umd.edu/~bjhall/
>
>
>
>------------------------------------------------------------------------
>To UNSUBSCRIBE send: unsubscribe flasher in the body of an
>email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
>N.B. Email address must be the same as the one you used to subscribe.
>For info on digest mode send: info flasher to list-manageratshocker [dot] com


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com



[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]