lol - indeed. :-)

i'm just trying to look at possible "issues" that may come up later
on... but this scenario brings up two follow-up questions/concerns:

1 - the fact that Flash (AS2) will happily turn a class into an
associative array without any sort of warning. if a coder comes in and
uses session["foo"], it will work with no errors thrown. can i catch
this somehow? should they use this syntax throughout their modules, it
will work with no problems, but won't be "correct".

2 - can i somehow catch items being added to the class via the
ass-array method and properly add them to the Items array instead of
the root class? in other words, say a user does use the session["foo"]
method. can i intercept that call, add the item/value to the Items
array and remove it from the class? i thought about some sort of
watch, but i wouldn't know what to watch in this case...

while i'm going to be setting up a proper API for them to use, in a
way this conversation is over from a "real world" standpoint. but i'd
like to figure this out from a theoretical standpoint now.

g.

On 12/30/05, Nathan Derksen <[EMAIL PROTECTED]> wrote:
> I would say to hell with the VB coders (and I used to be one). What
> if you want to change your implementation later on? What if this
> functionality changes with AS3? Without an API, you open yourself up
> to all sorts of fun stuff that may force the user to have to change
> their code later on. Be nice to yourself and to your users. You'll be
> happier in the end, and your guilt will be assuaged (rightly so)! And
> when was the last time that VB/VBScript catered to anyone in the
> Java, JavaScript, or ActionScript world? They use completely
> different syntax, so don't fret about it.
>
> Nathan
> http://www.nathanderksen.com
>

--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to