Re: [Flashcoders] Class Problem + Bad attitudes
Hi, I take offence. To link bad manners and attitude issues to age is downright wrong. Are there not non-adolescent people who curse and swear and condescend? On 10/7/06, slangeberg [EMAIL PROTECTED] wrote: Unfortunately the condescending attitudes have been pretty thick her on the list lately. I've noticed the same thing here and on a local Flash list. Not sure if it's because the programmers who're drawn to Flash tend to be tender young bas+ards, or is it just that programmers in general are condescending punks? That said, most of you could stand to learn a lot from myself. Scott On 10/6/06, Merrill, Jason [EMAIL PROTECTED] wrote: AS2 101. Try http://www.amazon.com/Essential-ActionScript-2-0-Colin- Moock/dp/0596006527/s r=8-1/qid=1160106358/ref=sr_1_1/104-8535662-7712736?ie=UTF8s=books Unfortunately the condescending attitudes have been pretty thick her on the list lately. Victor, pay no mind to the attitude, your question was perfectly legit here- it's often hard quickly to find the answer to a specific question in books or web sites, just do as he suggested - something like this will work (may not be the best way, but how I would do it - you can alternatively use getter/setter methods as well): //MyClassB.as class MyClassB{ public var ClassBArray:Array; public function MyClassB(){ ClassBArray = new Array(1,2,3,4); } } //MyClassA.as import MyClassB; class MyClassA{ private var theArray:Array; public function MyClassA(classb:MyClassB){ theArray = classb.ClassBArray trace(theArray) } } //.fla import MyClassB; import MyClassA; myClassBInstance:MyClassB = new MyClassB() myClassAInstance:MyClassA = new MyClassA(myClassBInstance); Hope that helps, Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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 -- : : ) Scott ___ 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 -- Cheers, Ray Chuan ___ 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] Class Problem
AS2 101. Try http://www.amazon.com/Essential-ActionScript-2-0-Colin- Moock/dp/0596006527/s r=8-1/qid=1160106358/ref=sr_1_1/104-8535662-7712736?ie=UTF8s=books Unfortunately the condescending attitudes have been pretty thick her on the list lately. Victor, pay no mind to the attitude, your question was perfectly legit here- it's often hard quickly to find the answer to a specific question in books or web sites, just do as he suggested - something like this will work (may not be the best way, but how I would do it - you can alternatively use getter/setter methods as well): //MyClassB.as class MyClassB{ public var ClassBArray:Array; public function MyClassB(){ ClassBArray = new Array(1,2,3,4); } } //MyClassA.as import MyClassB; class MyClassA{ private var theArray:Array; public function MyClassA(classb:MyClassB){ theArray = classb.ClassBArray trace(theArray) } } //.fla import MyClassB; import MyClassA; myClassBInstance:MyClassB = new MyClassB() myClassAInstance:MyClassA = new MyClassA(myClassBInstance); Hope that helps, Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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] Class Problem
Thanks Jason, I REALLY appreciate it. - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, October 06, 2006 8:58 AM Subject: RE: [Flashcoders] Class Problem AS2 101. Try http://www.amazon.com/Essential-ActionScript-2-0-Colin- Moock/dp/0596006527/s r=8-1/qid=1160106358/ref=sr_1_1/104-8535662-7712736?ie=UTF8s=books Unfortunately the condescending attitudes have been pretty thick her on the list lately. Victor, pay no mind to the attitude, your question was perfectly legit here- it's often hard quickly to find the answer to a specific question in books or web sites, just do as he suggested - something like this will work (may not be the best way, but how I would do it - you can alternatively use getter/setter methods as well): //MyClassB.as class MyClassB{ public var ClassBArray:Array; public function MyClassB(){ ClassBArray = new Array(1,2,3,4); } } //MyClassA.as import MyClassB; class MyClassA{ private var theArray:Array; public function MyClassA(classb:MyClassB){ theArray = classb.ClassBArray trace(theArray) } } //.fla import MyClassB; import MyClassA; myClassBInstance:MyClassB = new MyClassB() myClassAInstance:MyClassA = new MyClassA(myClassBInstance); Hope that helps, Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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] Class Problem + Bad attitudes
Unfortunately the condescending attitudes have been pretty thick her on the list lately. I've noticed the same thing here and on a local Flash list. Not sure if it's because the programmers who're drawn to Flash tend to be tender young bas+ards, or is it just that programmers in general are condescending punks? That said, most of you could stand to learn a lot from myself. Scott On 10/6/06, Merrill, Jason [EMAIL PROTECTED] wrote: AS2 101. Try http://www.amazon.com/Essential-ActionScript-2-0-Colin- Moock/dp/0596006527/s r=8-1/qid=1160106358/ref=sr_1_1/104-8535662-7712736?ie=UTF8s=books Unfortunately the condescending attitudes have been pretty thick her on the list lately. Victor, pay no mind to the attitude, your question was perfectly legit here- it's often hard quickly to find the answer to a specific question in books or web sites, just do as he suggested - something like this will work (may not be the best way, but how I would do it - you can alternatively use getter/setter methods as well): //MyClassB.as class MyClassB{ public var ClassBArray:Array; public function MyClassB(){ ClassBArray = new Array(1,2,3,4); } } //MyClassA.as import MyClassB; class MyClassA{ private var theArray:Array; public function MyClassA(classb:MyClassB){ theArray = classb.ClassBArray trace(theArray) } } //.fla import MyClassB; import MyClassA; myClassBInstance:MyClassB = new MyClassB() myClassAInstance:MyClassA = new MyClassA(myClassBInstance); Hope that helps, Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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 -- : : ) Scott ___ 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] Class Problem + Bad attitudes
RTFM has been an obligatory response since the day we started using the Internet to ask questions. Its not just programmers. P. -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of slangeberg Sent: Friday, October 06, 2006 1:11 PM To: Flashcoders mailing list Cc: [EMAIL PROTECTED] Subject: Re: [Flashcoders] Class Problem + Bad attitudes Unfortunately the condescending attitudes have been pretty thick her on the list lately. I've noticed the same thing here and on a local Flash list. Not sure if it's because the programmers who're drawn to Flash tend to be tender young bas+ards, or is it just that programmers in general are condescending punks? That said, most of you could stand to learn a lot from myself. Scott On 10/6/06, Merrill, Jason [EMAIL PROTECTED] wrote: AS2 101. Try http://www.amazon.com/Essential-ActionScript-2-0-Colin- Moock/dp/0596006527/s r=8-1/qid=1160106358/ref=sr_1_1/104-8535662-7712736?ie=UTF8s=books Unfortunately the condescending attitudes have been pretty thick her on the list lately. Victor, pay no mind to the attitude, your question was perfectly legit here- it's often hard quickly to find the answer to a specific question in books or web sites, just do as he suggested - something like this will work (may not be the best way, but how I would do it - you can alternatively use getter/setter methods as well): //MyClassB.as class MyClassB{ public var ClassBArray:Array; public function MyClassB(){ ClassBArray = new Array(1,2,3,4); } } //MyClassA.as import MyClassB; class MyClassA{ private var theArray:Array; public function MyClassA(classb:MyClassB){ theArray = classb.ClassBArray trace(theArray) } } //.fla import MyClassB; import MyClassA; myClassBInstance:MyClassB = new MyClassB() myClassAInstance:MyClassA = new MyClassA(myClassBInstance); Hope that helps, Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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 -- : : ) Scott ___ 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] Class Problem
Thanks, I did that but I also had to set the array to static and it works. Thanks...I am reading that book, thanks, V - Original Message - From: Bjorn Schultheiss [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, October 05, 2006 8:46 PM Subject: [Flashcoders] Class Problem Create a reference to this class instance and set the array to a public member. AS2 101. Try http://www.amazon.com/Essential-ActionScript-2-0-Colin-Moock/dp/0596006527/s r=8-1/qid=1160106358/ref=sr_1_1/104-8535662-7712736?ie=UTF8s=books Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Victor Gaudioso Sent: Friday, 6 October 2006 1:38 PM To: Flashcoders mailing list Subject: [Flashcoders] Class Problem Sorry about that last post; it was full of stupid typos and had the wrong subject line. Okay, my question is: In my Main Class I instantiated and filled up an Array. Can I read that Array from another Class? If so, how? Thanks ___ 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