RE: [Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Geoffrey Williams
Am I wrong in thinking that comments are included in a SWF when it's published? Yes. Comments are not published in the SWF. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mick G Sent: Thursday, January 25, 2007 2:15 PM To: Flashcoders mailing list

RE: [Flashcoders] [AS3] Instantiating Dynamic Classes

2006-11-14 Thread Geoffrey Williams
Something like this: import flash.utils.getDefinitionByName; var class : Class = getDefinitionByName (clip_ + variable) as Class; var mc : MovieClip = MovieClip (new Class ()); addChildAt (mc, depth); Not tested. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

RE: [Flashcoders] import statement and accessing a class in AS3

2006-07-14 Thread Geoffrey Williams
You must always import your classes in external AS files. In Flash, the flash.* sub packages are automatically imported. This is working as intended. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fumio Nonaka Sent: Thursday, July 13, 2006 1:50 PM To:

RE: Re: [Flashcoders] Abstract classes in AS3?

2006-07-11 Thread Geoffrey Williams
AS3 doesn't support private constructors. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Allen Sent: Tuesday, July 11, 2006 2:06 PM To: Flashcoders mailing list Subject: Re: Re: [Flashcoders] Abstract classes in AS3? For compile time checks, just

RE: [Flashcoders] String problems?

2006-03-06 Thread Geoffrey Williams
Need to 'eval' num. use array notation. controller_mc.attachMovie(gallery_mc, gallery_mc, 50); theGallery = controller_mc.gallery_mc; gallery_contains = 4; for (i = 0; igallery_contains; i++){ num = img_+i; theGallery[num]._alpha = 0; trace(num); } -Original Message- From:

RE: [Flashcoders] way to get window.location from flash?

2006-03-01 Thread Geoffrey Williams
If you want the URL of the page (not the SWF), you can try something like: getURL ('javascript:document.getElementById(object_id).setVariable(url_string, window.location.href); void (0);'); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Wttewaall

RE: [Flashcoders] hidden function: settimeout?

2006-02-27 Thread Geoffrey Williams
It's in Flash, just undocumented. http://www.flashguru.co.uk/flash-8-settimeout/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of lars Sent: Monday, February 27, 2006 11:13 AM To: Flashcoders mailing list Subject: [Flashcoders] hidden function:

RE: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Geoffrey Williams
Block = Pause, Sleep -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hauwert, Ralph Sent: Thursday, February 16, 2006 8:54 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5 Just out of curiosity, what

RE: [Flashcoders] number casting weirdness

2006-01-24 Thread Geoffrey Williams
The leading zero signifies that the number is an octal; like 0x is hex. Use parseInt. parseInt (0023, 10); /** * Timestamp, to see how long this thing takes to post: 1:58 PM EST */ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of quinrou . Sent:

RE: [Flashcoders] md5 in AS3

2006-01-16 Thread Geoffrey Williams
AS3 Version - http://gsolo.com/temp/macromedia/flex/beta/Global/com/gsolo/encryption/MD5.z ip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul BH Sent: Monday, January 16, 2006 6:47 PM To: Flashcoders mailing list Subject: [Flashcoders] md5 in AS3

RE: [Flashcoders] Using getURL twice in a function

2006-01-10 Thread Geoffrey Williams
Try using JavaScript for both opening the window and redirecting... getURL (javascript:window.open ('1.htm'); window.location.href='2.htm'); You could even try setTimeout for the redirect... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Mefferd

RE: [Flashcoders] FAQ Adobe acquisition of Macromedia

2005-12-07 Thread Geoffrey Williams
Think of it as Central or Breeze. It will allow a bunch of new functionality above the Player. It's not a replacement; it's a 'plug-in'... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Mefferd Sent: Wednesday, December 07, 2005 11:10 AM To:

RE: [Flashcoders] Newbie AS3 question

2005-10-28 Thread Geoffrey Williams
You don't need to use the 'this' keyword. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Bradley Sent: Friday, October 28, 2005 2:54 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Newbie AS3 question On Oct 28, 2005, at 1:55 PM, Shaw,

RE: [Flashcoders] removeEventListener not working?

2005-10-27 Thread Geoffrey Williams
Perhaps? : var fontsLoaded_delegate:Function = Delegate.create(this, fontsLoaded); fntController.addEventListener ('onFinished', fontsLoaded_delegate); fntController.removeEventListener ('onFinished', fontsLoaded_delegate); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [Flashcoders] OT: Macromedia Central - is it a flop?

2005-10-27 Thread Geoffrey Williams
'Apollo' was mentioned at MAX. While the current incantation of Central may be a flop in the general sense of the word, the overall idea of Flash on the Desktop [OCC, quick install c] diffidently isn't dead. Stay tuned...? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL