Ah thanks for all the help everyone. I'm slowly coming around to classes, as has been confused about when and when not to use classes and how to access the information from each other. interesting.
Thanks again :) On Thu, Jun 12, 2008 at 3:38 PM, Merrill, Jason <[EMAIL PROTECTED]> wrote: >>>You'd need to instantiate the other class and then access it, >>>like this: > > That's one way, the other way is to use static variables: > > package com > { > class MyClass > { > public static var name:String = "Johnny"; > > //or declare as a public constant: > public static const FRUIT:String = "apple"; > } > } > > > import com.MyClass > > trace(MyClass.name); > trace(MyClass.FRUIT); > > > Jason Merrill > Bank of America > Global Technology & Operations & Global Risk L&LD > eTools & Multimedia > > 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 GT&O Innovative Learning Blog & subscribe. > > > _______________________________________________ > 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