To access display objects through the scene var

I'm passing a reference to the scene in my class, but when I try to access a movieclip on the stage I get an error.

It gives me an error:
var targetStage.myMovieClip = MC;

Thank you!

Thanks guys, you gave me much to think about.
want to play my new game, just went live today :)
http://www.dorkbots.com/games/fishingchampion/index.html

Thanks for your help!

Tags: Adobe Animate

Similar Questions

  • My camera iPhone 5s is accessed remotely? Whenever I use my phone torch ends up taking videos. Is it possible for a person to access my camera through the torch. We share the same Apple ID

    My camera iPhone 5s is accessed remotely? Whenever I use my phone torch ends up taking videos. Is it possible for a person to access my camera through the torch. We share the same Apple ID

    N °

    but maybe you tap the camera icon (bottom-right) when you press the icon of the torch (with the other hand maybe?)

  • Iusually access my mail through the mail on my keyboard button. This button has stopped working completely, and I don't know how to access my mail at all. How can I get to my email?

    Iusually access my mail through the mail on my keyboard button.  This button has stopped working completely, and I don't know how to access my mail at all.  How can I get to my email?

     
     
    In case you wanted to tell Outlook Express...
     
    Right click on the desktop | New | Shortcut. Navigate to "c:\program files\outlook express\msimn.exe". Click next | Click Finish.  It will be a new shortcut on the desktop.
     
     
    Once an icon on the desktop, you can drag it to the taskbar for easy access.
  • Having the text from a dynamic text box through the scenes.

    Hello

    I create a choose your own adventure game with multiple endings. Part of what keeps my code organized is to have several scenes.

    In the first scene, the user selects a character, and I need the name of characters to travel through the biased game which button the user selects.

    Is this possible?

    If this is the case, I also need to have specific images appear according to the users, click on the first stage.

    I imagine it's doable with and if statement, but it gets the information traveling through the scenes that I don't understand.

    -Thanks for any help!

    Yes, assign variables to store values you want to exist throughout your project.

  • How to make a perfect canvas Composition, based cut at edges of the objects in the scene?

    To change the size of the composition to the edge cutting limits the objects in the scene.

    I know that it has the function "REGION of INTEREST".

    But this is not automatic as in Photoshop, which has the «TRIM...» »

    There may be a script somewhere out there, but not otherwise.

    Mylenium

  • Deleting objects in the scene

    Hi all

    I have a few items on my stage, I uninstall applications with RemoveChild(). The items appear, however, as indicated in LiveDocs, the question is not destroyed. This means that links/headphones created by this object still exist and create errors (specifically, I'm ' the supplied DisplayObject must be a child of the ')
    "" "appellant"). "

    LiveDocs mentions that if I actually want to delete an object in the scene entirely, I have to use the 'delete' operator, but for the life of me, I can't find any documentation about the existence of such an operator. Any advice would be much appreciated.

    -Cooking table

    It IS ridiculously hard to find. Searcing Live Docs for suppression operator will be a variety of hits, but which is the right one?

    It is of old documents, but it is still valid:
    http://livedocs.Adobe.com/Flash/8/main/00001865.html

    Tracy

  • To access the display object on the stage of another class

    I Googled that nothing helps, I only found how to manipulate the scene itself and not a display on that object and I'm noob enough to not be able to figure it out from there. :/

    I have a clip on the main timeline with the instance name displayName. I created a button that should change this framework displayName will to (in order to... makes you guess? display the name of the button.) Awesome. )

    So, I'm trying to write the code in a reusable manner and have everything related to a class called GeoPuzzle buttons. Inside the GeoPuzzle I instantiate a touch event and run code. However, the function should be able to change displayName in the main part of the timeline and, of course, the compiler says displayName does not exist because I'm in a class and I don't mean the scene.

    Here's the code simplified in the class:

    package com.freerangeeggheads.puzzleography {}
    import flash.display.MovieClip;
    import flash.events.TouchEvent;

    SerializableAttribute public class extends MovieClip {} GeoPuzzle
    declaring variables

    public void setInitial (abbrev:String, fullName:String, isLocked:Boolean): void {}
    Set the parameters
    this.addEventListener (TouchEvent.TOUCH_BEGIN, geoTouchBeginHandler);
    }

    public void GeoPuzzle (): void {}
    }

    public void geoTouchBeginHandler (e:TouchEvent): void {}
    e.target.addEventListener (TouchEvent.TOUCH_END, geoTouchEndHandler);
    other methods
    nameDisplay.gotoAndStop (e.target.abbrev);
    }

    public void geoTouchEndHandler (e:TouchEvent): void {}
    other methods
    nameDisplay.gotoAndStop ("USA");
    }
    }
    }

    The lines in bold are my problem. Now this code does not actually as it is the case if you find an error in it, Yes, I have no idea what the problem is, but he DID run forward and these lines always gave me wrong so I'll try to help out on multiple fronts.

    How can I say displayName to change its current image within the display object class?

    Thank you!

    any display list object can refer to any display list object, but this is not necessarily good OOP.

    in any case, for your class reference displayName:

    . DisplayName MovieClip (this.parent)

  • Cannot access my router through the Explorer configuration page

    I need to do a port forwarding on my router. My internet connection works (even if she falls occasionally) and I can also connect to other computers on my network. However, I cannot access my router through IE page (I get a message saying: page not found). When I go see the map in the options Vista network, the router is not displayed and when I clikc on "See the whole map", I get a message saying that Windows cannot detect any computer or devices.

    My connection to the router is connected, and it is a WRT54G Lyinksys. Any ideas how I can see my router or go to its page layout? Another thing, I went to CMD and the ping command returns a default gateway 192.168.1.1, which is what I have my using the address of the webb page.

    Thanks for any help.

    Hi JBHPUser,

    (a) other router configuration page, you are able to access other Web sites?
     
    (b) what operating system and Internet Explorer version do you use?
     
    This article can be very useful.
     
    You receive an error message in Internet Explorer: "Internet Explorer cannot display the webpage".
    http://support.Microsoft.com/kb/956196
     
    You can also access these links, which is primarily for Windows Vista, but are also applies to Windows 7
     
     
     
     

    Aziz Nadeem - Microsoft Support
  • Help lead CC, unwanted objects on the scenes to succeed

    Hi all, super noob here is so desperately need help.

    I create a drag and drop for a project, but some items are report to the next scene when they are not on the timeline. I have a drag and drop on stage 8 announcement that carry the items to the next scene in their positions 'falling '.

    ActionScript here. Help would be GREAT appreciated!

    var orig1X:Number = Object1_mc.x;

    var orig1Y:Number = Object1_mc.y;

    var orig2X:Number = Object2_mc.x;

    var orig2Y:Number = Object2_mc.y;

    var orig3X:Number = Object3_mc.x;

    var orig3Y:Number = Object3_mc.y;

    var orig4X:Number = Object4_mc.x;

    var orig4Y:Number = Object4_mc.y;

    var orig5X:Number = Object5_mc.x;

    var orig5Y:Number = Object5_mc.y;

    Object1_mc.addEventListener (MouseEvent.MOUSE_DOWN, dragTheObject);

    Object1_mc.addEventListener (MouseEvent.MOUSE_UP, item1Release);

    Object2_mc.addEventListener (MouseEvent.MOUSE_DOWN, dragTheObject);

    Object2_mc.addEventListener (MouseEvent.MOUSE_UP, item2Release);

    Object3_mc.addEventListener (MouseEvent.MOUSE_DOWN, dragTheObject);

    Object3_mc.addEventListener (MouseEvent.MOUSE_UP, item3Release);

    Object4_mc.addEventListener (MouseEvent.MOUSE_DOWN, dragTheObject);

    Object4_mc.addEventListener (MouseEvent.MOUSE_UP, item4Release);

    Object5_mc.addEventListener (MouseEvent.MOUSE_DOWN, dragTheObject);

    Object5_mc.addEventListener (MouseEvent.MOUSE_UP, item5Release);

    function dragTheObject(event:MouseEvent):void {}

    var item: MovieClip = MovieClip (event.target);

    item.startDrag ();

    var topPos:uint = this.numChildren - 1;

    this.setChildIndex (item, topPos);

    }

    function item1Release(event:MouseEvent):void {}

    var item: MovieClip = MovieClip (event.target);

    item.stopDrag ();

    If (TargetObject1_mc.hitTestPoint (item.x, item.y)) {}

    Item.x = TargetObject1_mc.x;

    Item.y = TargetObject1_mc.y;

    } else {}

    Item.x = orig1X;

    Item.y = orig1Y;

    }

    };

    function item2Release(event:MouseEvent):void {}

    var item: MovieClip = MovieClip (event.target);

    item.stopDrag ();

    If (TargetObject2_mc.hitTestPoint (item.x, item.y)) {}

    Item.x = TargetObject2_mc.x;

    Item.y = TargetObject2_mc.y;

    } else {}

    Item.x = orig2X;

    Item.y = orig2Y;

    }

    };

    function item3Release(event:MouseEvent):void {}

    var item: MovieClip = MovieClip (event.target);

    item.stopDrag ();

    If (TargetObject3_mc.hitTestPoint (item.x, item.y)) {}

    Item.x = TargetObject3_mc.x;

    Item.y = TargetObject3_mc.y;

    } else {}

    Item.x = orig3X;

    Item.y = orig3Y;

    }

    };

    function item4Release(event:MouseEvent):void {}

    var item: MovieClip = MovieClip (event.target);

    item.stopDrag ();

    If (TargetObject4_mc.hitTestPoint (item.x, item.y)) {}

    Item.x = TargetObject4_mc.x;

    Item.y = TargetObject4_mc.y;

    } else {}

    Item.x = orig4X;

    Item.y = orig4Y;

    }

    };

    function item5Release(event:MouseEvent):void {}

    var item: MovieClip = MovieClip (event.target);

    item.stopDrag ();

    If (TargetObject5_mc.hitTestPoint (item.x, item.y)) {}

    Item.x = TargetObject5_mc.x;

    Item.y = TargetObject5_mc.y;

    } else {}

    Item.x = orig5X;

    Item.y = orig5Y;

    }

    };

    function reset(event:MouseEvent):void {}

    Object1_mc.x = orig1X;

    Object1_mc.y = orig1Y;

    Object2_mc.x = orig2X;

    Object2_mc.y = orig2Y;

    Object3_mc.x = orig3X;

    Object3_mc.y = orig3Y;

    Object4_mc.x = orig4X;

    Object4_mc.y = orig4Y;

    Object5_mc.x = orig5X;

    Object5_mc.y = orig5Y;

    }

    Reset_btn1.addEventListener (MouseEvent.CLICK, reset);

    Object1_mc.buttonMode = true;

    Object2_mc.buttonMode = true;

    Object3_mc.buttonMode = true;

    Object4_mc.buttonMode = true;

    Object5_mc.buttonMode = true;

    button_12.addEventListener (MouseEvent.CLICK, fl_ClickToGoToPreviousScene_7);

    function fl_ClickToGoToPreviousScene_7(event:MouseEvent):void

    {

    MovieClip (this.root) .prevScene ();

    }

    movieClip_13.addEventListener (MouseEvent.CLICK, fl_ClickToGoToNextScene_15);

    function fl_ClickToGoToNextScene_15(event:MouseEvent):void

    {

    MovieClip (this.root) .nextScene ();

    }

    After much messing around and back it seemed just to work!

    Everything I've done has been in addChild for 5 objects and then add removeChild to these same objects for the buttons 'next' and 'previous' of the scene. I swear I tried several times before, but it does not validate. Thanks for all help here.

  • Objects outside the scene shows print preview

    Hello

    I'm new user, but not new to other Adobe products.

    I put my step to 550 x 400, but when I preview, objects that are outside of the scene (the white work area) is also in preview.

    Can anyone help please.

    Thank you.

    concerning

    Edward

    There are several ways you can do it according to the structure of your animation.

    • You can use masquer(); in the code with:

    SYM. $('elementOrSymbolName'). hide();

    • You could turn off the screen to 1000 ml - select your element or symbol and choose display off.  In the second image below, the text element is off the display to 0 and view on to 0.01.

    My recommendation is to use symbols when you can and then manipulate them as needed.

    Insofar as resizing is concerned, it depends on what you really want to do. You can resize your stage and resize your objects. You could add code to your elements to resize according to the size of the browser.

    Also, check out my tutorials on Edgehero.com

  • Impossible to access them Internert through the split tunneling VPN client.

    I divided tunnel configured on a PIX 515. The remote VPN client connects to the PIX very well and can ping hosts on the internal network, but cannot access the Internet. Am I missing something? My config as shown below.

    In addition, I don't see the routes on the VPN client via statistics (screenshot below)

    All opinions are appreciated.

    Rob

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    8.0 (3) version PIX

    !

    hostname PIX-to-250

    enable the encrypted password xxxxx

    names of

    !

    interface Ethernet0

    nameif outside

    security-level 0

    IP address x.x.x.250 255.255.255.240

    !

    interface Ethernet1

    nameif inside

    security-level 100

    IP 192.168.9.1 255.255.255.0

    !

    XXXXX encrypted passwd

    passive FTP mode

    DNS domain-lookup outside

    DNS server-group Ext_DNS

    Server name 194.72.6.57

    Server name 194.73.82.242

    the LOCAL_LAN object-group network

    object-network 192.168.9.0 255.255.255.0

    object-network 192.168.88.0 255.255.255.0

    Internet_Services tcp service object-group

    port-object eq www

    area of port-object eq

    EQ object of the https port

    port-object eq ftp

    EQ object of port 8080

    port-object eq telnet

    the WAN_Network object-group network

    object-network 192.168.200.0 255.255.255.0

    ACLOUT list extended access allowed object-group LOCAL_LAN udp any eq log field

    ACLOUT list extended access allow icmp object-group LOCAL_LAN no matter what paper

    ACLOUT list extended access permitted tcp object-group LOCAL_LAN connect to any object-group Internet_Services

    access-list extended ACLIN all permit icmp any what newspaper echo-reply

    access-list extended ACLIN all permit icmp any how inaccessible journal

    access-list extended ACLIN allowed icmp no matter what newspaper has exceeded the time

    Comment by split_tunnel_list-LAN Local access list

    split_tunnel_list list standard access allowed 192.168.9.0 255.255.255.0

    access-list extended SHEEP allowed object-group ip LOCAL_LAN 192.168.100.0 255.255.255.0

    pager lines 24

    Enable logging

    Outside 1500 MTU

    Within 1500 MTU

    IP local pool testvpn 192.168.100.1 - 192.168.100.99

    no failover

    ICMP unreachable rate-limit 1 burst-size 1

    don't allow no asdm history

    ARP timeout 14400

    Global 1 interface (outside)

    NAT (inside) 0 access-list SHEEP

    NAT (inside) 1 0.0.0.0 0.0.0.0

    Access-group ACLIN in interface outside

    ACLOUT access to the interface inside group

    Route outside 0.0.0.0 0.0.0.0 195.171.252.45 1

    Route inside 192.168.88.0 255.255.255.0 192.168.88.254 1

    Route inside 192.168.199.0 255.255.255.0 192.168.199.254 1

    Timeout xlate 03:00

    Timeout conn 01:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02

    Sunrpc timeout 0:10:00 h323 0:05:00 h225 mgcp from 01:00 0:05:00 mgcp-pat 0:05:00

    Sip timeout 0:30:00 sip_media 0:02:00 prompt Protocol sip-0: 03:00 sip - disconnect 0:02:00

    Timeout, uauth 0:05:00 absolute

    dynamic-access-policy-registration DfltAccessPolicy

    Enable http server

    No snmp server location

    No snmp Server contact

    Server enable SNMP traps snmp authentication linkup, linkdown cold start

    Crypto ipsec transform-set esp-3des esp-sha-hmac Set_1

    Crypto-map dynamic outside_dyn_map 10 game of transformation-Set_1

    life together - the association of security crypto dynamic-map outside_dyn_map 10 seconds 280000

    Crypto-map dynamic outside_dyn_map 10 the value reverse-road

    outside_map 10 card crypto ipsec-isakmp dynamic outside_dyn_map

    outside_map interface card crypto outside

    crypto ISAKMP allow outside

    crypto ISAKMP policy 1

    preshared authentication

    3des encryption

    sha hash

    Group 2

    life 43200

    crypto ISAKMP policy 65535

    preshared authentication

    3des encryption

    sha hash

    Group 2

    life 86400

    Telnet timeout 5

    SSH timeout 5

    Console timeout 0

    a basic threat threat detection

    Statistics-list of access threat detection

    internal testvpn group policy

    attributes of the strategy of group testvpn

    Protocol-tunnel-VPN IPSec

    Split-tunnel-policy tunnelspecified

    name of user testuser encrypted password xxxxxx

    type tunnel-group testvpn remote access

    tunnel-group testvpn General-attributes

    address testvpn pool

    Group Policy - by default-testvpn

    testvpn group of tunnel ipsec-attributes

    pre-shared-key *.

    !

    class-map inspection_default

    match default-inspection-traffic

    !

    !

    type of policy-card inspect dns preset_dns_map

    parameters

    message-length maximum 512

    Policy-map global_policy

    class inspection_default

    inspect the preset_dns_map dns

    inspect the ftp

    inspect h323 h225

    inspect the h323 ras

    inspect the netbios

    inspect the rsh

    inspect the rtsp

    inspect the skinny

    inspect esmtp

    inspect sqlnet

    inspect sunrpc

    inspect the tftp

    inspect the sip

    inspect xdmcp

    inspect the icmp

    !

    global service-policy global_policy

    context of prompt hostname

    Cryptochecksum:5dcb5dcdff277e1765a9a0c366b88b9e

    : end

    # 250 A - PIX

    You have not assigned the ACL split tunnel to your strategy.

    PLS, configure the following:

    attributes of the strategy of group testvpn

    value of Split-tunnel-network-list split_tunnel_list

  • Can I access Photoshop CC through the free trial version? I need the old version, not the 2015 and I wanted to try it before you buy. Thank you!

    I'm not thrilled to have only an option of purchasing a subscription of the year for a class of ten weeks, but it seems this is my only option I would like to try the product before making this investment.

    I really appreciate the help, I've exhausted the information available through the Adobe FAQ section.

    Hello

    You will be able to access Photoshop CC 2015 (trial), however using the trial version older is not the option.

    You can download the installer for Creative Cloud from here:
    Creative cloud help | Creative cloud desktop.

    Let us know if you need help!

  • How to hide the objects in the scene?

    Hello

    I just started a course on internet on Flash. The second job is to create a banner ad animated 720 x 90. When I test the movie in Flash Professional still show the objects that I got off the stage.

    I want to start an object outside of the scene on one side and have it go around and out the other side.

    How can I just show what stage?

    I use the CS5 version.

    Thank you

    In your settings, you can choose to publish an HTML as the output of publication.  When you use this page, what it does is that it loads the swf file in the web page, so you must have the SWF with the html page.

    I have a correction of a typo in my original answer... the first sentence should say "without the use of html with the code.  I thought it was what I typed, but I see that I made a mistake.

  • Auto refreshing display objects when the new line in the table inserted on another computer

    Greetings,

    I'm using an application of ADF JDeveloper 11.1.2.4.0 its been used by 2 separate computers.

    It's the same application, but I shared with security ADF for the person (Secretary) will see the half view of the application

    and the other person (doctor), the other half seen. Basically, I put adf username expression (rendering) for each display mode

    the specific menu, buttons, tabs, etc.

    My problem is, say the Secretary, creates a doctor's appointment, rather than re - run display objects

    every X minutes on the advice of the doctor, is there a way to notify the application that the new data are inserted into the database and must be re/refresh-execute?

    I have about 100 objects from view and I don't want to discount/re-execute all objects from view because I don't know on what table a new record its been inserted.

    Appointment is just one example, there are many paintings that both views are connected to.

    Hello

    Here is the solution to your needs: http://matthiaswessendorf.wordpress.com/2010/01/22/flexible-active-data-service/.

    Instead of the pop-up window in the sample you would be re - run the table of appointment. Now all you need is a mechanism that informs the change, which may be a trigger in the database or application that updates the new appointment

    Frank

  • OAF, used with the clausule setWhereClause display object, show the error not correctly initialized.

    Hi all,

    I'm new with ofa and AM mi to VO that I use to find the information that is displayed to the user on a region of the query, after the user has pressed the button go demand CO AM tho load VO both use this information to display in a popup region to display and update. the main problem is the closing of popup region it send a shipment to the server one appears the error "View object may not be correctly initialized during update."

    The main page and the pop-up window uses the same AM, the initM2mVo() and initTavleVo() are called by processRequest of the main PG CO, the popup dosen´t have a CO.

    This AM using PG main and in the region of popup

    package tasc.oracle.apps.tasc.m2m.imei.server;
    
    
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    
    
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    
    
    
    
    // ---------------------------------------------------------------------
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    // ---------------------------------------------------------------------
    public class ActualizarImeiAMImpl extends OAApplicationModuleImpl {
        /**This is the default constructor (do not remove)
         */
        public ActualizarImeiAMImpl() {
    
    
        }
    
    
        /*******************************USE FOR CUSTOM CODE****************************/
    
    
        /******************************************************************************/
    
    
        /**
         * Inicializa el vo a través del cual se ejecutara la actualización del IMEI.
         * @param taskNumber
         */
        public void loadImeiVo(String taskNumber) {
            OAViewObject voTableQry = getTableQryVO1();
    
    
            if (voTableQry != null) {
                voTableQry.reset();
                voTableQry.setWhereClause(null);
                voTableQry.setWhereClauseParams(null);
                voTableQry.setWhereClause("TASK_NUMBER = :1");
                voTableQry.setWhereClauseParam(0, taskNumber);
                voTableQry.executeQuery();
                if (voTableQry.hasNext()) {
                    voTableQry.next();
                    String idActuacion =
                        (String)voTableQry.getCurrentRow().getAttribute("IdActuacion");
                    String dsM2m =
                        (String)voTableQry.getCurrentRow().getAttribute("DsM2m");
                    String imei =
                        (String)voTableQry.getCurrentRow().getAttribute("Imei");
    
    
                    if (idActuacion != null) {
                        OAViewObjectImpl m2mVo = (OAViewObjectImpl)this.getTascTransEqInstM2mVO1();
                        m2mVo.reset();
                        if (!m2mVo.isPreparedForExecution()) {
                            m2mVo.setMaxFetchSize(0);
                            m2mVo.executeQuery();
                        }                  
                        m2mVo.setWhereClause(null);
                        m2mVo.setWhereClauseParams(null);
                        m2mVo.setWhereClause("ID_ACTUACION = :1 AND DS_M2M = :2 AND IMEI = :3 ");
                        m2mVo.setWhereClauseParam(0, idActuacion);
                        m2mVo.setWhereClauseParam(1, dsM2m);
                        m2mVo.setWhereClauseParam(2, imei);
                        m2mVo.executeQuery();
                        if(m2mVo.hasNext()){
                            m2mVo.next();
                        }
                     }
                }
            }
        }
    
    
    
    
        /**
         * Carga los valores disponibles de IMEI según el taskNumber al cual pertenezca
         * el  IMEI seleccionado.
         */
        public void loadImeiValuesList(String taskNumber) {
            ViewObject viewobject = this.getImeiListVO1();
            OAViewObject voTableQry = getTableQryVO1();
    
    
            if (voTableQry != null && voTableQry.getCurrentRow() != null) {
    
    
                String imeiType =
                    (String)voTableQry.getCurrentRow().getAttribute("Attribute17");
    
    
                if (viewobject != null & imeiType != null) {
                    viewobject.setWhereClause(null);
                    viewobject.setWhereClauseParams(null);
                    viewobject.setWhereClause("TASK_NUMBER = :1 AND ATTRIBUTE17 = :2");
                    viewobject.setWhereClauseParam(0, taskNumber);
                    viewobject.setWhereClauseParam(1, imeiType);
                    viewobject.executeQuery();
               }
            }
    
    
        }
        /*******************************USE FOR CUSTOM CODE****************************/
        /******************************************************************************/
    
    
        /**Container's getter for TableVO1
         */
        public OAViewObjectImpl getTableVO1() {
            return (OAViewObjectImpl)findViewObject("TableVO1");
        }
    
    
        /**Sample main for debugging Business Components code using the tester.
         */
        public static void main(String[] args) { /* package name */
            /* Configuration Name */launchTester("tasc.oracle.apps.tasc.m2m.imei.server",
                                                 "ActualizarImeiAMLocal");
        }
    
    
        /**Container's getter for TascTransEqInstM2mVO1
         */
        public OAViewObjectImpl getTascTransEqInstM2mVO1() {
            return (OAViewObjectImpl)findViewObject("TascTransEqInstM2mVO1");
        }
    
    
        /**Container's getter for ImeiListVO1
         */
        public OAViewObjectImpl getImeiListVO1() {
            return (OAViewObjectImpl)findViewObject("ImeiListVO1");
        }
    
    
        /**Container's getter for TableQryVO1
         */
        public OAViewObjectImpl getTableQryVO1() {
            return (OAViewObjectImpl)findViewObject("TableQryVO1");
        }
    
    
    }
    
    
    

    It's the CO of the main PG

    /*===========================================================================+
    |   Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA    |
    |                         All rights reserved.                              |
    +===========================================================================+
    |  HISTORY                                                                  |
    +===========================================================================*/
    package tasc.oracle.apps.tasc.m2m.imei.webui;
    
    
    import java.io.Serializable;
    
    
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean;
    
    
    
    
    /**
    * Controller for ...
    */
    public class ActualizarImeiCO extends OAControllerImpl {
        public static final String RCS_ID = "$Header$";
        public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    
    
        /**
         * Layout and page setup logic for a region.
         * @param pageContext the current OA page context
         * @param webBean the web bean corresponding to the region
         */
        public void processRequest(OAPageContext pageContext, OAWebBean webBean) {
            super.processRequest(pageContext, webBean);
    
    
            //get the handle to AM Attached to our Simple Page Region MainRegionRN
            //The page is passed as parameter to this method, hence we can get handle
            //to the AM quite easily
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
    
    
            //verifica si la transaccion de creacion esta activa todavia
            if (TransactionUnitHelper.isTransactionUnitInProgress(pageContext,"ActualizarImeiM2m", false))
            {
                // deshace cambios y finaliza Txn
                am.invokeMethod("rollback");
                TransactionUnitHelper.endTransactionUnit(pageContext, "ActualizarImeiM2m");
            }
    
        }
    
    
        /**
         * Procedure to handle form submissions for form elements in
         * a region.
         * @param pageContext the current OA page context
         * @param webBean the web bean corresponding to the region
         */
        public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
    
    
            super.processFormRequest(pageContext, webBean);
    
    
            //get the handle to AM Attached to our Simple Page Region MainRegionRN
            //The page is passed as parameter to this method, hence we can get handle
            //to the AM quite easily
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
    
    
            //Detección del botón go de la región de query.
            this.queryButonGO(pageContext, webBean, am);
    
    
            this.updateImei(pageContext, am);
    
    
        }
    
    
        /**
         * Detección del botón go de la región de query
         * @param pageContext
         * @param webBean
         * @param am
         */
        public void queryButonGO(OAPageContext pageContext, OAWebBean webBean,
                                 OAApplicationModule am) {
            OAQueryBean queryBean =
                (OAQueryBean)webBean.findIndexedChildRecursive("QueryRN");
            String idGo = queryBean.getGoButtonName();
            if (pageContext.getParameter(idGo) != null) {
    
    
                String tareaId = pageContext.getParameter("TaskNumberLovInput");
    
    
                //Inicializa el vo a través del cual se ejecutara la actualización del IMEI.
                Serializable[] parameters2 = { tareaId };
                Class[] paramTypes2 = { String.class };
                am.invokeMethod("loadImeiVo", parameters2, paramTypes2);
    
    
                //Carga los valores disponibles de IMEI según el taskNumber al cual pertenezca  el  IMEI seleccionado.
                Serializable[] parameters = { tareaId };
                Class[] paramTypes = { String.class };
                am.invokeMethod("loadImeiValuesList", parameters, paramTypes);
            }
        }
      
        public void updateImei(OAPageContext pageContext, OAApplicationModule am){
            if (pageContext.getParameter("ActualizarImei") != null){
              
                String imei = pageContext.getParameter("ImeiPopup");
                //TODO......
            }
        }
    
    
    }
    
    
    

    Thank you all.

    I thing I got the problem.

    I have the following configuration:

    • A Home Page and external RN which is call as popup in the homepage
    • 2 VO, java code queries, one to capture information that is used to query the VO 2 that I use to update the information in the pop-up window.
    • 01:00, this is the card only in the main Page. (Initially, I had mapped to AM even external RN as the main PG, but I take it off).

    The solution was to remove the mapping of the AOS of the outer region and in the messageimput of the whole of the outer region of the instance of the view and the view attribute manually in this field (http://screencast.com/t/uDTALEedCh do not use the Wizard) that one instantiation am AM, so the problem, it seems that was that defining an AM in the outer region create a new instance , causing that he cannot see the information I manually load in the t by request it them.

    in this case there is no need to use the following code, because the lines are responsibility of the query information in the java code, it must only be made when inserting a new line.

        public void initM2mVo(){
            //get a handle to the View Object that we wish to initialize
            OAViewObject vo = (OAViewObject)this.getTascTransEqInstM2mVO1();
            if (!vo.isPreparedForExecution()) {
                vo.setMaxFetchSize(0);
                vo.executeQuery();
            }
            //Create a blank Row
            Row row = vo.createRow();
            //Attach that blank row to the VO. Data will be fed into this row, when the user types into the fields
            vo.insertRow(row);
            //Set the status of the blank row to initialized. This tells OA Framework that record is blank and must not be included in DML
            //Operations until    changes are made to its underlying VO [via screen fields]
            row.setNewRowState(Row.STATUS_INITIALIZED);
        }
    

Maybe you are looking for