"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=UTF8&s=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