Several timeout objects (problem statement object?)

So what I'm trying to do here, is to create objects separate timeOut 4 each applied to 4 different sprites. Each has a variable for the duration that is set to 0 by default so that it does not check even to call the timeout handlers. When the user clicks a sprite, the associated variable that length related sprite timer is set to 5 seconds. When the time runs out, the handler is called stop the timer, resets the variable for the duration of the timer to 0 and changes the image of this particular sprite.

Basically, I want it so that the user can click each individual sprite and each sprite change its image 5 seconds after this specific sprite was clicked.

While my code is probably repetitive and clunky, it seems like it should work for me - but I'm no expert by far. It compiles fine, but when it runs, I get this message:

Script error: object EXPECTED

Timer1 = timeOut () .new ("TEMPORISATEUR1", timeoutDuration1, #timeOut1, me)

What exactly I did wrong? I guess it's a kind of simple syntax error but I can't understand that. I tried to change the name of the objects timer, setting them as global properties, etc., all I can think to do, but I can't understand it. Or am I completely wrong altogether? Thank you very much to all those who can provide assistance.

My code is below.

-----

property spriteNum, pMySpriteRef

property timeOut1, timeOut2, timeOut3, timeOut4

on beginSprite me

timeoutDuration1 = 0

timeoutDuration2 = 0

timeoutDuration3 = 0

timeoutDuration4 = 0

Timer1 = timeOut () .new ("TEMPORISATEUR1", timeoutDuration1, #timeOut1, me)

TIMER2 = timeOut () .new ("TEMPORISATEUR2", timeoutDuration2, #timeOut2, me)

timer3 = timeOut () .new ("timer3", timeoutDuration3, #timeOut3, me)

timer4 = timeOut () .new ("timer4", timeoutDuration4, #timeOut4, me)

end

on enterFrame me

If (_mouse.clickOn = me.spriteNum) then

pMySpriteRef = sprite (me.spriteNum)

If pMySpriteRef = 1 then

timeoutDuration1 = 5000

otherwise if pMySpriteRef = 2 then

timeoutDuration2 = 5000

otherwise if pMySpriteRef = 3 then

timeoutDuration3 = 5000

otherwise if pMySpriteRef = 4 then

timeoutDuration4 = 5000

end if

end if

end

on timeOut1 me

timeOut("timer1").forget)

timeoutDuration1 = 0

Sprite (1) .member = "Jellyfish_new_1."

end

on timeOut2 me

timeOut("timer2").forget)

timeoutDuration2 = 0

Sprite (2) .member = "Jellyfish_new_1."

end

on timeOut3 me

timeOut("timer3").forget)

timeoutDuration3 = 0

Sprite (3) .member = "Jellyfish_new_1."

end

on timeOut4 me

timeOut("timer4").forget)

timeoutDuration4 = 0

Sprite (4) .member = "Jellyfish_new_1."

end

I can't imagine what you have this code attached to it. Why not try something like the following, attached to each individual sprite:

property spriteNum
property my

on beginSprite me
  my = sprite(spriteNum)
end

on mouseUp me
  aTimeout = timeout().new(string(me), 5000, #timeout_callback, me)
end

on timeout_callback me, aTimeout
  aTimeout.forget()
  my.member = member("Jellyfish_new_1")
end

Tags: Director

Similar Questions

  • By aligning several HTML objects on a page?

    I have a page that requires several HTML objects - I have inserted the code in the object > insert HTML, but they are all out of alignment in both the preview within the Muse and preview this page in a browser, even thought that they are perfectly aligned on the creation page. I tried to group the items, but it does not work. Does anyone know how to make sure they all stay in alignment?

    Hello

    This kind of problem occurs generally if the rectangle of the object is greater than the size of the object. He pushes the adjacent object, resulting in misalignment. Please check and make sure the rectangle of the objects is not bigger than the real object.

    Kind regards

    Aish

  • Not possible to store several fileReference object to the same table?

    Hi all

    I'm trying to store several fileReference object in a table. But whenever I have a new object each time push() artefacts which is already in the table gets set on the object later.

    I let the user selecting an image. Then I push the fileReference object selected in a table like my_array.push (FileReference (event.target));

    If I then executes a loop on 'my_array' to check he's glad I get the most recent pushed fileReference for each index object in the table.

    With an object pushed:

    1 Image1.jpg

    With two objects pushed:

    1 Image2.jpg

    2 Image2.jpg

    Anyone has any ideas on this?

    Thank you very much

    Hello

    Sorry for the delay.  You've probably discovered the answer to that now, but in case you do not have or someone else runs into this issue here is the code that should fix this:

    // Local Files
    private var fileList:Array = new Array();
    private var localFiles:FileReference = null; 
    
    private function browse(event:MouseEvent):void {
         localFiles = new FileReference();
         trace("[Browse] Using local files");
         localFiles.addEventListener(Event.SELECT, onLocalFilesSelected);
         localFiles.browse();
    }
    

    The problem is you have had one instance of localFiles, and while that you stored more than once in the table, when the reference has changed it performs all of the table.  Instead, I'm newing up a FileReference browse() service, so that we get a new each time.  I hope that makes sense.

    Chris

  • Using a series of conditional statements to several different objects?

    -Let's say you have several doors on stage for a game.

    -Each door has the ability to change color.

    -When both doors are the same color, a player can move between

    These two doors.

    I have to do this, use code similar to the following:

    doorThree.addEventListener (MouseEvent.CLICK, dooraction);

    function dooraction(event:MouseEvent) {}

    If {('Blue')

    doorOne.gotoAndStop ("Red");

    doorTwo.gotoAndStop ("Blue");

    doorThree.gotoAndStop ("Yellow");

    }

    ElseIf ('Red') {}

    doorOne.gotoAndStop ("Blue");

    doorTwo.gotoAndStop ("Yellow");

    doorThree.gotoAndStop ("Red");

    }

    }

    Is it possible to use this a series of instructions for all if the doors or should I copy and paste

    the same instructions for each instance of door? In the game, I intend, each door has made more than two dozen States, so if I can use a series of cases, I want to do.

    To answer your question about "the same instructions"... If they are the same for all the doors, then allows you to assign this same function for all doors...

    doorOne.addEventListener (MouseEvent.CLICK, dooraction);

    doorTwo.addEventListener (MouseEvent.CLICK, dooraction);

    doorThree.addEventListener (MouseEvent.CLICK, dooraction);

  • Several persistent object

    Hi guys,.

    I am a new blackberry applications developer.  I am working on an app I need to store

    First of all:

    username (String)

    password (String)

    user (String) token

    Then I need to store travel information based on the user's token. Travel information contains a lot of vectors

    such as:

    Names of travel (Vector)

    Locator (vectors) travel

    ....

    I am able to stor channels without any problem in store it and retrieve it without any problem. I have problems storing vectors. This is my persistent class:

    class StoreUserInfo implements Persistable
    {
    private vector _elements;
    public static final int UserEmail = 0;
    public static final int UserPass = 1;
    public static final int UserToken = 2;
     
        Private vector _Trip_Locators; is it good?

    public StoreUserInfo()
    {
    _elements = new Vector (3);
    for (int i = 0; i)< _elements.capacity();="">
    {
    _elements. AddElement (new String(""));
    }
            
             _Trip_Locators = new Vector();  ////
    }
        
    public String getElement (int id)
    {
    Return (String) _elements.elementAt (id);
    }
        
    ' Public Sub setElement (int id, String value)
    {
    _elements.setElementAt (value, id);
    }
        
        public Vector getTripLocator()
    {
    Vector temp = new Vector();
    for (int j = 0; j)< _trip_locators.capacity();="">
    {
    temp.addElement (_Trip_Locators.elementAt (j));
    }
    Return (Vector) temp;
    }
        
        
    public void setTripLocator (String addValue)
    {
    _Trip_Locators.addElement (AddValue);
    }

       
     
    }

    Here's how to store information:


    synchronized (storeUser)
    {
    If (storeUser.getContents () is nothing)
    {
    storeUser.setContents (new Vector());
    storeUser.commit ();
    }
               
    UserInfoData = new Vector();
    UserInfoData = storeUser.getContents ((vector));
                        
    StoreUserInfo info = new StoreUserInfo();
    info.setElement (StoreUserInfo.UserEmail, UName);
    info.setElement (StoreUserInfo.UserPass, PWord);
    info.setElement (StoreUserInfo.UserToken, UserReceivedToken);
                        
    UserInfoData.addElement (info);
    storeUser.setContents (UserInfoData);
    storeUser.commit ();

    }

    and here's how to get the information stored:

    Synchronized (storeUserSaved)
    {
    If (storeUserSaved.getContents () is nothing)
    {
    storeUserSaved.setContents (new Vector());
    storeUserSaved.commit ();
    }
             
    SavedData = new Vector();
    SavedData = storeUserSaved.getContents ((vector));
             
             
    If (!.) SavedData.isEmpty ())
    {
    Info StoreUserInfo = (StoreUserInfo) SavedData.lastElement ();
    Political = info.getElement (StoreUserInfo.UserEmail);
    pass = info.getElement (StoreUserInfo.UserPass);
    sentUserToken = info.getElement (StoreUserInfo.UserToken);

    These work very well. However, I want to know how to store several objects (Vector) as unique user name.

    Could someone help me with this? I browsed the forum and I found similar posts, but still I can not solve this problem.

    Thanks in advance guys.

    Shan

    You can store a vector in the store persistent as long as all classes stored in the vector to implement the persistable interface.

    Can you elaborate on the problem that you are experiencing?  Is an error or an exception thrown?  If so, what is it?

  • Error in uncheck allow several resource object in the console design

    Hello

    I need to uncheck the allow several object resource into Console design, but operation generates an error, and the change is not applied.

    IOM will be 11 GR 1 material.

    DB read: select distinct ugp.ugp_key, ugp.ugp_name, ugp.ugp_display_name of the PMU PMU, gpg gpg where ugp.ugp_key = gpg.ugp_key and (gpg.gpg_ugp_key (23))
    [2013 03-21 T 06: 24:27.516 - 07:00] [oim_server1] [NOTIFICATION] [] [XELLERATE. PERFORMANCE] [tid: [ASSETS].] [ExecuteThread: '3' for the queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 91039ee4d5030ad9:6a4e2a3a:13d88717e95 :-8000-0000000000005521,0] [APP: IOM #11.1.1.3.0] query: DB: LOAD 0: 0, TOTAL: 0
    [2013 03-21 T 06: 24:27.516 - 07:00] [oim_server1] [NOTIFICATION] [] [XELLERATE. DATABASE] [tid: [ASSETS].] [ExecuteThread: '3' for the queue: "(self-adjusting) weblogic.kernel.Default"] [userId: xelsysadm] [ecid: 91039ee4d5030ad9:6a4e2a3a:13d88717e95 :-8000-0000000000005521,0] [APP: #11.1.1.3.0 IOM] DB read: SELECT count (*) as count of oug WHERE obj_key = 7 and (ugp_key in (1,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,21,22,23)) and oug_write = '1'
    [2013 03-21 T 06: 24:27.517 - 07:00] [oim_server1] [NOTIFICATION] [] [XELLERATE. PERFORMANCE] [tid: [ASSETS].] [ExecuteThread: '3' for the queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 91039ee4d5030ad9:6a4e2a3a:13d88717e95 :-8000-0000000000005521,0] [APP: IOM #11.1.1.3.0] query: DB: LOAD 0: 0, TOTAL: 0
    [2013 03-21 T 06: 24:27.517 - 07:00] [oim_server1] [NOTIFICATION] [] [XELLERATE. DATABASE] [tid: [ASSETS].] [ExecuteThread: '3' for the queue: "(self-adjusting) weblogic.kernel.Default"] [userId: xelsysadm] [ecid: 91039ee4d5030ad9:6a4e2a3a:13d88717e95 :-8000-0000000000005521,0] [APP: #11.1.1.3.0 IOM] DB read: select evt.evt_key, evt.evt_name, evt.evt_package dob dob, evt evt, dvt dvt where dob.dob_key = dvt.dob_key and dvt.evt_key = evt.evt_key and (dob.dob_name = 'com.thortech.xl.dataobj.tcOBJ' or dob.dob_name = dob.dob_name = 'com.thortech.xl.dataobj.tcDataObj' or 'com.thortech.xl.dataobj.tcTableDataObj') and dvt.dvt_pre_update_sequence > 0 by dvt.dvt_pre_update_sequence order
    [2013 03-21 T 06: 24:27.518 - 07:00] [oim_server1] [NOTIFICATION] [] [XELLERATE. PERFORMANCE] [tid: [ASSETS].] [ExecuteThread: '3' for the queue: "(self-adjusting) weblogic.kernel.Default"] [userId: xelsysadm] [ecid: 91039ee4d5030ad9:6a4e2a3a:13d88717e95 :-8000-0000000000005521,0] [APP: IOM #11.1.1.3.0] query: DB: 1, LOAD: 0, TOTAL: 1
    [2013 03-21 T 06: 24:27.518 - 07:00] [oim_server1] [ERROR] [] [XELLERATE. SERVER] [tid: [ASSETS].] [ExecuteThread: '3' for the queue: "(self-adjusting) weblogic.kernel.Default"] [userId: xelsysadm] [ecid: 91039ee4d5030ad9:6a4e2a3a:13d88717e95 :-8000-0000000000005521,0] [APP: IOM #11.1.1.3.0] class/method: tcDataObj/save error: failed to update data
    [2013 03-21 T 06: 24:27.518 - 07:00] [oim_server1] [NOTIFICATION] [] [XELLERATE. DATABASE] [tid: [ASSETS].] [ExecuteThread: '3' for the queue: "(self-adjusting) weblogic.kernel.Default"] [userId: xelsysadm] [ecid: 91039ee4d5030ad9:6a4e2a3a:13d88717e95 :-8000-0000000000005521,0] [APP: #11.1.1.3.0 IOM] DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity of err where err_code ='DOBJ. UPDATE_FAILED'
    [2013 03-21 T 06: 24:27.519 - 07:00] [oim_server1] [NOTIFICATION] [] [XELLERATE. PERFORMANCE] [tid: [ASSETS].] [ExecuteThread: '3' for the queue: "(self-adjusting) weblogic.kernel.Default"] [userId: xelsysadm] [ecid: 91039ee4d5030ad9:6a4e2a3a:13d88717e95 :-8000-0000000000005521,0] [APP: IOM #11.1.1.3.0] query: DB: 1, LOAD: 0, TOTAL: 1
    [2013 03-21 T 06: 24:27.519 - 07:00] [oim_server1] [ERROR] [] [XELLERATE. DATABASE] [tid: [ASSETS].] [ExecuteThread: '3' for the queue: "(self-adjusting) weblogic.kernel.Default"] [userId: xelsysadm] [ecid: 91039ee4d5030ad9:6a4e2a3a:13d88717e95 :-8000-0000000000005521,0] [APP: IOM #11.1.1.3.0] class/method: tcDataBase/rollbackTransaction some problems: Rollback performed [[...]
    java.lang.Exception: Rollback performed
    at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(tcDataBase.java:578)
    at com.thortech.xl.dataobj.tcDataObj.rollback(tcDataObj.java:904)
    at com.thortech.xl.dataobj.tcDataObj.doRollback(tcDataObj.java:867)
    at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:538)
    at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2906)

    After you apply BP06, let the Multiple Option cannot be changed from true to False [1556385.1 ID]

  • How to evolve several selected objects (type) 'In Place?'

    I have reflected on the window of the scale, also "scale" dialog box that is the same dialog box "pull-down" in the main menu and tool... The selected items are resized to the size but also they are resized by location so everything shrinks its place. In Illustrator CC, several selected items can be resized "in place?

    Try the transformation of each command from the object > Transform menu.

  • Try to resize C:\ on preproduction servers that are less than 59 GB using several Where-Object checks

    Hi people

    Im trying to increase all disks C:\ of different sizes for a uniform 60 GB.

    I found a thread in this community that attempts to automate it as follows:

    Get-hard drive - vm "my VM | where {$_.} Name - eq 'disk 1'} | Together-hard drive - CapacityGB 60 - ResizeGuestPartition-confirm: $false

    To confirm, the command works but the ResizeGuestPartition does not work, so I need to automate this later.

    For now the key is to get this working and it does not appear:

    Get-VM-Tag "preproduction" | Where-Object {$_.} Guest.OSFullName - like ' * Windows Server * "- and $_. PowerState - eq 'Receptor' - and ($_.) Guest.Disks.Path - eq "C:\". "- and $_. Guest.Disks.CapacityGB - lt 59)}

    Im trying to figure out how to use a hash table / script block to tell if the disc is "C:\". "and the size of this drive is less than 59 GB, then resize the disk. Before I resize the disks, I need to validate the im servers get back are indeed correct - for the moment, they are not as I checked inspected these variables manually through PowerGUI (excellent by the way).

    Even if I'm just trying to Get-VM-Tag "preproduction" | Where-Object {$_.} Guest.Disks.Path - eq "C:\". "- and $_. Guest.Disks.CapacityGB - lt 59} the result does not work and I think that its because it detects all the disks and then said there is at least one drive which is equal to "C:\". "and at least a drive that is less"Go 59 -"but I need it to be the same disk not different disks for obvious reasons, otherwise the result will always be wrong.

    LucD im sure you meet a reading, I would really appreciate your help

    Im trying to start searching for a cleaner steamer so that I don't have to run several lines of code to achieve the same.

    Much appreciated,

    Mike

    Try like this

    Get-VM-Tag "preproduction" |

    Where-Object {$_.} Guest.OSFullName - like ' * Windows Server * '- and

    $_. PowerState - eq 'Receptor' - and

    (($_. Guest.Disks | where {$_.} Path - eq "C:\". »}). (CapacityGB-le 59)} |

    Select name

  • XML editor integration with OFA for several display objects

    Dear all,

    I have a problem in the integration of XML with the OAF Page.

    I'm generating the xml using the XMLNode class tags. And I was succeed for object a point of view. But now I am faced with the question with two display objects (which is not dependent on each other).

    Are there any entries you its urgent.

    Thanks in advance,

    Kind regards

    Anil Kumar

    Dear all,

    I found the solution for this... Please find the Code.

    The controller code:

    If (pageContext.getParameter ("generateRpt")! = null)

    {

    String po_number = (String) pageContext.getTransactionValue ("PO_NUM");

    System.out.println ("The PO number s i-" + po_number);

    Serializable params [] = {fromDate, to this day, docNo, pendingType, reqNo, po_number}; //

    Class paramType [] =

    {String.class, String.class, String.class, String.class,

    String.Class, String.Class}; //

    DataObject sessionDictionary = pageContext.getNamedDataObject("_SessionParameters");

    HttpServletResponse response = (HttpServletResponse) sessionDictionary.selectValue (null,

    "HttpServletResponse");

    Try

    {

    System.out.println ("Inisde generate button step 2");

    ServletOutputStream os = response.getOutputStream ();

    If (ReportFormat1! = null &!) ReportFormat1.equals(""))

    {

    If (ReportFormat1.equals ('PDF'))

    {

    System.out.println ("Inisde generate button step 3");

    contentDisposition = "attachment; filename = quote Report.pdf";

    response.setHeader ("Content-Disposition", contentDisposition);

    response.setContentType("application/pdf");

    BT = TemplateHelper.OUTPUT_TYPE_PDF;

    }

    If (ReportFormat1.equals ("XLS"))

    {

    System.out.println ("Inisde generate button step 4");

    contentDisposition = "attachment; filename = quote Report.xls";

    response.setHeader ("Content-Disposition", contentDisposition);

    response.setContentType("application/vnd.ms-excel");

    BT = TemplateHelper.OUTPUT_TYPE_EXCEL;

    }

    }

    ByteArrayOutputStream OutputStream = new ByteArrayOutputStream();

    Byte = bufutf''. getBytes();

    outputStream.write (bufutf);

    XMLNode xmlNode [] = new XMLNode [10];

    xmlNode = (XMLNode []) am.invokeMethod ("executeReportPO", params, paramType);

    System.out.println ("IN CO");

    xmlNode [1] .print (outputStream);

    xmlNode [2] .print (outputStream);

    Byte = bufutf1''. getBytes();

    outputStream.write (bufutf1);

    System.out.println ("Testying-" + outputStream.toString ());

    ByteArrayInputStream InputStream = new ByteArrayInputStream (outputStream.toByteArray ());

    ByteArrayOutputStream fileData = new ByteArrayOutputStream();

    TemplateHelper.processTemplate (((OADBTransactionImpl) pageContext.getApplicationModule (webBean) .getOADBTransaction ()) .getAppsContext (),)

    APP_NAME, TEMPLATE_CODE,

    ((OADBTransactionImpl) pageContext.getApplicationModule (webBean) .getOADBTransaction ()) .getUserLocale () .getLanguage ();

    ((OADBTransactionImpl) pageContext.getApplicationModule (webBean) .getOADBTransaction ()) .getUserLocale () .getCountry ();

    inputStream, bt, null, fileData);

    System.out.println ("inside the template code");

    Byte [] b = fileData.toByteArray ();

    response.setContentLength (b.length);

    OS. Write (b, 0, b.length);

    OS. Flush();

    OS. Close();

    System.out.println ("inside the model code1");

    }

    catch (System.Exception e)

    {

    throw new OAException (e.getMessage ());

    }

    }

    GOT the Code:

    public XMLNode [] executeReportPO (String fromDate, String to date,

    String docNo, String pendingType,

    String reqNo, String ponum)

    {

    System.out.println ("Generate Inisde AM step 1 button" + ponum);

    ByteArrayOutputStream OutputStream = new ByteArrayOutputStream();

    ItemPendingPoVOImpl vo = getItemPendingPoVO1();

    Vo1 PoDetailVOImpl = getPoDetailVO1();

    Try

    {

    vo.setWhereClauseParams (null);

    vo.setWhereClauseParam (0, docNo);

    vo.setWhereClauseParam (1, reqNo);

    vo.setWhereClauseParam (2, fromDate);

    vo.setWhereClauseParam (3 so far);

    vo.setWhereClauseParam (4, pendingType);

    vo.executeQuery ();

    System.out.println ("Request"- + vo.getQuery ());

    String whereconditionpo = "PONO ='" + ponum + "'";

    VO1.setWhereClause (whereconditionpo);

    VO1. ExecuteQuery();

    System.out.println ("query 2--->" + vo1.getQuery ());

    System.out.println ("Inisde generate button step 2 in AM");

    } catch (System.Exception e)

    {

    throw new OAException (e.getMessage ());

    }

    s int = vo.getRowCount ();

    System.out.println ("number of rows affected" + s);

    XMLNode NodeList = new XMLNode [] [10];

    Try

    {

    NodeList [1] = ((XMLNode) vo.writeXML (4, XMLInterface.XML_OPT_ALL_ROWS));

    ((XMLNode) vo.writeXML (4,)

    XMLInterface.XML_OPT_ALL_ROWS)) .print (outputStream);

    System.out.println (OutputStream.ToString ());

    System.out.println ("Inisde generate button step 1");

    NodeList [2] = ((XMLNode) vo1.writeXML (4, XMLInterface.XML_OPT_ALL_ROWS));

    ((XMLNode) vo1.writeXML (4,)

    XMLInterface.XML_OPT_ALL_ROWS)) .print (outputStream);

    System.out.println (OutputStream.ToString ());

    return NodeList;

    } catch (System.Exception e)

    {

    throw new OAException (e.getMessage ());

    }

    }

    Kind regards

    Anil Kumar Pasupala

  • Several error objects db after Upgrate EBS 12.1.1 to EBS 12.1.3

    Hello

    recently, we have improved our EBS 12.1.1 to 12.1.3 and there is almost 777 objects disabled after recompilation using adadmin.

    I tried to recompile INVALID objects using utlrp.sql, but I am getting below error.

    SQL > @utlrp.sql
    SELECT dbms_registry_sys.time_stamp ('utlrp_bgn') timestamp of double
    *
    ERROR on line 1:
    ORA-00904: "DBMS_REGISTRY_SYS." "" Time_stamp ": invalid identifier


    DOC > the following PL/SQL block calls UTL_RECOMP to recompile invalid
    DOC > objects in the database. Recompilation duration is proportional to the
    DOC > number of invalid objects in the database, so this command can take
    DOC > a time to run on a database with a large number of invalid
    DOC > objects.
    DOC >
    DOC > use the following queries to track progress of the recompilation:
    DOC >
    DOC 1 >. Query returns the number of remaining invalid objects. This
    DOC > number should decrease with time.
    DOC > SELECT COUNT (*) FROM obj$ State WHERE (4, 5, 6);
    DOC >
    DOC 2 >. Query returns the number of objects compiled so far. This number
    DOC > should increase over time.
    DOC > SELECT COUNT (*) FROM UTL_RECOMP_COMPILED;
    DOC >
    DOC > This script automatically chooses the recompilation of series or parallel
    DOC > based on the number of available CPUs (cpu_count setting) multiplied
    DOC > by the number of threads per processor (parameter parallel_threads_per_cpu).
    DOC > RAC, this number is added on all RAC nodes.
    DOC >
    DOC > UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
    DOC > recompilation. Jobs are created without instance affinity while they
    DOC > may migrate across RAC nodes. Use the following queries to check
    DOC > if UTL_RECOMP jobs are created and function properly:
    DOC >
    DOC 1 >. Query showing jobs created by UTL_RECOMP
    DOC > job_name SELECT FROM dba_scheduler_jobs
    DOC > WHERE job_name like '% UTL_RECOMP_SLAVE_ ';
    DOC >
    DOC 2 >. Work UTL_RECOMP showing queries that run
    DOC > job_name SELECT FROM dba_scheduler_running_jobs
    DOC > WHERE job_name like '% UTL_RECOMP_SLAVE_ ';
    DOC > #.
    DECLARE
    *
    ERROR on line 1:
    ORA-04067: not executed, the package body "APPS. UTL_RECOMP' does not exist
    ORA-06508: PL/SQL: called program unit is not found: 'APPS. UTL_RECOMP.
    ORA-06512: at line 4 level


    SELECT dbms_registry_sys.time_stamp ('utlrp_end') timestamp of double
    *
    ERROR on line 1:
    ORA-00904: "DBMS_REGISTRY_SYS." "" Time_stamp ": invalid identifier



    PL/SQL procedure successfully completed.

    DOC > query indicates the number of objects that were compiled
    DOC > with errors (things that compile with errors have status set to 3 in)
    DOC > obj$). If the number is higher than expected, please examine the error
    DOC > messages reported with each object (using SHOW the ERRORS) to see is they
    DOC > point to the constraints of misconfiguration or a resource system that must be
    DOC > fixed before you try to recompile these objects.
    DOC > #.
    Select COUNT (*) 'OBJECTS WITH ERRORS' of $ obj where status = 3
    *
    ERROR on line 1:
    ORA-00942: table or view does not exist


    DOC > query indicates the number of errors caught during
    DOC > recompilation. If this number is nonzero, please you interrogate the error
    DOC > messages in the table UTL_RECOMP_ERRORS to see if one of these errors
    DOC > are due to a misconfiguration or a resource of the constraints that must be
    DOC > fixed before objects can compile successfully.
    DOC > #.
    Select COUNT (*) "ERRORS during the RECOMPILATION" in utl_recomp_errors
    *
    ERROR on line 1:
    ORA-00942: table or view does not exist


    DECLARE
    *
    ERROR on line 1:
    ORA-00942: table or view does not exist
    ORA-06512: at line 31


    BEGIN dbms_registry_sys.validate_components; END;

    *
    ERROR on line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier ' DBMS_REGISTRY_SYS. VALIDATE_COMPONENTS' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored


    Please advise to others.
    Thanks in advance,
    NISH

    SQL > @utlrp.sql
    SELECT dbms_registry_sys.time_stamp ('utlrp_bgn') timestamp of double
    *
    ERROR on line 1:
    ORA-00904: "DBMS_REGISTRY_SYS." "" Time_stamp ": invalid identifier

    Please see (ORA error Utlrp.sql return to year-00904: "DBMS_REGISTRY_SYS".) ("" Time_stamp ": invalid identifier [ID 1487630.1]).

    Thank you
    Hussein

  • Several HTML objects do not align

    In the footer of my site from muse, I have two HTML objects that appear side-by-side. One is a live stream from a site rating, the other is a Facebook like box. Both are an approved code, appear in Muse, Muse has already published it live properly, but since yesterday will not. The Facebook like box keeps appearing far to the right even if it is in the margin in Muse. If I chose to publish with either HTML individually, they publish in the exact spot I would. As soon as I publish both the Facebook scoots above box left.

    I read in other forums that the problematic movements can be helped by grouping objects if they are placed in an envelope together with the publication. It has yet to help my problem either. It is an online site and must be corrected.

    www.hanahanfamilydentistry.com

    Hello

    This kind of problem occurs generally if the rectangle of the object is greater than the size of the object. He pushes the adjacent object, resulting in misalignment. Please check and make sure the rectangle of the objects is not bigger than the real object.

    Kind regards

    Aish

  • Several timer objects

    Hi all

    I'm working on a VI for the monitoring and control of several sensors/actuators, which of course is included inside a large loop that continues to run continuously. I tried to create several independent counters, which must lock on a 'REAL' spur (can only last for about 1 second) and stay on the station for X seconds. After that, the timer should reset and are waiting for the next pulse 'TRUE', which is given by the user at irregular intervals

    The problem I've encountered maintains the value of the start time. I realize, one usually uses quick registry in combination with a while loop to retrofeed such a value. However, this seems to stop execution of the rest of the VI (so that the timer-while the loop is running) until the timer expires. In addition, I would like to set the timer to a Subvi or similar in order to use multiple copies (use LVOOP maybe?).

    Any help would be to solve the problem of loop while or by creating a timer class - would be much appreciated.

    ntictac

    To use a VI in several places of independently then you need the reentrant VI. So, if you do the ESEC reentrant VI it should solve your problem.

  • Several Audio objects in Captivate 5...

    Hello

    I want to create a series of Captivate 5 slides that contain many audio objects, these objects will play the sound associated with a point defined by mouse click, rollover or a similar event.  The blade should stay persistent until the user clicks a button that them will advance to the next slide in which a similar format will be presented.

    The creation of the progress button is a simple case, but the creation of audio objects that will play due to various user events doesn't seem so simple, and maybe it's because I'm still finding my hat of timelines of Captivate.

    I tried to create slidelets I add audio to and then tried to add the property on working capital to run the advanced measures.  I then created an expression in which I put a script to extract the current image and add value to it so that it would allow the slide to the natural pause point that has been created with the introduction of buttons.  However this led to undesirable effect of simply enable all the sound elements at the same time.  When I spread the slidelets in the time line after the break of the button, only the slidelet was available, as the other were too quirky in the timeline panel and were not visible at the time of the break.

    I was just wondering if I'm on the right track here, or if there is a simple way to do what I want to do, which is to allow students to text and rollover/click and hear audio text, or to have a button that will do it.  It might also allow students to see an issue that when you click on the answer will be spoken.

    Any help is greatly appreciated.

    Kind regards.

    Captivate 5 - Version 5.0.0.596

    On a 32-bit Windows XP system

    Hi insearchofanswers,

    No worries!  Once I was very distressed about something and got a fix here.  The very simple solution - visibility for my items.

    I wasn't sure how to create audio on a button, because I have not used this technique before, but I did a little searching around and found this excellent How - to's:

    http://iconlogic.blogs.com/weblog/2007/05/adobe_captivate_1.html#TP

    It's for Captivate 2, but I tried on Captivate 4 and it still worked.  I'm sure that it will still work with Cap5, too.  Good luck!

  • setVolume on several sound objects

    Hello

    I try to use setVolume on different sound objects. What I find is that when I put the volume of an object, it gives it to all sound objects.

    My control script is an object of class that defines a new object sound as a property of itself:

    This.sound_object = new Sound();
    This.sound_object.attachSound (this.sound_name);
    This.sound_object.setVolume (flight);

    This is how it is supposed to work? I would be happy if there was a way to control the volume of the sound objects.

    skullnz wrote:

    > this.createEmptyMovieClip ("sound_object", 50);
    > this.attachSound (this.sound_name);
    > this.start (0, 9999);

    Blep! Evil

    So as to create the movieclip empty is so a timeline exists to play
    your sound. After that, you should always create a Sound object to control
    the sound in this timeline. Therefore, the code should be:

    MC var = this.createEmptyMovieClip ("sound_object", 50);
    This.s = new Sound (mc);
    this.s.attachSound (this.sound_name);
    This.s.Start (0, 9999);

    Tim.

  • Problem statement of score

    Hello

    I use Captivate 5 on Windows 7.

    I came across a problem that I've not seen before. I have a project with a quiz in the end. 2 points is the maximum score and 1 point favorite pass.

    When I test the course I get 2 points and I can see that in my LMS but he said spend.

    I checked the objects inventoried in Captivate and 2 points is the maximum.

    Any ideas on what might have gone wrong?

    Kind regards

    Patrik

    Ok.  This could help.  Set the report parameter on LMS percent instead of Score and change the Quiz > option of pass/fail per cent as well.  Set it to something less than 100 percent.  If you have only two questions and they need only to obtain a right of way, then you can set it to 50% for a pass.

    The way you put in place at the moment means that if your username gets two questions just your LMS could see a score of 200% and a few LMS will balk at this kind of result and does not report the score. (Maybe because it would corrupt their algorithms to score internal database or something.)  In any case, you must make sure that the best possible score is 100% and nothing more.

Maybe you are looking for