Odd error: "not found in the object handler: #newObject ' (to a sprite object)

Hello


I am facing a strange error in the jargon. I'm using Director 11.5 on Windows 7.


First I rebuild me a tutorial for netConnection to the Director. It worked well.

Then I added a few extra features and then - a strange error where nothing much has changed, and that worked fine before. Lingo now knows the Manager 'newObject' to the pSprite of sprite! Why?

Bild

The code regarding this type of error is a behavior to the button connect. The code is the following:

global pNetConn
global gUserList
property pSprite

on beginSprite (me)    
  pSprite = sprite(me.spriteNum)
  pSprite.cursor = 280  
end beginSprite




on mouseDown (me)  
  sIch = me.stripSpaces( sprite(3).text ) 
  put "eigener Name ist: "& sIch
  if ((sIch = "") or (sIch = void)) then    
    alert "Bitte geben Sie Ihren eigenen Namen an."     
  else       
    gNameSelbst = sIch    
    if voidP(pNetConn) then
      me.setConnection()
    end if
    me.getUserList()    
    go frame(23)      
  end if  
end mouseDown





on setConnection me  
  pNetConn = pSprite.newObject("NetConnection")  
  pSprite.setCallback(pNetConn,"onStatus",#statusUpdate,me)
  pSprite.setCallback(pNetConn,"clientListChannel",#userListUpdate,me)
    tURL = "rtmp://xxxxxxxx"
  pNetConn.connect(tURL)  
end setConnection


on statusUpdate aArg1, aArg2  
  if (aArg2.code = "NetConnection.Connect.Success") then    
    -- Hier erfolgt später die Sendung des eigenen Videostreams an den Server
  end if  
end statusUpdate





on userListUpdate aArg1, aArg2  
  luserList = aArg2  
  if   (luserList <> void) then    
    put "-----USER-LIST UPDATE------"
    gUserList = []    
    repeat with counter = 0 to luserList.length -2      
      sname = luserList[counter].label
      gUserList.add(sname)  
    end repeat    
  end if  
end userListUpdate



on stripSpaces (me, aString)  
  -- clear all spaces from the string
  repeat while offset(SPACE,aString)
    tCharIndex = offset(SPACE,aString)
    delete aString.char[tCharIndex]
  end repeat  
  -- return the string
  return aString  
end


The code of the tutorial that works is as follows:

Here the NetConnection instance is built in the exitFrame on - but I already tried this in my new code above without success. Moreover, I intentionally xxx - ed URL ;-) Of course, in the original, there is a correct server address.

global gNames
property pCamera
property pInStream
property pMicrophone
property pNetConn
property pOutStream
property pSprite

on exitFrame (me)
  if voidP(pNetConn) then
    me.initiateConnection()
  end if  
end exitFrame

on initiateConnection (me)
  pSprite = sprite(me.spriteNum)
  pNetConn = pSprite.newObject("NetConnection")
  pSprite.setCallback(pNetConn,"onStatus",#myOnStatus,me)
  tURL = "rtmp://xxxxxx"
  pNetConn.connect(tURL)
end initiateConnection

on initiateStreams (me)
  tCamObj = pSprite.newObject("Camera")
  pCamera = tCamObj.get()
  tMicObj = pSprite.newObject("Microphone")
  pMicrophone = tMicObj.get()
  pOutStream = pSprite.newObject("NetStream",pNetConn)
  pOutStream.attachAudio(pMicrophone)
  pOutStream.attachVideo(pCamera)
  pOutStream.publish(gNames.publishName,"live")
  pInStream = pSprite.newObject("NetStream",pNetConn)
  pInStream.play(gNames.subscribeName)
  pVideoClip = pSprite.getVariable("VideoClip",FALSE)
  pVideoClip.attachVideo(pInStream)  
end initiateStreams

on endSprite 
  if not( voidP(pOutStream) ) then
    pOutStream.close()
  end if
  if not( voidP(pInStream) ) then
    pInStream.close()
  end if  
  if not( voidP(pNetConn) ) then
    pNetConn.close()
  end if  
end endSprite

on myOnStatus me, aArg1, aArg2  
  put aArg2.code  
  if (aArg2.code = "NetConnection.Connect.Success") then    
    me.initiateStreams()    
  end if  
end myOnStatus

Nobody was always the same error? Can someone tell me where the savings? Or is this some sort of bug? I really don't know what could be wrong. I'd appreciate any help!


Thank you

Jana

If you use code such as:

pSprite.newObject ("whatever")

then the sprite that it is attached to , you must be Flash - thing will cause an error

Tags: Director

Similar Questions

  • View CD can't mistake of player Director, was not found in the object #getPropRef, Script error. Continue?, yes no

    OT: Error player Director, not found in the object #getPropRef, Script error. Continue?, Yes No. nursing student cannot run his CD CD practice to work on other laptops. but not on it!

    Nursing Student cannot carry out its practice CD which comes with Prentice Hall Nursing book: "medical and nursing care 2nd edition, comments & justifications surgical."  CD works on PC and a laptop running Windows XP, Vista and Windows 7 and on an iMac; but not on it!  She has a Toshiba laptop with Windows Vista Home Premium and it just doesn't work!  My wife has lent her one of its laptops with Windows Vista, but the CD works fine.  What is the problem? I called Prentice Hall and got no help from them!  They said it was a computer problem.  This student is an exchange student and she would really any help.  I tried to clean the system and even tried the Optimizer5.2 perfect for the correction of errors in Script, but it didn't work.  Help please!  My only recourse is to backup all files and wipe the disk clean and start again to do a reinstall of all applications.  Any other ideas?  She had the phone since 2005 and the hard drive has only about 30% free space left on 147 GB.

    Hello cobblestone47,

    1. What is the version of the steering drive you use on your computer?

    2. the other users who are able to play the CD using the Director or shockwave player player is

    Player de Macromedia Director is also known as the Shockwave Player. I suggest that you uninstall the Director player and install the latest version of Shockwave player, and check if you have the same problem.

    You can follow the link below to download and install the latest version of Shockwave player:

    http://get.Adobe.com/Shockwave/

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • Property not found in the object?

    My Document class is an object called Allegheny, which extends MovieClip.

    Within the Allegheny, I set values variable _d static string and _g.

    Allegheny, I call several times in another object called MuniAllegheny.

    In MuniAllegheny, I need to call to use the _d value and the value of _g.

    I can do that if I write:

    muniallegheny_g = Allegheny._g;

    But if I spend Allegheny as a parameter to MuniAllegheny and I try to write:

    muniallegheny_g = thisMuni._g;

    You made them static... If you need to access through the class itself, not an instance of it. Make static, or access it through Allegheny.

  • Property named 'name' is not found on the subject: VcVirtualMachine

    Hello

    I'm struggeling with a strange problem.

    I try to get all the VMS in vcenter (s) through sdk like this:

    var sdkConnections = VcPlugin.allSdkConnections;
    for (var i = 0; i < sdkConnections.length; i ++) {}
    var sdkConnection = sdkConnections [i];
    machines virtual var = sdkConnection.getAllVirtualMachines ();
    If (vms.length > 0) {}
    for (var j = 0; j < vms.length; j ++) {}
    var vm = vms [j];

    After that, I try to get the id and the name like this (e.g.) to write in the log example:

    System.log ("--> > > DEBUG - IE '" + vm.id + "'");

    System.log ("--> > > DEBUG-name '" + vm.name + "'");

    but DO NOT several id EXISTS in the vcenter BDD but coming back since the sdk?
    Te is a virtual machine with the id "id-47", which is not in the vpx_vm table
    but another with the id 'id-647' is in this table.
    When I try to get the name (vm.name) of the two I find myself in an exception with the message "property named 'name' is not found on the object: VcVirtualMachine.
    I tried to avoid this and to verify the existence of the property, but without success.
    How well to check the existence of the 'vm.name' without ending up in an error?
    (another question would be: why is the receiving of vm via the sdk which do not exist in vcenter?)
    Thank you!!!
    Chris

    Use try/catch...

    This will allow your code to continue treatment and simply log the errors rather than throw an exception.

    try{
    // your code here....
    }catch(err){
         System.log("Error: "+err);
    }
    
  • ACS 5.2 error 22056 object was not found in the identity applicable store (s)

    Hi, I have two ACS v 5.2 (primary and secondary) and some users are in stor in-house and others are in the ad.

    Local site topology is like this:

    PC - AP - WLC - ACS - AD

    Authentication method is PEAP(EAP-MSCHAPv2), and all users have the company certificate installed. In users of client OS is Windows 7.

    Users worked very well, but some reports disconnections of intranet users. I see in the ACS connect many "22056 object was not found in the identity of the point of sale." and "24415 Active Directory user authentication failed because the user account is locked out" alarms.

    I thought that it was because the user located in the AD of basic data, but sometimes the same user is authenticated successfully and other that I see the "22056..." or "... 24415" alarm signals.

    I changed the primary role for ACS to works as secondary and we see the same alarms.

    I Don t know is a matter of ACS, and how to resolve this...

    Please helpme

    Thank you...

    Hello

    How you are authenticating these users? They are present in the local database of GBA? If so, have you checked the State from inside account to see if the user account is still active and that it is not disabled?

    Thank you

    Tarik Admani
    * Please note the useful messages *.

  • "Object not found in the device.

    Hello

    When I try to add the new controller in the WCS (ver. 4.1.91.0), I get this error:

    "Cannot add the device at a rate of WCS: object was not found in the device.

    The controller was added earlier and then deleted again. When I try to add the controller again, I get the above error. It's a WLC2106 I'm trying

    Both the WCS and the new controller works fine, and I tried to start both.

    Still not the same error when you try to add.

    Anyone know what it could be?

    TIA

    Peter

    Yes I do, or restore your controller for 4.1.185 if this version works for you...

  • error AVCFPlayerSetclientEnforcedExternalProjectionMethod is not found in the AVFoundationCF.dll dynamic link library

    I tried to update my iTunes this weekend.  Now, I can't open it I get this error: AVCFPlayerSetclientEnforcedExternalProjectionMethod is not found in the AVFoundationCF.dll dynamic link library is on a Windows 7 computer.  I tried to re - install outside of iTunes and repair.  But no luck.  Should I uninstall iTune and then re-install?  Help.

    These errors can usually be fixed by removing the offending dll, then fix the component it is programs and features Control Panel. AVFoundationCF.dll belongs to Apple Application Support and are normally in

    • C:\Program Files\Fichiers Files\Apple\Apple Application Support or
    • C:\Program Files (x 86) \Common Files\Apple\Apple Application Support

    where the name of the Program Files folder may vary depending on the region.

    For general advice, see troubleshooting problems with iTunes for Windows updates.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach. Review other cases and a list of documents to support further down the page, in which case one of them applies.

    More information area has direct links with the current and recent if you have problems to download, must revert to a previous version or want to try the version of iTunes for Windows (64-bit-for old video cards) as a workaround for the problems of performance or compatibility with third-party software.

    Your library must be affected by these measures, but it is also related to backup and recovery advice if necessary.

    TT2

  • "The expected Version of the product is not found on the system" error message during the Installation of Service Pack 1

    I got the error message 'the expected version of the product was not found on the system' when I was installing Microsoft Office Professional 2003 Enterprise Edition (Microsoft Office Outlook 2003 with updated business contact to update Manager) Service Pack 1. I wonder that someone has a solution to resolve this error message. Your help is greatly appreciated.

    Jim

    You cannot install Office 2003 Service Pack 1 when overview of InfoPath 2003 Service Pack 1 is installed

    If which are not related to the situation, suggest it ask you for help by the experts of the Officeinstallation, modernization, and activating Microsoft Office products Forum.

    MowGreen Services update - consumer safety

  • Plustek OpticBook 3600 will not install error that an error occurred during the installation of the device. The required section was not found in the INF

    Original title: Plustek OpticBook 3600 is not installed

    Found new hardware wizard runs, but after scanning stops the disc from the manufacturer with the message ' year error occurred during the installation of the device.»  The required section was not found in the INF"

    PC system is homebuild which, in theory, exceed the minimum requirements of the system of manufacturers.  Operating system is Windows XP Pro with Service Pack 3.  The scanner is connected to the USB 2.0 card that is not separately powered, but installed in the PCI slot.  I suspect that the problem lies in the PC rather than the scanner. but do not know what the problem is.  Any help would be appreciated!

    Hello
    You can try the troubleshooting provided in the link below steps to fix the problem.

    You receive a "unable to install this hardware" or "an error has occurred during installation" error message when you try to install a PCI device

    http://support.Microsoft.com/kb/841567

    Note:

    To do: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows

    http://support.Microsoft.com/kb/322756

    See also:

    Error message: cannot install hardware. An error occurred during the Installation of the device

    http://support.Microsoft.com/kb/810882

  • Get FL.exe - Entry Point not found 'point of entry procedure for NtAlpcSendWaitReceivePort not found in the dynamic link library ntdll.dll' error at boot fruity loops.

    Original title: ntdll.dll error at boot fruity loops.

    get FL.exe - Entry Point not found 'point of entry procedure for NtAlpcSendWaitReceivePort not found in the dynamic link library ntdll.dll' error when I try to start fruity loops after installing Kies from samsung for the new phone. How can I fix this error? Help, please. Thanks in advance! :)

    Hello
    I suggest you contact support FL. I couldn't find all of the resources for this program.
    Eddie B.

  • Receive the error message "query Kort is not found in the winitnet.dll.

    How can I get rid of query Kort is not found in the winitnet.dll

    Hello

    1 how long have you been faced with this problem?
    2. don't you make changes on the computer before this problem?
    3. when exactly you get this error message?

    Please answer these questions and tell us more about the issue. This could help us help you better. However, try to perform the SFC (System File Checker) scan on the computer and check.

    SFC tool scans system files and replaces incorrect versions of system files by using the correct versions.

    To run the System File Checker tool, follow these steps:

    1. Click Start and type cmd in the box start the search.
    2. right click on cmd in the list programs and then click Run as administrator.

    If you are prompted for an administrator password or a confirmation, type your password or click on continue

    3. at the command prompt, type the following line and press ENTER:

    sfc/scannow

    Reference: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/system_file_checker.mspx?mfr=true

  • I am installing service pack 2 for windows vista home edition I get the error not found 0 x 80070490

    I try to install service pack 2 for windows home edition vista, I get the error not found 0 x 80070490 msicexec has an option to make extended logging, but spinstall/help shows all options.

    Split of: http://answers.microsoft.com/thread/82972695-1d12-4a07-9d72-0f9928a68dc1

    Hello

    Apologize for the delay in response. Please see the following article to resolve the issue of Service pack 2 installation:

    Error code 0 x 80070490 when you use Windows Update or Microsoft Update to install updates

    Note: Make sure you back up your data before you perform a repair of Windows installation.

    Hope this information helps. Back to us for assistance.

  • Age of Empire 3. error 1334. Cannot install the file 'hispaniola_map.ddt' because the file is not found in the CAB file ' Disk3C ~ 1.cab '.

    I recently bought Age of Empires 3 and tried to install it.  I get to drive three - until almost the end - when I'm "error 1334. Cannot install the file 'hispaniola_map.ddt' because the file is not found in the file ' Disk3C ~ 1.cab '. This may indicate a network error and the error reading CD-ROM, or a problem with this package. "The installation continues until the end of the progress bar, but it reads"Rolling Back Action"for about fifteen seconds before I got a"feature transfer error", which reads" error:-1603 Fatal error during installation. " Consult the help of Windows Installer (Msi.chm) or MSDN for more information. "Then, the Setup program stops and tells me that the game failed to install and my system has not changed.  I cleaned the disk and it is in good condition. My computer also meets all the requirements for the game. I looked everywhere for an answer, but so far none has solved the problem. I tried to install it without the firewall and antivirus software running, in addition to install in safe mode.  Any suggestions?

    Hi void 1337,

    Follow the suggestions below for a possible solution:

    Method 1: I suggest that you put the computer to boot and then try to install the game and check to see if it helps:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Method 2: You can also follow the link and check if it solves the problem:

     

    Error message when you install a Microsoft game or a mapping program

    http://support.Microsoft.com/kb/258496

    You can also view the article mentioned below to learn more:

    Microsoft games: InstallShield Error Messages

    http://support.Microsoft.com/kb/910816

    If the above mentioned methods do not work, then post your request in the age of the forum of the empire for further assistance:

    http://Forum.AgeCommunity.com/

     

    Let us know if that helps.

  • Could not locate the component error, not found MSVCRT10.dll,

    trying to bring to the top of Photoshop CS3 after reinstalling because of a factory reset on my computer, receive a "unable to locate component error" not found MSVCRT10.dll, but this file is located in the file C:\Program (x 86) \Adobe\Adobe Photoshop CS3\Plug-Ins.  What should I do now?

    Hello

    Photoshop CS or third-party plug-ins remove of Photoshop CS3/Plug-ins folder.

    1. remove all third-party plug-ins designed in the folder of Photoshop CS3/Plug-Ins for Photoshop CS and Photoshop CS.

    2. If you have set the plug-ins folder of Photoshop CS as an additional plug-ins folder in Photoshop CS3, choose the command Edition > Preferences > Plug-Ins and scratch disks and do one of the following:

    -Uncheck the option of additional Plug-Ins folder.

    -Click on select, then select a folder that contains no third party plug-ins designed for Photoshop CS or Photoshop CS plug-ins.

    If the problem persists after the question in the Adobe Photoshop forums.
    http://forums.Adobe.com/community/Photoshop/photoshop_windows?view=discussions

  • Gettig error message: value "HKEY_LOCAL_MACHINE\": "ConfigDir" is not found in the registry for the Corel software

    Original title: Corel Software-related Error Messages, I tried to delete

    I'm getting 2 error messages associated with a Corel program I tried to remove it.  The messages are:

    1. "HKEY_LOCAL_MACHINE\" value: "ConfigDir" not found in the registry
    2. the language of the INTERFACE of vase directory is not valid

    I press Ctl-Alt-Del to exit pop ups of the error, and when appears in the Task Manager, the tasks that I have to stop are:
    1. bad language directory
    2. corel

    This happens when I right click on Office Documents and sometimes on my USB files. All opinions are appreciated. Thank you.

    Hi Bea Haive,.

    The problem may occur if the language pack is not installed correctly or not installed at all.

    To resolve this problem, you will need to re - install the language pack.

    You can consult the Corel support for more information links:

    http://CorelDRAW.com/forums/p/1748/6342.aspx

    http://CorelDRAW.com/forums/t/5386.aspx

    You can also get in touch with Corel for additional assistance:

    http://CorelDRAW.com/forums/

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for