[mochikit] Re: AJAX question

2006-04-23 Thread Sam Sutch

Here is something that I made with Scriptalicous (sp?) and Prototype
(required by Scriptalicous). It's a pretty heavyweight page and doesn't
work in IE at all yet. But just so you know, you can do fancy stuff
with JS too: http://samuraifilms.org/test It might be broken on other
browsers too, I don't know, I've only tested on Firefox and IE so far.

-Sam


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~--~~~~--~~--~--~---



[mochikit] Re: AJAX question

2006-04-22 Thread Pekka Karjalainen

On 4/22/06, Sam Sutch [EMAIL PROTECTED] wrote:

 Oh, I'm definitly not disagreeing that javascript would be a BAD
 choice and Flash is just the more practical alternative.
 -Sam

I'm not disagreeing with this, but I want to point out people do stuff
with JS and dynamic HTML too.

Here are various reviews of DHTML games from Jayisgames.com:

http://www.google.fi/search?q=site:jayisgames.com+dhtml

This might answer the original question. You can make games with JS as
well, and here are several examples of what is possible.

Pekka

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~--~~~~--~~--~--~---



[mochikit] Re: AJAX question

2006-04-22 Thread Bob Ippolito


On Apr 22, 2006, at 8:04 AM, SamFeltus wrote:


 Original question.
 I get Flash, but not AJAX, just trying to wrap my head around what  
 AJAX
 can and can't do.

 Another question.
 I love the Making JavaScript Suck Less motto.  I wish ActionScript
 sucked less.  Is there any technical reason why MochiKit.base and
 MochiKit.iter could not be ported to Flash if someone did the work?

It could certainly be ported to ActionScript 2, but I don't like AS2  
and I don't do a ton of Flash.  Some of MochiKit.Async was ported  
from code that I had originally written in AS2.  If someone were to  
undertake this task, it would have to be a separate project, because  
I'm not going to be responsible for maintaining a Flash port.

You might want to look at AFLAX, which lets you effectively script  
Flash in JavaScript, which would let you leverage MochiKit (AFLAX  
itself, at least the examples, use MochiKit).

I really wish Macrodobe wouldn't have been so stupid about diverging  
from ECMA.  I also wish someone would write a JavaScript-SWF  
compiler (like MTASC, but without having to use that Java-like syntax).

-bob

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~--~~~~--~~--~--~---



[mochikit] Re: AJAX question

2006-04-21 Thread Bob Ippolito

On Apr 21, 2006, at 1:26 PM, Sam Sutch wrote:

 You can play/stop sounds if you add/remove (respectivly) an embed
 object with the wav or mp3 set to with the auto play attribute set to
 true.

Sure, but that's stupid because Flash is available just about  
everywhere that is, if not more available... and if you're using  
Flash, you might as well do the whole thing in Flash.  At least you  
only have one buggy platform to code against, rather than the  
gigantic set of all relevant browsers, versions of browsers, sound- 
playing-plugins, and platforms.

 It would not be so hard if there was an IDE like flash, but then you
 get into all the browser incompatabilites and you'd probably want to
 rip your pubic hair out or something by the time you got done.

I'm not a fan of the Flash IDE for doing anything sufficiently  
complicated.. MTASC is pretty nice though.  You can get a pretty good  
develop/test/run cycle if you set up a web server to fork out MTASC  
when your actionscript changes.

The Flash IDE and player's debugging capabilities blow chunks, but  
they're no worse than those available for JavaScript  
implementations.  Plus since you have LocalConnection you can do out- 
of-process debugging with something like XTrace.  Granted you could  
probably do something like that with sync XMLHttpRequest with some  
kind of specialized server, but I haven't seen that.

There probably aren't too many genre of games that make sense in the  
context of AJAX.  However, I'm a huge fan of both ironsudoku.com and  
playbabble.com -- they're very well done, have excellent usability  
and browser compatibility, and I can't imagine them being any better  
given a different choice of technology.

-bob


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~--~~~~--~~--~--~---



[mochikit] Re: AJAX question

2006-04-21 Thread Sam Sutch

Oh, I'm definitly not disagreeing that javascript would be a BAD
choice and Flash is just the more practical alternative. I was just
saying. ;) And oh man, I don't like the Flash IDE.

-Sam

On 4/21/06, Bob Ippolito [EMAIL PROTECTED] wrote:
 On Apr 21, 2006, at 1:26 PM, Sam Sutch wrote:

  You can play/stop sounds if you add/remove (respectivly) an embed
  object with the wav or mp3 set to with the auto play attribute set to
  true.

 Sure, but that's stupid because Flash is available just about
 everywhere that is, if not more available... and if you're using
 Flash, you might as well do the whole thing in Flash.  At least you
 only have one buggy platform to code against, rather than the
 gigantic set of all relevant browsers, versions of browsers, sound-
 playing-plugins, and platforms.

  It would not be so hard if there was an IDE like flash, but then you
  get into all the browser incompatabilites and you'd probably want to
  rip your pubic hair out or something by the time you got done.

 I'm not a fan of the Flash IDE for doing anything sufficiently
 complicated.. MTASC is pretty nice though.  You can get a pretty good
 develop/test/run cycle if you set up a web server to fork out MTASC
 when your actionscript changes.

 The Flash IDE and player's debugging capabilities blow chunks, but
 they're no worse than those available for JavaScript
 implementations.  Plus since you have LocalConnection you can do out-
 of-process debugging with something like XTrace.  Granted you could
 probably do something like that with sync XMLHttpRequest with some
 kind of specialized server, but I haven't seen that.

 There probably aren't too many genre of games that make sense in the
 context of AJAX.  However, I'm a huge fan of both ironsudoku.com and
 playbabble.com -- they're very well done, have excellent usability
 and browser compatibility, and I can't imagine them being any better
 given a different choice of technology.

 -bob



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~--~~~~--~~--~--~---