[Flashcoders] Combat Game in flash

2010-07-26 Thread Sumeet Kumar
Hi All, We are developing a one to one combat game(sword fighting). We are planning to use AS3.0 and Flash cs4. Are there any tutorials/sample code available for help? Any guidance in this regard would be great help. Thanks Sumeet ___

Re: [Flashcoders] Combat Game in flash

2010-07-26 Thread allandt bik-elliott (thefieldcomic.com)
You could try somewhere like flashkit.com if you're after samples On 26 Jul 2010 10:20, Sumeet Kumar sume...@sebiz.net wrote: Hi All, We are developing a one to one combat game(sword fighting). We are planning to use AS3.0 and Flash cs4. Are there any tutorials/sample code available for help?

[Flashcoders] 1046 Error

2010-07-26 Thread John Singleton
Hi; I have this code which works elsewhere: public class Main extends MovieClip { var parent_container:Sprite = new Sprite(); private var displayGearsCounter:int = 0; var gearsPaths:Array = new Array(images/watch/watch-movements/back-center.png,

RE: [Flashcoders] 1046 Error

2010-07-26 Thread Merrill, Jason
Where is your import flash.events.Event; statement? Jason Merrill Instructional Technology Architect Bank of America Global Learning Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (Note: these resources are only available for Bank of

Re: [Flashcoders] 1046 Error

2010-07-26 Thread Gerry Beauregard
Maybe just a missing import statement? import flash.events.*; On 2010-07-26 , at 22:20 , John Singleton wrote: 1046: Type was not found or was not a compile-time constant: Event.� [for RotateGearsLoaded(e:Event)] ___ Flashcoders mailing list

Re: [Flashcoders] 1046 Error

2010-07-26 Thread John Singleton
- Original Message From: Merrill, Jason jason.merr...@bankofamerica.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Mon, July 26, 2010 9:58:08 AM Subject: RE: [Flashcoders] 1046 Error Where is your import flash.events.Event; statement? Ah. Oops. Thanks. John

[Flashcoders] (no subject)

2010-07-26 Thread John Singleton
Hi; I have this code: function InitRotateGears() { for (var i = 0; i gearsPaths.length; i++) { RotateGears(); displayGearsCounter += 1; } function RotateGears() { var path:String =

Re: [Flashcoders] (no subject)

2010-07-26 Thread Henrik Andersson
John Singleton wrote: function RotateGearsLoaded(e:Event):void Why is that? I tried to pass that var like this: loader.contentLoaderInfo.addEventListener(Event.COMPLETE,RotateGearsLoaded(displayGearsCounter)); RotateGearsLoaded returns void, not Function. The return value is not a

Re: [Flashcoders] Listeners (was no subject)

2010-07-26 Thread John Singleton
Original Message From: Henrik Andersson he...@henke37.cjb.net To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Mon, July 26, 2010 12:06:55 PM Subject: Re: [Flashcoders] (no subject) John Singleton wrote: function RotateGearsLoaded(e:Event):void Why is

Re: [Flashcoders] Listeners (was no subject)

2010-07-26 Thread Taka Kojima
John, This is going to come across as harsh, however you really should maybe go and get a book on AS3. These problems, forgetting an import, trying to pass arguments to a listener, etc. are pretty rudimentary, and not really the purpose of this list. Taka On Mon, Jul 26, 2010 at 10:58 AM, John

Re: [Flashcoders] Combat Game in flash

2010-07-26 Thread Sumeet Kumar
Thanks a lot. The link really helped. - Original Message - From: allandt bik-elliott (thefieldcomic.com) alla...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Monday, July 26, 2010 6:17 PM Subject: Re: [Flashcoders] Combat Game in flash You could try