[flexcoders] Re: will we have access to makeplayerglobal script ?

2005-11-10 Thread zwetank
 
 * AS3 does support the ability to extend builtin objects by adding
 prototype methods.  Yes, you give up something
 (strong type checking)
 but it's no worse than in AS1 when it worked.  Actually AS1,
 AS2, and AS3 all support this.
 

duh !!
I was so used to do some hacks to circumvent the AS2 compiler
to allow such addition inside prototype that I didn't even tryed
to directly add such methods to the prototype with AS3.

Lol the tree hidding the forest :)

all is working, ok I lost the compile-time static type check,
but as all this methods are heavyly unit tested, not really a problem.

 
 * I suppose if you recompiled playerglobal.as with new methods
 in it, and took pains to add those methods as prototype methods,
 you could get back some of the lost compile-time checking.
 The bytecode you generated would still be compatible with
 prototype methods added on the fly at runtime.  
 

that's the goal, and it already working with AS2

1) update the intrinsic class
   by adding intrinsic methods
2) include the files containing the prototype
3) you have added methods with compile-time check

 I have no idea if we're looking at providing the playerglobal source
 (maybe we are since we're hoping to provide the framework source)
 but I can't imagine it will be a well-documented feature as to
 how to adjust it and re-compile...  I'll forward this to PM
 though and they can take it under consideration.
 

even with almost no documentation (just the basic :))
I would like a lot to be able to do that, well if possible...

but at least now I'm not blocked in what I planned to code.







 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: will we have access to makeplayerglobal script ?

2005-11-08 Thread zwetank


 Hmm, I wouldn't count on getting to mess with those files (or messing
 with them having any effect right now).  I'll forward this on to the
 player team though.
 
  

Really I don't try to mess with anything :).

My point is only look at the core system class from .NET and Java
compare them to AS3, there are really things missing.

I don't particulary want to add myself such methods as
endswith/startswith,
I would rather prefer to have them native, just for the speed.

And I'm almost sure I would not be the only one wanting suhc methods
added to the coe objects.

Anyway thanks for forwarding that request.

zwetan





 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Re: will we have access to makeplayerglobal script ?

2005-11-08 Thread Matt Chotin










Response from someone on the player team
includes:



* AS3 does support the ability to extend
builtin objects by adding prototype methods. Yes, you give up something
(strong type checking) but it's no worse than in AS1 when it worked.
ActuallyAS1, AS2, and AS3 all support this.



* I suppose if you recompiled
playerglobal.as with new methods in it, and took pains to add those methods as
prototype methods, you could get back some of the lost compile-time
checking. The bytecode you generated would still be compatible with prototype
methods added on the fly at runtime. 



I have no idea if were looking at
providing the playerglobal source (maybe we are since were hoping to
provide the framework source) but I cant imagine it will be a
well-documented feature as to how to adjust it and re-compile Ill
forward this to PM though and they can take it under consideration.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of zwetank
Sent: Tuesday, November 08, 2005
2:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: will we
have access to makeplayerglobal script ?







 Hmm, I wouldn't count on getting to mess with
those files (or messing
 with them having any effect right now).
I'll forward this on to the
 player team though.
 
 

Really I don't try to mess with anything :).

My point is only look at the core system class
from .NET and Java
compare them to AS3, there are really things
missing.

I don't particulary want to add myself such
methods as
endswith/startswith,
I would rather prefer to have them native, just
for the speed.

And I'm almost sure I would not be the only one
wanting suhc methods
added to the coe objects.

Anyway thanks for forwarding that request.

zwetan











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.