One Function, multiple buttons

I am new to AS3 and AS in general.  I know enough that you have to add event listener and create a function to handle when a button is clicked. If I have 4 buttons that I want links to 4 different pages, do I have to have 4 functions?  One for each button?  Or is there a way to use one function and somehow catch a value that determines which button was clicked and then open the corresponding URL?
I know this has to be simple, I just don't know the answer.  Thanks for the help!

You can use 1 function to handle all 4 button's clicks. See the example code I provided. To make the code work just drag the AS3 button component onto your movie and delete it from the stage; this will add the Button to the FLA library and make it accessible for use in code. I also attached a FLA of this example to this post.
Let me know if you have any trouble.
Good luck.
Sean
import fl.controls.Button;
import flash.events.MouseEvent;
var _btOne:Button = new Button();
var _btTwo:Button = new Button();
var _btThree:Button = new Button();
var _btFour:Button = new Button();
_btOne.y = 0;
_btTwo.y = 50;
_btThree.y = 100;
_btFour.y = 150;
_btOne.label = "One";
_btTwo.label = "Two";
_btThree.label = "Three";
_btFour.label = "Four";
_btOne.addEventListener(MouseEvent.CLICK, btnClickHandler);
_btTwo.addEventListener(MouseEvent.CLICK, btnClickHandler);
_btThree.addEventListener(MouseEvent.CLICK, btnClickHandler);
_btFour.addEventListener(MouseEvent.CLICK, btnClickHandler);
addChild(_btOne);
addChild(_btTwo);
addChild(_btThree);
addChild(_btFour);
function btnClickHandler(event:MouseEvent):void
     switch(event.target)
          case _btOne:
               // insert code here for _btOne action
          break;
          case _btTwo:
               // insert code here for _btTwo action
          break;
          case _btThree:
               // insert code here for _btThree action
          break;
          case _btFour:
               // insert code here for _btFour action
          break;

Similar Messages

  • Multiple Buttons linking to Multiple pages from one movie

    Hi All,
    I have a flash movie with 3 buttons I am trying to link relativley to pages within my site, I have one working fine but can't get the others to link and when I try it makes the one that is working, work no more..
    Below's the code I am using for the one that is working;
    import flash.events.MouseEvent;
    var getIndex:URLRequest = new URLRequest("../index.html");
    //---Enter Button---\\
    E_btn.addEventListener(MouseEvent.CLICK, bClick);
    function bClick(event:MouseEvent):void{
    navigateToURL(getIndex,"_self");
    Still a bit of a newbie in flash so any help really appreciated.
    Many Thanks

    I only see code for one button there, so I can only guess you repeat the same function multiple times.  You cannot use the same name for different functions, and you cannot have the same function duplicated.  Similarly, you cannot declare the same variable more than once.  You can have buttons share the same function though, and you can assign new values to variables.
    For now, start by creating a unique function definition for each button.
    For further consideration, if your buttons happen to be movieclips you can assign the url's to them as variables, or if you name your buttons using the page names they link to, then the same function could be shared with a little generic finagling.

  • Can multiple button actions be implemented by creating just one RFC?

    Hi All,
         I wanted ask a general question "is it possible to create just one RFC for multiple button actions such as delete, insert, search, modify, copy".
       I tried using one RFC for all the above mentioned actions but I wasn't able to consistently get expected results. So, I just want to confirm from SDN forum members that is it a good practice or is it advisible to create individual RFC for each button actions?
    Earlier responses would be much appreciated.
    Thanks
    Uday

    Hi,
    I did not see any problem for that creation on multiple button actions such as delete, insert, search, modify, copy".  These actions depending up on your RFC.
    For Example. Your RFC having Insert and Delete Functionality you can develop these two Actions. i.e is depending upon your requirement and Depending upon you r RFC functionality. That
    RFC donu2019t gave insert, Delete, modify these functionalities no need to create these Actions.
    So there is no restriction for call the RFC Via Actions(buttons)
    Hope this is help full for u
    Regards
    Vijay

  • How to use one pop up window for multiple buttons and input fields?

    Hi Experts,
    I have created a pop up window that will be opened from multiple buttons in the same view. There are input fields that the data will be populated from a pop up window.  How can I set up which button that a pop up window is opened from? I also would like to populate the data from a pop up window to the input field next to a clicked button. There are 6 buttons and 6 input fields that share the same pop up window. I would very appreciate your responses.
    Thank you,
    Don

    Hi,
    Try creating 2 context attributes, one in your component controller and the other in the pop-up view. Bind the attribute of pop-up view to the component controller attribute.
    In the main view, on click of every button set a unique code in the controller's context which helps you in identifying the button clicked. Since u have created a binding to the pop-up view attribute the value flows from the controller.
    In the init method of your pop-up view, check the value of the attribute and based on that display which ever UI elements are required.
    Eg:
    On Button 1 click set value "B1", Button 2  value "B2" etc. In the init() of pop-up view u can check the values and perform the required operation:
    if(("B1").wdContext().currentContextElement().getButtonIdentifier()){
    else...{
    Hope this helps you.
    Regards,
    Poojith MV

  • How do we link multiple stop buttons to make one master stop button?

    I am building a program that has multiple loops running simultaneously. How do I create a master stop button/link the multiple stop buttons to one? Right now I have 14 different stop buttons and would like to control them all with one main stop button, that way I won't have to hard stop the program, and for when we compile the program into a stand alone running program, the user will be able to have a master stop button available? Any help would be appreciated. Are there any available tutorials?

    You can use a local variable to do that, but remember, use local only if you have to.  For the switch, remember to change the mechanical action to switch until released.
    Yik 
    Kudos and Accepted as Solution are welcome!
    Attachments:
    Example_VI_BD.png ‏3 KB

  • One script to make multiple cells call one function or vice versa

    Please help.
    I need one script to make multiple cells reference one function or one cell reference multiple functions.
    Goal: On the enter event of cell c1, I want to make cells (this, Header.c1, Example.c1, rLabel) highlighted, and this would be for every other cell that is entered into, their corresponding column header and row header will be highlighted.
    I've tried combining cells: eg
    colourControls.hdfieldLoseFocus(this, HeaderRow.c1, Example.c1, rLabel);
    and I've also tried combining some scripts in the function:
    fieldObj.ui.oneOfChild.border.fill.color.value = "255,255,200";
      HeaderRow.fieldObj.ui.oneOfChild.border.fill.color.value = "255,255,200";
      ExampleRow.fieldObj.ui.oneOfChild.border.fill.color.value = "255,255,200";
    But they dont work. See the link to my form.
    http://www.winstonanddavid.com/example.com
    I tried testing the function with the cell 'c1' but it doesnt work.
    Also, I want to get rid of the multiple lines of script in every other cell.
    How can I do this?

    I played around with the ExtendScript Toolkit and cutted and pasted the previous script from here until I managed to get a script that actually works like I was thinking. I then added a code from the CS4 Reference Manual to move Layer1 to the top (just to see if it worked).
    I have no idea yet if the the code includes something that does not belong, but at least I get no errors. The current code is like this now:
    //Apply to myDoc the active document
    var layerName = LayerOrderType;
    var myDoc = app.activeDocument;
    //define first character and how many layers do you need
    var layerName
    var numberOfLayers=0;
    //Create the layers
    for(var i=0; i<=numberOfLayers; i++)
    { var layerName = "Background";  var myLayer = myDoc.layers.add(); myLayer.name = layerName;  }
    { var layerName = "Picture";  var myLayer = myDoc.layers.add(); myLayer.name = layerName;  }
    { var layerName = "Text";  var myLayer = myDoc.layers.add(); myLayer.name = layerName;  }
    { var layerName = "Guides";  var myLayer = myDoc.layers.add(); myLayer.name = layerName;  }
    // Moves the bottom layer to become the topmost layer
    if (documents.length > 0) {
    countOfLayers = activeDocument.layers.length;
    if (countOfLayers > 1) {
    bottomLayer = activeDocument.layers[countOfLayers-1];
    bottomLayer.zOrder(ZOrderMethod.BRINGTOFRONT);
    else {
    alert("The active document only has only 1 layer")

  • How to save multiple tables on one single save button in JDeveloper.

    hi all,
    i have two tables on a JSF page.
    the parent and child tables has 1 to many relationship.
    its like for department id i have many employee_id's.
    in my scenario ,
    i have to give values to both parent and child tables at a time on one single click on add button. and after clicking on one single save button i should be able to commit the data into database for both the tables at a time.
    its similar like a hire a person in fusion applications , when you clinked on hire person. all the related tables populated to give data and on one single save committing data to database.
    please help in this. and its my urgent requirement for my application design.
    am beginner to the J Developer Tool and ADF.
    regards,
    M vijayalakshmi.

    I assume you are using ADF BC as your business components. Now if both your Master and Chail VO are instances of the same AM, the commit operation of the AM will take care of it. You just have to drag and drop the commit operation as a Save button in your page

  • Activating only one function-exit in a multiple function-exit in CMOD

    Dear All,
    I am using customer-exit for doing validation in PO during saving. I am using EXIT EXIT_SAPMM06E_012 under enhancement
    MM06E005. The code is working fine. The problem is that when I am activating the screen all the components under that enhancements are getting activated. There are 10 function-exits, 6 screen-exits and 2 incude tables. I have not  added any new screen or done custom include. I only want to activate EXIT_SAPMM06E_012, rest I want to deactivate. It is giving a dump in production server when we are trying to create a contract as it is looking for a screen 0211 which we have not created.
    Regards
    D. Mallick

    am using customer-exit for doing validation in PO during saving. I am using EXIT EXIT_SAPMM06E_012 under enhancement
    MM06E005. The code is working fine. The problem is that when I am activating the screen all the components under that enhancements are getting activated. There are 10 function-exits, 6 screen-exits and 2 incude tables. I have not added any new screen or done custom include. I only want to activate EXIT_SAPMM06E_012, rest I want to deactivate. It is giving a dump in production server when we are trying to create a contract as it is looking for a screen 0211 which we have not created.
    HI ,
    You can activate only one function exit EXIT_SAPMM06E_012, But you must and should create below empty screen and active Using SE51.
    SAPLXM06                       0101
    SAPLXM06                       0111
    SAPLXM06                       0201
    SAPLXM06                       0211
    SAPLXM06                       0301
    SAPLXM06                       0311
    Thanks & Regards
    Sudheer Madisetty

  • Not able to edit more than one function of new photos

    I recently upgraded my iPhoto to 09 after shifting to Leopard 10.5 on my G5. Today, for the first time after the upgrade, I loaded about 100 photographs and have found that I am unable to edit more than one function at a time on these image. For example, the image contrast can be adjusted, but, following that, no other function or cropping appears to work. The saved image, after selecting "Done", doesn't show any change other than the initial edit. Surprisingly, I am able to perform multiple edits on the images that were already in the Library (8,500!). After looking at this forum's topics and trying some of the suggestions provided for other editing issues, I've tried to edit more than one function in full screen view, library and album modes with no success.
    Any help would be appreciated.
    thanks,
    Message was edited by: Umnak ( showed incorrect OS on original)

    If you go the PS or PSE route this many be of some help:
    Using Photoshop (or Photoshop Elements) as Your Editor of Choice in iPhoto.
    1 - select Photoshop as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements 6 the Saving File preferences should be configured: "On First Save: Save Over Current File". Also I suggest the Maximize PSD File Compatabilty be set to Always.
    If you want to use both iPhoto's editing mode and PS without having to go back and forth to the Preference pane, once you've selected PS as your editor of choice, reset the Preferences back to "Open in main window". That will let you either edit in iPhoto (double click on the thumbnail) or in PS (Control-click on the thumbnail and seledt "Edit in external editor" in the Contextual menu). This way you get the best of both worlds
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..

  • How to create multiple buttons in ALV Toolbar in Webdynpro ABAP

    Hi all,
    I am trying to create multiple buttons in Webdynpro  ALV toolbar, please go through the code.
    What happening is, second button is replacing the first one.
    DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.
       lo_cmp_usage =   wd_this->wd_cpuse_alv_table( ).
       IF lo_cmp_usage->has_active_component( ) IS INITIAL.
         lo_cmp_usage->create_component( ).
       ENDIF.
       DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .
       lo_interfacecontroller =   wd_this->wd_cpifc_alv_table( ).
        DATA lv_value TYPE REF TO cl_salv_wd_config_table.
       lv_value = lo_interfacecontroller->get_model(
       DATA lr_buttonui1 TYPE REF TO cl_salv_wd_fe_button.
       DATA lr_buttonui2 TYPE REF TO cl_salv_wd_fe_button.
       DATA button1 TYPE REF TO cl_salv_wd_function.
       DATA button2 TYPE REF TO cl_salv_wd_function.
    **First button
       CREATE OBJECT lr_buttonui1.
       lr_buttonui1->set_text('Button')."setting the text of the button on alv toolbar
       button1 = lv_value->if_salv_wd_function_settings~create_function( id = 'BUTTON')."creating the function for alv button
       button1->set_editor( lr_buttonui1 ).
    **Second button
       CREATE OBJECT lr_buttonui2.
         lr_buttonui2->set_text('Button1')."setting the text of the button on alv toolbar
       button2 = lv_value->if_salv_wd_function_settings~create_function( id = 'BUTTON' )."creating the function for alv button
       button2->set_editor( lr_buttonui2 ).
    How can I overcome this??
    Thanks
    Eshwar

    Hi Eshwar,
    The button Ids are same for both the buttons in your code. You need to change it as BUTTON1, BUTTON2.
    **First button
       CREATE OBJECT lr_buttonui1.
       lr_buttonui1->set_text('Button')."setting the text of the button on alv toolbar
       button1 = lv_value->if_salv_wd_function_settings~create_function( id = 'BUTTON1')."creating the function for alv button
       button1->set_editor( lr_buttonui1 ).
    **Second button
       CREATE OBJECT lr_buttonui2.
         lr_buttonui2->set_text('Button1')."setting the text of the button on alv toolbar
       button2 = lv_value->if_salv_wd_function_settings~create_function( id = 'BUTTON2' )."creating the function for alv button
       button2->set_editor( lr_buttonui2 ).

  • Scriptui multiple buttons action

    I want to create a dialog consisting of multiple buttons. As a result I want value which button was pressed by user.
    The script (shortened to problematic part):
    // I'm looping through elements on layer 'warstwa' from kolorStart to kolorStop, 'k' is used for number buttons
                        for (i = kolorStart, k = 0; i <= kolorStop; k++, i++) {
                                  myButton[k] = myButtonGroup.add ("button", undefined, warstwa.pageItems[i].contents);
                                  myButton[k].label = warstwa.pageItems[i].contents;
                                  myButton[k].onClick = function () { wybranyKolor = myButton[k].label; myWindow.close(); }
    The result:
    but buttons don't work, wybranyKolor returning 'undefined'. If I change "wybranyKolor =  myButton[k].label" to "wybranyKolor =  myButton[k-1].label" I get proper answer but it is the same for all buttons so it looks that all buttons have the same acion assigned. How to get each button to has unique name which can be passed to variable?
    Propably I can achive the same with radio buttons' list but with buttons it is one click less for the user.

    sorry I don't understand your new question,
    you need this
    myButton[k].label = warstwa.pageItems[i].contents;
    you don't need this one
    myButton[k].onClick = function () { wybranyKolor = myButton[k].label; myWindow.close(); }
    replace with
    myButton[k].onClick = function () { wybranyKolor = this.label; myWindow.close(); }

  • Multiple buttons on a single slide each connecting to a different url

    Using a trial version of Captivate 7.  I have a handful of slides where the customer wants to open different forms via url.  I tried using a button for each link, inserting the url and using the "enter" key for each of the multiple buttons.  Works fine with the mouse but for 508 folks who tab to the URL and hit the enter key ......... I get many instances where the incorrect url is activated.  Is there a way around this without assicning a different shortcut key for buttons where thare are more than one on a single slide?     Thanks

    Welcome to AD!
    Here is an article on using multiple ipods. I suggest method 1 and steer clear of method 3.
    http://support.apple.com/kb/HT1495
    For your point #1, sharing music on same PC between users, put it in a shared library & set permissions as directed here
    http://support.apple.com/kb/HT1203
    For #2, itunes doesn't have the capability to monitor folders for new content. You'll need to get something like the free program 'itunes folder watch'.

  • I have an app that crashes when I run one function, but no one else I know with the same app experiences the crash.  I checked my Diagnostics

    I have an app called Astrogold that crashes when I run one function, but no one else I know with the same app experiences the crash.  The app writes several different reports, and gives the option of sending them as PDF files.  All the other reports generate fine, but one of them....and that one crashes the app while it is trying to generate the report.
    Note:  it only crashes the display.  If I double click the home button I see the app itself is still running.
    I checked my Diagnostics & Usage data, and noticed that every time the app crashes a LowMemory report is created.  I looked at the LowMemory report and see that the Largest process is Astrogold.  But I don't see any reports with the name of the app itself.
    I have an iPhone 5c, and according to iTunes I have 2.25 GB Free.
    Below is the actual LowMemory report.  Can anyone make any suggestions?
    name":"astrogold","bug_type":"109","os_version":"iPhone OS 7.1.2 (11D257)","bundleID":"com.esotech.astrogold","version":"4.2.4 (4.2)","app_name":"astrogold"}
    Incident Identifier: 257B47E8-3A4D-4C64-8E9F-71D33C905548
    CrashReporter Key:   cfa389285f4559a21d797bfeec6a78c584e798d6
    Hardware Model:      iPhone5,4
    Process:             astrogold [18906]
    Path:                /var/mobile/Applications/D8301675-652C-4472-A168-CF3F141C5F58/astrogold.app/ast rogold
    Identifier:          com.esotech.astrogold
    Version:             4.2.4 (4.2)
    Code Type:           ARM (Native)
    Parent Process:      launchd [1]
    Date/Time:           2014-08-31 13:15:13.616 +0800
    OS Version:          iOS 7.1.2 (11D257)
    Report Version:      104
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Triggered by Thread:  0
    Thread 0 Crashed:
    0   libsystem_kernel.dylib         0x399a51f0 0x39992000 + 78320
    1   libsystem_pthread.dylib        0x39a0d7b2 0x39a0a000 + 14258
    2   libsystem_c.dylib              0x39955ff4 0x3990c000 + 303092
    3   libsystem_malloc.dylib         0x399ccd20 0x399ca000 + 11552
    4   libobjc.A.dylib                0x393f73a4 0x393ed000 + 41892
    5   libobjc.A.dylib                0x393ffb66 0x393ed000 + 76646
    6   astrogold                      0x001be574 0xe2000 + 902516
    7   astrogold                      0x001be774 0xe2000 + 903028
    8   astrogold                      0x001a2910 0xe2000 + 788752
    9   astrogold                      0x001a40fa 0xe2000 + 794874
    10  UIKit                          0x315ba174 0x3147c000 + 1302900
    11  UIKit                          0x315613d6 0x3147c000 + 938966
    12  UIKit                          0x31560c2c 0x3147c000 + 937004
    13  UIKit                          0x314872e0 0x3147c000 + 45792
    14  QuartzCore                     0x31103316 0x310f7000 + 49942
    15  QuartzCore                     0x310feb3a 0x310f7000 + 31546
    16  QuartzCore                     0x310fe9cc 0x310f7000 + 31180
    17  QuartzCore                     0x310fe3e0 0x310f7000 + 29664
    18  QuartzCore                     0x310fe1f2 0x310f7000 + 29170
    19  QuartzCore                     0x310f7f18 0x310f7000 + 3864
    20  CoreFoundation                 0x2ec20ff6 0x2eb81000 + 655350
    21  CoreFoundation                 0x2ec1e982 0x2eb81000 + 645506
    22  CoreFoundation                 0x2ec1ecce 0x2eb81000 + 646350
    23  CoreFoundation                 0x2eb89724 0x2eb81000 + 34596
    24  CoreFoundation                 0x2eb89506 0x2eb81000 + 34054
    25  GraphicsServices               0x33af86ce 0x33aef000 + 38606
    26  UIKit                          0x314ea86c 0x3147c000 + 452716
    27  astrogold                      0x000e9136 0xe2000 + 28982
    28  libdyld.dylib                  0x398eeab4 0x398ed000 + 6836
    Thread 1:
    0   libsystem_kernel.dylib         0x39992804 0x39992000 + 2052
    1   libdispatch.dylib              0x398e1050 0x398d9000 + 32848
    2   libdispatch.dylib              0x398db2de 0x398d9000 + 8926
    Thread 2:
    0   libsystem_kernel.dylib         0x39992a50 0x39992000 + 2640
    1   libsystem_kernel.dylib         0x39992848 0x39992000 + 2120
    2   CoreFoundation                 0x2ec205e4 0x2eb81000 + 652772
    3   CoreFoundation                 0x2ec1ed04 0x2eb81000 + 646404
    4   CoreFoundation                 0x2eb89724 0x2eb81000 + 34596
    5   CoreFoundation                 0x2eb89506 0x2eb81000 + 34054
    6   Foundation                     0x2f57d492 0x2f572000 + 46226
    7   Foundation                     0x2f5ce254 0x2f572000 + 377428
    8   astrogold                      0x00408f30 0xe2000 + 3305264
    9   Foundation                     0x2f63fa0a 0x2f572000 + 842250
    10  libsystem_pthread.dylib        0x39a0c956 0x39a0a000 + 10582
    11  libsystem_pthread.dylib        0x39a0c8c6 0x39a0a000 + 10438
    12  libsystem_pthread.dylib        0x39a0aae4 0x39a0a000 + 2788
    Thread 3 name:  com.apple.NSURLConnectionLoader
    Thread 3:
    0   libsystem_kernel.dylib         0x39992a50 0x39992000 + 2640
    1   libsystem_kernel.dylib         0x39992848 0x39992000 + 2120
    2   CoreFoundation                 0x2ec205e4 0x2eb81000 + 652772
    3   CoreFoundation                 0x2ec1ed04 0x2eb81000 + 646404
    4   CoreFoundation                 0x2eb89724 0x2eb81000 + 34596
    5   CoreFoundation                 0x2eb89506 0x2eb81000 + 34054
    6   Foundation                     0x2f5ca23c 0x2f572000 + 361020
    7   Foundation                     0x2f63fa0a 0x2f572000 + 842250
    8   libsystem_pthread.dylib        0x39a0c956 0x39a0a000 + 10582
    9   libsystem_pthread.dylib        0x39a0c8c6 0x39a0a000 + 10438
    10  libsystem_pthread.dylib        0x39a0aae4 0x39a0a000 + 2788
    Thread 4 name:  com.apple.CFSocket.private
    Thread 4:
    0   libsystem_kernel.dylib         0x399a5434 0x39992000 + 78900
    1   CoreFoundation                 0x2ec244de 0x2eb81000 + 668894
    2   libsystem_pthread.dylib        0x39a0c956 0x39a0a000 + 10582
    3   libsystem_pthread.dylib        0x39a0c8c6 0x39a0a000 + 10438
    4   libsystem_pthread.dylib        0x39a0aae4 0x39a0a000 + 2788
    Thread 5:
    0   libsystem_kernel.dylib         0x399a5c70 0x39992000 + 81008
    1   libsystem_pthread.dylib        0x39a0ac1e 0x39a0a000 + 3102
    2   libsystem_pthread.dylib        0x39a0aad8 0x39a0a000 + 2776
    Thread 6:
    0   libsystem_platform.dylib       0x39a069a6 0x39a05000 + 6566
    1   libobjc.A.dylib                0x393ffad6 0x393ed000 + 76502
    2   CoreFoundation                 0x2eb86140 0x2eb81000 + 20800
    3   CoreFoundation                 0x2eb8c0dc 0x2eb81000 + 45276
    4   CoreFoundation                 0x2eb9f6e4 0x2eb81000 + 124644
    5   astrogold                      0x0019ed06 0xe2000 + 773382
    6   Foundation                     0x2f59a64c 0x2f572000 + 165452
    7   Foundation                     0x2f58a870 0x2f572000 + 100464
    8   Foundation                     0x2f62e740 0x2f572000 + 771904
    9   libdispatch.dylib              0x398de25a 0x398d9000 + 21082
    10  libdispatch.dylib              0x398df684 0x398d9000 + 26244
    11  libdispatch.dylib              0x398df8d8 0x398d9000 + 26840
    12  libsystem_pthread.dylib        0x39a0ac14 0x39a0a000 + 3092
    13  libsystem_pthread.dylib        0x39a0aad8 0x39a0a000 + 2776
    Thread 7:
    0   libsystem_kernel.dylib         0x399a5c70 0x39992000 + 81008
    1   libsystem_pthread.dylib        0x39a0ac1e 0x39a0a000 + 3102
    2   libsystem_pthread.dylib        0x39a0aad8 0x39a0a000 + 2776
    Thread 8:
    0   libsystem_kernel.dylib         0x39992a50 0x39992000 + 2640
    1   libsystem_kernel.dylib         0x39992848 0x39992000 + 2120
    2   CoreFoundation                 0x2ec205e4 0x2eb81000 + 652772
    3   CoreFoundation                 0x2ec1ed04 0x2eb81000 + 646404
    4   CoreFoundation                 0x2eb89724 0x2eb81000 + 34596
    5   CoreFoundation                 0x2ebcd346 0x2eb81000 + 312134
    6   CoreMotion                     0x2f2484fc 0x2f20f000 + 234748
    7   libsystem_pthread.dylib        0x39a0c956 0x39a0a000 + 10582
    8   libsystem_pthread.dylib        0x39a0c8c6 0x39a0a000 + 10438
    9   libsystem_pthread.dylib        0x39a0aae4 0x39a0a000 + 2788
    Thread 9 name:  WebThread
    Thread 9:
    0   libsystem_kernel.dylib         0x39992a50 0x39992000 + 2640
    1   libsystem_kernel.dylib         0x39992848 0x39992000 + 2120
    2   CoreFoundation                 0x2ec205e4 0x2eb81000 + 652772
    3   CoreFoundation                 0x2ec1ed04 0x2eb81000 + 646404
    4   CoreFoundation                 0x2eb89724 0x2eb81000 + 34596
    5   CoreFoundation                 0x2eb89506 0x2eb81000 + 34054
    6   WebCore                        0x36ebfc70 0x36e01000 + 781424
    7   libsystem_pthread.dylib        0x39a0c956 0x39a0a000 + 10582
    8   libsystem_pthread.dylib        0x39a0c8c6 0x39a0a000 + 10438
    9   libsystem_pthread.dylib        0x39a0aae4 0x39a0a000 + 2788
    Thread 10 name:  JavaScriptCore::BlockFree
    Thread 10:
    0   libsystem_kernel.dylib         0x399a4f2c 0x39992000 + 77612
    1   libsystem_pthread.dylib        0x39a0bf62 0x39a0a000 + 8034
    2   libsystem_pthread.dylib        0x39a0cd9c 0x39a0a000 + 11676
    3   JavaScriptCore                 0x2fbb8308 0x2fba6000 + 74504
    4   JavaScriptCore                 0x2fbb5970 0x2fba6000 + 63856
    5   libsystem_pthread.dylib        0x39a0c956 0x39a0a000 + 10582
    6   libsystem_pthread.dylib        0x39a0c8c6 0x39a0a000 + 10438
    7   libsystem_pthread.dylib        0x39a0aae4 0x39a0a000 + 2788
    Thread 11 name:  JavaScriptCore::Marking
    Thread 11:
    0   libsystem_kernel.dylib         0x399a4f2c 0x39992000 + 77612
    1   libsystem_pthread.dylib        0x39a0bf62 0x39a0a000 + 8034
    2   libsystem_pthread.dylib        0x39a0cd9c 0x39a0a000 + 11676
    3   JavaScriptCore                 0x2fd56cb2 0x2fba6000 + 1772722
    4   JavaScriptCore                 0x2fd56d0c 0x2fba6000 + 1772812
    5   JavaScriptCore                 0x2fbb5970 0x2fba6000 + 63856
    6   libsystem_pthread.dylib        0x39a0c956 0x39a0a000 + 10582
    7   libsystem_pthread.dylib        0x39a0c8c6 0x39a0a000 + 10438
    8   libsystem_pthread.dylib        0x39a0aae4 0x39a0a000 + 2788
    Thread 0 crashed with ARM Thread State (32-bit):
        r0: 0x00000000    r1: 0x00000000      r2: 0x00000000      r3: 0x27d1f553
        r4: 0x00000006    r5: 0x3b90118c      r6: 0x0000000b      r7: 0x27d1f5bc
        r8: 0x0000000b    r9: 0x00000001     r10: 0x00626000     r11: 0x00000000
        ip: 0x00000148    sp: 0x27d1f5b0      lr: 0x39a0d7b7      pc: 0x399a51f0
      cpsr: 0x00000010
    Zane B Stein
    ("os_version":"iPhone OS 7.1.2 (11D257)","version":"104","bug_type":"198"}
    Incident Identifier: 3526E805-4C03-4956-83B6-2A4AB95B9EE4
    CrashReporter Key:   cfa389285f4559a21d797bfeec6a78c584e798d6
    Hardware Model:      iPhone5,4
    OS Version:          iPhone OS 7.1.2 (11D257)
    Kernel Version:      Darwin Kernel Version 14.0.0: Thu May 15 23:10:37 PDT 2014; root:xnu-2423.10.71~1/RELEASE_ARM_S5L8950X
    Date:                2014-09-02 14:24:12 +0800
    Time since snapshot: 220 ms
    Free pages:                              1448
    Active pages:                            17896
    Inactive pages:                          9268
    Speculative pages:                       11
    Throttled pages:                         209561
    Purgeable pages:                         261
    Wired pages:                             21682
    File-backed pages:                       26187
    Anonymous pages:                         988
    Compressions:                            456385
    Decompressions:                          85356
    Compressor Size:                         44
    Uncompressed Pages in Compressor:        59
    Largest process:   astrogold
    Processes
         Name                    <UUID>                       rpages       recent_max   fds      [reason]          (state)
    CloudKeychainPro <b9fbb8e4989732709cb18c481dfa61a9>          108              108  200                      (daemon) (idle)
        mediaremoted <051ef8b6e7c93fa49a0a2e15ea6e1f52>          193              193  200                      (daemon) (idle)
    MobileGestaltHel <c3c9c32948fe364f8103dd528164b610>          123              123  200                      (daemon) (idle)
             DuetLST <89027d811bd73931a4d45f71c9bbebc7>          472              472  200                      (daemon) (idle)
        itunesstored <00f47fa85c623cee9d55c9b004ba561d>         1426             1426  200                      (daemon) (idle)
                 lsd <8d2569b7b89033328609c73d07410b55>          149              149  200                      (daemon) (idle)
            sandboxd <712c543459bf3d81b0ec88bba199d802>           96               96  200                      (daemon) (idle)
                geod <6e5e9ae33f8638b7be848eac2c1ef70b>          166              166  200                      (daemon) (idle)
             assetsd <6f28405c4c1b35e9aff946c1c4799c0f>          868              868  200                      (daemon) (idle)
            installd <185a1eaa735b3aa38d98092ba8493ba0>          201              201  200                      (daemon) (idle)
           securityd <47657a3a48573d6a8e52ef4cc868248c>          617              617  200                      (daemon) (idle)
    networkd_privile <234d3717143e3bbba12acc5de334deaf>           81               81  200                      (daemon) (idle)
           accountsd <5a5640b47fe637bebb6254deff26eaee>          438              438  200                      (daemon) (idle)
            routined <d5590a1879153ed284886271907ea8fa>          344              344  200                      (daemon) (idle)
    EscrowSecurityAl <d0a689490be631efac2c764fe93300dc>          166              166  200                      (daemon)
            mstreamd <a2bb6401f1d63c7aa320a817d8839522>          406              406  200                      (daemon)
                tccd <ad9819a843e93a1680335febb52c7cc3>          227              227  200                      (daemon)
                 kbd <eba296f6bd4938688fa16a5e39fa477c>         2319             2319  200                      (daemon)
           CVMServer <c95a902a5ae331c2a5239b6cf98a0617>           89               89  200                      (daemon)
           astrogold <58c53f7c8e8931ec823713195426f59c>       166401           166401  200  [per-process-limit] (frontmost) (resume)
    identityservices <d1b907f8a41e3ebd9f270aa846040b07>          581              581  100                      (daemon)
               wifid <2b4c0ddf1a8439838868bf2be61d8bf1>         1286             1286   25                      (daemon)
             syslogd <5c06b8eec36032b49cc9421348ba47ea>          132              132   50                      (daemon)
           locationd <b813efaa4a6a314cafdbbd9b88c30796>         1732             1732  100                      (daemon)
              powerd <bd077d109d773bcd9041153b30ea034a>          128              129  100                      (daemon)
             imagent <79bd0fedda583ae3822051093f7681b5>          571              571  100                      (daemon)
                 vmd <f44f0a6a37293606865eb8862c10b653>          188              188  100                      (daemon)
       iaptransportd <818588012ed93eb7a10ccb22d8acadfe>          223              223   50                      (daemon)
        mediaserverd <e40c7476d9fe3d759bfd28b8d68dc7ba>         2233             2233  200                      (daemon)
       mDNSResponder <60e905f9582a3090ab6e7a257454389e>          226              226  100                      (daemon)
                apsd <b7e19d27180e34aba845e475eae7d3db>          510              510  100                      (daemon)
         dataaccessd <fdf81960fb903bd68616117fd29ce277>         2563             2563  200                      (daemon)
            sharingd <2c731a1c182637a39b004694b2a5e23d>          508              508   50                      (daemon)
        mobileassetd <08440fa17b3537afb347cf78aa039a67>          565              565  200                      (daemon)
         SpringBoard <f73e83ffc898302394baa2042ca232fd>         9211             9211  100                    
          backboardd <b5d33ca6da9c33d48e2c8ccb9930c3dc>         8716             8716   50                      (daemon)
          aggregated <3e381378eb7f3dd2846920cb5db91265>          523              523   50                      (daemon)
           lockdownd <d998e2bac7663966bd0285c07ed89111>          276              276  100                      (daemon)
             configd <20b29bb0286e347ebe7c42aa8ee421c9>          462              462  100                      (daemon)
           fseventsd <8876b6f5a0c13024a12cb3e148ddab61>          303              303  100                      (daemon)
        fairplayd.H2 <243ccf92ad4d34cbb4fdf7e078d55141>          130              130  100                      (daemon)
       wirelessproxd <47699be4861c30abbb375e1d3b9e15dc>          153              153  100                      (daemon)
            BTServer <51d0d4421dc73abf9d4844e2b155c340>          536              536  100                      (daemon)
           distnoted <7895f761ec323e31a356860060f8713d>          155              155  100                      (daemon)
      UserEventAgent <9aedc371d1c037e7b5d7b5577f0424a8>          756              756  100                      (daemon)
    WirelessCoexMana <f5dcce7805a9308bbbcf2d52751385ef>          132              132  100                      (daemon)
            networkd <148d4512d2c43efc95bafd487fd97f4a>          577              577  100                      (daemon)
    filecoordination <7b1b1b1b4fe0364c8e0adfd90f78b4a9>          207              207  200                      (daemon)
       medialibraryd <fdf252b3fb1a3646a836c0c3b5840464>          634              634  200                      (daemon)
         touchsetupd <0a4f35337aa13e55a3d7e56296499e14>          154              154  200                      (daemon)
                 ubd <30a03e11a5c43c7cbd6ecd1aaef27841>          470              470  200                      (daemon)
          CommCenter <463e099ed64e30ad9433b8ea3f4a4e94>         2039             2039  100                      (daemon)
             notifyd <5b4c0731afd533179b295e4f39e589d6>          335              335  100                      (daemon)
    **End**
    <Post Edited By Host>

    Thank you for your reply.
    >You can double-click the home button and then swipe upwards on the thumbnail of the app to force it closed.
    Did that
    >After that, power the phone off and back on again, test.
    Did that
    >If still a problem, force close the app again and then reset the phone, holding the sleep/wake and home buttons together until you see the Apple logo and then release. The phone will reboot, test.
    Did that
    >If still a problem, then connect the device to iTunes and restore from backup.
    Did that
    >If that does not work, it is possible there is something corrupt in the backup. The final step is restore as new, not from a backup.
    This is the only thing I had not done before I posted my initial request for help.  I will work on that....it's a last resort I was hoping not to do, but it sounds like I've already done everything else.
    Thank you.

  • How to give only one function module execution Auth for a User ?

    Dear Experts
    I have reviewed S_DEVELOP auth object. It is not ful filling my requirement
    Any Ideas !!
    Rgds

    Rakesh...Firstly thanks for reply.
    As i said i reviewed these and found it is not meeting my requirement.
    As we aware We can control auth to Function modules thru object type
    Filed OBJTYPE----
    FUGR --> 1st control
    and with Function Group Name
    Field OBJNAME----
    <Function Group Name>  --> 2nd control
    In my scenario - I have given the authroizations as below
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    ACTVT            Activity                                                 Display, Execute
    DEVCLAS       Package                                               *
    OBJNAME      Object name                                         ZECC_FG
    OBJTYPE       Object type                                           FUGR
    P_GROUP       Authorization group ABAP/4 pro              *
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    The above authroization is giving all Function modules authrozation under ZECC_FG Function Group.
    My Requirement
    I shoudl be able to give only one Function Module of a Function group where multiple function modules exist under the same Function Group.
    How can i acheiveit. Any Custom Control can be place to acheive this.
    I am sure S_DEVELOP will not solve my requirement (I Beleive)
    Regards

  • How prevent simultaneous execution of multiple button threads?

    My AS 3 program has multiple buttons. Users can select one and then immediately select another and this causes 2 threads that collide.  Once one button is executing, I want the other buttons to ignore clicks.
    I've tried using a lock:Boolean to indicate a button is being processed.  Each button checks lock.  My logic is such that when the AS 3 processor detects a locked condition, it abandons execution of that button.  However, surprisingly, it abandons execution only termporarily ... once the the boolean is unlocked, AS 3 comes back and executes the button.
    The problems are twofold:  1)  the first time the 2nd button attempts to execute (by checking lock), when it returns (from checking lock) and attempts to pick up processing where it left off, it seems to forget where it was and does not utlimately complete its task(s); possibly variables have been altered, it is difficult to say.  That is, AS 3 is unable to successfully pickup where it left off on the first button.
    2) the second problem is that AS 3 incorrectly returns to button 2 after the lock condition is cleared.  It persists and will execute that button.
    Can anyone tell me how once one button is selected, the others can be locked out and won't execute??  Multiple threads from these buttons is a problem.
    Thanks in advance.
    Steve @ U Iowa

    dmennenoh - OK.  The downside to that type of solution is that each button has to "know" which other buttons are on the stage at that time, but, yes, that should work.  Do you think turning their visibility off would or would not be as effective as removing the event listeners?  I'm thinking turning visiblity on or off is simpler and simpler to manage.  Thanks for your help.

Maybe you are looking for

  • Chars with codepoints 255 not displaying in JTextComponents

    Hi This is a Windows-specific question. In any JTextComponent (JTextField, JTextArea, JEditorPane, JTextPane) characters with codepoints above 255 appear as boxes. I have installed the latest Microsoft fonts, and I verified this with the charmap appl

  • How to configure proxy services to use the file transport?

    Hi, I have configured a proxy service to poll for files in the specified folder. And it is configured to use the file transport. At runtime, I'm getting the follwing exception - <Apr 27, 2012 4:08:28 PM GMT+05:30> <Error> <WliSbTransports> <BEA-38160

  • What's wrong with the jsp that show how many people online

    environment : tomcat the jsp can only add the online people count correct, when I close IE,the jsp cant sub the count; package mybeans; import javax.servlet.*; import javax.servlet.http.*; public class ShowActiveSession implements HttpSessionListener

  • Rename Display name in Outlook

    I have one group mail id. that configure in outlook as user display name is different to user where i have configure that but when i send mail to other user it shows same name to  other user. i want to show different name like amit send from group ma

  • Constructor in object not invoked

    Hi, I'm loading an object collection via the following SQL and am fnding that the constructor for each instance of the object table is not invoked: declare tb_Msg_Batch tb_Msg := tb_Msg(); begin select cast(multiset ( select ddq.Entry_No ,10 ,ddq.Ent