Can I modify a e.g. drawCircle Graphics object?

I have a Sprite in which I have drawn a circle with a fill.  Later on, I wish to modify the color of this circle.  I have retrieved the Graphics object from the Sprite using getChildAt(), and have tried:
getChildAt(i).graphics.beginFill(0x550000);
however this does not work.
Is this possible?  I've RTFM'd but can't figure out exactly how to deal with the Graphics object.
Thanks!

you need to re-draw the circle.
sp.graphics.beginFill(0x550000);
sp.graphics.drawCircle(x,y,rad);   // <--assign values
sp.graphics.endFill()

Similar Messages

  • Bounding box of a Graphic object

    Hi,
    How can we obtain bounding box of the graphic object generated by fill etc.,
    i tried with "pathbbox" it will provide the exact x,y position but iam not able to get the height and width of the object.
    Regards,
    S.Sudhagar

    pathbbox gives the bounding box of the current path (subject to the limitations on curves described). I am not sure why you say you can't get width and height.

  • Can't modify text on Type Overlay in Acrobat Pro 9.0

    I'm trying to modify a menu for a local restaurant. They gave me the file as a .pdf file, and it's listed as a Type Overlay file. Advanced editing and touch up text tool do not work (I'm trying to delete an item that is no longer served).
    The entire menu page comes up as an object / picture, not as text. Using the touch up text tool does delete the desired text, but it changes the entire layout of the page, moving text over several columns and covering existing text. Trying to realign the text by putting space in the missing pieces location just compounds the problem in several bizarre ways.
    How do I determine what type of format this is. It says there are no layers, it appears to be one image, but deleting or changing any portion of the image causes undesired movement of text. How do I delete, or insert text as the menu changes?
    Thanks!
    John

    Here's an update to the problem I was having.
    I couldn't find any way to edit the pdf "as is" in Acrobat, but through obstinance and trying everything at my disposal that had even a slim chance of working, I came up with a solution.
    By opening the pdf up in Adobe Illustrator, it gave me the ability to cut / paste, delete and modify the text without problems or errors. I was then able to resave as a pdf. The file works great, and though I still can't modify it in Acrobat, Illustrator works fine until I get the original file.
    On a related note, Illustrator allowed me to remove the menu background from the pdf file and save it (the text only) as another pdf, getting rid of clutter but maintaining alignment so it still prints on the menu paper and stays in line with the graphics.
    I hope this helps others!
    John

  • [CS3 | JS] Can't modify geometricBounds of object

    Okay, I've built some very complex scripts in VB but I'm now working on my Thesis on a Mac and trying to script in JS and some things I probably shouldn't be having problems with, I am.
    Like this one: I can't modify (or even read) the geometricBounds of a placed graphic. Here are the lines that are applicable:
    var myGraphic = myPage.place(File(myFileList[myKeyFile]),[0,0]);
    var myBounds = myGraphic.geometricBounds;  (this gives me an error of Undefined)
    When I use the Extendscript toolkit's Data Browser to twirl down myGraphic when at a breakpoint on the second line, it says myGraphic = [object PDF] and has attributes of concat(), Array(), hasOwnProperty(), and many others, none of which seem to be attributes of graphics. Nothing familiar.
    What am I doing wrong?

    Placed graphics are arrays. So after
    var myGraphic = myPage.place(File(myFileList[myKeyFile]),[0,0]);
    you have a one-element array myGraphic. The graphic itself is myGraphic[0]
    To set the geometric bounds, you need to address the graphic's containing rectangle, in other words, its parent:
    var myBounds = myGraphic[0].parent.geometricBounds;
    Peter

  • Can you modify itunes "restore feature" so that i can restore my ipod to 5.1.1 as in itunes it also updates it.

    i want to downgrade my ipod to 5.1.1.  If you can please modify itunes so that while restoring my ipod , itunes does not automatically upgrade it but make it return to the original version which is much better than ios 6.0.1 as it is slower, i don't like z graphics and etc 

    Is the device actually in recovery mode?  What is showing on the display?
    If it's the "Connect to iTunes" screen, then the information is already lost.
    If you've forced the device in DFU mode... reboot it and simply sync with the computer.

  • Qosmio X500-15F - How can I modify the DPI?

    Hello
    With Qosmio X500-15F and graphic card NVIDIA GeForce GTX 460M
    I'm using a professional software for jewelry building (Matrix 6.0 based on Rhinoceros 3D 4.0 SR9). When starting it, the software is asking me to set the DPI to normal.
    How can I modify the DPI? I already tried different resolution settings. It doesn't change the problem.
    Thanks for help

    DPI is how many pixels per inch of the LCD. You can't change that.
    I think the software needs a specific resolution or LCD size. Try lowering the resolution to 1280x800 or try an external monitor.

  • How can I modify data from a Transparent Table without ABAP code.

    Hi,All
    How can I modify data from a Transparent Table (like TCURR),  and important thing is I want do all that with no ABAP code here. It is like that we always do that in a Oracle database use TOAD or PLSQL third party tools, with no script code here.
    I had fond that there is a way can do that:
    1, type 'se11',and Display Database table 'TCURR', click Contents, then click Execute to display all data
    2, type '/h' and let debugging on
    3, select one of this data then click 'Display',enter in debugging system.
    4, then make a breakpoint in the code. But... display a dialog let I type a 'ABAP Cmnds', I want to know what can be type in for that?
    and, My system is ECC6.
    thank you all
    Edited by: xuehui li on Aug 20, 2008 6:30 PM

    Hello,
    Your approach (with Vijay's suggestion) MAY work.  However, depending on how tight security is at the company that you are working at you may or may not be able to acutaly change the value of the SHOW field to EDIT.  This will be especially true if you are working in a Production environment.  Vijay's other comment is true as well.  This is not a recommended approach to change data (especially data with a financial impact like TCURR) in a production environment.  The auditors will not be impressed.
    Explore the option of a maintenace view or look at tcode TBDM to upload a file which includes daily rates from providers like Reuters or try tcode s_bce_68000174 which is a maintenance view on TCURR.
    Regards
    Greg Kern

  • How can I modify datas on one OpenLDAP server

    Hello, I am testing Leopard server 10.5.2 ; we have one open ldap server on our network with more than 700 users and I can access to it on the workgroup manager. Unfortunately I can't modify the datas which are on the open ldap server (only with Workgroup manager) but I have no authentification problem using Safari and a php module (cn=admin.....+ password). Is it normal ? Can I import the accounts on my OD Server. This one is setup as a OD Master. As we have a lot of people on the Openldap server I don't want to recreate them manualy.
    Thank you.

    Hi
    Yes you should be able to do this. Passwords will probably not be transferred over. However once transferred you can specify a password policy for all users to change their passwords at next log in.
    You don't say which existing LDAP server you have. It may be advisable to you use a 3rd-Party application to transfer Users etc over. I've heard that Excel can be used although I have always used Passenger.
    Tony

  • In Address Book, how can i modify several contacts (several cards) at the s

    Hello,
    In Address Book, how can i modify several contacts (several cards) at the same time ?
    for exemple : I have 100 contact which live in Paris, I select all of them together, but when I put "Paris" in the field "city", it puts "Paris" only in the fisrt contact !
    how to edit several contact at a time ?
    And I would like to put some kind of "tags", or words, in "remark", also by selecting several contact and edit them together...
    Thanks by advance !
    Alexandre.

    Welcome to the discussions, Alexandre1975 et bonjour.
    Just using Address Book this can't be done, but if you are prepared to try a little Applescript it is easy. This script will set the city for example - but only if there is already an address.
    AK
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Address Book"
    set ContactList to the selection
    repeat with ThisOne in ContactList
    set city of first address of ThisOne to "Paris"
    end repeat
    end tell</pre>
    (The recent upgrade to the discussions has disabled the link that allows direct opening of a script, so run Script Editor and copy in the script.)
    Message was edited by: Austin Kinsella1

  • Can approver modify user's request form in OIM 11g?

    Dear All,
    In OIM 10g, the approver of a request can modify user's request form, we just need to configure the permission in OIM. But, can we do it in OIM 11g?
    If can, how can i configure it?
    really need your help guys,, :D
    Thank you,
    --herry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi user12841694,
    Thanks for the suggestion. But, the data (field) that can be modified by the approver is very limited. We cannot attach multi-valued attribute there (like Child Form).
    Regards,
    ---herry

  • Can you modify the price of a contract in the ME32K directly from the item

    Hello,
    I am in ECC6.0
    I need to modify the price of an item in the contract (ME32K WK or MK) but it is grey (only in display). So I must do Item-Condition and then I can modify the price of the item.
    Can you modify the price of a contract in the ME32K directly from the item screen?
    I have try with several field selections but nothing.
    AKTV     Change
    MKK     Quantity contract (for MK)
    WKK     Value Contract (for WK)
    PT0K     Standard item contract
    Cheers,
    Marta

    HI,
    If you maintain any condition in the contract line item condition, like freight, discount etc. the landed price gets populated in the line item price field. So if you want to make any change in base price, it has to be changd in the line item condition.
    This is because, You can maintain different validity period in condition and maintain different price in each validity period. So which price you want to pick? So the system captures the price from condition and populate it in the item price field depending on the validity period price.
    Hope this helped you.
    Regards

  • Can I modify the column "Net Price" of purchase order to display 3 decimals

    Dear expert,
         Can I modify the column "Net Price" of purchase order to display 3 decimals?
         Looking forward to your reply.
         Many thanks.
    Best Regards,
    Merry

    Hi,
    You can easily change ur decimal place in OY04 by seeting number of decimal place to ur currency.
    But be careful as it cause a huge effect to ur finance documents, read system message carefully before applying.
    Regards
    ManUfacTuReR

  • Can I modify the default text in an email submission?

    When I press the "submit email" button on my form, it opens Lotus Notes (yes, gag, corporate decision) and appends the XML file to an email that states:
    "The attached file contains data that was entered into a form. It is not the form itself.
    The recipient of this data file should save it locally with a unique name. Adobe Acrobat Professional 7 or later can process this data by importing it back into the blank form or creating a spreadsheet from several data files. See Help in Adobe Acrobat Professional 7 or later for more details."
    Can I modify this text somehow??
    And, yes, I'm a total newbie to LiveCycle ES forms...

    We ran into the same issue so we chose to create our own email submit button. We even allowed our users to enter their email, subject line and body using response boxes. We used the standard button and added the following Javascript on the click event.
    var mail;
    var vAddress = xfa.host.response ("Please enter the email address","EMAIL RECEIPIENT","[email protected]",0);
    var vSubject = xfa.host.response ("Enter subject line","WHAT IS EMAIL ABOUT","Here is the file you wanted",0);
    var vBody = xfa.host.response ("Enter body of email","Details", "Here is the file you requested. Thanks for your time",0);
    if (vAddress == 0 || vSubject == 0)
    xfa.host.messageBox ("Email Cancelled","This file will not be emailed",0,0);
    else
    mail = "mailto: " + vAddress + "?subject=" + vSubject + "&body=" + vBody;
    event.target.submitForm({
    cURL: mail,
    bEmpty: true,
    cSubmitAs: "XDP",
    cCharset: "utf-8"
    If you want the body of the email to be blank just remove:  + "&body=" + vBody
    Hope that helps

  • Can't modify time in flash player 9?

    Hi guys, I want use flash for my device GUI.when I install flash player 9 in ubuntu yesterday, I found can not modify system time, I use system cmd change the time to before ,like 10:00 AM change to 09:50 AM,the flash GUI is stop and after 10 minute will go on.
    Anybody can give me some advise?Thanks!

    Would you mind reposting this question over on the Flash Professional forums?  This forum is primarily for end users, the Pro forums will get you in touch with a wider developer audience.

  • Can't modify Outbound Connection Pools properties in WebLogic 10.3.6

    I'm trying to configure BAM adapter in WebLogic Administration Console. Navigate to deployments -> OracleBamAdapter -> Configuration -> Outbound Connection Pools -> eis/bam/rmi -> tried to enter property value of Hostname but I couldn't. It is not in edit mode - no check box in front of Hostname column. I tried to enter the value in the hostname property and save but nothing was saved.
    I've unlocked domain configuration lock and I see the <lock & edit> button is disabled and <release configuration> button is enabled in the change center. So why can I modify the property value?
    WebLogic 10.3.6
    SOA 11.1.1.6
    BAM
    All are installed in the same server and SOA is installed with development mode. I didn't bounce the admin server after unlocking the domain configuration, is this required?

    Thanks, Arik. I just figured it out and was banging my head against the wall when you posted the message. :-) Thanks for the reply!

Maybe you are looking for

  • My Sharepoint data is missing from pages. How do I get it back?

    Hello All: I have been putting together our firm Sharepoint site and nearly completed it when all of the sudden my site data disapears. On any article page that was created, the text and images are simply gone. If I go in and edit the page, all of my

  • Sync Calendar with Contacts?

    Is this possible, if so, how? I have many birthdays in contacts that I would like to have in calendar, to set reminders.Doing them all manually is a pain. 

  • Restrict number of records in Standard Check Printing Report R12

    Hi, My client wants only 8 records to be displayed in each page.Only after all the records have been displayed the cheque should be displayed.Could someone help me with this.Iam using an RTF Please send me any related RTF or code.Its very Urgent Than

  • Order of a Append Query?

    I am trying to get  QryNoZeroUpdateFliltered to filter OwnerID  before my Dues function is called, is this possible. Thanks for any help........Bob INSERT INTO tblOverdue ( OwnerID, ThreeMonths0, TwoMonths0, OneMonth0, Current0, ThreeMonth, TwoMonth,

  • IO Budget exceeded  error message BP603

    Dear Gurus, I need to make the Error message to Warning relate  Internal Order Budget exceeded. Is there  any SAP note suggesting to add Error message BP603 to table T100s. Application area BP is already given in T100SA. But the message BP603 is not