[Flashcoders] Video editor in Berlin, searching for job
Hi list, I wonder if one of you working in an agency in Berlin would know if a video editor could send a CV at your office. She's spanish living in France, speak fluently english , and work in video editing since 5 years as a freelancer, studied at the Bellas Artes in Barcelone for 5 years. If you have some work for her tell me I send her CV Thanks! Laurent ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript
Hi Joe, In my case I was generating a swc too (using it from AIR) and deleting the swc file manually fixed this issue (however anytime the swc file is there flash comes up again with this error message) Zoli www.fluorinefx.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Cutting Sent: Wednesday, July 23, 2008 6:12 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript I've suddenly started having a very serious problem with a large project I'm working on in Flash CS3 (Flash 9- AS3) When I go to test movie the project compiles ok but ignores all the Actionscript in the file When I try debug it comes up with You cannot debug this SWF because it does not contain Actionscript I've tried: - saving and compacting - Deleting the ASO files - Copying everything to a new fla - Unchecking the Reduce file size and increase performance box The only thing I've found is that if I copy only a few library items to a new file that file doesn't have the problem - but it doesn't seem particularly consistent. If I add items until the problem occurs it doesn't always go away when I remove them. I'm also getting occasional 5003: Unknown error generating byte code cropping up I've noticed that several other people have been having this problem: http://www.actionscript.org/forums/showthread.php3?t=161118 As I said the project is large, but not enormous - the fla is about 3.5MB and the swf ends up around 270k. Are there any known limits to Actionscript code, classes or packages that I should be aware off. Any suggestions would be great because I'm tearing my hair out. The only thing I've seen that I haven't tried is switching to Flex which really isn't ideal at this stage in the project. Cheers Joe Joe Cutting Computer exhibits and installations www.joecutting.com 35 Hospital Fields Road, York, YO10 4DZ 01904 624681 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.5.4/1566 - Release Date: 7/22/2008 6:00 AM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] ...Friday, 5:38 pm
i mean if the flash plugin died so no actionscript what would you do I would painfully move over to the less-feature rich, much less market-accepted Silverlight and code in XAML and C#. Jason Merrill Bank of America Enterprise Technology Global Risk LLD Instructional Technology Media Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas and technologies? Check out our internal GTO Innovative Learning Blog subscribe. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] ...Friday, 5:38 pm
This list would just die because Steven Sacks would have nothing to complain about. :D -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: zaterdag 26 juli 2008 13:02 To: Flash Coders List Subject: Re: [Flashcoders] ...Friday, 5:38 pm heh :) if flash died tomorrow, what would you do instead? On 25 Jul 2008, at 22:20, Steven Sacks wrote: I'm still here. ;) allandt bik-elliott (thefieldcomic.com) wrote: it brings up a serious point tho - can flash survive with the amount of animosity there is towards it? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ...Friday, 5:38 pm
hahahah awesome! Lukas Ruebbelke a écrit : This list would just die because Steven Sacks would have nothing to complain about. :D -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: zaterdag 26 juli 2008 13:02 To: Flash Coders List Subject: Re: [Flashcoders] ...Friday, 5:38 pm heh :) if flash died tomorrow, what would you do instead? On 25 Jul 2008, at 22:20, Steven Sacks wrote: I'm still here. ;) allandt bik-elliott (thefieldcomic.com) wrote: it brings up a serious point tho - can flash survive with the amount of animosity there is towards it? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] setting up papevision 3d or any other class on cs3 mac osx
Any ideas, I've been trying the regular way, so it seems weird enough , any ideas why my mac doesn't want to rdead external classes from the preference panel on the cs3? regards, Gustavo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ...Friday, 5:38 pm
Word. laurent wrote: hahahah awesome! Lukas Ruebbelke a écrit : This list would just die because Steven Sacks would have nothing to complain about. :D -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: zaterdag 26 juli 2008 13:02 To: Flash Coders List Subject: Re: [Flashcoders] ...Friday, 5:38 pm heh :) if flash died tomorrow, what would you do instead? On 25 Jul 2008, at 22:20, Steven Sacks wrote: I'm still here. ;) allandt bik-elliott (thefieldcomic.com) wrote: it brings up a serious point tho - can flash survive with the amount of animosity there is towards it? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] DART AS3
I am going to shoot this out to the dark and see if anyone has been able to deploy AS3 banners in the DartMotif platform ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] DART AS3
Helmut, The DART Motif platform does not support AS3 at this point. Will do in early 2009. Helmut Granda wrote: I am going to shoot this out to the dark and see if anyone has been able to deploy AS3 banners in the DartMotif platform ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Manuel Ponce de Leon :: Rich Media Customer Solutions Consultant :: Google :: [EMAIL PROTECTED] :: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] DART AS3
Hey Manuel. Another DART related question. I notice that when viewing with the Flash 10 player I'm sent alternative static version of our DART files. Any thoughts when the detection might be updated? Brian Mays On 7/28/08 3:50 PM, Manuel Ponce de Leon [EMAIL PROTECTED] wrote: Helmut, The DART Motif platform does not support AS3 at this point. Will do in early 2009. Helmut Granda wrote: I am going to shoot this out to the dark and see if anyone has been able to deploy AS3 banners in the DartMotif platform ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brian Mays -- Did you know? OPUBCO is a multimedia company. We are essential to our community. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] DART AS3
Thanks Manuel for the feedback... do you know if there is a work around this limits? You know one of those AS3 complex banners that was supposed to be deployed yesterday and no time to switch back to AS2? On Mon, Jul 28, 2008 at 3:50 PM, Manuel Ponce de Leon [EMAIL PROTECTED] wrote: Helmut, The DART Motif platform does not support AS3 at this point. Will do in early 2009. Helmut Granda wrote: I am going to shoot this out to the dark and see if anyone has been able to deploy AS3 banners in the DartMotif platform ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Manuel Ponce de Leon :: Rich Media Customer Solutions Consultant :: Google :: [EMAIL PROTECTED] :: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Random numbers list
Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Random numbers list
you could make a first array filled with all number from 0 to 100 and then you splice to any random index range between 0 and the new size of the array. You fill another array with the last spliced number. do I make sense ? cheers L Eduardo Barbosa a écrit : Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Random numbers list
oops no i did not get you point actually.. hm...more complex...:) L Eduardo Barbosa a écrit : Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Random numbers list
still it can be done like that you always keep the number of numbers between two arrays... and swap numbers from one to another, that your sure to neve have twice the same one yeah...! :] L Eduardo Barbosa a écrit : Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Random numbers list
Every time you generate a new random number go through the array and see if any match the new number if so generate a new one and check again, if not add it to the array. With only 10 numbers in the array it would check very fast so you wouldn't be taking a performance hit. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eduardo Barbosa Sent: Monday, July 28, 2008 4:43 PM To: Flashcoders mailing list Subject: [Flashcoders] Random numbers list Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Random numbers list
Can numbers repeat? Is this a constant loop where, for instance, the number 12 could show up two times in twenty seconds? Or would you want 12 to show up once and then go out of circulation permanently? .m On Mon, Jul 28, 2008 at 5:42 PM, Eduardo Barbosa [EMAIL PROTECTED] wrote: Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Random numbers list
Hi Matt, Yes numbers can and should repeat through time. They just cant be repeated within the sequence at a given discreet time. Makes sense? :) On Mon, Jul 28, 2008 at 11:15 PM, Matt S. [EMAIL PROTECTED] wrote: Can numbers repeat? Is this a constant loop where, for instance, the number 12 could show up two times in twenty seconds? Or would you want 12 to show up once and then go out of circulation permanently? .m On Mon, Jul 28, 2008 at 5:42 PM, Eduardo Barbosa [EMAIL PROTECTED] wrote: Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Random numbers list
Hi Laurent, Your first suggestion is a very simple and clever trick i'll definetely keep in mind for future situations. However for this second variation you mean that I: 1) pick the numbers out of array 1 and splice it 2) move those numbers into array 2 3) when the length of array 1 would be 10 i would start picking the numbers out of array 2 and do the inverse. Is this what you mean? On Mon, Jul 28, 2008 at 11:01 PM, laurent [EMAIL PROTECTED] wrote: still it can be done like that you always keep the number of numbers between two arrays... and swap numbers from one to another, that your sure to neve have twice the same one yeah...! :] L Eduardo Barbosa a écrit : Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Random numbers list
Hi Steve, That was actually my first thought. I had a while loop and inside a for ... in loop to iterate through the array to check if the number was already there. But then for some reason the script made flash unresponsive. However I just came up with this which seems to be working, but i'm still very curious to learn of better ways of achieving this: function pickUniqueNumber():Number { var randomNum:Number; var loop:Boolean = true; var numberList:String = |+currentNumbers.join(|)+|; while (loop) { randomNum = random(wallpaperList.length); var numberString:String = |+randomNum+|; if (numberList.indexOf(numberString) == -1) { currentNumbers.push(randomNum); loop = false; } } return randomNum; } On Mon, Jul 28, 2008 at 11:04 PM, Steve Abaffy [EMAIL PROTECTED]wrote: Every time you generate a new random number go through the array and see if any match the new number if so generate a new one and check again, if not add it to the array. With only 10 numbers in the array it would check very fast so you wouldn't be taking a performance hit. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eduardo Barbosa Sent: Monday, July 28, 2008 4:43 PM To: Flashcoders mailing list Subject: [Flashcoders] Random numbers list Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Random numbers list
yes like: allNumber:Array = [ 0, 1, 2, 3, ..., 100 ]; tenNumbers:Array = []; public function getNumberIn():void{ var i:in = int( Math.random * allNumber.length ); tenNumbers.push( allNumber.splice( i, 1 ) ); } then I don't know how you pick up the number to pass from tenNumbers to allNumber. L Eduardo Barbosa a écrit : Hi Laurent, Your first suggestion is a very simple and clever trick i'll definetely keep in mind for future situations. However for this second variation you mean that I: 1) pick the numbers out of array 1 and splice it 2) move those numbers into array 2 3) when the length of array 1 would be 10 i would start picking the numbers out of array 2 and do the inverse. Is this what you mean? On Mon, Jul 28, 2008 at 11:01 PM, laurent [EMAIL PROTECTED] wrote: still it can be done like that you always keep the number of numbers between two arrays... and swap numbers from one to another, that your sure to neve have twice the same one yeah...! :] L Eduardo Barbosa a écrit : Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Random numbers list
or perhaps tenNumber[ tenNumbers.length ] is faster than tenNumbers.push() never know about that one...the second return something so perhaps its slower.. laurent a écrit : yes like: allNumber:Array = [ 0, 1, 2, 3, ..., 100 ]; tenNumbers:Array = []; public function getNumberIn():void{ var i:in = int( Math.random * allNumber.length ); tenNumbers.push( allNumber.splice( i, 1 ) ); } then I don't know how you pick up the number to pass from tenNumbers to allNumber. L Eduardo Barbosa a écrit : Hi Laurent, Your first suggestion is a very simple and clever trick i'll definetely keep in mind for future situations. However for this second variation you mean that I: 1) pick the numbers out of array 1 and splice it 2) move those numbers into array 2 3) when the length of array 1 would be 10 i would start picking the numbers out of array 2 and do the inverse. Is this what you mean? On Mon, Jul 28, 2008 at 11:01 PM, laurent [EMAIL PROTECTED] wrote: still it can be done like that you always keep the number of numbers between two arrays... and swap numbers from one to another, that your sure to neve have twice the same one yeah...! :] L Eduardo Barbosa a écrit : Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Random numbers list
yes like: allNumbers:Array = [ 0, 1, 2, 3, ..., 100 ]; tenNumbers:Array = []; public function getNumberIn():void{ var n:int = tenNumbers.splice( int( Math.random * 10 ), 1 ); tenNumbers.push( allNumbers.splice( int( Math.random * allNumbers.length ), 1 ) ); allNumbers.push( n ); } Could be like that. ;) L Eduardo Barbosa a écrit : Hi Laurent, Your first suggestion is a very simple and clever trick i'll definetely keep in mind for future situations. However for this second variation you mean that I: 1) pick the numbers out of array 1 and splice it 2) move those numbers into array 2 3) when the length of array 1 would be 10 i would start picking the numbers out of array 2 and do the inverse. Is this what you mean? On Mon, Jul 28, 2008 at 11:01 PM, laurent [EMAIL PROTECTED] wrote: still it can be done like that you always keep the number of numbers between two arrays... and swap numbers from one to another, that your sure to neve have twice the same one yeah...! :] L Eduardo Barbosa a écrit : Hi all! What I am trying to figure out is this: How to generate a sequence of random numbers where the newest is always different from all the previous? I need to continuosly rewrite an array of 10 random numbers in such a way that at any given time they are all different. Let's say that my range is 0 to 100 it starts with random numbers, all different: {3, 34, 12, 69, 6, 44, 31, 90, 88, 23} at a set interval some values are replaced by new ones so there are never two equal numbers, so, after 2 seconds it may look like this: {3, 66, 12, 79, 6, 44, 10, 81, 88, 23} Any ideas? Thanks :) Eduardo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Information from ESET NOD32 Antivirus, version of virus signature database 3257 (20080710) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] setting up papevision 3d or any other class on cs3 mac osx
Hi Helmut, do you mean the cs3?, maybe, I sould have this installed better maybe? I've just downloaded the classes today earl.y in the afternoon, and I don't know why this one doesn't want to read the classes, look, I went to preferences, tab actionscript, choose as3, then in the class path the + sign and I used the scope to try to find where is the classes, Then I left as is: macintosh hd:users:mafeMallarino:desktop:flash:actionscript is that way right, I have the same problem with the version 8 and cs3 of flash with the loading of the classes...there is another way to do this, because I'm so unable to run the papervision 3d. Regards, Gustavo Helmut Granda writes: No issues here in 3 machines... maybe a corrupted program? On Mon, Jul 28, 2008 at 1:32 PM, Gustavo Duenas [EMAIL PROTECTED] wrote: Any ideas, I've been trying the regular way, so it seems weird enough , any ideas why my mac doesn't want to rdead external classes from the preference panel on the cs3? regards, Gustavo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] setting up papevision 3d or any other class on cs3 mac osx
are you having issues with ALL classes or is it only with Papervision? if it is only with Papervision i would assume that you are using the path wrong. On Mon, Jul 28, 2008 at 8:55 PM, gduenas [EMAIL PROTECTED]wrote: Hi Helmut, do you mean the cs3?, maybe, I sould have this installed better maybe? I've just downloaded the classes today earl.y in the afternoon, and I don't know why this one doesn't want to read the classes, look, I went to preferences, tab actionscript, choose as3, then in the class path the + sign and I used the scope to try to find where is the classes, Then I left as is: macintosh hd:users:mafeMallarino:desktop:flash:actionscript is that way right, I have the same problem with the version 8 and cs3 of flash with the loading of the classes...there is another way to do this, because I'm so unable to run the papervision 3d. Regards, Gustavo Helmut Granda writes: No issues here in 3 machines... maybe a corrupted program? On Mon, Jul 28, 2008 at 1:32 PM, Gustavo Duenas [EMAIL PROTECTED] wrote: Any ideas, I've been trying the regular way, so it seems weird enough , any ideas why my mac doesn't want to rdead external classes from the preference panel on the cs3? regards, Gustavo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders