Timer to alternately show/hide 2 objects

Hi,
I'm trying to learn how to use a Timer and AS3 to set up 2 objects (for example, 2 squares, each with a separate instance name) that would show/hide alternately for 500 ms each for 30 seconds (30000 ms) total. Easy enough to do using a timeline, but instead, I need to set this up to include using AS3 to add to a companion .as script file (Main.as), which loads and all runs on Frame 1. I first looked at using setTimeout or setInterval, but these don't seem to have enough properties to do what is needed. So, Timer is probably the best choice. I've read the online documents and examples for a Timer, but still can't figure out how for example to alternate one object's 500 ms show with the other's 500 ms hide, then alternate/switch them, and stop the alternating sequence after 30 seconds.
Any help, example AS3 script would be great help.
Regards,

Hi Ned,
Unfortunately that's what I have been trying, without success. Actually, have gotten fairly stuck in experimenting and am hoping that someone can provide a simple example. The following is some of the "gibberish" that I tried without success.
private var c1On: uint = 500
private var c1Off: uint = 500
private var c2On:uint = 500
private var c2Off:uint = 500
private var c1OnTimer:Timer
private var c2OnTimer:Timer
c1OnTimer = new Timer(c1On, 30);
c1OnTimer.addEventListener(TimerEvent.TIMER, c1OnF);
public function c1OnF(event:TimerEvent) {
mcsquare1.visible = true
mcsquare2.visible = false
c2OnTimer = new Timer(c2On, 30);
c2OnTimer.addEventListener(TimerEvent.TIMER, c2OnF);
public function c2OnF(event:TimerEvent) {
mcsquare2.visible = true
mcsquare1.visible = false
c1onTimer = new Timer(c1On, 30);
c1onTimer.addEventListener(TimerEvent.TIMER, c1onF);  
//onTimer.start();
}//end
public function c1onF(event:TimerEvent) {
mcsquare1.visible = true
mcsquare2.visible = false
}//end c1onF
c1offTimer = new Timer(c1Off, 30);
c1offTimer.addEventListener(TimerEvent.TIMER, c1offF);  
//onTimer.start();
}//end
public function c1offF(event:TimerEvent) {
mcsquare1.visible = false
mcsquare2.visible = true
}//end c1onF

Similar Messages

  • Buttons trigger continue even when just Show/Hide (captivate 6 windows 7)

    I have a simple image button that is designed to act as a close button for a modal popup window in Captivate (Constructed from a smart shape and a caption box).
    The button uses the "Hide" method to hide a target Group. This works fine, but I have noticed the button is also triggering the playhead to "Continue" also.
    It seems that a button I have a "Show" action on also behaves this way. I don't want the playhead to continue, I just want to Show/Hide the objects on the slide. Is there a way to achieve this without haveing the playhead continue, resulting in going to a new slide?
    Thanks in advance,
    Sam

    Sam,
    I'm not so sure this means more maintenance, because the advanced action needs only one statement and can easily be duplicated and edited. For simple actions you also have to select the action (Hide/Show) from the dropdown list, then choose the object using another dropdown list. If you count the number of clicks, this means about the same work. I have explained this important difference about releasing the play head between simple and advanced standard action in a blog post and a YouTube tutorial:
    http://lilybiri.posterous.com/why-choose-standard-over-simple-action
    http://www.youtube.com/watch?v=M3nKi-DB6Fw
    Perhaps you could even save time, but then I have to know if this 'group' of objects is different on each slide or the same? Or are some objects the same? A toggle button is also a possibility, in Captivate 6 you can have shape buttons timed for the rest of the project or on a master slide, which is not possible for the old image buttons.
    Lilybiri

  • How to hide one object within a group

    Is it possible to show/hide one object within group using the Timeline? I don't need to hide it in output, just need to show/hide it in the Timeline for convenience while working on a slide.

    It's funny that they will let you expand/collapse the group in the timeline window, but not edit visibility. At any rate, I suggest you enter a feature request and/or bug report here: http://www.adobe.com/go/wish
    The more people that bother them about it, the more likely they are to fix it.

  • Show/Hide Multi State Object

    I can show a multistate object by having a blank state and then going to state 2, but how can I hide this?

    Please download "DPS Tips" on iPad.
    http://itunes.apple.com/us/app/digital-publishing-suite-tips/id436199090?mt=8
    There are 4 Folios in the DPS Tips, and check "button hot spots" in Overlays.
    It will help you, I think.
    shimoawazu

  • Error while trying to view the details table from Show/Hide icon

    What we are having is two tables, Outer and Inner, having Outer VO and Inner VO,outer VO is linked with inner VO. Now when I am trying to view the inner table
    through Show/Hide icon to see the details of the table ,I am getting an error like ...
    The record with primary key values {2280} could not be found in view object MisForecastHeadOfiiceAM.InnerTableVO_OuterInnerVL_InnerTableVO.
    I want to know how this error can be resolved

    Hi Abdul,
    We are not getting error while searching. As said earlier
    While search for the first time > We could see proper results in out table and Even show/hide is working fine and display correct data in Inner table
    When searching for the second time with different criteria > We could see proper results in outer table and on clicking show/hide (to view inner table data), we are getting error.
    The record with primary key values {2280} could not be found in view object AM.ViewLinkVL_InnerTableVO
    From the error message, we found that its trying to get the row (of inner table) pertaining to first search results and not for the outer table row in context to second search results.

  • Using Mozilla FireFox 2.0 to show/hide themes,I get errors

    I use IE6.0 to show/hide themes,there are no errors.
    When I use Mozilla FireFox 2.0,I got the following errors.
    does anybody can help me?
    Thank you in advance.
    07/03/20 12:55:06 INFO [oracle.sdovis.CacheMgr2] Creating/replacing a geometry c
    ache group: sdovis_subreg_mvdemo_jdbc:oracle:thin:@delcantsy:1521:csu2 : KINGS_H
    WY_GEOMETRY_PDT_GEOM.
    07/03/20 12:55:07 ERROR [oracle.lbs.foi.FOIServlet] java.lang.NegativeArraySizeE
    xception
    at oracle.lbs.foi.foiUtil.calculateHtmlLineArea(foiUtil.java:306)
    at oracle.lbs.foi.foiUtil.getLineStringAreaStr(foiUtil.java:1096)
    at oracle.lbs.foi.FOIServer.getHTMLMapString(FOIServer.java:855)
    at oracle.lbs.foi.FOIServer.renderFOILayer(FOIServer.java:555)
    at oracle.lbs.foi.FOIServlet.doPost(FOIServlet.java:178)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(Server
    SocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocket
    AcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(
    ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    07/03/20 12:55:07 ERROR [oracle.lbs.foi.FOIServlet] [Foi Server] foi process err
    or.

    yes linestring themes will have the same restriction as polygon themes: you can add multiple of them, but you may experience strange behaviors when you attempt to turn one of them on or off. So the best practice is to ensure there is only one linestring/polygon type theme-based FOI added to the MVMapView object at any time.
    This restriction is there mainly because of IE6's inability to support PNGs with alpha transparency natively.
    And yes you may notice some difference in performance between IE and FF, mainly because for IE we have to apply additional processing so that it can handle PNGs with alpha transparency which introduces a lot of overhead.
    hope this helps,
    LJ

  • Getting Stale Data error in show/hide of Advance table

    Hi,
    Am using hide/show in advance table.If open the hide/show in 1st row then it shows correct data ,if i click the next row's show hide then its shows the same result as ist row, and i try to use show/hide link more thann three times then it throws stale data error given below.
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
    Cause:
    The record with primary key values {1400} could not be found in view object MisForecastHeadOfiiceAM.InnerTableVO_OuterInnerVL_InnerTableVO.
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    This problem doen't exsist when i deplo it to the server.
    But recently i marked if open a show/hide link of a row and add then add another row to the table and save.Then the same problem reflects in the instance also.
    What may be the possible cause.
    Thanks

    if i click the next row's show hide then its shows the same result as ist row, and i try to use show/hide link more thann three times then it throws stale data error given below.
    >>> Seems like your VO linking is not proper. Does your VO have primary keys defined? Do you have any custom code on these VO?
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Show/Hide sensor in sensor mapping express VI

    Hi all,
    I'm using and modifing Sensor mapping express VI to develop my application.
    I tried to hide/show sensors but without success.
    Is there a property node or invoke node to show/hide 3d scene objects?

    Hi Fourier,
    I don't think there is the possibility to hide/show sensor in Express Sensor Mapping.
    While you configure your express VI you need to select sensor in order to map to a model, and reconfigure the Express VI again non in Run-time in order to add/remove sensor.
    I'll try to look for a solution, and if I'll find it, I'll forward it to you. But I didn't find any helpful informationsyet .
    Best Regards.
    Claudio
    NI ITALY
    AE Dept.

  • What is the best way to show/hide n number of columns ?

    Hi,
    I have a dynamic report that I have show/hide columns working using the below code. But when there are 500 or more rows it takes about a minute or more just waiting to see the columns toggle.
    What is the best way to do this?
    // Existing Javascript
    [script language="JavaScript" type="text/javascript"]
    var maxcnt= mymonths.length;
    function hideMaxEarn(){
    for(var j=0;j[maxcnt;j++){
    hideColumn('MON'+mymonths[j],'MAXCOL'+mymonths[j]);
    hideColumn('MON'+mymonths[j],'EARNCOL'+mymonths[j]);
    hideColumn('MON13','MAXCOL13');
    hideColumn('MON13','EARNCOL13');
    function showMaxEarn(){
    for(var j=0;j[maxcnt;j++){
    showColumn('MON'+mymonths[j],'MAXCOL'+mymonths[j]);
    showColumn('MON'+mymonths[j],'EARNCOL'+mymonths[j]);
    showColumn('MON13','MAXCOL13');
    showColumn('MON13','EARNCOL13');
    function getCellIndex(pRow,pCell){ 
    for(var i=0, n=pRow.cells.length;i[n;i++){ 
        if(pRow.cells[i] == pCell) return i;
    function hideColumn(pMon,pCol){
    var l_Cell = $x(pCol);
    var l_Table = html_CascadeUpTill(l_Cell,'TABLE');
    var l_Rows = l_Table.rows;
    l_CellI = getCellIndex(l_Cell.parentNode,l_Cell);
    for (var i=0, n=l_Rows.length;i[n;i++){
        if(i != 0) {
           html_HideElement(l_Rows[i].cells[l_CellI]);
    } else {
    $x(pMon).colSpan = $x(pMon).colSpan - 1;
    function showColumn(pMon,pCol){
    var l_Cell = $x(pCol);
    var l_Table = html_CascadeUpTill(l_Cell,'TABLE');
    var l_Rows = l_Table.rows;
    l_CellI = getCellIndex(l_Cell.parentNode,l_Cell);
    for (var i=0, n=l_Rows.length;i[n;i++){
        if(i != 0) {
           html_ShowElement(l_Rows[i].cells[l_CellI]);
    } else {
    $x(pMon).colSpan = 3;
    return;
    [script]

    Hi Andy,
    Yes, I replaced the code calling the same things in a loop to one loop getting the Table reference once and I build an array of column numbers at the time the report is built so I don't have to get the column number each time....
    it is a couple of seconds faster in about a 30 second response time. It will have to do it for now, no more time unless you see something in this new code...
    Thank you! Bill
    // dynamically built code
    col_nbr_array = new Array();
    col_nbr_array[0] = "1";
    col_nbr_array[1] = "2";
    col_nbr_array[2] = "4";
    col_nbr_array[3] = "5";
    col_nbr_array[4] = "7";
    col_nbr_array[5] = "8";
    col_nbr_array[6] = "10";
    col_nbr_array[7] = "11";
    col_nbr_array[8] = "13";
    col_nbr_array[9] = "14";
    col_nbr_array[10] = "16";
    col_nbr_array[11] = "17";
    col_nbr_array[12] = "19";
    col_nbr_array[13] = "20";
    col_nbr_array[14] = "22";
    col_nbr_array[15] = "23";
    col_nbr_array[16] = "25";
    col_nbr_array[17] = "26";
    col_nbr_array[18] = "28";
    col_nbr_array[19] = "29";
    col_nbr_array[20] = "31";
    col_nbr_array[21] = "32";
    col_nbr_array[22] = "34";
    col_nbr_array[23] = "35";
    col_nbr_array[24] = "37";
    col_nbr_array[25] = "38";
    col_nbr_array[26] = "40";
    col_nbr_array[27] = "41";
    // Static code
    function show_hide_column(do_show) {
    // Set Style, Show/Hide
    var stl;
    var csp;
    if (do_show){
    stl = 'block'
    csp = 3;
    }else{
    stl = 'none';     
    csp = 1;     
    // get rows object
    var l_Rows = document.getElementById('DT_RANGE').rows;
    var totCellNbr1=parseFloat(col_nbr_array[maxcnt-1])+2;
    var totCellNbr2=totCellNbr1 +1;
    var n=l_Rows.length;
    for (var i=0; i[n;i++){
        if(i != 0) { // if not the main header which spans 3 cols when expanded
          // Go through and show/hide each cell
          for(var j=0;j[maxcnt;j++){
              l_Rows[i].cells[col_nbr_array[j]].style.display = stl;
    // Totals
    l_Rows.cells[totCellNbr1].style.display=stl;
    l_Rows[i].cells[totCellNbr2].style.display=stl;
    } else { // row 1 that has Month spelled out - colspan of 3, others has max,earned and score columns for each month.
    var maxhdr = maxcnt/2;
    for(var k=1;k[=maxhdr;k=k+1){
    //alert('Header['+k+']');
    l_Rows[i].cells[k].colSpan=csp;
    // Total column
    //alert('TotHeader['+(maxhdr+1)+']');
    l_Rows[i].cells[maxhdr+1].colSpan=csp;
    [script]

  • Issue with page processing - confirmation message & show /hide a button..

    Hello,
    I am working on a to do list application.
    I have events and for each event, I show list of tasks (grouped in reports based on the calculated task's status).
    In one region I have a drop down list of events and a Select Event button.
    For each task, I had to create a CLOSE option (initially I used a link, but the requester wanted a confirmation before closing the task).
    Now I have a checkbox for each task (generated dynamically with apex_item.checkbox(1,task_id)).
    Closing a task in my application means to set the end_date to sysdate.
    I followed the instructions from
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/check_box.htm#CEGEFFBD. I've created also a button and a process and updated the sql from "delete" to "update".
    The process is set: OnSubmit - After Computations and Validations; Run Process Once per page visit (default).
    The issue number 1 is that I see the confirmation message (that tasks have been closed) every time I reload the page (the same when I click Select_event button).. not only after I press on that Close_task button..
    For issue number 2, I have to mention that I've added a condition to show / hide the Close_task button, only if I have at least 1 task in the report.
    The issue number 2 is that I see the button only if I click 2 times on the Select_Event button.. The same is for hide.
    I feel like I am missing something very important about how to synchronize different events(buttons clicks), processes..
    help..?
    Thank you!
    Anca

    This forum is magic..
    As soon as write here, I find the answer!
    Issue 1: I fixed it by specifying this: When Button Pressed (Process After Submit When this Button is Pressed) and my button. I miseed this 1st time.
    Issue 2: I moved the button after the report.. and now it's working just fine!
    I did this about it for some time before asking the question here.. but I just had to write here and got the right answer ;)
    Have a nice day!
    Anca

  • In Address Book, any way to Show/Hide groups from view in the "ALL" view?

    I have groups of contacts in Address Book (v4.0.4) that I plan to use in the future, but right now having to wade through and past all of their individual entries when I am scanning my contact list in the "All" group view. Is there any way to Show/Hide these sub-groups with a visibility check-box? The sub-group name would still be there in the group list (to remind me that it exists and make it visible if desired), but I would have a lot less clutter and scrolling the rest of the time.
    I know I can export groups in vCard format and re-import later, but a lot of my original custom fields for the contacts are lost in the process. Is there a 3rd-party plug-in? (Apple, are you working on something like this?)

    Hi Mike, My Address Book app is behaving correctly (maybe I'm not).
    I'm just saying there are times when I want to see "most" of my total collection of contacts, maybe just for the purpose of creating new groups at particular time and want to see at one time the pool of contacts I have to choose from. There are groups that I very seldom need to use, so it would be a way of putting those groups (and their contacts) into "cold storage."
    I also may want to do searches from among most of my contacts, but also I may want to eliminate certain other particular groups from that search pool. That is the reason for wanting to do the "Show/Hide" thing. It is a way of displaying a logical "ALL" minus "SOME", which is the basically same thing as displaying the logical "UNION" of more than one group of contacts at one time. Can this be done?
    Is there a way to open alternate address books, from within the same Address Book app (and logged in as the same user)? That would allow me to truly isolate my work list from my home list.
    One answer to this occurs to me: I could create different log-ins on my PowerBook, and build the different variants of the Address Book I might want into each login and use Fast User Switching to get into each list of contacts. That seems like a lot of extra work . . . and logging in. Any suggestions?
    Scott

  • Robo v9 Show/Hide without Twisties - One button no longer working

    Hey there, as stated I am using Robo v9 with Show/Hide without Twisties (One button) with javascipts.  We have most of our images using DHTML drop-downs and when folks click on "Show All Images" on the page, the GIF changes to "Hide All Images" and all drop-downs (our images) and expanding text are diaplayed.
    It had been working all the time, but now it only works when I right click the topic in the TOC and choose "Edit Topic", then while in the Edit Window (Display view), when I do a View (Ctrl-W) and it displays the page within RoboHelp..I can click the "Show All Images" and it works like it always had.  BUT, if that page is not in the Edit Window, and I right click "Preview Topic", the click "Show All Images" (or on the DHTML dropdown itself) it will NOT show the images, *but the GIF image does properly toggle to "Hide All Images" (and if I do again, then it properly toggles to the "Show All Images" GIF, if I do it again), but now NO images are getting displayed for some reason.  It also NEVER works properly when I publish to our website (even when clicking the DHTML dropdown itself), but the GIF images toggle properly.
    If I right click and choose "Preview Topic" and click "View With" and use Internet Explorer 8 it still never works anymore, unless the topic is in the Edit Window (Display View), so I know the issue is not on the server.  It stops working after I do a generate and run on my pc.  Also when I view it IE8 within Robo (and Allow the Blocked Content to run the scripts), many instances of the same error is shown as:
    Message: Access is denied. 
    Line: 2646
    Char: 3
    Code: 0
    URI: file:///D:/Users/_RBH9_TPO-Generate/v9-testing/ehlpdhtm.js
    ...but I *do* have access to the folder system, but in checking the coding of the ehlpdhtm.js, that area show, where I believe line 2646, character 3 starts at the "values = getAttribute(element, prop );" line below...but maybe something does not exist:
    ==
      //End HTML code invoked function
    function InitEffect( element, prop )
    var values = null;
    if( getAttribute(element,prop)) 
      values = getAttribute(element, prop );
    else if( getAttribute( element, "currentStyle" )  && element.currentStyle.getAttribute)
      values = element.currentStyle.getAttribute( prop );
    else  if (element.style.getAttribute)
      values = element.style.getAttribute( prop );
    if( !values )
      return;
    var functions = new Array();
    ==
    I have a much older backup when restored, it all works properly again in all cases, but I have done so much work since then that I think would need to be manually redone.  I have played with keeping those some javascipts alone (in case I changed something) and updated the rest of the data files I had added, deleted the .CPD file, but it somehow stops working again, probably with some updated file.  I am not sure what specific files could be causing the negative impact that is preventing it from working.  Maybe if I knew what files could impact, I couldrestore those from my old backup.  The newer backups when restored do not work properly, so there was a point in time where something changed and is causing this.
    All prior versions of RoboHelp (v7 and v8) have always worked and still do.  I am using v9.0.1.262, as the latest version has not yet been allowed on our pcs (per security), but since my earlier backup works, I thought it may not be the issue, but wanted to tell you anyway.  ;->
    Any ideas on how I should proceed?  What files may have impact to cause it not to work anymore?  The showhide.js is the only .js to show up as a baggage file.  Also, the DHTML line does exits in each html page's code, as we are still using Robo v7 as the production software and the Show/Hide always works, and I copy them into the respective Robo v9 folders (and if new, then I copy them, then import them), otherwise the newer v7 updated pages are copied over the older v9 html files while RoboHelp is closed.
    Thanks in advance for any info you can provide!

    I may have figured out what to fix to get v9 back to working on the Show/Hide button, but not the "why?" .
    It looks to all be dealing with the Robo automatic html coding of where to locate the .js file(s)...here is a quick overview of this issue and what I did.  When I view the non-working pages within Internet Explorer 8 within Robo (and Allow the Blocked Content to run the scripts), I saw many instances of the same error is shown as this in the log, which implied since I *do* have access rights, maybe the file was just not being found.
    Message: Access is denied.
    Line: 2646
    Char: 3
    Code: 0
    URI: file:///D:/Users/_RBH9_TPO-Generate/v9-testing/ehlpdhtm.js
    OK, here are my findings.  EXAMPLE #1 and EXAMPLE #2 below are excerpts of the same file.  EXAMPLE #1 is from Robo v7 and is copied to the v9 folder after it was updated so our soon to be "production" webhelp will be from Robo v9 (instead of making the same manual updates in Robo v9 as in Robo v7, I copy the updated the .html file to the Robo v9 file system).  Note the direction of the directory slashes of the java scripts listed below, as they are all DOS type slashes (back slashes), EXCEPT for ehlpdhtm.js as it is the ONLY one using UNIX (forward) slashes.
    EXAMPLE #1 (from Robo v7)
    ==
    <link rel="StyleSheet" href="..\..\sty-std-topic.css">
    <script type="text/javascript" language=JavaScript x-save-method=compute-relative
    src="..\..\showhide.js"></script>
    </head>
    <body>
    <robohelp><script type="text/javascript" language=JavaScript1.2 src="../../ehlpdhtm.js"
    x-save-method=compute-relative></script>
    <script type="text/javascript" language=JavaScript1.2>
    <!--
    if( typeof( InitEffects ) != 'function' ) InitEffects = new Function();if( typeof( InitTrigger ) != 'function' ) InitTrigger = new Function();if( typeof( FilePopupInit ) != 'function' ) FilePopupInit = new Function();if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
    //-->
    </script>
    ==
    EXAMPLE #2(from Robo v9)
    This is from the restored backup of the Robo v9 files that always work when I restore them, and note they are ALL UNIX (forward) slashes.  These backup files were generated from Importing/Upgrading a copy of the Robo v7 files into Robo v9.
    ++
    <title>[Endpoint Protection] Symantec Overview</title>
    <link rel="StyleSheet" href="../../sty-std-topic.css" type="text/css" />
    <script type="text/javascript" language="JavaScript" src="../../showhide.js">
    </script>
    </head>
    <body>
    <?rh-script_start ?><script src="../../ehlpdhtm.js" type="text/javascript" language="JavaScript1.2">
    </script><?rh-script_end ?>
    ++
    Additional info: The following is from another file from the Robo v9 backup files that always WORK and once again they are ALL UNIX (forward) slashes. 
    ~~
    <link rel="StyleSheet" href="../../sty-std-topic.css" type="text/css" />
    <script type="text/javascript" language="JavaScript" src="../../showhide.js">
    </script>
    </head>
    <body>
    <?rh-script_start ?><script src="../../ehlpdhtm.js" type="text/javascript" language="JavaScript1.2">
    </script><?rh-script_end ?>
    ~~
    BUT since all .js files are referenced in EXAMPLE #1 have DOS slashes (back slashes), EXCEPT for the ehlpdhtm.js, I decided to change the line in ehlpdhtm.js FROM src="../../ehlpdhtm.js" TO src="..\..\ehlpdhtm.js" and IT (this one page) BEGAN WORKING AGAIN after I published.  So having all DOS back slashes DOES work in Robo v9!!!!  BUT it appears that Robo v9 only generates new pages using UNIX (forward) slashes in ALL coding.  I've read about issues like this occurring with the FireFox browser, but we only use IE8, and have not read anything like this related to IE8 issues. 
    So if all UNIX forward slashes and all DOS back slashes can work in Robo v9 in finding and using ehlpdhtm.js, (the Show/Hide buttons function properly) why is this problem existing in Robo v9 when there are mixed "slashes" (using forward and backward)?  ...and the mixed slashes ALWAYS works in Robo v7!  They do not have to all be in the same direction in Robo v7 as it appears to have to be in the newer/more advanced Robo v9.  Why does it matter that all slashes need to be all the same direction, if Robo v9 CAN actually read and figure out the DOS back slashes (formatted by Robo v7 creation) and actually generates UNIX forward slashes for the .js files in new Robo v9 output within the .html?
    More importantly will I have to always do a Global search and replace in Robo v9 to change the direction of the "back slashes" when I copy updated Robo v7 .html files into the Robo v9 folders (instead of manually reworking each change), while in transition from v7 to v9?
    Thanks in advance any information, recommendations, and feedback as your time is greatly appreciated!

  • Show Database Get "Object was not found"error

    Hi there,
    I have a weird situation here.
    I created Data Guard Broker setup and show configuration return good result.
    It is running for quite a while, and I can see if I switch log file on Primary, the Max Seq# is matched between Primary and Standby. Also do a lot of other test query all return good result.
    But today when I happen to run Show Database command it says the DB object not found,
    and there is no error in DRCxxx.log file.
    Did I miss something? Any suggestions are appreciated.
    ===============Script===================
    --Standby
    mkdir log1/dgbroker
    mkdir log1/dgbroker/XXXPRD2R
    mkdir log2/dgbroker
    mkdir log2/dgbroker/XXXPRD2R
    --Primary
    mkdir log1/dgbroker
    mkdir log1/dgbroker/XXXPRD2
    mkdir log2/dgbroker
    mkdir log2/dgbroker/XXXPRD2
    -- primary
    alter system set dg_broker_config_file1='/oracle/log1/dgbroker/XXXPRD2/dg1XXXPRD2.dat' scope=both;
    alter system set dg_broker_config_file2='/oracle/log2/dgbroker/XXXPRD2/dg2XXXPRD2.dat' scope=both;
    -- standby
    alter system set dg_broker_config_file1='/oracle/log1/dgbroker/XXXPRD2R/dg1XXXPRD2R.dat' scope=both;
    alter system set dg_broker_config_file2='/oracle/log2/dgbroker/XXXPRD2R/dg2XXXPRD2R.dat' scope=both;
    -- primary
    alter system set dg_broker_start=true scope=both;
    -- standby
    alter system set dg_broker_start=true scope=both;
    -- primary
    dgmgrl /
    create configuration 'dg_XXXPRD2' as primary database is 'XXXPRD2' connect identifier is 'XXXPRD2';
    add database 'XXXPRD2R' as connect identifier is 'XXXPRD2R' maintained as physical;
    enable configuration;
    ===============Script===================
    DGMGRL> show configuration
    Configuration - dg_XXXPRD2
    Protection Mode: MaxAvailability
    Databases:
    XXXPRD2 - Primary database
    XXXPRD2R - Physical standby database
    Fast-Start Failover: DISABLED
    Configuration Status:
    SUCCESS
    DGMGRL> SHOW DATABASE XXXPRD2
    Object "XXXPRD2" was not found
    DGMGRL> show database XXXPRD2R
    Object "XXXPRD2R" was not found
    -----------------------------------------------

    Hello;
    What I have noticed is sometimes single quotes count and sometime they don't.
    Try :
    SHOW DATABASE 'XXXPRD2';
    Test
    Welcome to DGMGRL, type "help" for information.
    Connected.
    DGMGRL> show database standby
    Object "standby" was not found
    DGMGRL> show database 'standby';
    Object "standby" was not found
    DGMGRL> show database 'STANDBY'; 
    Database - STANDBY
      Role:            PHYSICAL STANDBY
      Intended State:  APPLY-ON
      Transport Lag:   (unknown)
      Apply Lag:      
      Real Time Query: OFF
      Instance(s):
        STANDBYSo getting the case matters too.
    DGMGRL> SHOW DATABASE STANDBY;
    Object "standby" was not found
    DGMGRL> Best Regards
    mseberg
    Edited by: mseberg on Jan 18, 2013 2:21 PM

  • With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?

    With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?
    I have developed a form with fields hidden by default, that become visible based on box ticked or radio button selections.
    My problem is that, when I close the form and re-open it, it comes back to it's default presentation, regardless of the information already recorded in the form (including in the now hidden fields.
    How to correct that
    Thanks in advance for any hint you can provide.

    I've had the same problem. This solved it...
    Go to the "Form properties..." in the File-menu. Select "Run-time" to the left and in the box "Scripting" Preserve scripting changes to form when saved: choose Automatically (Script-based state changes are saved locally in an insecure fashion. This option cannot be used for certified forms).
    Hope it works for you to...

  • Can't get show/hide subform to work.

    Although I've done my best to show/hide a subform through a radio-button in Livecycle, I can't get it to work.
    Any help will be greatly appreciated.
    Please see:
    https://dl.dropboxusercontent.com/u/92058288/problem.jpg
    https://dl.dropboxusercontent.com/u/92058288/hide%20or%20show%20subform.pdf

    You have created the object on Master page that causing the issue also missed the 'presence' after object name. I redesign the form but not on master Page and apply the below script and its working
    Click event of 'Nee' radio button
    if(this.rawValue == 1)
    xfa.form.form1.subform1.sub1.presence="hidden";
    Click event of 'Ja' radio button
    if(this.rawValue == 1)
      xfa.form.form1.subform1.sub1.presence="visible";
    For more info refer the below screenshot.

Maybe you are looking for