Button tregers twice

hi...
i have a button inside a movie clip.I want to open a site in
a browser window when i clicks the button so i write the script
inside the button .But when i click the button two windows are
opening with the same url...[the movie clip has animation]
can u help me...?

Yes, I logged a SR yesterday.
Yesterday I solved it defining a navigatorion rule to the same JSP. I don't know why it paints the button twice when the method return a null as outcome.
I haven't test what you suggest about adding an "id" property to all componentes. Is it a JSF requirement when using a foreach tag?
Thanks

Similar Messages

  • Button painted twice

    We have in a JSP two selectOneChoice and a button.
    Values of the second selectOneChoice depends on the value of the first selectOneChoice.
    The values of both selectOneChoice are loaded from a bean called Bean.
    The first time the JSP is loaded, only the first selectOneChoice is rendered. Once the user select a value of the first selectOneChoice and press the button, two things happen:
    1. The valueChangeListener method of the first selectOneChoice is executed. This method updates the values of the second selectOneChoice.
    2. The action method of the button is executed. This method just set a boolean field of the bean called 'renderList2' to true and set the outcome to null. This will cause to navigate to the same JSP.
    Because the field called 'renderList2' is true, the second selectOneChoice is rendered.
    But the button is painted twice. Why?
    We are developing with JDeveloper 10.1.3.4.
    The JSP is the next one:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
    <afh:html>
    <afh:head title="rendering">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <h:form>
    <af:panelGroup>
    <af:selectOneChoice id="category1" valuePassThru="true"
    valueChangeListener="#{Bean.updateList2}"
    unselectedLabel="-- select one --">
    <af:forEach items="#{Bean.list1}" var="row">
    <af:selectItem label="#{row.label}" value="#{row.value}"/>
    </af:forEach>
    </af:selectOneChoice>
    </af:panelGroup>
    <af:panelGroup rendered="#{Bean.renderList2}">
    <af:selectOneChoice id="category2" valuePassThru="true"
    unselectedLabel="-- select one --">
    <af:forEach items="#{Bean.list2}" var="row">
    <af:selectItem label="#{row.label}" value="#{row.value}"/>
    </af:forEach>
    </af:selectOneChoice>
    </af:panelGroup>
    <af:commandButton text="Next" action="#{Bean.next}"/>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    The code of the bean is:
    package com.ieci.pruebas;
    import java.util.ArrayList;
    import javax.faces.event.ValueChangeEvent;
    import javax.faces.model.SelectItem;
    public class Bean
    private ArrayList list1 = null;
    private ArrayList list2 = null;
    private boolean renderList2 = false;
    public void setList1(ArrayList list1)
    this.list1 = list1;
    public ArrayList getList1()
    this.list1 = new ArrayList ();
    this.list1.add(new SelectItem ("ONE", "ONE"));
    this.list1.add(new SelectItem ("TWO", "TWO"));
    return this.list1;
    public void setList2(ArrayList list2)
    this.list2 = list2;
    public ArrayList getList2()
    return list2;
    public void updateList2(ValueChangeEvent valueChangeEvent)
    String list1Value = (String) valueChangeEvent.getNewValue();
    this.list2 = new ArrayList ();
    if (list1Value.equals("ONE"))
    this.list2.add(new SelectItem ("VALUE 1", "VALUE 1"));
    this.list2.add(new SelectItem ("VALUE 2", "VALUE 2"));
    else
    this.list2.add(new SelectItem ("VALUE 3", "VALUE 3"));
    this.list2.add(new SelectItem ("VALUE 4", "VALUE 4"));
    public String next ()
    String command = null;
    renderList2 = true;
    return command;
    public void setRenderList2(boolean renderList2)
    this.renderList2 = renderList2;
    public boolean isRenderList2()
    return renderList2;
    Thanks

    Yes, I logged a SR yesterday.
    Yesterday I solved it defining a navigatorion rule to the same JSP. I don't know why it paints the button twice when the method return a null as outcome.
    I haven't test what you suggest about adding an "id" property to all componentes. Is it a JSF requirement when using a foreach tag?
    Thanks

  • InfoPath 2010 and REST web services, custom code button firing twice and second click fires error

    Hi,
    I have two supposing simple issues which I'm having problems correcting.
    If a add a button to the form and write some custom code (See below) to submit some data via a REST Web Service data connection. The code runs but somehow fires the URL twice to the web service.
    I've also recreated similar functionality using Rules on a button and some concat formulas and exactly the same thing happens when I the run the data using the Query Data Action, it fires the URL twice at the web service.
    How can I stop this.
    Secondly, if I use the custom code route, it work correctly the first time it pressed except for the double fire issue, but the second time I click the button the InfoPath internal system throws up an issue. See screen shot below.
    Any help would be appreciated.
    Rob
    namespace SubmitTest
    public partial class FormCode
    // Member variables are not supported in browser-enabled forms.
    // Instead, write and read these values from the FormState
    // dictionary using code such as the following:
    // private object _memberVariable
    // get
    // return FormState["_memberVariable"];
    // set
    // FormState["_memberVariable"] = value;
    // NOTE: The following procedure is required by Microsoft InfoPath.
    // It can be modified using Microsoft InfoPath.
    public void InternalStartup()
    //EventManager.FormEvents.Submit += new SubmitEventHandler(FormEvents_Submit);
    ((ButtonEvent)EventManager.ControlEvents["SaveDataPoint"]).Clicked += new ClickedEventHandler(SaveDataPoint_Clicked);
    /*public void FormEvents_Submit(object sender, SubmitEventArgs e)
    // If the submit operation is successful, set
    // e.CancelableArgs.Cancel = false;
    // Write your code here.
    MessageBox.Show("Submit Function Start");
    //SaveDataPoint_Clicked(sender);
    MessageBox.Show("Submit Function End");
    public void SaveDataPoint_Clicked(object sender, ClickedEventArgs e)
    try
    FileQueryConnection fqcConnection = (FileQueryConnection)this.DataConnections["TestREST"];
    string fqcFileLocation = fqcConnection.FileLocation;
    MessageBox.Show("fqcFileLocation " + fqcFileLocation);
    fqcFileLocation = fqcFileLocation + "?TestName='HugeArse'";
    fqcConnection.FileLocation = fqcFileLocation;
    fqcConnection.Execute();
    catch (Exception ex)
    MessageBox.Show("NewDataPoint_Clicked: Error " + ex);

    Hi Phillip6653,
    Did you check the similar
    thread to uninstall the windows update KB2756920 which was published on day 1/10? After auto install the update, on day 1/11, the same error occur when I open site using designer, after I uninstall it, it works for me, please have a check.
    For more information, see
    http://consultingblogs.emc.com/shailensukul/archive/2010/09/17/sharepoint-designer-error.aspx
    http://daniyar-tech.blogspot.com/2012/01/sharepoint-designer-2010-error.html
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • Powermac g4 cube, power button blinks twice

    hello,
         i have a powermac g4 cube, i plugged it in and it turned on (i could here it) and i went to go turn on the apple display and i pressed the button as normal, and when i pressed it, it lites up and when i let go the light goes out. it is a yellow light on the display. so i grabbed a differnt display that i had laying around and plugged that in and it went right into standby mode, i then looked at the mac and saw that it was blinking twice. i went online and read the it was a incompatible ram issue, first off, i just took out the ram and that would show a 1 blink, and second, would no ram cause the display issue? i just want to know if it is the graphics card or if im just not doing somthing correctly. one other thing, i opened it up and noticed that it was missing a few screws and it was wiggley, so i replaced the missing screws and it made it secure, but this still did not resolve the issue.
    thanks

    would no ram cause the display issue?
    Yes. No RAM, bad RAM, incompatible RAM are all contrary to function.
    If you don't have compatible RAM, the machine will not move to logic. If there is no logic function, the machine will not move to graphics initiation.
    One must reach successful logic before one can have graphics.
    Deal with the RAM issue first.
    Install known good, guaranteed Mac compatible RAM.
    Standard PC RAM almost never works.
    http://eshop.macsales.com/MyOWC/Upgrades.cfm?sort=pop&model=128&type=Memory

  • Tree Table buttons displaying twice

    I have an issue in ADF applicationsTreeTable button bar, If I select a row, button's area shuffles and we can see the button twice. This would be replicated only for the first time, On save/reload, it will not reproduce. If I clear the cookies and restore the page, this issue reoccurs. Please suggest some ways to avoid this. I have a selection listener, on select I have some if else conditions, based on that, I am disabling & enabling the buttons.

    Hi,
    Have you got any solution of this issue as I am also facing similar issue.
    In my case I am enabling disabling the delete icon based on certain conditions. In the initial load of the object icons are getting disabled as expected but later if I add any new node in tree table and delete it the code will written the correct value of the disable variable but the icon will not be disabled.
    Any inputs will be appreciated.
    Thanks.

  • Backspace button registers twice on honeycomb

    The backspace key registers twice, even when only pressed once when using the current Firefox 4 beta for android. This is happening on the honeycomb verion of android on a Motorola Xoom device.

    This bug has been fixed in our latest development versions: https://bugzilla.mozilla.org/show_bug.cgi?id=637892
    The fix will be included in the next update through the Android Market. Or you can test the fix now by downloading a nightly development build from: https://wiki.mozilla.org/Mobile/Platforms/Android

  • Power button blink twice each time, video included. Laptop won't turn on. help please!

    Hi guys,I opened up my laptop - HP Pavilion dv6 because the fan was full with dust.I cleaned it up and followed the youtube instructions. I know I assembled the laptop correctly, each part in his place, every step went smoothly.When i tried to power up the laptop, it didnt turn on. At the beginning i had 2 blinks in the power button with the f12, i did a hard reset and now i got just 2 blinks on power button. here is the video i took, please help me!!!http://youtu.be/JjRhWZw4W8Ithanks!   

    Rebuild the unit from scratch..... There may be a shorting part

  • Iphone 4s power button jammed twice

    I Purchased the Iphone4s in Nov. 2011. The power button jammed in August 2012. They replaced it for free and 5 months later it jammed again. They said since it is out of warrenty that I had to pay for a new one. They showed me how to use AssistiveTouch. It very annoying because I  waste battery because I can't lock the phone and sometimes the phone does not automatically go off beause it is  in my pocket.
    I understand it is out of warranty, but the power button is a well known defect in the Iphone.
    I really like the IPhone 4S but this is the 2nd phone that barley made it halfway through the intended warranty. I want to get another Iphone when my upgrade is avalaible, but I can't see bying another Iphone and having the same issue.
    What should I do?

    If your upgrade is to another 4S, then you get free replacements for 2 years with the AppleCare if the button dies. So, even if your luck is on the bad side again, you'll pay for that AppleCare in two replacements. You can always get the $69 AppleCare which does the same thing, except it doesn't include provisions for accidental damage.
    Anyway, you're luck with it happening to two phones isn't good, but it's also unusual. If the phone was a refurb that might have something to do with it.
    I mean, I would say go for it, cause even if the lock button does jam, you get a hardware coverage for the first year, which means you don't pay to fix it, just take it to an Apple store for exchange. You pay $69 when you upgrade, then you get that perk for two years. I say it's worth it.

  • Adding Radio Button dynamically, twice - Error #2025: The supplied DisplayObject must be a child of

    Hello
    I am having some trouble adding UI controls dynamically. Mostly with radio buttons.
    Here is an example that demonstrates my problem:
    <s:Application
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark" 
        xmlns:mx="library://ns.adobe.com/flex/mx"
        creationPolicy="all"
        >
        <fx:Script>
            <![CDATA[ 
                import mx.containers.Form;
                import mx.containers.Panel;
                import mx.controls.Label;
                import mx.controls.NumericStepper;
                import mx.controls.RadioButton;
                private var theChar:String = "B";
                protected function btnAdd_clickHandler(event:MouseEvent):void
                    var theForm:Form = new Form();               
                    theForm.label = theChar;
                    //1. Label
                    var myLabel:Label = new Label();
                    myLabel.text = "My Label";
                    myLabel.width=120;
                    theForm.addChild(myLabel);
                    //2. Numeric Stepper
                    var myNumStepper:NumericStepper = new NumericStepper();
                    myNumStepper.id = "numPointHigh" + theChar;
                    myNumStepper.name = "numPointHigh" + theChar;
                    myNumStepper.minimum = 0;
                    myNumStepper.maximum = 120;
                    myNumStepper.width = 50;
                    myNumStepper.height = 30;
                    theForm.addChild(myNumStepper);
                    //3. radio button
                    var myRadioButton:RadioButton = new RadioButton;
                    myRadioButton.id = "myRadioButton" + theChar;
                    myRadioButton.name = "myRadioButton" + theChar;
                    myRadioButton.label = "my radio button";
                    myRadioButton.selected = true;
                    theForm.addChild(myRadioButton);
                    //4. Panel
                    var thePanel:Panel = new Panel();
                    thePanel.width = 300;
                    thePanel.height = 475;
                    thePanel.name=theChar;
                    thePanel.title = "My Profile Panel";
                    thePanel.setStyle("backgroundColor", "blue");
                    //add the form to the panel
                    thePanel.addChild(theForm);
                    //add the Panel to the list control
                    myList.addChild(thePanel);
                protected function btnClear_clickHandler(event:MouseEvent):void
                    var numChildren:Number = myList.numChildren;
                    for(var i:Number=numChildren - 1; i > -1; i--){
                        myList.removeChildAt(i);
            ]]>
        </fx:Script>
        <mx:VBox width="100%">
            <mx:List id="myList" />
            <mx:Button id="btnAdd" label="Add a panel" click="btnAdd_clickHandler(event)" color="black"/>
            <mx:Button id="btnClear" label="Clear" click="btnClear_clickHandler(event)" color="black" />
        </mx:VBox>
    </s:Application>
    ^ Run that. Click the "Add a panel" button. Then click "Clear". Then click the "Add a panel" button again. You will see the error:
    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
        at flash.display::DisplayObjectContainer/getChildIndex()
        at mx.core::Container/getChildIndex()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core \Container.as:2833]
        at mx.containers::Panel/getChildIndex()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\co ntainers\Panel.as:1174]
        at mx.controls::RadioButtonGroup/breadthOrderCompare()[E:\dev\4.0.0\frameworks\projects\fram ework\src\mx\controls\RadioButtonGroup.as:600]
        at mx.controls::RadioButtonGroup/breadthOrderCompare()[E:\dev\4.0.0\frameworks\projects\fram ework\src\mx\controls\RadioButtonGroup.as:611]
        at mx.controls::RadioButtonGroup/breadthOrderCompare()[E:\dev\4.0.0\frameworks\projects\fram ework\src\mx\controls\RadioButtonGroup.as:611]
        at Array$/_sort()
        at Array/http://adobe.com/AS3/2006/builtin::sort()
        at mx.controls::RadioButtonGroup/http://www.adobe.com/2006/flex/mx/internal::addInstance()[E:\dev\4.0.0\frameworks\projects \framework\src\mx\controls\RadioButtonGroup.as:465]
        at mx.controls::RadioButton/addToGroup()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\c ontrols\RadioButton.as:574]
        at mx.controls::RadioButton/commitProperties()[E:\dev\4.0.0\frameworks\projects\framework\sr c\mx\controls\RadioButton.as:514]
        at mx.core::UIComponent/validateProperties()[E:\dev\4.0.0\frameworks\projects\framework\src\ mx\core\UIComponent.as:7772]
        at mx.managers::LayoutManager/validateProperties()[E:\dev\4.0.0\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:572]
        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:730]
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]
    I do not understand why I cannot re-add the radio button? If you comment out the code for the radio button (comment section #3.) you can re-add the panels easily. It is only happening when I have radio buttons being added to the form/panel.
    Why is this happening and how do I fix it? Why is this only happening to radio buttons? I thought I had this fixed

    ^ well, okay, but that's not the problem.
    here, i removed list and replaced with Panel. same problem on the radio buttons.
    <s:Application
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark" 
        xmlns:containers="com.dougmccune.containers.*"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        creationPolicy="all"
        >
        <fx:Script>
            <![CDATA[ 
                import mx.containers.Form;
                import mx.containers.Panel;
                import mx.controls.Label;
                import mx.controls.NumericStepper;
                import mx.controls.RadioButton;
                private var theChar:String = "B";
                protected function btnAdd_clickHandler(event:MouseEvent):void
                    var theForm:Form = new Form();               
                    theForm.label = theChar;
                    //1. Label
                    var myLabel:Label = new Label();
                    myLabel.text = "My Label";
                    myLabel.width=120;
                    theForm.addChild(myLabel);
                    //2. Numeric Stepper
                    var myNumStepper:NumericStepper = new NumericStepper();
                    myNumStepper.id = "numPointHigh" + theChar;
                    myNumStepper.name = "numPointHigh" + theChar;
                    myNumStepper.minimum = 0;
                    myNumStepper.maximum = 120;
                    myNumStepper.width = 50;
                    myNumStepper.height = 30;
                    theForm.addChild(myNumStepper);
                    //3. radio button
                    var myRadioButton:RadioButton = new RadioButton;
                    myRadioButton.id = "myRadioButton" + theChar;
                    myRadioButton.name = "myRadioButton" + theChar;
                    myRadioButton.label = "my radio button";
                    myRadioButton.selected = true;
                    theForm.addChild(myRadioButton);
                    //4. Panel
                    var thePanel:Panel = new Panel();
                    thePanel.width = 300;
                    thePanel.height = 475;
                    thePanel.name=theChar;
                    thePanel.title = "My Profile Panel";
                    thePanel.setStyle("backgroundColor", "blue");
                    //add the form to the panel
                    thePanel.addChild(theForm);
                    //add the Panel to the list control
                    myContainer.addChild(thePanel);
                protected function btnClear_clickHandler(event:MouseEvent):void
                    var numChildren:Number = myContainer.numChildren;
                    for(var i:Number=numChildren - 1; i > -1; i--){
                        myContainer.removeChildAt(i);
            ]]>
        </fx:Script>
        <mx:VBox width="100%">
            <mx:Panel id="myContainer" />
            <mx:Button id="btnAdd" label="Add a panel" click="btnAdd_clickHandler(event)" color="black"/>
            <mx:Button id="btnClear" label="Clear" click="btnClear_clickHandler(event)" color="black" />
        </mx:VBox>
    </s:Application>
    Any idea why radio buttons causing this to happen? If I comment out the radio button, this works fine. This is really baffling me.
    The exception is thrown when the dynamically created panel (thePanel) is added to the main Panel (myContainer):
    myContainer.addChild(thePanel); <--- causes the exception!
    ^ Why would radio buttons make a difference on "thePanel"?? How can I enforce parent-child relationship, explicitly? .parent is read-only

  • My ipod shuffle voice over button does not list the song/artist or give battery status.  I am following direions but it doesn't respond wether I push it once or twice.  Any ideas?

    ?The voice over button does not work per directions (press once for title/artist; press twice for battery status.  Any ideas how to make this work?

    I discovered that if I push the button quickly (twice), I get the battery status.  But I still do not have any title artist data.  The music get quieter but no info.

  • Interactive PDF button functions go beserk after export

    Mac OS 10. 6.8. - InDesign 7.5.3
    I have 21 page InDesign doc that is designed as an interactive PDF. The left hand nav is a simple page navigation via bookmarks that allows the user to navigate to any page of the document. Most pages are just copy but on two pages I also have a cascading list of items that the user can click on and reveal the additional information about the topic (see http://i47.tinypic.com/whmupv.jpg ). One of these cascading lists has 11 topics. These topics are stacked on 11 layers to allow the user to seamlessly navigate all the topics and additional information seamlessly on one page. The topics are all buttons that show/hide the relevant layer of information.
    However, when I export the PDF, the last 3 topics (or bottom three layers of topics) simply do not work. When you click on any button in the top eight layers, they perform as programmed. But the bottom three on any layer are hopelessly broken, turning on/off the wrong layers and buttons. I've redone all the button interactions twice now, once from the top of the series of layers down and once from the bottom of the series of layers to the top. I can't make the bottom three layers work right. I even tried changing the layer order, but those bottom three layers continue to break.
    I also tried downloading the Indd 6.0.1 trial and exporting from that but I get the same broken buttons. Is there a possible fix in Acrobat that I could try? We've done interactive PDFs like this before with up to 8 topics in a list and that one worked fine, although we discovered other bugs with layers of buttons like this.
    Thank you.

    If you look at where the red circles are you can see the very slight increase in object scale.  The 2nd image is a comparison of a spread without any use of buttons.

  • I see the airplay button in my recently used app bar but when I try to turn on mirroring from the apple tv button instead of ipad theres no extra bar that comes down.( mirroring wont work)

    my mirroiring wont work!

    Winston, thank you...
    A new Apple TV: and everything as 'amazing' as expected...
    But do you think I could intuitively find a way to Mirror my iPhone 4s screen to my TV.
    No... 
    AirPlay of Music and Photos was instinctive,
    but mirroring: simple when you know.
    Should have looked in the iPhone User Guide, under AirPlay.
    "as you say, double click the home button, swipe twice to the left to reveal the AirPlay
    button, Select Apple TV"
    Thanks, Robert.

  • Mighty Mouse buttons

    My Mighty Mouse was working fine, when the buttons went dead. Cursor moves around, and scroll ball scrolls, but neither left nor right buttons do anything.
    They just quit. I thought it was the computer, so I force-quit by holding down the power button. Twice. Then, tried the wired MM. That works fine. I haven't changed the battery, as I figure it wouldn't have work at all.

    Thanks for the help, Barry.
    Guess what? You know when you got to the mechanic, and your car isn't making that sound, anymore? Same thing happened here. For a few days after it started acting-up, I'd try the wireless. No dice. I just read your suggestion, and decided before I try anything, to give it another shot. Buttons decided to start working. I'm keeping your suggestion handy, though, in case it happens again.
    Thanks again. Happy Holidays.

  • Using next/back button along with thumbnails

    Please Help! I cannot figure out how to get the back/next buttons to work with the thumbnails. For instance if I click on the 4th thumbnail then hit next/back it skips and goes to the 2nd or 12th image. I know my scripting is wrong but I just can't figure it out. I also want the next/back buttons to loop.
    Can anyone please help me.
    Thank you for your time,
    stop();
    next_btn.addEventListener(MouseEvent.CLICK, nextimage);
    var imageNumber:Number = 1;
    function checkNumber():void{
    next_btn.visible = true;
    back_btn.visible = true;
    //If the imageNumber is = 12, then do something...
    if(imageNumber==12){
      trace(imageNumber);
    //if the imageNumber is = 1, then don't show the back button
    if(imageNumber==1){
      trace(imageNumber);
    checkNumber();
    function nextimage(evtObj:MouseEvent):void {
    //Adding number to the current value +1
    imageNumber++;
    UILoader_courand.source="portfolio/large/Courand/Courand_"+imageNumber+".jpg";
    checkNumber();
    back_btn.addEventListener(MouseEvent.CLICK, backimage);
    function backimage(evtObj:MouseEvent):void {
    //Subract 1 from the current value
    imageNumber--;
    UILoader_courand.source="portfolio/large/Courand/Courand_"+imageNumber+".jpg";
    checkNumber();
    aboutProject_btn.addEventListener(MouseEvent.CLICK, aboutclick);
    function aboutclick(evtObj:MouseEvent) {
    trace("Courand Desc was clicked");
    gotoAndStop("Courand Desc");
    var thumbLoader:Loader = new Loader();
    thumbLoader.load(new URLRequest("portfolio/thumbs/Courand/courandThumb1.jpg"));
    thumbLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded);
    function thumbLoaded(event:Event):void {
    allThumbnails.addChild(thumbLoader);
    thumbLoader.addEventListener(MouseEvent.CLICK, loadMainImage1);
    function loadMainImage1(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_1.jpg";
    var thumbLoader2:Loader = new Loader();
    thumbLoader2.load(new URLRequest("portfolio/thumbs/Courand/courandThumb2.jpg"));
    thumbLoader2.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded2);
    function thumbLoaded2(event:Event):void {
    allThumbnails.addChild(thumbLoader2);
    thumbLoader2.x=70;
    allThumbnails.buttonMode=true;
    thumbLoader2.addEventListener(MouseEvent.CLICK, loadMainImage2);
    function loadMainImage2(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_2.jpg";
    var thumbLoader3:Loader = new Loader();
    thumbLoader3.load(new URLRequest("portfolio/thumbs/Courand/courandThumb3.jpg"));
    thumbLoader3.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded3);
    function thumbLoaded3(event:Event):void {
    allThumbnails.addChild(thumbLoader3);
    thumbLoader3.x=140;
    allThumbnails.buttonMode=true;
    thumbLoader3.addEventListener(MouseEvent.CLICK, loadMainImage3);
    function loadMainImage3(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_3.jpg";
    var thumbLoader4:Loader = new Loader();
    thumbLoader4.load(new URLRequest("portfolio/thumbs/Courand/courandThumb4.jpg"));
    thumbLoader4.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded4);
    function thumbLoaded4(event:Event):void {
    allThumbnails.addChild(thumbLoader4);
    thumbLoader4.x=210;
    allThumbnails.buttonMode=true;
    thumbLoader4.addEventListener(MouseEvent.CLICK, loadMainImage4);
    function loadMainImage4(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_4.jpg";
    var thumbLoader5:Loader = new Loader();
    thumbLoader5.load(new URLRequest("portfolio/thumbs/Courand/courandThumb5.jpg"));
    thumbLoader5.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded5);
    function thumbLoaded5(event:Event):void {
    allThumbnails.addChild(thumbLoader5);
    thumbLoader5.x=280;
    allThumbnails.buttonMode=true;
    thumbLoader5.addEventListener(MouseEvent.CLICK, loadMainImage5);
    function loadMainImage5(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_5.jpg";
    var thumbLoader6:Loader = new Loader();
    thumbLoader6.load(new URLRequest("portfolio/thumbs/Courand/courandThumb6.jpg"));
    thumbLoader6.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded6);
    function thumbLoaded6(event:Event):void {
    allThumbnails.addChild(thumbLoader6);
    thumbLoader6.x=350;
    allThumbnails.buttonMode=true;
    thumbLoader6.addEventListener(MouseEvent.CLICK, loadMainImage6);
    function loadMainImage6(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_6.jpg";
    var thumbLoader7:Loader = new Loader();
    thumbLoader7.load(new URLRequest("portfolio/thumbs/Courand/courandThumb7.jpg"));
    thumbLoader7.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded7);
    function thumbLoaded7(event:Event):void {
    allThumbnails.addChild(thumbLoader7);
    thumbLoader7.x=420;
    allThumbnails.buttonMode=true;
    thumbLoader7.addEventListener(MouseEvent.CLICK, loadMainImage7);
    function loadMainImage7(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_7.jpg";
    var thumbLoader8:Loader = new Loader();
    thumbLoader8.load(new URLRequest("portfolio/thumbs/Courand/courandThumb8.jpg"));
    thumbLoader8.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded8);
    function thumbLoaded8(event:Event):void {
    allThumbnails.addChild(thumbLoader8);
    thumbLoader8.x=490;
    allThumbnails.buttonMode=true;
    thumbLoader8.addEventListener(MouseEvent.CLICK, loadMainImage8);
    function loadMainImage8(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_8.jpg";
    var thumbLoader9:Loader = new Loader();
    thumbLoader9.load(new URLRequest("portfolio/thumbs/Courand/courandThumb9.jpg"));
    thumbLoader9.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded9);
    function thumbLoaded9(event:Event):void {
    allThumbnails.addChild(thumbLoader9);
    thumbLoader9.x=560;
    allThumbnails.buttonMode=true;
    thumbLoader9.addEventListener(MouseEvent.CLICK, loadMainImage9);
    function loadMainImage9(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_9.jpg";
    var thumbLoader10:Loader = new Loader();
    thumbLoader10.load(new URLRequest("portfolio/thumbs/Courand/courandThumb10.jpg"));
    thumbLoader10.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded10);
    function thumbLoaded10(event:Event):void {
    allThumbnails.addChild(thumbLoader10);
    thumbLoader10.y=70;
    allThumbnails.buttonMode=true;
    thumbLoader10.addEventListener(MouseEvent.CLICK, loadMainImage10);
    function loadMainImage10(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_10.jpg";
    var thumbLoader11:Loader = new Loader();
    thumbLoader11.load(new URLRequest("portfolio/thumbs/Courand/courandThumb11.jpg"));
    thumbLoader11.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded11);
    function thumbLoaded11(event:Event):void {
    allThumbnails.addChild(thumbLoader11);
    thumbLoader11.x=70;
    thumbLoader11.y=70;
    allThumbnails.buttonMode=true;
    thumbLoader11.addEventListener(MouseEvent.CLICK, loadMainImage11);
    function loadMainImage11(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_11.jpg";
    var thumbLoader12:Loader = new Loader();
    thumbLoader12.load(new URLRequest("portfolio/thumbs/Courand/courandThumb12.jpg"));
    thumbLoader12.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded12);
    function thumbLoaded12(event:Event):void {
    allThumbnails.addChild(thumbLoader12);
    thumbLoader12.x=140;
    thumbLoader12.y=70;
    allThumbnails.buttonMode=true;
    thumbLoader12.addEventListener(MouseEvent.CLICK, loadMainImage12);
    function loadMainImage12(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_12.jpg";

    Hi Tapash,
    You are probably right. However - I have been reading the User Guide back button chapter twice now - and still not sure what the problem is.
    I think, that for this purpose, you can consider my page as a very simple application - a search page with a search result table. Admit that I am not an OAF back button expert yet, but I wonder - this must be a very common problem to all OAF pages with a search / result table, not a problem specific to my application.
    My page is almost built out-of-the-box, except that I have a SingleSelection added to the result table. I have very little custom code in my processRequest, it looks like this:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OATableBean table = (OATableBean)webBean.findIndexedChildRecursive("ResultsRN");
    table.setTableSelectionText("Set Item number, then Select Equipment and...");
    table.setSelectionDisabledBindingAttr("DisableApproval");
    The page works fine after navigating back from the home page - except for the standard Next/Previous links in the results table. If I click the search button - for instance - a new search is being done ok.
    Appreciate if you can share an example what is needed to support back button in such a simple page.
    Thanks,
    Søren Moss

  • When applying an effect I have to click the link twice before it works

    Hi there
    I am trying to apply an effect to various objects (button, hyperlink etc) but it will only work once I've clicked the button / link twice.  Any ideas?
    cheers
    Julie

    Hi Lilybiri
    thanks again, I don't understand it either,  I only have on pause on the timeline.  the text boxes at the left side have their 'visible in output' unticked.
    Please find attached the screenshots
    Cheers
    Julie

Maybe you are looking for

  • What's the Successful Way of Taking Out Java Out Of Safari ?

    Disabled Java in Safari Preferences . Heck , Disabled Javascript too . Disabled Plugins . Disabled Extensions . i still get : Macintosh HD  >  Library  >  Java  >  Extensions  >  ( unable to view , it's only viewable with a System Administrator ( ie

  • SNMP questions

    Hello, I just started with SNMP Traps on Weblogic 6.1, and I'm afraid I have some questions. a) I configured a Guage monitor to monitor the JVM memory usage. But I can't get it working, it never sends out a trap. This is the config I'm using: <SNMPGa

  • SAP AP

    Hi all, Just new to SAP AP and would like to know the difference between Subsequent Debits and Subsequent Credits. Any advice would be appreciated. Thanks PM

  • Deletion of production orders

    Hi All,            How to delete the production orders in a day from the system

  • CrystalReportViewer WPF

    How can I bind the CrystalReportViewer (WPF) with a MemoryStream or a ByteArray ? In our applicantion we create the report using the ExportToStream but how can we show the report without saving the stream in a file ? It seems strange that we can gene