Re: [Flashcoders] My first code.

2010-12-16 Thread Paul Andrews
On 16/12/2010 07:38, spyder spyders wrote: Thank You So Much! :DI have been researching for over a month!! I am guessing that the 'this' is pointing to the symbol or _mc I attach the class to? I ended up doing away with all of the this because I was receiving an

Re: [Flashcoders] My first code.

2010-12-16 Thread Matt S.
Spyder, you should order Colin Moock's book toute suite: http://www.amazon.com/exec/obidos/ASIN/0596526946/ref=nosim/moockorg It's essential reading for anyone interested in learning AS3. .m On Thu, Dec 16, 2010 at 2:38 AM, spyder spyders spyderspyd...@aol.com wrote: Thank You

Re: [Flashcoders] My first code.

2010-12-16 Thread Paul Andrews
On 16/12/2010 14:54, Matt S. wrote: Spyder, you should order Colin Moock's book toute suite: http://www.amazon.com/exec/obidos/ASIN/0596526946/ref=nosim/moockorg It's essential reading for anyone interested in learning AS3. It is, but http://www.learningactionscript3.com/ is a much gentler

Re: [Flashcoders] My first code.

2010-12-16 Thread spyder spyders
Thanks Paul and M. I have been reading sites on the internet. Here are a few. http://active.tutsplus.com/ http://www.kirupa.com/developer/flash/index.htm Plus there is youtube. http://www.freebookcentre.net/graphics-design-books/flash-ebooks-download.html http://www.gaiaflashframework.com/

Re: [Flashcoders] My first code.

2010-12-16 Thread Kerry Thompson
spyder spyders wrote: To be honest I am a music producer that is interested in video game sound design. I needed to make a webpage for myself and found out how Flash is in many ways like the music software I use. I love that I can learn coding. It is kind of a hobby. There are a fair

[Flashcoders] perspectiveProjection - remove or drag an mc on a transformed sprite

2010-12-16 Thread Matt Perkins
I'm using the perspectiveProjection transformation in CS5/AS3 for the first and I'm having a problem that I can't seem to figure out. On the sprite I've got a scroll bar for a text area - it's a custom one not a UIComponent. It's listening for the MOUSE_DOWN and MOUSE_UP events and simple it's a

[Flashcoders] error mesg

2010-12-16 Thread DONALD TALCOTT
I have the following code below. When I compile the swf,I get the following error; Line 187 1136: Incorrect number of arguments. Expected 1. Have been playing with this all day, somewhat new to as3, and this has me stumped. Any help/insight would be greatly appreciated.

Re: [Flashcoders] error mesg

2010-12-16 Thread Nathan Mynarcik
Take out the e:MouseEvent in your doSubmit function. On Dec 16, 2010 6:40 PM, DONALD TALCOTT dtalc...@mindspring.com wrote: I have the following code below. When I compile the swf,I get the following error; Line 187 1136: Incorrect number of arguments. Expected 1. Have been playing with this

Re: [Flashcoders] error mesg

2010-12-16 Thread DONALD TALCOTT
I failed to mention, also have the following for a button; mc_aim_higher.mc_form.submitBtn.addEventListener(MouseEvent.CLICK, doSubmit); If I remove e.MouseEvent the button won't work. On Dec 16, 2010, at 7:05 PM, Nathan Mynarcik wrote: Take out the e:MouseEvent in your doSubmit function. On

Re: [Flashcoders] error mesg

2010-12-16 Thread Nathan Mynarcik
Then have e:MouseEvent = null On Dec 16, 2010 7:23 PM, DONALD TALCOTT dtalc...@mindspring.com wrote: I failed to mention, also have the following for a button; mc_aim_higher.mc_form.submitBtn.addEventListener(MouseEvent.CLICK, doSubmit); If I remove e.MouseEvent the button won't work. On

RE: [Flashcoders] error mesg

2010-12-16 Thread Benny
Then make the parameter optional: function doSubmit(e:MouseEvent=null):void OR in your function doSubmitViaEnter method call doSubmit(null) - Benny -Oorspronkelijk bericht- Van: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] Namens

RE: [Flashcoders] error mesg

2010-12-16 Thread Merrill, Jason
You shouldn't be manually calling an event handler in your code. If you want multiple event handler functions to run the same set of code, then create a third function that they all call. function onSomething(event:Event):void { doIt(); } function onSomethingElse(event:Event) {

Re: [Flashcoders] error mesg

2010-12-16 Thread DONALD TALCOTT
Thanks to all, it is woking and posting all data. function doSubmitViaEnter(e:KeyboardEvent):void { if (e.keyCode == 13) { status_txt.text = Posting nomination...\nPlease wait...; doSubmit(); } } function doSubmit(e:MouseEvent=null):void {