Get reference to the stage in a AS Class

Hello,
I've created an AIR app with the minimeze() and close()
options. Now these functions are handled in the MainApp.mxml of the
application. But I want to move them to a class, so I don't have
any AS in my MXML file.
My app works like this now:
MainApp.mxml creates a new instance the Main.as class (which
extends MainVisual.mxml) by calling <mainVisual:Main /> in
the MainApp.mxml
MainVisual.mxml extends Canvas.
There I handle all visual elements of my app, but I can't get
a reference to the stage.nativeWindow here. Does anyone knows how
to do this?
Thanks!

Every display object, including the Canvas, has a stage
property. However, this property will be null until the Canvas
object is added to the stage. You can use the ADDED_TO_STAGE event
to detect when that happens.

Similar Messages

  • Getting references to the objects in a VM to dynamically link MBeans

    Hi, I am dynamically generating MBeans and using Apache BCEL to change the resource classes to link themselves to the MBeans. The objective is to instrument applications wich we can't access the code and, if possible, do it on a running one.
    I could use the Instrumentation API to change the classes of the application and the Attach API to do it on a running application, but only new instances would be affected, so the previously created objects would not be managed. I can generate MBeans in many ways, but can't link them to already running application objects.
    So, what i want to know is in the title: is there a way to get references to the objects actually loaded in a Virtual Machine or another way to link an MBean to a running object?
    I saw McManus talk at Sun One 2006 about the different ways to link MBeans to application objects, but all of them look to need code changes or previous suport to dependency injection, for example.
    http://developers.sun.com/learning/javaoneonline/2006/coreplatform/TS-3523.html
    I need it to a technical writing, so an official word can be enough, or even more helpful than a solution.
    Thanks,
    Gustavo

    Gustavo,
    Assuming I understand your question correctly, the only way I can see that you can enumerate instances of objects in a Java VM without changing the classes of those objects in any way is to use JVMTI <http://java.sun.com/javase/6/docs/platform/jvmti/jvmti.html#Heap_1_0>. That requires you to write native code somewhere as part of your solution. It is applicable to already-running apps via attach-on-demand <http://java.sun.com/javase/6/docs/jdk/api/attach/spec/index.html>. The MLet service from the JMX API might be convenient here to bridge from the jar file that the Attach API expects to the native code that you need to access JVMTI.
    As you can see this is pretty advanced stuff, but your ideas are interesting and I'd be interested in knowing how they work out.
    Regards,
    �amonn McManus -- JMX Spec Lead -- http://weblogs.java.net/blog/emcmanus

  • Reference to the Stage

    Hi!
    I have this situation:
    Document class:
    private var controller:MyController = new MyController()
    addChild(controller)
    in MyController Class:
    later in the code...
    stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveListener);
    MyController class extend Controller that extends Sprite
    When mouse move e get this error
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    The problem is the stage reference.
    But why?
    thanks a lot!

    It is most likely because the code executes before the object is fully setlled into its home.  What you probably need to do is add an event listener for the event Event.ADDED_TO_STAGE in your MyController class and use that to trigger any code that involves targeting the stage.

  • Reference to the stage not working there?

    In my document class, I am instantiating a class like this:
    cues = new CuePoints();
    cues.addEventListener(CuePoints.CUE_POINTS_CLASS_ADDED, setCuePoints);
    addChild(cues);
    In the constructor method of cues, I am adding the following event listener:
    public function CuePoints():void
    addEventListener(Event.ADDED_TO_STAGE, classAdded);
    classAdded dispatches an event that gets listened to by the document class, which then calls a function in cues, like this:
    private function setCuePoints(e:Event):void
         cues.setCues(videoPlaylist.getCues(0));
    If I trace stage in setCues, I get the following:
    [object Stage]
    If I try to reference a MC that sits on the stage called videoPlayer_main like so:
    stage.videoPlayer_main
    I get the following error:
    1119: Access of possibly undefined property videoPlayer_main through a reference with static type flash.display:Stage.

    I'm still new to Flash but since no one has responded I'll take a stab at this:
    I didn't think a child of the stage could be referenced like that (stage.childname)... might you use something like getChildByName() to get the movieclip that is on the stage?

  • How do I get stuff off the stage to show in a web browser on Flash CS4?

    Okay, so I have a picture that I want to be my background.  So I put it around the stage, but when I test my movie in a web browser, only my stage shows.  Is there a way I can get it to all show?  I don't really care if my background is cut off, as long as you can see it, because it's a tile sort of picture.
    Thanks!

    Create a rectangle that is the size you want this background to be.  When you create it, select the colors so that it has no line border.  Once it is created on the layer you have for the background, select the rectangle, open the Color panel, and choose Bitmap from the Type drop down menu in that panel, then select the image from the selections that appear.  The rectangle should fill with your tiling background image.

  • VI Scripting: get reference of the duplicate element

    In VI scripting I copy element (any type of indicator, control, constant) with Move method with duplicate property - true. The output top right terminal of the method is the reference to the source object, not the new one.
    Is there any straightforward way to get reference to that copy (other copy method, etc)?
    Not straightforward solutions (they may work on test examples, but not good)
    1) move to temporary cluster - easy to find a new element
    2) list all objects before, after and compare lists. But the source VI can be of any size and complexity.
    3) Create element copy manually - bad, the solution should work on all kinds of elements.
    Solved!
    Go to Solution.

    Good method.
    It is almost working!
    It can create controls and indicators, but fails with constants (Class conflict, when wiring constant reference to the Source Object Reference terminal)
    Besides, there is a wrong description of the method (LV 2011):
    LabVIEW help
    Create from reference method:
    Source Object Reference
    A reference to the object you want to duplicate on the target VI. If you use this parameter, you do not need to wire the _type descriptor and style fields_.
    There are no type descriptor and style fields at all, they are in other methods
    Who is failing, me or LV? =)
    Attachments:
    Duplicate constant fails.png ‏56 KB

  • No method (within view controlle) to get reference to the window controller

    Hello all,
    I need to fire the exit plug of the window controller out of an embedded view.
    All help I can find in the internet tell me to "easily" get a ref to the window controller and thus to fire its plug as follows:
    data: L_REF_MAIN_WINDOW type ref to IG_MAIN_WINDOW .
    L_REF_MAIN_WINDOW =   WD_THIS->GET_MAIN_WINDOW_CTR( ).
    L_REF_MAIN_WINDOW->FIRE_MY_EXIT_PLUG_PLG(  ).
    But my view-controller dos not implement a method like
    GET_MAIN_WINDOW_CTR( )
    How can I get this method generated? What am I doing wrong?
    Thanks for your replies.
    Edited by: iSD1977 on Aug 23, 2011 4:09 PM

    Hello,
    in the Properties tab of the View Controller, add Window Controller as Used Controller.
    BR, Saravanan

  • Flex 4 Premium reference to the Stage issue! width and height seem to be switched??

    So I am doing a very basic resize effect with a panel, but if I want it to fill the screen, I have to switch stage.stageWidth and stage.stageHeight. I have also traced them out and they come out as switched values. Anyone else having this issue?
    protected function panel1_addedToStageHandler(event:Event):void
          trace(stage.stageWidth, " " , stage.stageHeight);

    Hi,
    You maybe running into some sort of layout constraint also it depends on how you are initiating the animation, if you are doing it on startup you need to wait for creationComplete to ensure all your dimensions have been calculated for the browser. You shouldn't need to use stage dimensions either. The following code resizes a panel to fill the browser. (note using top/left/bottom/right is a lot smoother than width and height).
    David
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx"
       creationComplete="application1_creationCompleteHandler(event)">
    <fx:Script>
    <![CDATA[
    import mx.events.FlexEvent;
    protected function application1_creationCompleteHandler(event:FlexEvent):void
    pw.valueFrom=pnl.width;
    ph.valueFrom=pnl.height;
    fillscreen.play();
    ]]>
    </fx:Script>
    <fx:Declarations>
    <s:Animate id="fillscreen" target="{pnl}" repeatCount="1" duration="1000">
    <s:SimpleMotionPath id="pw" property="width" valueTo="{width}"/>
    <s:SimpleMotionPath id="ph" property="height" valueTo="{height}"/>
    </s:Animate>
    </fx:Declarations>
    <s:Panel id="pnl" width="250" height="200" horizontalCenter="0" verticalCenter="0">
    </s:Panel>
    </s:Application>

  • How do I link an object on the stage to an external class file?

    I have a dynamic textfield called neighName on my Flash
    stage. I also have a movieclip that I call a region on my stage.
    When I mouseover the region, I want a word to display in a little
    popup *and* I want some text to display in my textfield. I have an
    external .as file for handling the region. I can make the code
    "see" my region, but I can't seem to make it see my textfield,
    although no errors are being thrown. Help, anyone?

    My bad--I had set the textfield.visible to false. Apparently,
    I need more coffee.

  • How do I get a reference to the SecurityServices instance in my web appl?

    I would like to use the audit provider of weblogic to log audit event that I send from my servlet. For writing a auditevent I need a reference to the AuditService instance. How do I obtain that? IS there any static class through with I can get references to the security services?
    Lakshmi

    Pete,
    The Thread class's public static Thread currentThread() method will return a reference to the Thread object that represents the thread of execution that is live when the method is invoked. More simply, it provides a reference to the currently executing thread.
    So you could use this as a key in a hashtable to represent which thread has a lock on some entity:
       // "hash" is a hashtable
       // entity is an Object representing something that is locked (like
       // a record number or a resource identifier)
       hash.put(Thread.currentThread(),entity);I think this answers your question, unless I misunderstood you.
    Damian

  • Adding objects to the stage & acceessing stage properties - I'm a bit confused..

    Hi,
    I'm a little confused on two fronts regarding display
    programming:
    A. What the best way to add objects to the stage?
    B. How to access stage properties.
    I can do both of these when the project is an 'Action Script
    Project', but I'm having trouble when it is a 'Flex Project' (e.g.
    an MXML file). See the two attached files with questions included
    in the comment to see exactly what I mean.
    A. What the best way to add objects to the stage?
    =====================================
    In an action script project that extends Sprite I can just
    call addChild()
    In an MXML project I can add objects to the stage by first
    adding them to a UIComponent, then adding that to the stage.
    1. Is that the best way to do it?
    In this doc:
    http://livedocs.adobe.com/flex/3/html/help.html?content=05_Display_Programming_02.html
    it says that
    quote:
    Each SWF file has an associated ActionScript class, known as
    the main class of the SWF file. When Flash Player opens a SWF file
    in an HTML page, Flash Player calls the constructor function for
    that class and the instance that is created (which is always a type
    of display object) is added as a child of the Stage object. The
    main class of a SWF file always extends the Sprite class
    2. why cant I just add a sprite object direct to the stage
    without the UIComponent?
    3. What is the 'main class', and how can i get access to it?
    B. How to access stage properties.
    =========================
    In an action script project that extends Sprite I can just
    call trace(stage.framerate)
    But in an MXML file I cannot figure out how to access the
    stage properties.
    See the attached code for the things that I tried, but which
    didnt work.
    In the page:
    http://www.actionscript.org/forums/showthread.php3?t=140655
    It says
    quote:
    For stage access you have a couple of rules:
    * natively, only display objects have inherent access to
    stage
    * display objects only have a valid reference to stage if
    they're within the stage's display list (on the screen, after added
    to it with addChild)
    * The only display objects which immediately have access to
    the stage before the use of addChild (in their constructor) are the
    document/application class instance (root) and any instance from
    the library placed on the timeline (not created with AS).
    * Non-display object classes have to be passed or assigned a
    reference to the stage from another object which already has access
    to it - they cannot access it otherwise.
    4. How do I access the stage properties in the MXML project?
    5. I suspect this is related to the "main class", which I
    dont yet understand - is it?
    Sorry for the long post.
    cheers
    tom

    "tom saffell" <[email protected]> wrote in
    message
    news:gd7cm9$d1v$[email protected]..
    > Thanks Luigi - that helps a lot.
    > I hadnt seen the Flex 3 Developer Guide before - it's
    very useful.
    >
    > I now see that I can access properties of the
    application object directly
    > with
    > this.<property>.
    > However, the framerate property cannot be set by
    actionscript, only in
    > MXML (I
    > can set it in the <mx:application> tag). But I
    need to be able to set it
    > programatically, dependent on user input.
    >
    > 5. Is there a way around this?
    > 6. Can I set the stage's framerate to achieve the same
    outcome?
    >
    > I still dont understand why I cannot access the stage
    object. When I call
    > either
    this.stage or
    uic.stage * then I get
    quote:
    Cannot access
    > a
    > property or method of a null object reference.
    My understanding is
    > that I
    > can access the stage object via any display object on
    the display list.
    > I'm
    > confused about this bit..
    >
    > * - uic is a UIComponent that has been added to the
    display list (i think)
    > by
    > calling addChild(uic) from the AS3 within the
    application
    >
    > 7. How do I access stage properties in AS3 in an MXML
    project?
    http://www.adobe.com/livedocs/flex/3/html/help.html?content=05_Display_Programming_10.html
    It seems like possibly your real problem is that you're
    having trouble
    searching the Help effectively:
    http://flexdiary.blogspot.com/2008/07/getting-help-in-flex-builder.html

  • Displaying the value of an variable on the stage

    I have managed to display the values contained in string variables on stage, and I am happy with that, however when I wish to display the value of an int and convert it to a string as one is supposed to do the output to the stage just calls it [class int] and does not give its value. any suggestions?
    My rogram contains a stage at frame 1 which displays a word. The user must input a word. Frame 30 then displays the word which was displayed and the word input by the user. That all works fine. But the value of the variable NumberRight, which has been assigned to that variable will only display as [class int] without showing its value. (even though I have converet it to a string using the .to string function you see below).
    My code is as follows;
    trace( "The number correct was" + NumberRight); //This works fine in the output window and shows the value of the variable as NumberRight [class int]1 (showing the value to be 1)
    outputText.appendText("in/"+textAtIN); //this works fine displaying the word presented and word input by user as in/in
    outputText.appendText( NumberRight.toString(     )); //here lies the problem as it just displays [class int] and nothing else.
    Yes I have managed to overcome that problem it was some code on the first frame, please excuse, however, now, is there any way to remove the [class int] bit from the displays, I wish to have the results as a clear copy of the results so that they can be printed out, without [class int] all over the place?

    Hi Ned thanks for that. Yes I had accidently created blank spaces in the String() argument. (wanted to check if there was a subsequent difference in display and forgot to return them to normal ...Sorted )
    Your next suggestion has eliminated the [class int] but I get a value now of 0.
    My code on the first frame for a correct response for example is;
    function keyPressedIN(event:KeyboardEvent):void
              if (event.keyCode == 13)/*Normally,this will move straight on to the next frame-
              recording a correct response and all that that implies in terms of scores etc. But now I have re directed it to Frame 30 to check are the variables working properly*/
                        //insert code for correct responses vowels etc.
                        VowelI = VowelI+1;
                        NumberRight = NumberRight +1;
                        stage.focus = stage;
                        //There is no need to display the text box as this is a correct response.
                        pupilsResponseIN.visible = false;
                        mainText.visible = false;
                        gotoAndPlay(30);//at the moment this takes me to the display frame to check if all is ok
    On the first frame when the user say hits the Return key my code assigns the value of +1 to the variable; eg
    NumberRight=NumberRight+1;
    and the value of +1 to the value of VowelI
    VowelI=VowelI+1
    At Frame 30 the code is as follows;
    stop();
    trace( "The number correct was"+ NumberRight);
    outputText.appendText("in/"+textAtIN);
    outputText.appendText( "\n");
    outputText.appendText("Vowels Correct ="+(int(VowelI).toString()));
    outputText.appendText( "\n");
    outputText.appendText("TotalCorrect="+(int(NumberRight).toString()));
    //outputText.appendText( VowelI.toString());
    Now what I am getting  is
    in/in
    Vowels Correct = O
    Total Correct = O
    Yet the trace (output box) records the Number correct as [class int]1 
    many years ago I wrote this same program in Authorware using similar code. I am trying to re write it in FlashCS5 using ActionScript 3 and It take days to solve small problems. I notice also that If for example the user of the program makes an error and I record the error as NumberRight =NumberRight -1 the program records it as Total Correct = NaN .
    I gave up on this a few months back but I am trying again. I think there must be a better way to do this. Variables do not seem to add up or subtract for me at present. no doubt its me thats got it wrong.

  • ClickOnce: Reference in the manifest does not match the identity of the downloaded assembly Office.dll

    I have WPF application, which has the excel component reference. I have the deployment issue when i user Office 2007 installed on my server and try to access the application i get Reference in the manifest does not match the identity of the downloaded assembly Office.dll , but when office 2003 is installed there is no issue deplying.
    Below is the detail of the issue.
    PLATFORM VERSION INFO
        Windows             : 5.1.2600.131072 (Win32NT)
        Common Language Runtime     : 2.0.50727.3082
        System.Deployment.dll         : 2.0.50727.3053 (netfxsp.050727-3000)
        mscorwks.dll             : 2.0.50727.3082 (QFE.050727-3000)
        dfshim.dll             : 2.0.50727.3053 (netfxsp.050727-3000)
    SOURCES
        Deployment url            : http://<Server>/VFOLDER/pages.xbap
        Application url            : http://Server/VFOLDER/Application%20Files/pages_1_0_0_3/pages.exe.manifest
    IDENTITIES
        Deployment Identity        : pages.xbap, Version=1.0.0.3, Culture=neutral, PublicKeyToken=70c49c4ca21b317d, processorArchitecture=msil
        Application Identity        : pages.exe, Version=1.0.0.3, Culture=neutral, PublicKeyToken=70c49c4ca21b317d, processorArchitecture=msil, type=win32
    APPLICATION SUMMARY
        * Online only application.
        * Browser-hosted application.
    ERROR SUMMARY
        Below is a summary of the errors, details of these errors are listed later in the log.
        * An exception occurred while downloading the application. Following failure messages were detected:
            + Reference in the manifest does not match the identity of the downloaded assembly Office.dll.
    COMPONENT STORE TRANSACTION FAILURE SUMMARY
        No transaction error was detected.
    WARNINGS
        There were no warnings during this operation.
    OPERATION PROGRESS STATUS
        No phase information is available.
    ERROR DETAILS
        Following errors were detected during this operation.
        * [6/22/2009 5:43:31 PM] System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
            - Reference in the manifest does not match the identity of the downloaded assembly Office.dll.
            - Source: System.Deployment
            - Stack trace:
                at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)
                at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)
                at System.Deployment.Application.FileDownloader.OnModified()
                at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
                at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
                at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
                at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
                at System.Deployment.Application.DeploymentManager.SynchronizeCore(Boolean blocking)
                at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker()
    COMPONENT STORE TRANSACTION DETAILS
        No transaction information is available.
    Any one has faced the problem... any help will be very grateful.
    Thanks in Advance.
    Sunil

    Thanks for the reply Robin, here is some of the observation, hope you can provide some solution from your end.
    1. When Publish my build, in the Manifest file dependentAssembly has two reference to Office.dll one with version 11.0.0.0 and another with version 7.0.3300.0.
    2. In the pages_1_0_0_4 Published folder has one office.dll with version 11.0.5530.0
    3. In the root folder of the virtual directory has one office.dll with version 7.0.9466.0
    Can you please give your thoughts, what exactly wrong with the deployment, i feel its a assembly mismatch.  where in the application files i have set the required assembly. please provide your useful solution.
    Thanks in Advance.
    Sunil

  • Getting NoSuchObjectInTable Exception though getting reference to remoteObj

    This is part of my BE final year project
    My RMI agent is working, it is getting Remote reference to my FileTransfer agent
    but while executing method "connectAgent" is not working
    it says
    "NoSuchObjectInTable" exception type
    donno what is prob with it
    and more over sometime it works too
    can ANYBODY PLS SUGGEST ANY SOLUTION
    PLS REPLY SOON
    I HAVE MY SUBMISSIONS DATE VERY CLOSE
    MAN THANKS IN ADVANCE
    best regards
    this registers my FileTransferAgnet to registry
    public FileTransferAgent()
            try
                LogManager logManager=new LogManager();
                disp=new StatusDisplay();
                address=logManager.readLogContent("environment_log\\EnvironmentConfig.xml", "local_dir_ip");
                int port=Integer.parseInt(logManager.readLogContent("environment_log\\EnvironmentConfig.xml", "local_registrar_port"));
                Registry registry=LocateRegistry.getRegistry(address,port);
                registrar=(LocalRegistrarInterface)registry.lookup("LocalRegistrar");
                disp.write("Registrar#"+registrar);
                System.out.print("Registrar#"+registrar);
                if(registrar.isAgentAlive(classString))
                   agent=(FileTransferAgentInterface)registrar.getAgent(service,address);
                   System.out.print("Got from registry"+agent);
                   disp.write("Got from registry"+agent);
                else
                    registrar.registerAgent(classString,this,0,null,null);
                    registrar.registerService(service,classString);
                    agent=(FileTransferAgentInterface)registrar.getAgent(service,address);
                    System.out.print("Registered"+agent);
                    disp.write("Registered"+agent);
                while(socketPort<1024)
                    socketPort=(int)Math.round(Math.random()*65550);
            catch(Exception e)
                e.printStackTrace();
    this will get remote reference and is working fine till Connect Agent method call
    public boolean invokeRemoteAgent(String hostName,boolean isIPAddress)
            try
                UniversalRegistrarInterface uniReg=registrar.getUniversalRegistrarInterface();
                System.out.println(uniReg);
                int port=uniReg.getLocalDirPort(hostName,isIPAddress);
                String addr="";
                if(!isIPAddress)
                addr=uniReg.getIP(hostName);
                else
                addr=hostName;
                LocalRegistrarInterface regi=registrar.getLocalRegistrarInterface(addr, port, null);
                System.out.println("\n\n\nRemoteLocalRegistrar: "+regi);
                System.out.println(regi.isAgentAlive(classString));
                if(!regi.isAgentAlive(classString))
                    regi.invokeAgent("framework.agents.FileTransferAgent", service);
                remoteAgent=(FileTransferAgentInterface)regi.getAgent(service,address);
                System.out.println("\n\nremoteAgent: "+remoteAgent);
                serverSock=new ServerSocket(socketPort);
                //new Thread(this).start();
                remoteAgent.connectAgent(address, socketPort);
                socket=serverSock.accept();
                System.out.println("Server socket is created at"+address+"#"+socketPort+" \n\nSocket:"+ socket);
                return true;
            catch(Exception e)
                e.printStackTrace();
                return false;
        }root of the problem
    public boolean connectAgent(String address, int port)
            try
                Thread.sleep(5000);
                socket=new Socket(address,port);
                in=socket.getInputStream();
                out=socket.getOutputStream();
                System.out.println("\n\n************Connected at"+address+"#"+port);
                new StatusDisplay().write("Connected at"+address+"#"+port);
                return true;
            catch(Exception e)
                e.printStackTrace();
                return false;
        }Edited by: RiteshMModi on Apr 14, 2008 4:12 PM

    see the following output I get
    Proxy[FileTransferAgentInterface,RemoteObjectInvocationHandler[UnicastRef [liveR
    ef: [endpoint:[172.168.0.15:1073](remote),objID:[-7c4f6d64:119558c6a45:-7fd6, 24
    63486946656381430]]]]]
    java.rmi.NoSuchObjectException: no such object in table
            at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
    n Source)
            at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
            at sun.rmi.server.UnicastRef.invoke(Unknown Source)
            at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unkn
    own Source)
            at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
            at $Proxy1.createFile(Unknown Source)
            at TestingFTA.main(TestingFTA.java:37)This means that I am getting reference to the remote FileTransferAgent , it is printing it, till this point all fine
    but as soon as i invoke any method using the same object, it throws exception as NoSuchObject

  • Using the Stage and Tools panel

    This question was posted in response to the following article: http://help.adobe.com/en_US/flash/cs/using/WSd60f23110762d6b883b18f10cb1fe1af6-7fb8a.html

    how do I garantee the symbol editing area has the same giude references as the stage?

Maybe you are looking for