Simulating a CONTRAST changer on LCD screen

Hi All / KGLAD... :-)
I am making a simulator for an LCD screen and have the contrast changing with "btn_down" properly. I have an up button - "btn_up" that i would like to be able to control the contrast in the opposite direction, keeping track of the current color in the Array and moving back. I tried changing the code to increment negatively through the Array but something is screwy... It doesnt like the multiple duplicate values that i have and only works when "btn_down" has initially moved the array...
any suggestions??
Thank you in advance!
//CONTRAST CHANGE
//To Change Colors of HiLight Bar, Header Bar, and Plain Text
var colorA:Array = [0x041607,0x041607,0x041607,0x041607,0x041607,0x041607,0x041607,0x041607,0x041607,0x26D94 9,0x26D949,0x26D949,0x26D949,0x26D949,0x26D949,0x26D949,0x26D949,0x26D949,0x26D949];
mc_LCD_loader.c = new Color(mc_LCD_loader);
mc_LCD_loader.index = 0;
mc_LCD_text_loader.c = new Color(mc_LCD_text_loader);
mc_LCD_text_loader.index = 0;
//To Change Colors of LCD Screen and Selected Text
var colorB:Array =[0x26D949,0x22C341,0x1EAD3A,0x1A9833,0x17832C,0x136D24,0x0F571D,0x0B4216,0x062900,0x0416 07,0x062900,0x0B4216,0x0F571D,0x136D24,0x17832C,0x1A9833,0x1EAD3A,0x22C341,0x26D949];
mc_LCD.c = new Color(mc_LCD);
mc_LCD.index = 0;
mc_LCD_text_selected_loader.c = new Color(mc_LCD_text_selected_loader);
mc_LCD_text_selected_loader.index = 0;
btn_down.onRelease = function()
AudibleBeep1 = new Sound(this);
AudibleBeep1.attachSound(btnPressBeep);
AudibleBeep1.start(0, 1);
mc_LCD_loader.c.setRGB(colorA[mc_LCD_loader.index]);
mc_LCD_loader.index=(mc_LCD_loader.index+1)%colorA.length;
mc_LCD_text_loader.c.setRGB(colorA[mc_LCD_text_loader.index]);
mc_LCD_text_loader.index=(mc_LCD_text_loader.index+1)%colorA.length;
mc_LCD.c.setRGB(colorB[mc_LCD.index]);
mc_LCD.index=(mc_LCD.index+1)%colorB.length;
mc_LCD_text_selected_loader.c.setRGB(colorB[mc_LCD_text_selected_loader.index]);
mc_LCD_text_selected_loader.index=(mc_LCD_text_selected_loader.index+1)%colorB.length;
btn_up.onRelease = function()
AudibleBeep1 = new Sound(this);
AudibleBeep1.attachSound(btnPressBeep);
AudibleBeep1.start(0, 1);
mc_LCD_loader.c.setRGB(colorA[mc_LCD_loader.index]);
mc_LCD_loader.index=(mc_LCD_loader.index-1)%colorA.length;
mc_LCD_text_loader.c.setRGB(colorA[mc_LCD_text_loader.index]);
mc_LCD_text_loader.index=(mc_LCD_text_loader.index-1)%colorA.length;
mc_LCD.c.setRGB(colorB[mc_LCD.index]);
mc_LCD.index=(mc_LCD.index-1)%colorB.length;
mc_LCD_text_selected_loader.c.setRGB(colorB[mc_LCD_text_selected_loader.index]);
mc_LCD_text_selected_loader.index=(mc_LCD_text_selected_loader.index-1)%colorB.length;

Ardha,
Welcome to the forum.  White spots on the LCD, typically a bright white spot most clearly seen against a white background like the forum, or google home page, is caused by pressure damage - pressure applied to back of the LCD panel. 
Since you indicated that you have only had the system 1 day, unless you are aware of something that happened while in your care, I can only guess that the damage was done during transport or manufacturing.  I would recommend you contact your point of purchase and ask to exchange the unit.  I would also try to power up and inspect the new system immediately to make sure all is well.
Please also see my PM - I would like you to take a pic of the spot and email to me if possible.  While random things happen, I'd like us to take a look at this. 
Best regards,
Mark
ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
Mark Hopkins
Program Manager, Lenovo Social Media (Services)
twitter @lenovoforums
English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

Similar Messages

  • 3D Doesn't work after changing the LCD Screen

    Hi, I had a problem with my Toshiba Qosmio F755-3D350 the LCD screen broke and I have to replace it with a new screen.
    The new screen is the same model : B156HB01 V.0 from Au electronics, that the original screen on my laptop had.
    everything works fine the resolution, the camera but when it comes the 3D it doesnt work the Leds on the web camera doesn't turn on and activate the wiggle stereoscopy.
    How can i activate again the 3D or Where is the problem?
    Thanks.

    Yes... Do you see this... http://s1185.photobucket.com/albums/z356/annerkram/?action=view&current=cropguide.mp4
    On my SD TV... Notice the black bars on the top and bottom.  Once I go in and out of the guide the black bars are gone.  I have reported this but if you are confirming the issue I will report it again. 
    jaytee1019 wrote:
     I have a Motorola 7XXX series DVR which got the 1.9 upgrade a few days ago. I have SD Override enabled and set to Stretch. When I set it like that, the SD channel I'm on will then stretch to fill the screen (and the black bars disappear as they should). But when I change the channel and go to another SD channel, the black bars are back. Or if I enable the SD Override and then turn the TV off, it will be disabled once I turn the TV on again (and the black bars are back).
    It seems like the SD Override isn't holding. I don't want to have to hit the # button on the remote to change the aspect ration every time I change the channel. The SD Override should work and stay enabled once set. Anyone know how to fix this?

  • [HELP] Changing LCD screens on a S55 B5280 Laptop for a higher resolution one

    Hi!
    I was wondering if there's any LCD screen that i can buy to replace the one that comes with the Toshiba  S55 B5280, that can provide a higher resolution. It would be the first time that i've changed a LCD screen for one capable of more resolution.
    Can someone help me on the subject? I don't need any "how-to" to do it, i just need to know which models that provide a higher resolution than 1366x768 are fully compatible with this particular laptop.
    Thanks in advance.

    ArchLinux is designed to run whether in VirtualBox or on a real machine. 
    If you have a TV connector plugged in it will chop some regular lines at the bottom to make up for the difference in TV resolution.
    There are a couple of packages related to nvidia hardware, nouveau is one of them.  Just do a pacman -Ss nvidia for possibilities of things you might need to install.  Your nvidia hardware is a little newer, so probably nvidia is the package you'll need instead of nouveau. 
    Are you using X?  When you install the proper xf86-video-* driver it shouldn't have any problems with X.  If modesetting is turned off, then some resolutions may not be made available (especially in Gnome), so it is best to keep it turned on if at all possible (kernel default).
    Last edited by nomorewindows (2012-03-12 17:19:55)

  • W510 change LCD screen to an LED

    hello fellow W owners i was wondering if any one knows if its possible to change an LCD screen to an LED screen ON a Lenovo W510 (4318CTO)

    i fould the this iteam on ebay...
    http://www.ebay.com/itm/NEW-A-15-6-Laptop-LCD-Screen-LED-Panel-FULL-HD-FOR-IBM-LENOVO-T510-T510i-W51...

  • S90 LCD screen problem

    My S90 LCD screen turns off by itself within a few seconds to about 30 secs.  All the other camera functions work while the LCD is off.   When I turn the camera off and turn it back on, the LCD comes back on but goes off again.   I have checked the auto screen time off and I have set to 2 or 3 mins.  But this does not affect the screen time going off by itself.   Is this a camera LCD malfunction or some other electronics inside going bad?   Obviously this is out of warrenty.  Hate to have to spend couple hundred bucks to have this fix if you can buy another camera for a little more.   I have also a S50 model that I had to change the LCD screen before when it went bad.   Any ideas I can command the LCD on my S90 ? TIA

    I am sorry to hear that your PowerShot S90 powers the LCD panel off in about 30 seconds.  If you have it set to something other than this is the Menu, then there is likely an internal issue with your camera.  If this is out of warranty, you can consider sending this into the Factory for evaluation or participate in the Canon Loyalty Program. 
    This program allows you to replace your current camera with a refurbished Canon Camera for a discounted fee, and have it shipped via Second Business Day delivery.  The refurbished unit offered through this program carries a 90 day warranty.  The original non-functioning camera would then be returned to Canon USA for recycling using a prepaid shipping label that would be provided.  If you would like to take part in this option, please call our Sales Department at (866) 443-8002 seven days a week, 8am to Midnight.  Let them know you have been working with email technical support and the Canon Loyalty Program was offered.  Be sure to have your serial number for your camera at the time of your call.
    If you wish to set up a repair, you can do so on our web site.  To start your repair process, you'll need to complete a request on our website.
    http://www.usa.canon.com/cusa/consumer?pageKeyCode=onlineRepairLanding
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Why do panel array positions change when I move to a computer with LCD screen?

    I wrote a program in the lab and then moved it to the production area which
    has a computer with an lcd monitor. The program has 3 arrays of clusters on
    the front panel and each contain both controls and indicators. When I moved
    it to the production computer the 3 array moved somewhat from their proper
    positions. Also, each one moved a different distance. I wanted them to be
    aligned so I ended up moving them out of alignment on the uncompiled copy so
    that the production copy would be aligned correctly. Is there something
    funny about lcd screens? Labview property node reports they are already
    aligned and of equal height. Is there a way of forcing the arrays to align
    no mat
    ter what computer it is installed on?

    I've seen this before. If the resolutions are different it scales certain fonts
    differently causing your controls to move. You need to make sure your using a
    common font type and size between them or change your resolution on your desktop
    to match the lcd's.
    You can check the font on both machines to match them. One might have Arial 13,
    20, 28 and the other Ariel 14, 20, 26. If you pick 20 it will go back and forth
    ok, properly scaled.
    Jim
    Adam Russell wrote:
    > I wrote a program in the lab and then moved it to the production area which
    > has a computer with an lcd monitor. The program has 3 arrays of clusters on
    > the front panel and each contain both controls and indicators. When I moved
    > it to the production computer the 3 array moved somewhat
    from their proper
    > positions. Also, each one moved a different distance. I wanted them to be
    > aligned so I ended up moving them out of alignment on the uncompiled copy so
    > that the production copy would be aligned correctly. Is there something
    > funny about lcd screens? Labview property node reports they are already
    > aligned and of equal height. Is there a way of forcing the arrays to align
    > no matter what computer it is installed on?

  • Is it possible to change the shattered glass instead of the LCD screen?

    I've dropped my Iphone 5 and the glass has shattered, just curious if its possible to just change the glass in front of the LCD screen or if i'll just have to get the whole thing done??

    I don't understand what your issue is? Add a "Map" control to your Report and follow the wizard, on the first page Switch to "ESRI shapefile" and select your .shp file and then go on.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • HT1296 i have got second hand  iphone 3 gs  i changed lcd screen now want original SIM what can i do?

    i got iphone 3gs from e bay and i have changed lcd screen than i switch on systen setting apper i have done language,country,WI-FI and wants SIM-CARD and i havent that simcard what do you suggest i contacted with the seller and he has been telling me he was usin giffgaff sim card and vodafone.i have tryed with vodafone it didn't work.

    Updating iOS has relocked the device to whichever carrier it was originally sold as locked to.
    Only that carrier can unlock the device.

  • I changed the Lcd   Digitizer on my Iphone since that the light of the screen blinks but stays off, I connect to Itunes and Itunes connects it

    I changed the Lcd +  Digitizer on my Iphone since that the light of the screen blinks but stays off, I can connect to Itunes and Itunes connects with the Phone.
    I don't know what's causing the problem.

    Sounds like something is broken. Unfortunately, it's no longer eligible for a discounted out of warranty replacement. Find a competent repair shop or buy a new phone.

  • [N95] unable to change lcd screen display

    hello
    i need help
    im unable to remove 2 of the screws in order  to remove and replace  the lcd screen cause the head are damaged
    any idea how to do that ? 
    thanks a lot 

    OK.. Your phone may be out of Warranty.. but there may be some users who might try doing it even during the Warranty period if discussed here... and hence the Forum rules do not allow such discussion here... Sorry about that...

  • IPod Nano LCD screen cracking/scratching

    i am a possible, going to be nano buyer and i was wondering if anyone who is a owner has had problems with the screen cracking and/or scratching. Also this is a question for owners with the problem and APPLE if the screen gets cracked or overally scratched withing warranty will apple replace it with a new one? also for people in singapore is there anywhere that i can get a 4GB nano, as most places have said they dont have them. thank you
      Windows XP  

    The screen scratching issue is really going to depend on just how badly you treat the device. I don't know how the screens are getting so badly scratched, and in normal use I can't see anything other than normal wear and tear. My 3G iPod is the same - a few scuffs and scratches, but nothing to stop it working.
    If on the other hand you place the nano into your pocket without a protective case, keep change and car keys in the same pocket, then yes, it WILL get scratched. If you drop it or drag it over rough surfaces, if you take a sharp implement to it, if you use abrasive cleaners on it... and probably loads of other 'ifs', you'll get scratches on it.
    They are not indestructible and the LCD screen is not harder than diamond. Take care of your Nano and you should be fine.
    Taking it back with scratches through normal wear and tear, or through poor care, will not get you a replacement. You would have to show that it was an actual fault with the Nano itself, and I get the distinct feeling most are fine
    As for purchasing a 4GB model, have you tried the online Apple store?

  • Qosmio X305 screen not displaying like my desktops LCD screen

    My screen seems to be displaying dull images.
    I'm kinda concerened, because it's an LCD screen, and its not displaying like my desktops LCD screen.
    I put the brightness up, and that helped to see the images better, but they still are not of the quality they should be.
    Is there a way to fix this? Or is that just how it is?

    Many Desktop LCD Monitors can get very bright, much brighter than most notebooks. So it may just be how it is. Perhaps you could go to the shops and compare it to other X300's on display.
    Try resetting or modifying the Contrast/Colour/Brightness settings in the nVidia control panel.

  • EOS 70D : Slow shutter speed when LCD screen turned on

    Hi !
    Need your help. I am beginner & I have new 70D camera. When LCD panel turned off, the shutter speed is quite fast. When I turn on LCD Panel, the shutter speed automatically slows down & sounds annoying. The pictures are same in both cases. Also, the high speed continuous photo shoot, the shutter speed slows down when the LCD panel is turned on. Please help me to fix this. 
    Solved!
    Go to Solution.

    There is nothing wrong with your camera.  It is working as it should when using LiveView.  
    There are two different types of Auto Focus:
    1) Normally with a Film SLR or Digital SLR, you look through the optical viewfinder and view your scene through the lens of the camera.  Behind the lens a mirror reflects the image up into the optical viewfinder. When using the viewfinder the camera uses "Phase Detection" Auto Focus. With PD AF the image passes through a transparent part of the mirror to PD AF sensors below the mirror.  When you half press the shutter button the AF operates and when you fully press the shutter button the mirror flips up out of the way to allow the image to reach the image sensor behind the now open shutter curtain. While the mirror is flipped up, you can not see anything through the optical viewfinder.  This all takes place very quickly and makes a fair bit of noise from the action of the mirror flipping back and forth and the shutter curtain opening and closing. 
    2) When using LiveView on a DSLR, the rear LCD image displays the image. In order to for this to happen the mirror must be flipped up and the shutter curtain must be fully open.  The optical viewfinder becomes useless and the only way to see anything is by looking at the rear LCD screen. Auto Focus is no longer done with Phase Detection sensors below the mirror and now used  Contrast Detection Auto Focus is used by reading the focus right off the image sensor.  This type of AF is slower than PD AF.  
    The difference in sound is only because the mirror is already flipped up as soon as you press the LiveView button and all you hear is the sound of the shutter curtain clsoing and then opening up again so you can once again see the image on the LCD screen  . The actual shutter opening and closing speed is exactly the same. 
    Here is more info on how Phase Detection AF works:
    Phase Detection AF
    Here is the description of each number shown in the above illustration:
    Ray of light
    Main/Reflex Mirror
    Secondary Mirror, also known as “Sub-Mirror”
    Camera Shutter and Image Sensor
    Eccentric pin (1.5mm hex) for adjusting the Main Mirror
    Eccentric pin (1.5mm hex) for adjusting the Secondary Mirror
    Phase Detect Sensor (AF Sensor)
    Pentaprism
    Viewfinder
    Mike Sowsun
    S110, SL1, 5D Mk III

  • LCD screen, eyestrain problems?

    I've been considering getting an iPad 2 or a Kindle DX to have my college textbooks on and to use an ereader. It would be nice to have the extra features of the iPad and it would be easier to take to class than my laptop, however, I was wondering about eyestrain and reading on an LCD screen. I get eyestrain from paper books, mostly from the black and white contrast. The Kindle sepia option seems to improve my reading, so if the LCD isn't too straining, this may help my reading. Can anyone share how difficult/easy it is to read on an LCD screen for extended periods of time?

    Hey, just now I found a C/NET forum saying that LCD monitors aren't affected by the magnets in unshielded speakers. Good news for me because I really like some funky unshielded speakers I've gotten used to.

  • Differences in LED and LCD screen

    I would like to know if anyone can actually tell the difference between the LED screen on the 15 macbook pro and the LCD screen on the 17 macbook pro.
    I know Apple says there is no difference in brightness or contrast between the two. I believe they only claim there is a difference in battery life. That said even their VERY optimistic numbers show only a 15 minute difference between the two (figure in the real world that may be 10 minutes)
    I thought someone had told me there was a very noticeable difference in both brightness and contrast of the LED screen (that it was very noticeably superior)
    I can only take two things from this. Either:
    1.) It is a placebo effect because they EXPECT the 15" to look better . . .
    or
    2.) Apple does not want to openly say the 17" screen is not as nice as the 15"
    I have note been able to see either, but I am going to purchase this week online and this is a very important factor for me. Can someone please shed some light or opinion on the subject? Does the 15 look better than the 17? When they say LED will last "longer" than LCD, do they mean the half-life of the bulb is longer? etc.
    Thanks everyone,
    Kalel
    Message was edited by: Kalel
    Message was edited by: Kalel

    Sorry I never know how to refer to the difference between the two. So the different backlighting does help with color, but overall brightness and contrast are not effected?
    I have a Macbook and occasionally I have trouble reading it (When my eyes are tired) so I am looking for the brightest screen with the most contrast. I would prefer a larger screen (17) over a smaller one (15) all else being equal, but if there is any contrast or brightness increase in the switch to LED then I am more than happy to give up a little size for it.
    It also looks like the 17" may have a slightly higher dpi in it's standard resolution (WAAAY more in the HD res)
    Have you had the opportunity to view these screens side by side?
    You mentioned that an cfl bulb burns out faster than an LED, I know this is many many years for each, but I would like to know if this will delay the screens "brightness" dropping over time. My macbook is about 18 months old and there has been some drop off in total brightness the screen can produce.
    Kalel

Maybe you are looking for

  • IPod no longer puts out sound, tried multiple resets/headphones

    I have had my iPod for years, I believe I purchased it in 2006, and only days ago did it lose sound. I have tried to reset it, kill the battery, and I have also tried multiple headphones that work on other devices, to no avail. I've always had issues

  • Not allowed to move (only copy) files within Shared Folder (yes, permissions are set to Read/Write)

    I have moved my media (Music, Movies, Pictures) to the Users/Shared folder.  As I'm doing some cleanup in these folders, I am trying to move several folders/files at once, all within the same Shared folder.  I have confirmed that the permissions sett

  • Problems with sleep mode in 10.4.7

    I recently upgraded to OS 10.4.7 and now the sleep mode doesn't work like it used to. On all other versions of the OS, i'd put the computer to sleep and whenever I wanted to start it up again I'd wiggle the mouse or hit any key on the keyboard. Now,

  • Really Weird problem New eyboard

    I had a board that was messed up on a white macboo˚. I ordered a new one off of ebay and everything wor˚s fine but when i try to type the letter after j and before l. It shows up ˚, or if the shift is pushed  *** Is going on? Is this ˚eyboard messed

  • Report works on Visual Studio but don't on server

    Hi everybody. I'm using Reporting Server link created a report and the dataset uses a expression based query as we can see: ="SELECT    a.bug_id AS Caso, c.name AS 'Nome Projeto', e.realname AS 'Atribuído a', b.version AS 'Versão', b.target_version A