Using and storing instance names

I know you can store instance names in an array and call on the array values to reference the instance names in it.
I was wondering if there is any way I can take an instance name, feed it directly into a function and use the name of the function variable/array/whatever to affect the object instance of whatever I name.
if it's an array of instance names, what is it actually an array of?
Also, is there any way to hold and reference an instance name in a single value?
sidenote:
this doesnt have much to do with my question, but can arrays be fed directly into the header of a function?

Look, there is no any ambiguity in what array holds - it is what you make it hold.
If you are talking about instance names as strings, the following can be done (given objects with instance names are instantiated);
var myInstanses:Array = ["instance1", "anotherInstance", "myMovie"];
than you can feed instance name onto a function and do whatever you need to:
function myFunction(instanceName:String):void{
     this[instanceName].x = 200;
myFunction(myInstances[1]);
But if you are talking about instances as instances - not names:
var myInstanses:Array = [instance1, anotherInstance, myMovie];
function myFunction(instance:Sprite):void{
     instance.x = 200;
myFunction(myInstances[1]);

Similar Messages

  • How to get Host name and SQL Instance Name by T-SQL

    I am using SQL 2000, 2005 and 2008. I have few multi instances SQL servers. I would like to gather following information:
    Host Name
    SQL Instance Name
    SQL Version
    Server1
    Server1
    SQL 2000
    Server1
    Server1\ABC
    SQL 2005
    Server1
    Server1\XYZ
    SQL 2008
    Server2
    Server2
    SQL 2008
    Is there any way I can get it by T-SQL? Any help would be appreciated.
    Thanks
    Saumen 

    SELECT
    SERVERPROPERTY('MachineName') AS [ServerName],
    SERVERPROPERTY('ServerName') AS [ServerInstanceName],
    SERVERPROPERTY('InstanceName') AS [Instance],
    SERVERPROPERTY('Edition') AS [Edition],
    SERVERPROPERTY('ProductVersion') AS [ProductVersion],
    Left(@@Version, Charindex('-', @@version) - 2) As VersionName
     |
    Blog: MSBICOE.com |
    MCITP - BI, SQL Developer & DBA
    Hate to mislead others, if I'm wrong slap me. Thanks!

  • Tween and getting instance names problems

    Hi, iv got these buttons animated using the inbuilt tween
    function and am coding them like this:
    function navOver(e:MouseEvent):void {
    var page = MovieClip(e.currentTarget).buttonThumb;
    var myTween16:Tween = new Tween(page, "y", Regular.easeOut,
    0, -25, 0.35, true);
    function navOut(e:MouseEvent):void {
    var page = MovieClip(e.currentTarget).buttonThumb;
    var myTween17:Tween = new Tween(page, "y", Regular.easeOut,
    -25, 0, 0.35, true);
    function navClick(e:MouseEvent):void {
    var page = MovieClip(e.currentTarget).buttonThumb;
    page.y = 0;
    button.addEventListener(MouseEvent.ROLL_OVER, navOver);
    button.addEventListener(MouseEvent.ROLL_OUT, navOut);
    button.addEventListener(MouseEvent.MOUSE_DOWN, navClick);
    but if i click on the button before the animation has
    finished it ignores the
    page.y = 0; code and does nothing. how can i fix this?
    also im trying to get the instance name of a mc called
    "home" using this code:
    MovieClip(e.currentTarget) wich gives me the result
    [object button_1]
    and
    MovieClip(e.currentTarget).instanceName returns
    undefined
    neather of which are the instance name.
    i cant hardcode the function because its used on lots of
    different mcs throughtout the flash file
    thanks

    if you want to send the 'page' back to the 0 position, you
    might be better off declaring the tweens outside the method, in
    this way you can control them in 'other' methods that aren't local
    to where the assignment is made, for instance:
    var myTween17:Tween;
    then in the handler navOut, just 'assign' the tween:
    myTween17 = new Tween( .. );
    then in the navClick method you could call:
    myTween17.stop();
    myTween17.rewind();
    and that should reset the clips position to 0
    for your other question use:
    MovieClip(e.currentTarget.name);

  • Listing objects and their instance names (of closed source SWF)

    I have an API for a flash player that I want to use, but it is closed source. I know I could try a decompiler but I need to see what it loads and what it's doing at runtime.
    I'd like to see the objects (and all their info) that it loads and has on stage along with thier instance names. I'd like to see what this SWF has/does so I can write my AS3 code accordingly... maybe add some additional event listeners.
    Is there any was to go about doing this? I know there's some AS3 commands to get this information but I dont know what they are. If you all could give me some hints at which commands would be useful that would be great.

    "I need to see what it loads"
    You can use Fiddles, Charles or Firebug to monitor traffic (what it loads).
    As for the rest of your question - good luck. Although it is possible to decompile swf of course, reverse engineering is an extremely complex time consuming task. In the majority of cases it is easier and faster to replicate functionality from scratch than to try to understand SWF's logic.
    Unless you know packages structure - there is no native way to figure out/access application domain.

  • Load external and give instance name

    I'm using this code to load and external swf, now how do I assign an instance name for it?
    var eventInitialLoader:Loader = new Loader();
    var eventInitialURL:String = parent['eventPath'+ie];
    var eventInitialRequest:URLRequest = new URLRequest(eventInitialURL);
    eventInitialLoader.load(eventInitialRequest);
    eventOdd_MC.addChild(eventInitialLoader);
    Thanks for helping!

    At some point in your code you must have a reference to the instance you want to remove, then you can just do:
    [instance].parent.removeChild([instance]);
    or set up an array:
    var instanceArr:Array = new Array();
    and when you load a new instance with the Loader, do:
    instanceArr.push(myInstance);
    and to access them:
    for (var i:uint = 0; i < myInstance; i++){
    var child = instanceArr[i];
    (do stuff with child)
    child.parent.removeChild(child);

  • How can we use variables for instance name?

    I'm using 9 textbox in my stage. Names are similar, only difference is the last character. (s1_0, s1_1, s1_2, ...). I'm trying to use these textbox in a loop. But I couldn't find the right typing... s1_[i], s1_(i) or s1_{i} gives error.
      s1_0.text=0
      s1_1.text=0
      s1_2.text=0
      s1_3.text=0
      s1_4.text=0
      s1_5.text=0
      s1_6.text=0
      s1_7.text=0
    how can make the shortest typing for this issue?

    yes, its working, thank you very much...
    I tried array operator but the word "this"..
    what does it means ? when I delete this word, it gives error. how does flash know that it is a instance name?

  • Transporting DBConnect DataSource to BWQ / BWP and Oracle Instance Name

    Hi,
    I have a DBConnect Datasource / Source System in our BWD system that is pointing to an Oracle instance that is also a DEV system.  When we go to BWQ / BWP we want the source system to point to the Oracle QA / PRD system.  Is there a table where a mapping can be maintained pointing the DB Connect source system to different Oracle instances based upon the BW system that it is in?
    Thx, MGW

    Mel,
    Create the respective dbconnect source system in BWQ and BWP. After the creation, maintain table RSLOGSYSMAP. To maintain table, go to rsa1, menu --> Tools --> Conversion of Logical System Names, and maintain the source system and target system values.
    -Saket

  • EJBRef Element  and Storing instance of EJBObject??

    This question has been asked many times and i have seen different
    versions of solutions.Can anyone tell me or point me to any link where i can get a confirm answer.Iam really confused.
    My requirement is to call a Second EJB from the First EJB.Both are stateless Beans.
    Following is the code snippet of FirstEJB
    public class FirstEJB implements SessionBean {
    private EJBObject secondEJBObject = null; //instance variable
    public void createAndCallSecondEJB() {
    //Performs a lookup using JNDI for secondEJB
    //Stores the EJBObject of the secondEJB in the instance variable
    for (int i=0;i<50;i++) {
         callSecondEJB();
    public void CallSecondEJB() throws RemoteException {
    if (secondEJBObject == null ) {
         //Performs a lookup using JNDI for secondEJB
         //Stores the EJBObject of the secondEJB in the instance variable
    secondEJBObject.testMethod();
    What i understand is that stateless bean are good for one method invocation, after method invocation is completed the bean is unbinded and sent back to the pool.
    When we call the testMethod of SecondEJB each time,Does the container give a different bean instance of SecondEJB from the Pool??
    Will this approach have any performance issues??
    Will there be any advantage if i define the secondEJB in <ejb-ref> element over this approach??
    Thanks in advance

    http://forum.java.sun.com/thread.jspa?threadID=582129
    Refer to your cross-post for my answer.
    ***Annie***

  • Warning: conflicting use of instance name

    Hey guys,
    Recently a rather weird warning began to pop-up every time I publish my movie. It says this:
    Warning: The instance name 'icon' is declared on an object of type flash.display.MovieClip but there is a conflicting use of the instance name 'icon' on an object of type flash.display.InteractiveObject. (Symbol 'bt_login', Layer 'icon', Frame 14)
    There is only one object on the 'icon' layer, the icon movieclip itself. On all keyframes it is named 'icon'. On Frame 14 there is no keyframe at all. What exatctly should this warning mean? Thanks!
    F.

    you should remove all code from objects and attach to the timeline.  for example, assign an instance name to the movieclip that has that enterFrame (eg, mc) and use:
    mc.onEnterFrame=loopF;
    function loopF():Void{
    this._x = this._x + (_root.intSlideToX – this._x ) /5;
    this._y = this._y + (_root.intSlideToY – this._y ) /5;   
    if(Math.abs(this._y-_root.intSlideToY)<1&&Math.abs(this._x-_root.intSlideToX)<1){
    this._y=_root.intSlideToY;
    delete this.onEnterFrame;
    when _root.intSlideToX or _root.intSlideToY change, restart the loopF

  • Multiple MovieClips with same instance name

    I'm following a tower defence tutorial and part of the code is set up so I can build towers on the "grass" movie clip. I wanted to add more patches of "grass" and gave them all the same instance name so I can be able to place towers on them, but I have the problem that I can only place towers on the first item I placed and has the instance name of "grass". I can't seem to place towers on the other patches of grass.
    I removed the instance name of the first patch of grass and it let me build towers on the second patch, but the second patch only.
    I was following this tutorial: http://www.goofballgames.com/2010/01/31/how-to-build-a-tower-defense-f lash-game-part-2-placing-towers/
    Here is the code for it I believe:
    onClipEvent (load)
        active = 0;
    onClipEvent (enterFrame)
        if (active == 1)
            setProperty("", _x, int((_root._xmouse - 10) / 20) * 20 + 20);
            setProperty("", _y, int((_root._ymouse - 10) / 20) * 20 + 20);
      hitTestOnGrassMovieClip = _root.grass.hitTest(_x, _y, 1);
            if (hitTestOnGrassMovieClip) {
                gotoAndStop(1);
       _root.ranger.gotoAndStop(1);
            else {
                gotoAndStop(2);
       _root.ranger.gotoAndStop(2);
            _root.ranger._x = _x;
            _root.ranger._y = _y;
            _root.ranger._width = _root["tower_" + tower].range * 2;
            _root.ranger._height = _root["tower_" + tower].range * 2;
    on (press)
    hitTestOnGrassMovieClip = _root.grass.hitTest(_x, _y, 1);
    hitTestOnDeSelectMovieClip = _root.deselect.hitTest(_x, _y, 1);
        if (hitTestOnGrassMovieClip || hitTestOnDeSelectMovieClip) {
            if (hitTestOnGrassMovieClip) {
       ++_root.towerCount;
       _root["tower_" + tower].duplicateMovieClip("t" + _root.towerCount, 500 + _root.towerCount);
       a = _root["t" + _root.towerCount];
       a._x = _x;
       a._y = _y;
       a.active = 1;
      active = 0;
      setProperty("", _x, 1000);
      _root.selectedTower = "";
      _root.ranger._x = 1000;
      _root.ranger._width = 10;
      _root.ranger._height = 10; 
    }

    1.  You cannot use the same instance names for different objects and expect more than one to be targeted.  You need to assign unique names, or you can store references to them in an array and use the array to target them.
    2. You are posting AS2 code in the AS3 forum.  You should repost in the AS2 forum.  http://forums.adobe.com/community/flash/flash_actionscript

  • Unique instance names in distributed environment

    The 11.1.2.1 installation guide (http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_install_11121.pdf) says, on page 122 of the .pdf:
    +"When you configure in a distributed environment, provide a new, unique instance name as you configure each server. For example, if you are using the default instance name epmsystem1 on the first server, and you keep the same naming convention on subsequent servers, you would create new, unique instance names on each subsequent server, such as epmsystem2, epmsystem3, and so on."+
    No reason not to follow this advice, but wondering if it's really necessary. I feel sure I've seen installations where 'epmsystem1' was used on e.g. both a web application server and the Essbase server. Perhaps I'm remembering incorrectly.

    Yes each server requires a unique name as it is registers the server with the shared services registry against the instance name, maybe it was on a 11.1.2.0 deployment that you saw the same instance name across the distributed environment.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Identical database & instance names in Oracle 11g R2 RAC

    Hi ,
         We are migrating our EBS 11i (11.5.10 CU 2) and oracle 11gr2 (11.2.0.3) database (database only) which is currently on Solaris to Linux. Currently the database is NON-RAC and as a part of the migration we are converting it in to a 5 Node RAC. A lot of third party interfaces connected to this environment are using hard coded database name. Unfortunately due to the project time lines it's impossible to change those applications within the migration timeline. In order to ensure that they don't break we are thinking of keeping one instance name same as database name so those applications can continue to function without any change to their code. We are aware that this would compromise on fail over capabilities for those applications but we are ok with that.
    This what we have in mind: Create 5 PROD instance named as PROD, PROD1,PROD2, PROD3 & PROD4. PROD being the name of the database also. I would like to know:
    1) Is this configuration allowed i.e., is it ok to have one instance with the same name as database?
    2) We will be creating a 5 node Data gaurd environment for this so what will be the impact of such a naming on it?
    3) Since it's an EBS environment will there be any issues with application configuration?   Our application architecture will be as below:
    6 application nodes - Two for concurrent managers, two for forms & web & two external nodes
    The two CM app nodes will be tied to two database instances using Services
    Remaining app nodes will connect to the remaining 3 instances once again using services.
    We will be configuring services using "vip" instead of scan names.
    4) What will be the impact if the node having the instance name same as database name goes down?
    5) Any other areas to worry about with such a configuration say like cluster services, 3rd partyinterfaces/applications?
    Please let me know if you have any idea of such a configuration.
    regards
    pramod

    Brian, rchem & Martin thanks for your responses. Appreciate it much. I was thinking about the service alternative but unfortunately I understand from my customer that their applications have hard coded database (used as a instance name) name. All they are saying is that their applications are using instance name instead of database name without providing much details on how it's being used. I just know that there 180 applications... Oracle & non Oracle based in which the instance name is hard coded, but haven't got answers to my questions on how it's hard coded i.e., is it being pulled from the database using a hard coded query like "select instance_name from v$instance" or is it a part of some variable in the script/application etc., and what it's being used for (later) within the application.  Answers to those question will help in deciding what  should be the right strategy but since I am short of time I thought of this and wanted to know if anybody has implemented or come across a similar architecture.
    I am creating services and using them in my EBS application ifile thereby avoiding SID but agree with you on the node failure part as I haven't tested this new set up yet.
    Martin,
              You are right, they are using the database name as a SID in their application hence the above need.  My cluster version is 11.2.0.4.0 (both Active & Software versions). The source database on solaris is 11.2.0.3 Non RAC, it's going to be upgraded to 11.2.0.4 before conversion/migration hence I have installed & created a 11.2.04 RAC environment as a part of POC/Load testing.
    Regards
    pramod

  • Provide a new, unique instance name - Distributed Environment

    Hi,
    I am not sure about this piece of information in installation docs
    please refer
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_install_11121/frameset.htm?launch.html
    When you configure in a distributed environment, provide a new, unique instance name as you configure each server. For example, if you are using the default instance name epmsystem1 on the first server, and you keep the same naming convention on subsequent servers, you would create new, unique instance names on each subsequent server, such as epmsystem2, epmsystem3, and >so on. What if i use same path "d:\.......\epmsystem1" on all servers in distributed environment?
    Regards
    Kumar
    Edited by: Kumar 1 on Oct 4, 2011 6:18 AM

    Thanks John,
    Mostly i configured different instance name ("D:\oracle\middleware\epmsystem1" and "D:\oracle\middleware\epmsystem2" etc.
    but i have one client where i see similar instance on all servers in distributed environment "D:\oracle\middleware\epmsystem1" and "D:\oracle\middleware\epmsystem1" etc.
    Please advice? and let me know what could be impact of these two scenario.
    Regards
    Kumar

  • VideoPlayer, FMS, and application instances

    I am trying to playback recorded streams from a Flash Media Interactive Server using the VideoPlayer component in Flex  4/Flash Builder 4.
    If the stream is located in the <serverpath>/streams/vod/_definst_ directory then I can get to it by setting the 'source' parameter of the VideoPlayer to "<server>/vod/streamname" assuming streamname is an .flv file.  If the stream is located in an application directory (e.g. 'app1') in the _definst_ directory (i.e. <serverpath>/app1/streams/_definst_), then I can successfully play it back by setting the 'source' parameter to "<server>/app1/streamname".
    What I can't get to work is when I have a stream recorded to an instance within an application directory.  So if the application is "app1' and the instance name is "inst1" it would be literally located in <serverpath>/app1/streams/inst1 directory.  Setting the source parameter to this "<server>/app1/inst1/streamname" does not work.  It seams to be ignoring the 'inst1' part of the path because the server side log shows '_definst_' as the instance name being run.
    I know this is in part a Flash Media Server question, but manually writing a video player works.  I would just like to get the Flex 4 VideoPlayer component to play the video.
    Thanks for any help.

    I have the same problem, but it seems that Adobe simply ignores the existence of it.

  • Perl and stored proc question

    Hello,
    I have used ASP w/ many SQL Server stored procs before and many Oracle stored procs with Java before, but I have yet to embark on calling stored procs from Perl.
    My current insert has been like this:
    my $dbh = DBIConnect->connect;     
    my $query1;
    $query1 = "INSERT into DEFAULT_PROJECT (NAME, EMAIL, LOCATION,PHONE,MGRNAME,MGREMAIL,"
        ."PROJNAME,PROJ_LOC,SPON_DEPT,SPON_BUS,PROJ_TYPE)
    ."values (?,?,?,?,?,?,?,?,?,?,?);"But am looking to replicate an equivalent call to an SP. ok, I've created my multi-table insert in SQL Plus, in PL/SQL, and it's just fine, no errors.
    Now I need to make the call.
    I've seen a few different things, including the use of DBIx like
    DBIx::ProcedureCall qw(sysdate);
    I've also seen something like
      $csr =  $dbh->prepare(q{
        BEGIN
          DEFPROJ_FORM_INSERTION;
        END;
       $csr->execute;I'm a bit confused having tried to shake down the CPAN board for a while with little luck.
    Anyone out there know how that call might look or go, given the supplied parameters and stored proc. name?
    I'd assume I'd be assigning the parameterized values much like I am now.
    Can any Perl/Oracle users out there shed any light on this?
    Thanks!

    alright, so I could not get that to work, but just to validate the insert statement I tried to alter it from an SP to a normal dynamic insert SQL statement.
    I get an Oracle error citing
    errERROR: Could not execute SQL! Error: ORA-00911: invalid character (DBD ERROR: OCIStmtExecute)
    DBI ERROR: ORA-00911: invalid character (DBD ERROR: OCIStmtExecute),Maybe I'm overlooking something simple. Anyone see anything out of place that pertains to the SQL statement?
    I think I have input it in a rather manageable, and easy to read block below:
    INSERT ALL
    INTO DEFAULT_PROJECT_USER
    (DEFPROJ_ID,DEFPROJ_ID_LTR,NAME,EMAIL,LOCATION,PHONE,MGRNAME,MGREMAIL,PROJNAME,PROJ_LOC, SPON_DEPT,SPON_BUS,PROJ_TYPE,REG_LEGAL,NETCRED_LOSS, EXPENSE_REDUC_CKB, STRAT_GOALS,AUDIT_COMPL,REV_GEN,CACS,CUSTOMIT,CUST_IMPACT,CALL_MGT,CALL_TRACK,
    CITILINK,DESKTOP,DIALER,DRI,ENGINEER,IMAGING,IPDT,MAINFR,MISC_OTHER,MORTSERV,MORTWEB,NON_MORTSERV,ORIG_PLAT,QUAL_MAP,DATAWARE_REPTS,SERV_APP_VDR,SOUTHBEND,WEB_SVCG,PROBLEM_RESOLVE,EXIST_PROC,BUS_OBJECTIVE,
    PENDING_PROJ,IMPACT_AREAS,REGULATORY_COMPLY,COMPLY_DEADLINE,SUB_DATE,EXPENSE_REDUCTION_TEXT,PRIORITY_RATING,ADDL_COMMENTS,PROJ_TYPE_OTHER,OTHER_EXPL_IT)
    values (defproj_user_seq.nextval,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,to_date(?,'YYYY-MM-DD HH:MI:SS'),SYSDATE,?,?,?,?,?)
    INTO DEFAULT_PROJECT_PROJMGR
    (DEFPROJ_ID,PROJ_MGR,STATUS,IT_PROJ_TYPE,IT_PROJNUMBER,FUNC_SPECS,FUNC_SPECS_DT,FUNC_SPECS_APPR_DT,BRD_APPROVED,BRD_APPROVED_DT,UAT_STARTDT,UAT_ENDDT,TESTER,RELEASE_DT, TARGETED_RELEASE_DT,BENEFIT_AMT,BENEFIT_CMTS,IT_LEVEL,IT_HOURS,FTES_SAVED,NUM_FTES,PROJQUE1,PROJQUE2,ACTUALCBA)
    VALUES (defproj_user_seq.nextval,NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL,NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL,NULL,NULL)
    INTO DEFAULT_PROJECT_QA
    (DEFPROJ_ID,TERM,DEFINITION,BUS_NEED,CUST_IMPACT,CONTACT_NAME,IMPACT,IMPACT_PROCESS,IMPACT_DESC,PROCESS_LOC,PROJ_SCHED,PROJ_JUSTIF,IMPL_DATE,PROJ_EXPL,
    PROJ_TYPE,PROJ_JUST_MIT,PROJ_OWNER,PROJ_DATE_STATUS)
    VALUES (defproj_user_seq.nextval,NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL,NULL, NULL, NULL, NULL, NULL,NULL, NULL,NULL,NULL)
    SELECT object_name AS DEFPROJ_ID_LTR FROM all_objects where rownum <= 1;what could be leading to an invalid character? The error doesn't show which line.
    Thanks, but NEVER MIND...I found it - it's stupid perl! As opposed to a good language (Java).
    It balks at the extra semicolon, unlike Java would.
    Oh, and why am I using Perl you ask? Other than the "yeah, good question response", it's a long story, but suffice to say they don't allow for our UNIX server to be used with Java, just Perl. : (
    I do use Java a good amount here, but sometimes we're bound to crap on another planet where it just isn't an option for the server on which we use Java!
    Maybe someday! : )
    Message was edited by:
    user515689

Maybe you are looking for

  • Authorization issue "No authorization"

    Dears gurus, I created an analysis authorization using tx. RSECADMIN, this contains the IO 0COSTCENTER restricted with some value, and also contains the IO: 0TCAACTVT, 0TCAIPROV, 0TCAVALID. When I assigned it to a role using tx. PFCG. But when the qu

  • System.log check

    Hi I just want someone with system.log skills to take a look at my file. Lately i had some problems with a iMac and i bought a new one and when i was trying to clone back my backup from my earlier iMac I could'n ? always been able to but not this tim

  • Max Function in @Prompt

    Hi, We have a week dimension in our Cal table. The user wants to use a condition where if he will enter week number (for eg: 13-2009) then data of that particular week should be displayed and if he will enter ' * ' then data of last week in the table

  • Goods Received Valuation for Order Delivery

    Dear Experts, In our business process planned order is created through project system. planned order is converted in to production order. while receiving finished goods throgh production order . for exmple:  production order 1:          In finished g

  • MBAM 2.5 - Query

    Hi All, I need some clarity on the below please 1. If my laptop mother board or TPM got damaged and i wanted to recover the same. Can i connect to a different machine and recover the PIN?  Please advice 2. Can i use virtualized solution for MBAM 3. C