Geting a name from a button I just pressed

Hi !
I tried to use this._name to get the name on a button in one
of my movieclips. but that just gives me the name of the movieclip.
I tried to access the name from within the button but I can't post
any scripts in the buttons scriptpanel. how will I get the name
otherwise?
/Mikael

Define it as a function instead of adding the handler
directly to the
button. If your buttons instance name is btnOne then place
this on the
timeline of the clip it's contained in:
btnOne.onRelease = function(){
trace(this._name);
Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • Disconnect from WiFi Button in Yosemite (Faster File Transfers via Airdrop)

    Hi all! Just thought I'd share a great new pro-tip I found that's pretty handy.
    Sometimes file transfers through a complex or busy network with a  (think hotel lobby or coffee shop), Airdrop file transfers can run extremely slow vs. it going from computer to computer via no network (Ad Hoc). I was determined to find a work around for disconnecting from a WiFi network without turning off Wifi.
    Anyways, Yosemite introduced a much asked for feature - The disconnect from WiFi button! Just hold down option while you select the WiFi indicator on the menu bar and click disconnect! Your WiFi will continue to be on and it simply won't connect to that network again. If you now search for other computers in AirDrop, it will find them and be a much faster computer to computer connection.

    Testing in a new User will quickly tell you if the problem is system wide or if it's your User's folder that contains the problem.
    CREATE A NEW USER
    Go to System Preferences --> Create a New User in Users & Groups Switch to the New User by logging out/in or use Fast User Switching.
    Enter your Apple ID and password.
    Test Markup in Mail using the iCloud account.
    Continue testing to see what works in the new User.
    Do you still see the issue?
        If yes, then the problem is with your base files.
        If no, then the problem is in your User's folder.
    Finder - my iMac name is - iMacs iMac. All of a sudden it become iMacs iMac (2) and latter iMacs iMac (6). What are these numbers ?
    In System Preferences > Sharing you can see name. When Finder adds a number it indicates it's seeing another drive with the same name. You can select to rename but this could also be an indication of issues at the base level.
    Do you have an external drive that could be used to clone your drive in case you need to do a clean install?

  • Pass the name of a button into existing instance of a class from actionlist

    I want to pass a name of a button from actionlistener that is associated with that button into existing instance of a class. I need to do so because I have array of buttons and I have set the name of the buttons as coordinates. Is there a way to do that?

    My buttons are declared as JButton arrayOfButtons[][] = new JButton[numberOfRows][numberOfColumns];and I labeled them inside 2 for loops as:
    arrayOfButtons[row][column].setName(Integer.toString(row) + " " + Integer.toString(column));
    arrayOfButtons[row][column].setText("Some displayed text");I also added ActionListener
    arrayOfButtons[row][column].addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e) {
            System.out.println(((JButton)e.getSource()).getName());
    });Now when I press a button it only displays the array coordinates on a command line. I want the class instance where I declared the buttons to get notified which button was clicked.

  • When I try to download from apps store and hit install button it just becomes a colored block and won't let me install anything.

    When I try to download from apps store and hit the install button it just becomes a colored box and nothing downloads. 

    If you have an iPod with iOS 3.1.3 then it is due to an Apple problem.

  • Where do I get the download from iTunes button art, rather than just stealing from someones site

    where do I get the download from iTunes button art, rather than just stealing from someones site

    Interesting. It looks to be available from the iTunes Affiliates resources for everyone:
    Affiliate Logo Guidelines and Art
    ... although it also says you ought to be an affiliate to actually use it.
    It might be worth checking in with Apple Legal to see what the requirements are for using it, first. Here's contacts:
    http://www.apple.com/legal/contacts.html

  • I've just sold my macbook to a friend. How do I completely clear my account and name from

    I've just sold my macbook to a friend. How do I completely clear my account and name from it. TIA,
    Eric

    What to do before selling or giving away your Mac

  • Hey sur. my name anas and am from morocco i've just got a new iMac 2011 with OSX 10.7 and i want to downgrade to 10.6 please could you help sur to solve this it

    hey sur. my name anas and am from morocco i've just got a new iMac 2011 with OSX 10.7 and i want to downgrade to 10.6 please could you help sur to solve this it

    anas guellaf wrote:
    it still make 3 bips before starting the IMAC.
    That is another problem not related to the Mac OS X version you are trying to use.
    Three beeps at startup means you have a bad ram module in the computer.  Did you install the ram or did it come from another owner this way?  The first problem you need to solve is the bad ram.
    When the iMac starts, go to the apple left side of the menu bar, About This Mac, More Info, System Report, Hardware, Memory and see what the report is on the memory...does the iMac report all memory modules that have been installed as OK or does it show bad memory?  If there is not any information, you then need to remove the memory modules and restart one at a time to see which is bad.
    On the bottom of the screen there should be a small door that you can remove with a small screw driver.  You need to lay the iMac flat, disconnect the power cord, remove that small door and remove the memory modules.  You can then put two in (if it has four) and see if it starts without the beeps.  Do that with each module so you find out which is bad.  Once you know the bad memory, you can buy a new module, just like the ones installed, so the iMac starts without the beeps.
    Next, you cannot use a DVD for another computer for your iMac unless it is from one that is identical to yours.  So, you need to talk to Apple and have them send the DVD for your particular iMac.

  • I just pressed the wrong button to erase of my IMac, how can I get back all information from my computer ?

    I just pressed the wrong button to erase of my iMac, how can i get back all information ?

    Possibly through a data rescue service (can cost a four-figure amount) if you didn't have an external backup.
    But you must stop using that Mac immediately, or your data will be over-written.

  • Getting values from radio buttons in jsps

    i am doing online quiz. i have a problem with radio buttons
    <input type =radio name="a" value="opone"> x
    <input type =radio name="a" value="optwo"> y
    <input type =radio name="a" value="opthree"> z
    i what to get the values from the radio button
    so i have used
    request.getParameter("a");
    so i am not getting proper output (x or y or z) here
    i got what ever i have selected value ie opone or optwo or opthree here but not xor y or z.
    can u please help me

    <input type =radio name="a" value="x"> x
    <input type =radio name="a" value="y"> y
    <input type =radio name="a" value="z"> z
    There you go. The value is what is actually submitted, what you print outside of the radio button is just visible content.

  • Remove Printer Name from Crystal Report

    How can i remove the printer name from the Crystal Report so that the PrinterName property of the CRAXDRT.Report object in the RDC SDK is blank WITHOUT having the "No Printer" Option checkbox checked?
    Here's the scenerio.  When I first create a Report and don't go into Page Setup, PrinterName property is blank.  If I go into Page Setup and explicitly select a printer, PrinterName property equals the name of the printer selected.  If I check the "No Printer" checkbox in Page Setup, PrinterName property is blank.  But if i go back in and uncheck the "No Printer" checkbox in Page Setup, the PrinterName property equals the name of my Windows Default Printer.

    I'm still not sure what is unclear about my first question.  And I'm not sure how any of the info you are requesting is going to make any difference in answering my question.  And I'm not sure how your analogy fits here but ..
    Version of CR = 11.0.0.895
    CR Service Packs applied = None
    Web or Win app? = Win App
    OS? = Windows XP Service Pack 3
    Development language?  = Both Visual Basic 6 and C#.Net 2008
    Method of CR files deployment = email the .RPT file to a client
    Where were the runtime files downloaded from? = Runtimes are installed from Merge Modules donwload from SAP site
    What is the version of the craxdrt.dll on the deployed box? = 11.0.0.893
    So here are the exact steps so you can understand what is going on:
    I have the Crystal Reports Application open side-by-side with my Visual Basic development environment in debug mode so i can step through the code using the RDC SDK.
    1. I open the Crystal Reports Application and create a brand new report - "Test.RPT" and DO NOT go into Page Setup at all and save the report.
    2. In my Visual Basic development environment, i run the code that will generate the report, Here's the exact code
        Dim m_crApp As CRAXDRT.Application
        Dim m_crReport As CRAXDRT.Report
        Set m_crApp = New CRAXDRT.Application
        Set m_crReport = New CRAXDRT.Report
        Set m_crReport = m_crApp.OpenReport("Test.RPT")
    3. When i look at the PrinterName property in the CRAXDRT.Report object, it is blank.
        ie. crReport.PrinterName is equal to ""
    4. I reopen the Crystal Reports Application with report "Test.RPT" and go into Page Setup and check the "No Printer" option.
    5. I go back into my Visual Basic development environment and rerun the code that will generate the report.
    6. When i look at the PrinterName property in the CRAXDRT.Report object, it is still blank.
        ie.  crReport.PrinterName is equal to ""
    7. I reopen the Crystal Reports Application with report "Test.RPT" and go into Page Setup and uncheck the "No Printer" option. I have NOT specified any printer, nor have i clicked the "Printer..." button to setup a printer....i have just unchecked the "No Printer" option
    8. I go back into my Visual Basic development environment and rerun the code that will generate the report.
    9. When i look at the PrinterName property in the CRAXDRT.Report object, it is now set to my WINDOWS DEFAULT PRINTER, yet i had not specified any printer.
        ie.  crReport.PrinterName is equal to "
    MyNetwork\MyPrinter"
    PROBLEMS:
    1. The client needs the report to go to the default windows printer of their machine
    2. If the "No Printer" Option is checked, the Report does not print at all
    3. If the report is set to MY default windows printer and i give it to the client, at times it takes upwards of to a minute for the Print Dialog to disply.  As i've read on other forum posts, it appears Crystal is looking for MY printer on the clients machine and takes a minute before i realizes it can't find it and then sets it to the CLIENTS default windows printer.
    4. The client believes it is unreasonable to wait a minute for the print dialog to appear ...and i agree.
    5. I cannot change the code to use the Select Printer in the RDC SDK - it's a long explanation why but just suffice it to say that i cannot do this.
    All i want to do is either:
    1. Remove the Printer Name in the actual report from the Crystal Reports designer - basically undoing what Crystal did when i went into Page Setup.
    2. Via the RDC SDK, be able to detect the "No Printer" option is selected. Checkign CRAXDRT.PrinterName equal to "" is not an option.

  • Calling a Procedure from a Button? (REVISITED)

    Hi All,
    I once asked a question Re: Calling a Procedure from a Button? & that problem was resolved when i was working on the online ApEx.
    On my application, requirements have changed a bit: I have one form based on two tables. One table contributes two fields (name & surname) to the form while the remaining fields are contributed by another table to make a total of 17 fields on the form.
    My process is in such a way that a user enters an id number & clicks Search button, if the apllicant exists then both name & surname corresponding with the id number will be retrieved from the database. If the applicant does not exist then an error message will be displayed inline with the id number field. Here's the PL/SQL anonymous block to that:
    DECLARE
    vNAME APPLICANTS.name%TYPE;
    vSURNAME APPLICANTS.surname%TYPE;
    BEGIN
    SELECT count(*)
    INTO :P2_COUNT
    FROM applicants
    WHERE id_number = :P2_ID_NUMBER;
    IF :P2_COUNT > 0 THEN
    SELECT name,surname
    INTO vNAME, vSURNAME
    FROM applicants
    WHERE id_number = :P2_ID_NUMBER;
    :P2_NAME := vNAME;
    :P2_SURNAME := vSURNAME;
    ELSE
    apex_application.g_print_success_message := '<span style="color:red">Applicant does not exist.</span>';
    END IF;
    EXCEPTION WHEN NO_DATA_FOUND THEN
    apex_application.g_print_success_message := '<span style="color:red">Exception Caught.</span>';
    END;The PL/SQL block works except for error displaying part (but that's a problem for another day).
    NB: On my application, there’s already Automated Row Fetch & Automatic Row Processing (DML) processes for one table. Furthermore, there is also a javascript for verifying the validity of an id number. As a result, I decided to include Automated Row Fetch & Automatic Row Processing (DML) processes for the other table. When I click a Search button the javascript is activated even though I did not specify a URL target for the button - because this is a simple button among region items – it does not have Optional Url Redirect section.
    I'm not sure what I'm doing wrong here - any help is appreciated.
    Regards
    Kamo

    Hi Dan,
    Sorry for causing confusion with my post - it's just that I was asking the same question (with different constraints) as I had asked before so I didn't feel like going to details was necessary because in my post I included a link to the previous thread. Interestingly, I was working on apex.oracle.com when I posted the original thread - the only problem came to be when I started to move the solution to my application on my machine.
    Anyway, thanks for the response!
    Regards
    Kamo

  • Caller ID for incoming calls NOT displaying name from contacts (only displays phone # on BB Z10)

    on the Z10 Whenever I receive an incoming call, the caller ID only shows the phone #, even when I have that number matched to a contact in the phone, even the call log it show the number and not the name.  How do I get the caller ID to recognize and display the appropriate contact name with the phone fro an incoming call? Any help would be greatly appreciated!  Thanks, Akhanbilal

    Thank you Arsen but, as with everyone else : (1) When you get an in-coming call, it has no call log on the phone app call log that allows you do a thing under the sun except to touch the number of the last call, and when you do, it CALLS THEM BACK. (2) On every other BlackBerry I have owned, about 10 to-date, I simply selected the last in-coming call and had a button at the bottom of the screen to allow me to ADD TO CONTACTS. (3) This does NOT exist on the Z10, and there certainly is no "Click on number, little slider pops on the right, select add to contact."  Instead it dials them.  Frustrating other uses have described Arsen. Further, while on the topic : (4) None of this has anything to do with 10-digit national dialing plan or anything else on swipe finger down from top in Phone App, Arsen. (5) When you swipe Phone App down, you see SETTINGS. Then, there are 13 items.  I have looked at all 13 items and see nothing as you describe to select, nor any instructions on what to set the SMART DIALING to when there are 3 area codes local for my city and country code shows +1. Further, while on topic here : (6) Visual Voice Mail has been turned-on and whatever visual voice mail is, never supported on any previous BlackBerry including my 9780 before this, I have it with T-Mobile and have it turned on on the BlackBerry Z10 and it too does not work.  On the positive side, I do have a work-around for BlackBerry Z10 to 2013 Toyota entune. (7) I first took a vm msg .wav file of just hello (blank will not send) and saved it on BlackBerry Z10.  The Toyota entune is LOOKING for a music and will LOCK-UP if none are found.  By giving it this, it worked on my 2013 Toyota entune for the 1st time ever.  Yeah !  It is a little frustrating every few minutes listening to myself say HELLO.  But, hey no one really notices it with all the other stuff going on NAVIGATION, radio, cell phone calls, and all the computerized alerts on 2013 Toyota even without entune. (8) What I did now was to go into Navigation and remove SYNC with MUSIC.  I accomplished that after pairing to Z10 to 2013 Toyota, by CANCELLING ALL CONNECTIONS leaving only the pairing itself.  Then, you must choose some connections in the pairing section of SET-UP within Navigation itself.  If you cannot even get to that point, try depressing on the Navigation Screen, INTERNET at which point it will allow you access to SET-UP when you see the message NO ENTUNE APP FOUND ON YOUR BlackBerry Z10.  Red-headed step-child is what we all are.  Have to help each other.  Arsen I appeciate you helping all of us.  Seems the list is about 20 who have voiced it here in this one thread.  We voice it for the 200 million BlackBerry users worldwide, all left out in the cold despite a pretty cool Z10 product. Far better than iPhone 5.  I chose phone and internet.  Internet comes back no BLACKBERRY Z10 TOYOTA ENTUNE APP.  But, at least now I don't have to hear the music HELLO and do not also have the BlackBerry Z10 LOCKED-UP with pop up message you have to say OK to 10 million times to clear and never can actually do a thing on the BlackBerry Z10 as  a result.  Cannot add an in-coming call to Contacts Z10. Cannot see name and number calling me, just the bloody number, no clue who is calling ridiculous. Cannot do diddle-e-squat on BlackBerry Z10 on Toyota entune.  No App.  Horrendous. TAGS : Z10 no caller-id name, Z10 no app Toyota 2013 entune, Z10 add call to Contacts

  • Table name from field

    Dear Sapers,
    How to find table name from field name to write functional spec.Pl elaborate it for normal & zdevelopment.Points will be rewarded for useful answer.
    Thanks in advance.

    Hi Uday,
    Just for the sake of help this reply......
    You can find the name of tables by using F1 button keeping cursor on the respective field that you want to bring in development. From there you have to move to Technical details through technical details button.
    If that field or values are getting saved into some structure then you have to search the right database tables. According to your module many database tables are there (that you can search from sdn.sap.com directly). That totally depends on your report/development that you want to bring in......
    In any development deciding the right table for start up ( I mean to say tables that will give you input fields in your FS) is critical, latter you have to search linking tables and have to give logic about how to pass values from what to what field and what to what table..... In this case Transaction code SE11 and SE16 are useful......
    This all is slightly confusing and tedious too...... Closely work with you ABAPer to get into many things and have successful development....
    Have nice development....
    Cheers!
    Abu Arbab

  • Can I change the Caption (name) of the button Go for the dashboard prompt

    Hi,
    Can I change the Caption (name) of the button Go for the dashboard prompt
    I need to change the name of the button to Set Prompt Values.
    i did not see an option to do this
    Thanks

    Hello Yusuf,
    First follow the forum Etiquette, see this http://forums.oracle.com/forums/ann.jspa?annID=939
    You have to close the answered threads...
    And regarding your question
    Go to *{OracleBIDir}:\oraclebi\web\msgdb\l_en\messages*
    Open globalfiltermessages.xml file.
    Find this text
    <WebMessage name="kmsgGFPGo"><TEXT>Go</TEXT></WebMessage>Now edit the Go which is there between the TEXT tags..
    Ex: i am editing Go to Confirm
    <WebMessage name="kmsgGFPGo"><TEXT>Confirm</TEXT></WebMessage>Save this file and just restart your presentation service.
    Check your dashboard prompt now...
    (Editing this post from here)
    As per your requirement edit should be:
    <WebMessage name="kmsgGFPGo"><TEXT>Set Prompt Values</TEXT></WebMessage>Edited by: Kishore Guggilla on Jul 18, 2009 2:45 AM

  • Problems with a mailto link from a button

    Dear All,
    I am trying to create a mailto link from a button within a page which will also pass several variables. Everything is working well until it comes to generating the body of the message. I can generate content in the body but if I add a new line into it (using %0A or %0D) the link stops working. Remove the offending hex and it works fine. Does anyone know how to pass a new line within the body of a mailto link. For detail the link is shown below
    mailto:&P41_CUST_EMAIL.?subject=Quotation Feedback Request&body=Dear%20&P41_CUST_NAME.,%0A

    I need to do the exact same thing. How did you accomplish this. I tried putting the URL in the footer, but the values of the body keep showing the item name, and not the value of the item.
    do you get the button to work?
    I'm tried creating it through a button, but it just creates some garbage and a non working link.
    How did you build the body? I'm having issues building the body using processes.
    Edited by: ABD - DBA on Mar 9, 2009 3:15 PM

Maybe you are looking for

  • Error in displaying dynamic contents in tableview?

    Hi Experts,                  I am developing a jspDynpage which displays dynamic contents in a tableview. ie, the contents are retrieved from LDAP  Active directory. But i am getting wrong number of results. For example, If i give last name as Name1,

  • PPro CS4 "unknown recorder error"

    Premiere Pro CS4 and Premiere Elements 7.0 are both having the same problem on this machine.  During the digitizing process (F5 - Capture window) it will randomly stop digitizing and a window titled Recorder Error pops up with the unhelpful message "

  • Connect Lotus Notes with ODBC driver

    I am trying to figure out connecting SQL Developer with ODBC connection ( set on to ODBC Data Source ) for lotus notes. I am able successfully connect through Excel with that connection. With SQL Developer , its asking for JDBC driver but lotus notes

  • How to draw uiview in background thread.

    hi all, i have a big map in my iphone application, i need to dynamic load the map when user move the map. in this case, i need to draw the new loaded part before user can see it, my question is how to draw those new loaded part in background thread?

  • Does Adding Ram To A New MacBook Pro Void The Warranty?

    I am considering getting one at the end of the month and this answer will probably help me decide whether to get the 2 gig or 4 gig model.