How can a sub class access exisiting stage item?

i have a button on the stage. the document class loads two
sub classes. how do you get the sub class to access/work with a
stage item that is already on the display list?
as3.0 is killing me!!! grrrr...
thanks!

The document class mapDC:
package com.main{
// this is the main document class for the rextag map
appllication
// import movie clip to extend to use on stage
import flash.display.MovieClip;
import flash.events.MouseEvent;
import com.main.tools.mapTools;
public class mapDC extends MovieClip {
// instance of class
public function mapDC() {
trace("MainMap initialized");
new mapTools(stage);
public function test() {
trace("here at test");
The mapTools Class:
package com.main.tools{
// import
import flash.events.MouseEvent;
import flash.display.*;
// this class will contain all the move methods and
functions
public class mapTools {
private var stage:Stage;
function mapTools(targetStage) {
trace("Map tools initialized");
stage = targetStage;
stage.root.mapSection.eastArrow.addEventListener(MouseEvent.ROLL_OVER,testOutput);
//---------- test output function
public function testOutput(evt:MouseEvent) {
trace("worked");
}

Similar Messages

  • How can I use Microsoft Access on my Mac? Boot camp?

    How can I use Microsoft Access on my Mac? Boot camp?

    Running Windows or using a suite such as Libre Office. It is similar to Office 2007 for Windows, but runs on a Mac, and contains a database manage that is Access compatible.

  • How can I use Microsoft Access on my Mac?

    How can I use Microsoft Access on my Mac Pro?

    Welcome to Apple Support Communities
    Microsoft Access isn't available for OS X, so you can't use it. If you need it, you have to install Windows on a virtual machine.
    On a virtual machine, you can install the Windows version you most like and the Access version you need, so you won't have any problem using it. You just need a full Windows version with its DVD or ISO image and product key, and an application like Parallels, VMware Fusion or VirtualBox to create the virtual machine. If you want to save money, System Builder versions are cheaper and you can find them at Amazon or NewEgg.
    As you have a Mac Pro, I suppose you won't have any problem using a 64-bit version, but it's important you have enough memory. Open  > About this Mac, and check how much memory you have. I recommend 4 or 8 GB of memory at least.
    After installing Windows on the virtual machine, you will be able to install Access there.
    There are applications for OS X that allow you to run Windows applications without having to install Windows. Those apps often fail, so I don't recommend you to use them

  • I recently updated my e-mail address with apple, but now it does not show all the "purchased" music that I purchased under my old e-mail address.  How can I re-gain access to those hundreds of purchased songs?

    I recently updated my e-mail address with apple, but now it does not show all the "purchased" music that I purchased under my old e-mail address.  How can I re-gain access to those hundreds of purchased songs?

    You are trying to find a loophole to circumvent a basic rule that prohibits the transfer of purchased content from one Apple ID to another.
    Content tied to an Apple ID are bound to that Apple ID forever. You can not merge or trade accounts. Well, not (officially) anyway...

  • How can I authorize and access my itunes account on a new computer if I cant access my old computer to enable home sharing

    How can I authorize and access my itunes account on a new computer if I cant access my old computer to enable home sharing

    Authorization
    Macs:  iTunes Store- About authorization and deauthorization.
    Windows: How to Authorize or Deauthorize iTunes | PCWorld.
    In iTunes you use the Authorize This Computer or De-authorize This Computer option under the Store menu in iTunes' menubar. For Windows use the ALT-S keys to access it. Or turn on Windows 7 and 8 iTunes menus: iTunes- Turning on iTunes menus in Windows 8 and 7.
    To deauthorize a computer you don't have:
    De-authorizing Computers (contributed by user John Galt)
    You can de-authorize individual computers, but only by using those computers. The only other option is to "de-authorize all" from your iTunes account.
      1. Open iTunes on a computer
      2. From the Store menu, select "View my Account..."
      3. Sign in with your Apple ID and password.
      4. Under "Computer Authorizations" select "De-authorize All".
      5. Authorize each computer you still have, as you may require.
    You may only do this once per year.
    After you "de-authorize all" your authorized computers, re-authorize each one as required.
    If you have de-authorized all computers and need to do it again, but your year has not elapsed, then contact: Apple - Support - iTunes - Contact Us.
    For more information on authorization and de-authorization: iTunes Store- About authorization and deauthorization.

  • Hi all, My Old Laptop that had my Itunes, has died a death and cannot be saved. How can I save or access all my music and apps now? Can I set up a new Itunes account? Also I am getting an upgrade to Iphone 4 can I transfer all my music and apps on to it?

    Hi all, My Old Laptop that had my Itunes, has died a death and cannot be saved.
    How can I save or access all my music and apps now?
    Can I set up a new Itunes account?
    Also I am getting an upgrade to Iphone 4 ,can I transfer all my music and apps on to it?

    roaminggnome wrote:
    Why would you set up a new account?
    Copy everything from your backup copy of your old computer to your new one.
    Its wrong to assume that everyone has a backup copy.
    are you PC or Mac?

  • My Mountain Lion app failed while downloading, and now I can't download it without repaying for it.  How can I get my access code to work/download the app?

    My Mountain Lion app failed while downloading, and now I can't download it without repaying for it.  How can I get my access code to work/download the app?

    Welcome to Apple Support Communities
    Open App Store, select Account in Quick Links and press Show hidden purchases. If OS X isn't there, http://www.apple.com/support/mac/app-store/contact

  • How can i set class path in ubuntu JAVA_HOME ?

    how can i set class path in ubuntu <JAVA_HOME>?

    Note that on *nix
    environment variable names are case sensitive.
    Also, you are again being vague; is it [this it|http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html] or [that it|http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html]

  • How can I use MS Access in Lab View

    how can I use MS Access in Lab View
    Its urgent

    There are a couple of routes you can take to communicate with MS Access in LabVIEW. The preferred method is our Database Connectivity Toolset. This allows you to use VIs to communicate with your database. Here is a link to the product for more information.
    http://sine.ni.com/apps/we/nioc.vp?cid=6429〈=US
    Your other choice would be to use ActiveX. I believe there are a couple of examples on our web site using it. Overall you will probably spend a lot more time taking this route.
    Matt Kisler
    Applications Engineer
    National Instruments

  • How can a file be accessed by more than one app?

    Hi,
    I am new to iOS4 and the whole iPhone, iPod technology. I am really a windows user.
    How can a file be accessed by more than one app. In my case I want to transfer a midi file from my PC to my iPod Touch and be able to open it from a couple of Midi Players which I am evaluating - or does each Midi Player have to import the file seperately for its own use?
    Thanks,
    Sam

    It seems to me that what you want is exactly a session bean will do. The EJB container is responsible to maintain a certain number instances (configurable) of your session bean and serve multiple clients at the same time. Session beans are not necessarily destroyed after serving a client. If you configure your ejb server to have a pool size of 2 to 100, then you will always have at least 2 instances (no more than 100 even there are a lot of client access) of this ejb ready to serve. The only thing not clear to me is that do you want to use only ONE instance of this bean or you don't care as long as multiple clients can access this bean's service? Since you mentioned that there is not a real database access, you can certainly use a Singleton but a 'regular' session bean with static fields should do it also if these fields will not be modified by clients.
    PC

  • HT5509 How can I disable guided access without a password on my iphone

    How can I disable guided access without a password on my iphone? Please help. I can't use Find My Iphone and touch screen.

    See: http://support.apple.com/kb/HT5018
    The easiest way is to connect the phone to your computer, click on its name, and click the "Configure Accessibility..." button on the Summary screen.

  • How can I turn off access to the internet at scheduled times?

    how can I turn off access to the internet at scheduled times? I use an Airport extreme and several units to extend the range. Kids have multiple devices that I don't want on the network at certain hours. On the other hand, ideally, my wife and I would like to be able to access the internet with our devices after the kid's bedtime and during their school study time.

    http://www.macobserver.com/tmo/article/airport_utility_setting_wireless_time_lim its

  • How can i learn class methodology

    i'm a programmer for 2 years. i know vb 6.0, php 4. but in these languages i never make a program with using class. because i dont know how can i make a class.
    now i started to learn java. but i can't understand how can i write class in my programs. or how can i extend classes...
    what will i do to learn class. what you offer...?
    thanks for your response.
    [email protected]

    Nothing is better for the learning process than farting about /being experimental /trial and erroring in Notepad and javac, eg;-class A{
       protected A(){
         System.out.print("Hello ");
    public class B extends A{
       public static void maain(String []params){
         doesThisWork();
       private B(){
         System.out.print("world");    
       public static void doesThisWork(){
          B b = new B();  // what gets printed to screen?
          A a = new A();  // what gets printed to screen?
          a = b;  // do these compile or create a runtime error?
          b = a;
          a = (a)b;
          b = (b)a;

  • How can OWB apply information access control policy?

    Hi friends,
    My question is "how can OWB apply information access control policy in DW?"
    Regards

    Hi,
    what exactly do you mean by "information access control policy"?
    What you cannot do in owb is define grants or virtual private database (vpd) constraints.
    What you can do is restrict the developer's access to owb objects in the repository.
    Regards,
    Carsten.

  • How can I reset my access passcode w/o having ever synced the device before? I don't remember it and now the ipad is "disabled" from too many failed attempts.

    How can I reset my access passcode without having ever synced the device before? I don't remember my passcode and now the ipad is "disabled" from too many failed attempts.

    You will need to reset the iPad back to factory defaults : iOS: Forgot passcode or device disabled
    What iTunes purchases that you can redownload for free from the stores will show in the Purchased tabs in the App Store and iTunes Store apps, and the Purchased tab in the iBookstore in the iBooks app

Maybe you are looking for

  • HT1657 I am having problems with sound in my rental movies

    We rent movies all the time but lately we are having problems with sound for our movie rentals.  We watch the first half hour without a problem than the voice is choppy all the time.  Sometimes it is good for five minutes than noting for a while.  We

  • Library not found after upgrading to iTunes 7, old libraries don't work

    For the second time since iTunes 7 was released, I've been asked to upgrade and did so without issue on the first day of upgrading. When I shut my computer down and came back the next day, however, the library is not found when I attempt to launch iT

  • Purchase efficiency and processing time in purchasing

    Hi friends, here purchase efficiency they want to find out, please suggest me any report and please do let me know use of  processing time in purchasing Thanks and regards, Balakrishna R.V

  • Installing Windows XP on VM Fusion on a new MacBook Pro.

    I hope that I didn't just mess myself up and lose $151.00. While waiting... and waiting... waiting for my new MacBook Pro, I decided to order VM Fusion and Windows XP to install on it when it arrives. I know NOTHING about Windows. I got VM Fusion fro

  • Can I set a "default color" for new layers?

    I find myself constantly changing the color of new layers back to my favorite: Magenta. Is there a way to just make this the default new layer color? I understand the reasoning of using different colors for each layer, but so many standard colors do