Graphics.draw() issues

I have a custom UIComponent that always measures 50x50 pixels
(in the measure() function). I use the Graphics object to draw a
filled box that covers the whole area. I then draw a few circles
and add text outside of the box. I do this so that when I reference
the object, I know the (0,0) coordinate is at the top left of the
box and I dont worry about the text or circles.
Some problems occur when I draw circles only on the left
side, or when I draw a filled circle on the right side: I get an
infinitely wide filled box whose origin (0,0) is where I just drew
the circle. Ill try to post an image somewhere so you can see this
problem.
Has anyone else seen this, or is there some problem inherent
in drawing outside of an objects measurements?

I think I have found my probelm:
graphics.beginFill()
graphics.drawRect(...)
graphics.endFill()
This code is in the UpdateDisplayList() function of my custom
component. I commented out the drawRect function, and saw that the
phantom box still appeared in the same distinct color defined for
the code in quiestion(different than all other fills used, so I
know it is THIS fill that is the problem). And the box's
coordinates directly correlate to a line that I draw earlier. This
leads me to believe that the UpdateDisplayList function gets called
again before the end fill.
Ill try throwing in endFills, or try placing this fill code
earlier in the updateDisplayList method.

Similar Messages

  • 2D Screen Draw Issues - KT880 Delta

    Ok, here I am again after resolving all the other issues.
    It would appear that I am having some slight 2D screen draw issues.  As with everyone else that has posted in these forums along the same lines with the KT880 Delta everything is fine with 3D.  For some reason it is only with 3D.
    So far I have done the following:
    Moved my Soundblaster Live Card to the 5th PCI Slot to avoid any conflict.
    Installed, Uninstalled and reinstalled both sound and nVidia drivers
    Disabled VLink 8x in the bios
    Set AGP to 4x in the bios (I only have a 4x AGP card currently)
    Set the cache to 128mb
    First installed the correct 4-in-1 drivers, then superceded thoses with the Hyperion drivers instead.
    Despite all this I am still getting draw issues when minimising and maximizing windows, scrolling through web sites, and dragging open windows around the desktop.  However, I have tried 2d drawing tests on windows media player 10, as well as pitstop (that actually told me I had a good setup!!)
    So, not too sure what to do...any more help would be great.
    Specs are:
    MSI KT880 Board
    Sempron 2800+ 2.0ghz CPU
    1.5Ghz DDR333 memory
    Gainward MX440 128Mb 4x AGP card
    Creative Soundblaster Live! 1024 card
    350w PSU (Not sure what type it is!!!)
    I hope thats enough information

    This appears to be a recurring problem with the KT880 across several different graphic cards (mostly NVIDIA).  I've never seen so many complaints specific to 2D graphics collectively as have been reported here for just one particular mainboard.  There is talk of a BETA BIOS that solved at least one case, but not others:
    KT880 Slow 2D Performance with Leadtek 6600GT AGP
    KT880 Screen Draw problem
    KT880 DELTA mainboard and 2D speed decrease
    MSI kt880 Delta + Graphics card = problems
    KT880 Slow Screen Draw and other problems
    KT880 DELTA FSR Problem with graphics in Win XP
    The number of reported cases is more than the # of threads because some users entered into existing threads to report they had the same problem with KT880.  MSI should be investigating this issue.

  • Windows 8.1 not working properly, may be due to graphics driver issue

    i have installed windows 8.1,  but when i press widows key... the menu which opens is laging.... is it normal or some graphics driver issue... help required

    Hi
    It depands on the type of system/notebook you have installed windows 8.1 on
    Please give us the Product # and the modle name of the notebook so that we can answer the question better and also try to find the right drivers if any.
    Hope this helps.
    ***** Click the KUDOS Thumbs UP (Like) on the left to say 'Thanks'*****
    ****Make it easier for other people to find solutions, by marking my answer “Accept as Solution”&"Kudos"if it solves your problem.****
    -VJ
    Although I am an HP Employee, I am speaking for myself and not for HP.

  • Macbook Pro Retina 2014 Top Spec - Premiere Pro CC Graphics Card Issue

    Hello,
    For 12 months I have been having graphics card issues which all started on my 2011 MBP, which Apple replaced 12 months ago. I Then got a new shiny, 2013 highest end retina macbook pro from apple, in which after a couple of weeks had the exact same graphics issue. As soon as I start working in Premiere Pro with my 1080P DSLR footage, once the fans get up high, then the graphic colour hologram like start pooping on my screen. Now I got that retina replaced as I alerted apple about it, now they have given me the highest end 2014 model, and guess what? The problem is twice as bad.
    I think it's definitely got something to do with the Apple software. It's weird though, because on the rare occasion, the graphic poop will show up on my screen when I am on Youtube (only once in a blue moon it does that) - it does it every single time 15-20 mins into editing with Premiere Pro, once the fans get hot. I can click on the graphics poop and it makes it disappear, which is weird, maybe that proves it software issue?
    I don't know, but this problem has caused me to go through two of apples most powerful laptops, 60 phone calls to Apple, 1 investigation lodged to the Apple Engineers (the people who are above the Senior Apple Care Advisors) - Nothing seems to fix it, and I haven't been able to create any more intriguing films on my laptop because Premiere Pro CC just brings up all the graphics poop.
    Screenshots:
    http://imageshack.com/a/img537/653/IgdBK9.png
    http://imageshack.com/a/img538/9601/WLQYnM.png
    http://imageshack.com/a/img538/152/EIFd22.jpg
    Does anyone know what causes this exactly? How do I fix it?

    JGFilm88
    Thanks for the follow up information for my video card/graphics card question that came to mind out of curiosity.
    I do not have Premiere Pro and am strictly and Elements Windows user. Otherwise I would look into this matter for you first hand. The place you want to be is in the Adobe Premiere Pro Forum, although, as you already mentioned, the screen display irregularities have appeared when Premiere Pro was not being used. Have you tried uninstalling Premiere Pro to determine if its removal from the computer resolves the screen display irregularities for whatever you are doing in the computer applications like iMovie? For that matter, do you see the problem in iMovies?
    Just some thoughts to think about as you compose your inquiry for the Premiere Pro users in the Premiere Pro Forum.
    Best wishes
    ATR

  • Is it possible to integrate a mentor graphics drawing file using labview or any labview toolkit..!!!

    I m having a mentor graphics drawing file having drawn with the components like resistor,capacitors etc..I need to develop an application to interface to the file using labview or adding a toolkit to labview to access the components like resistors etc .Can any body  help me about this....?
    Thanks in advance...!
    Certified Labview Associate Developer(CLAD)
    Don't Forget to Rate the answers.!!! You can do it in few seconds

    Hi Lynn ,
    Basically i want to read the mentor graphics drawing file data in a labview front panel, so that i can display the components as we see in the mentor graphics development enviornement and should be able to click on the components to perform the tests associated with the same.For this,i think i need to have the BOM kind of data only as i need the components data associated with the drawing file,after this i would create a custom control for each and every component and then call the tests associated with it as soon as the user clicks on the same.I hope you understand my requirements.
    Thanks & regards,
    Dinesh Kumar
    Certified Labview Associate Developer(CLAD)
    Don't Forget to Rate the answers.!!! You can do it in few seconds

  • Warhammer - Graphics Card Issue

    So here's my problem. I'm running vista through bootcamp and am having problems installing/running Warhammer Online becauce of what appears to be a graphics card issue?
    I screened through systemrequirementslab.com and came back with it saying I had "Standard VGA Graphics Adapter"
    The game has very specific video card requirements, which in actuality I meet. But when I try to run the game I get a black screen to crash.
    Is there a way to fix this issue? Or should just get rid of this thing and buy a PC.

    You might want to use Driver Sweeper and remove (deinstall and delete) your old drivers first, before installing new drivers.
    http://www.evga.com/forums/tm.asp?m=396474
    http://www.guru3d.com/category/driversweeper/

  • Graphics card issue on new 2014 mini?

    I have two Viewsonic monitors hooked up to one of the new Mac Mini's. I have the 2.6 ghz version with a fusion drive. I'm using a Thunderbolt to DVI connection for both monitors (using the two thunderbolt/display ports).
    I'm having an issue where about 1 out of every 4 times I wake up the Mac from sleeping, one or both monitors have a distorted display. It almost looks like the colors on the screen are inverted. Other times one display will work, but the other is a digital version of a "salt and pepper" screen.
    Putting the computer to sleep & back awake will usually fix it, but sometimes it takes a couple of wake/sleep cycles for the display to return to normal.
    Anyone else experiencing this? Is this something I can fix, or do I have a graphics card issue? I've only had the computer for a couple of weeks now.

    I saw some posts about the screens not waking, I haven't experienced that. So far mine will always turn on, they are just either distorted colors or snow. I wonder if it's a related issue?

  • Graphics card issue - Satellite A100-313 shuts down by itself

    I have a satellite A100-313 and I'm using vista.
    Everytime when I play games, the notebook shuts itself off after some time. It varies, normally have 10-20min of playing.
    And when I immediately turn it on again, I get a black screen but the computer is running. I'd have to wait a while to turn it on again for the screen to work.
    So it starts up again and the resolution is changed to 1024x764 (the native resolution is 1280).
    I assume it is a graphics card issue (I have a Geforce 7600 Go). I already updated to the latest vista drivers available from the Toshiba site (the one from september).
    What can I do to fix this? The automatic shutdown normally only happens when I play games.
    Any help is appreciated.

    Hm, sounds tricky.
    I can suggest you the following:
    Download the latest bios for your machine from the toshiba download site:
    http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/download_drivers_bios.jsp
    And last but not least, check if your cooling system of your machine is not clobbed with dust. You can clean it up with a can with compressed air to remove the dust from the fan and the heatpipe-fin.
    If you have some questions, just ask.
    Nice weekend

  • NVIDIA GeForce 9400m graphic installation issue.

    After installing Windows XP with SP2 32-bits via Boot Camp, I inserted my OS X that does all the installation of drivers which is said to include the graphic drivers but after restarting the computer, my screen resolution went to 680x520 and to 4-bits. Everything were big, fat and ugly with geeky colors everywhere.
    I've been trying to solve this problem for about 2 weeks already but still with no luck even asking this question again and again in a dozen forums. People tried and gave me the download links for the graphic driver though non of them works as most gives me the error 'Couldn't locate the compatible driver for your current hardware' or some stuff like that.
    And to anyone of you that has the same exact computer as mine which is the iMac 20inch 2.66 GHz with NVIDIA GeForce 9400m graphic card that could install a working driver and is able to play games now .. PLEASE give me the link to that driver. So that I can test if it's my computers problem before handing it to the stores.
    And one more question - are notebook GPU drivers suppose to work on desktops too? I've received much download link but all I see are notebook GPU drivers. Please help me with this massive issue.
    Thanks in advanced.

    Hey Daveyx1,
    Have you checked all the software updates and installed all of the available ones? especially the EFI firmware? Check the EFI firmware version on your system and verify that is the latest from this link. http://support.apple.com/kb/HT1237.
    If the version is not right you need to install the software updates and restart the Mac. After installing the firmware updates install the Boot Camp drivers again.
    Also I know that you had tried most of the possible stuffs to get the issue resolved. However if you haven't tried that please try this.
    1. Boot to Windows in Boot Camp
    2. Right click on My Computer and select Manage
    3. Check the display drivers installed
    4. Right click on that and choose to update driver
    5. When the wizard comes up let it search for the drivers first
    6. If it is not finding the appropriate drivers repeat the steps and choose to install from the disk
    7. Insert the Boot Camp driver disk (i.e. Mac OS X install disk) and try to update the driver.
    This should update the drivers for the graphic card and the issue may be resolved. If the issue persists, please run an AHT as there may be an issue with either the Boot Camp drivers in the DVD or the Card itself.
    You will need to contact the Apple store for a different disk and try installing the Boot Camp drivers or analyzing the Graphic card issues.
    Hope this helps you............
    Regards !!!!

  • Re-draw issues after upgrade

    Dear All, After doing the upgrade to FCP 5.1.4 I am experiencing screen re-draw issues in the browser and viewer primarily. Did the upgrade screw with the video ram? I am using an ATI Radeon 9650 card, worked fine before the upgrade. My monitors are two Sony G520 21" 1152x870 resolution with Millions of colors and 75 Hertz refresh rate.
    When I am in standard layout and am in List View in the Browser it doesn't consistently redraw when I open different bins or move the window around. In the viewer it will stay on one tab even after I have clicked on another. FCP is the only app open but I did notice re-draw problems in PSD when it was the only app open as well. Suggestions, fixes, time to upgrade the video card? Thanks Paul.

    Under the apps tab in iTunes, is sync apps checked? Checks in the boxes for the apps you want to sync to your phone?

  • Remoteapp Server 2012 std drawing issues

    Hello!
    We are hosting an application trough Remoteapp on Server 2012 std. We have been struggling with a screen drawing issue where for example text in a textbox does not appear unless the textbox is clicked or borders of boxes are hidden until moving mouse over
    them. Running the application trough full rdp session works perfectly. Our client machines are running on Windows 7 with latest updates. 
    We have tried changing some remoteFX settings but nothing seems to be working. Does anybody have solution or ideas what might work for the described issue?
    Thanks

    Hi,
    Thank you for posting in Windows Server Forum.
    Any furhter update for your case. Did you check with manufacture of your application, is this supported as RemoteApp?
    As test what happens when you publish paint or notepad as RemoteApp, can you work easily with that.
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Lenovo z5070 graphics card issue 'nvidia'

    i bought a new laptop .. i have windows 8.1 ... Z5070 - Graphics cards issue (Unable to play heavy graphic games. Nvidia Card) Z5070 with Nvidia Graphic card is having problem when playing high graphic games. The Nvidia graphic card is not detected and it is only using the Intel Graphic card.i install latest updates for everything.what is the problem pllz i want to play games

    Hi abdallah650, By default the graphic cards used by computer are switched automatically, depend of application to run. You can check and change this for each application in NVidia Control Panel - 3D settings.
    Also you can run each application with right click on it and choose the prefered graphic card. Read this article: switching between Intel and NVidia graphics and here.  I hope that will help you. 

  • Photoshop has crashed both my computers due to a graphic card issue. I would like to revert to old system.

    Photoshop has crashed both my computers due to a graphic card issue. How do I
    to revert to old system?

    Previous via Cloud http://helpx.adobe.com/creative-cloud/help/install-apps.html#previous
    -or OLDER previous versions http://www.adobe.com/downloads/other-downloads.html

  • Screen graphics drawing corruption on iMac 11,1 Intel Core i7 2.8 GHz running OSX 10.6.8

    iMac 11,1 Intel Core i7 2.8 GHz running OSX 10.6.8 with ATI Radeon HD 4850 display hardware has screen graphics drawing corruption. - some bizarre effects like a surround on two sides of main Firefox window with elements captured from the top and side of main screen. Toolbar buttons that walk off their positions when resizing a window? Mouse focal point offset in Firefox. Fuzzy sceen draws in Safari

    Hello,
    Have you blown the dust out lately?
    Get Temperature Monitor to see if it's heat related...
    http://www.macupdate.com/info.php/id/12381/temperature-monitor
    iStat Menus...
    http://bjango.com/mac/istatmenus/
    And/or iStat Pro...
    http://www.islayer.com/apps/istatpro/
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.

  • Illustrator Shape / Graphics Styles issue (bug?)

    When using the 'Split into Grid' command the resulting rectangles are defined as paths not shapes so that the live corners feature is not visible in the toolbar/transform palette.
    Since starting to write this I've stumbled upon the fact that while holding the Ctrl key with the object selected the live corners become visible and editable directly either via dragging the mouse or when double-clicking the mouse on the radius point where as options window appears to allow exact settings - this is great. It would be better if the toolbar/transform palette also reflected these settings to see at a glance which values have been used or even better, the resultant output of the 'Split into Grid' was defined  as a rectangle in the first place.
    Also, historically (CS5) I would save the rounded corner effect as a graphic style, I've noted that shapes with live corners set, do not copy those settings into the captured graphic style.
    Cheers!
    Rob

    Learning on the fly here, I just noticed the Object > Shape menu where you can convert a shape to rectangle when then enables the live corners to be updated. Perhaps a check box could be added to the 'Split into Grid' to enable this to be done automatically?
    The graphics styles issue still stands.

Maybe you are looking for

  • Hi, in iOS5 and iTunes10.5 I have problem with sync google account.

    There is no option for choose account in dropdown field. I understand iCloud and already sync my contact with it, but I' ll put new data to Gmail contact list and sync with iPhone. Do you know, where is a problem? :-)

  • Range partitioning and update to range value

    There is a V. large table on our system, where a column is initally set to NULL, but updated with sysdate when processed. The majority of qureies against this table are for those with NULL values. I'm considering range partitioning by this column, wh

  • Creating custom page size PDFs in Distiller 7

    I've created a music document (in Finale) with pages that are 9x12. I have been trying to make high-resolution PDFs in Distiller (Acrobat Professional 7) for the printing company. The Distiller's page size is set to 9x12 and so is the Page Setup. But

  • SLD Landscape Best Practice recomendation

    I am seeking advise on setting up SLD in my ever growing landscape. I currently have a Master SLD on the same system as my NWDI system and a local SLD on my Solution manager 7.0 system that is updated from the master. The Master SLD is shared by our

  • Why no HDV option in export movie

    I am editing a HDV project. Project is set to HDV. But only microsoft DV avi is available as an option. Why no HDV preset option?