Re: [Flashcoders] hidden function: settimeout?
Its like the javascript setTimeout... fire once forget about it - cleans itself up (instead of creating a setInterval and then cleaning it up, checking to make sure it didn't exist before creating, etc.) It is undocumented but its in there. - e.dolecki On 2/27/06, lars [EMAIL PROTECTED] wrote: i just ported a little javascript game to flash and forgot to translate on line: settimeout(moveenemies, speed)... i first noticed when exporting it to flash7 because the enemies didnt move, but the do when exported to flash8! what's going on? settimeout works in flash8? is this some externalinterface thingy or what? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] hidden function: settimeout?
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: settimeout? i just ported a little javascript game to flash and forgot to translate on line: settimeout(moveenemies, speed)... i first noticed when exporting it to flash7 because the enemies didnt move, but the do when exported to flash8! what's going on? settimeout works in flash8? is this some externalinterface thingy or what? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] hidden function: settimeout?
but flash8 only, isnt it? i just could use it, but for a flash 7 project :) Am 27.02.2006 17:21 Uhr schrieb eric dolecki unter [EMAIL PROTECTED]: Its like the javascript setTimeout... fire once forget about it - cleans itself up (instead of creating a setInterval and then cleaning it up, checking to make sure it didn't exist before creating, etc.) It is undocumented but its in there. - e.dolecki On 2/27/06, lars [EMAIL PROTECTED] wrote: i just ported a little javascript game to flash and forgot to translate on line: settimeout(moveenemies, speed)... i first noticed when exporting it to flash7 because the enemies didnt move, but the do when exported to flash8! what's going on? settimeout works in flash8? is this some externalinterface thingy or what? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] hidden function: settimeout?
setTimeout works in Flash 8, but it's not documented. They didn't bother because they deprecated it in Flash Player 8.5. ...I still like setTimeout the best, though, so I still use it. Long live setTimeout! - Original Message - From: lars [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, February 27, 2006 11:12 AM Subject: [Flashcoders] hidden function: settimeout? i just ported a little javascript game to flash and forgot to translate on line: settimeout(moveenemies, speed)... i first noticed when exporting it to flash7 because the enemies didnt move, but the do when exported to flash8! what's going on? settimeout works in flash8? is this some externalinterface thingy or what? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] hidden function: settimeout?
yeah, gotta switch back from settimeout to setinterval now (because of the need to export for flash 7). btw: is there an better way to update the interval without having to clear it first? Am 27.02.2006 17:38 Uhr schrieb eric dolecki unter [EMAIL PROTECTED]: flash 8 only - but you could create a setInterval manager... to ensure you aren't creating the same one again (which is disasterous), and cleans them up neatly, etc. On 2/27/06, lars [EMAIL PROTECTED] wrote: but flash8 only, isnt it? i just could use it, but for a flash 7 project :) Am 27.02.2006 17:21 Uhr schrieb eric dolecki unter [EMAIL PROTECTED]: Its like the javascript setTimeout... fire once forget about it - cleans itself up (instead of creating a setInterval and then cleaning it up, checking to make sure it didn't exist before creating, etc.) It is undocumented but its in there. - e.dolecki On 2/27/06, lars [EMAIL PROTECTED] wrote: i just ported a little javascript game to flash and forgot to translate on line: settimeout(moveenemies, speed)... i first noticed when exporting it to flash7 because the enemies didnt move, but the do when exported to flash8! what's going on? settimeout works in flash8? is this some externalinterface thingy or what? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] hidden function: settimeout?
Posted this to the wrong thread earlier, but this may be of use http://out.chewtinfoil.com/Timer.as and as eric suggested.. http://out.chewtinfoil.com/IntervalManager.as Cheers, Ryan On 2/27/06, lars [EMAIL PROTECTED] wrote: yeah, gotta switch back from settimeout to setinterval now (because of the need to export for flash 7). btw: is there an better way to update the interval without having to clear it first? Am 27.02.2006 17:38 Uhr schrieb eric dolecki unter [EMAIL PROTECTED]: flash 8 only - but you could create a setInterval manager... to ensure you aren't creating the same one again (which is disasterous), and cleans them up neatly, etc. On 2/27/06, lars [EMAIL PROTECTED] wrote: but flash8 only, isnt it? i just could use it, but for a flash 7 project :) Am 27.02.2006 17:21 Uhr schrieb eric dolecki unter [EMAIL PROTECTED]: Its like the javascript setTimeout... fire once forget about it - cleans itself up (instead of creating a setInterval and then cleaning it up, checking to make sure it didn't exist before creating, etc.) It is undocumented but its in there. - e.dolecki On 2/27/06, lars [EMAIL PROTECTED] wrote: i just ported a little javascript game to flash and forgot to translate on line: settimeout(moveenemies, speed)... i first noticed when exporting it to flash7 because the enemies didnt move, but the do when exported to flash8! what's going on? settimeout works in flash8? is this some externalinterface thingy or what? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] hidden function: settimeout?
nice ;) On 2/27/06, Ryan Matsikas [EMAIL PROTECTED] wrote: Posted this to the wrong thread earlier, but this may be of use http://out.chewtinfoil.com/Timer.as and as eric suggested.. http://out.chewtinfoil.com/IntervalManager.as Cheers, Ryan On 2/27/06, lars [EMAIL PROTECTED] wrote: yeah, gotta switch back from settimeout to setinterval now (because of the need to export for flash 7). btw: is there an better way to update the interval without having to clear it first? Am 27.02.2006 17:38 Uhr schrieb eric dolecki unter [EMAIL PROTECTED] : flash 8 only - but you could create a setInterval manager... to ensure you aren't creating the same one again (which is disasterous), and cleans them up neatly, etc. On 2/27/06, lars [EMAIL PROTECTED] wrote: but flash8 only, isnt it? i just could use it, but for a flash 7 project :) Am 27.02.2006 17:21 Uhr schrieb eric dolecki unter [EMAIL PROTECTED]: Its like the javascript setTimeout... fire once forget about it - cleans itself up (instead of creating a setInterval and then cleaning it up, checking to make sure it didn't exist before creating, etc.) It is undocumented but its in there. - e.dolecki On 2/27/06, lars [EMAIL PROTECTED] wrote: i just ported a little javascript game to flash and forgot to translate on line: settimeout(moveenemies, speed)... i first noticed when exporting it to flash7 because the enemies didnt move, but the do when exported to flash8! what's going on? settimeout works in flash8? is this some externalinterface thingy or what? thanks: lars ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com