Graphics.beginFill doesn't work!

There is a problem in this code (Adobe reference). If You use the var "start_color" as the color to beginFill.
I create another var before to solve: var color_num:uint = 0xFF0000 and had to replace "start_color" to "color_num".
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.easing.Strong;
import fl.motion.Color;
import flash.events.Event;
import flash.geom.ColorTransform;
var color_num:uint = 0xFF0000;//> NEW
var start_color:Color = new Color();
//start_color.setTint(0xFF0000, 0.5);//> REPLACED
start_color.setTint(color_num, 0.5);//> NEW
var final_color:uint=0x006699;
var clip_mc:MovieClip=new MovieClip();
//clip_mc.graphics.beginFill(start_color,1);//> REPLACED
clip_mc.graphics.beginFill(color_num,1);//> NEW
clip_mc.graphics.drawRect(200,200,200,200);
clip_mc.graphics.endFill();
addChild(clip_mc);
var colorInfo:ColorTransform=clip_mc.transform.colorTransform;
function initTween(event:MouseEvent):void
    var my_tween:Tween=new Tween(clip_mc,'alpha',Strong.easeOut,0,1,1,true);
    my_tween.addEventListener(TweenEvent.MOTION_CHANGE,tweenToFinal);
function tweenToFinal(event:TweenEvent):void
    //colorInfo.color=Color.interpolateColor(start_color,final_color,event.position);//> REPLACED
    colorInfo.color=Color.interpolateColor(color_num,final_color,event.position);//> NEW
    clip_mc.transform.colorTransform=colorInfo;
stage.addEventListener(MouseEvent.CLICK,initTween);

Ok. Thank you very much.
As a matter of fact, I was trying to do something like the code below. A preloader with tween but didn't want to use the TweenMax (if possible) and of course it was just part of the whole solution. I also have to change and to adapt many other things. But the original idea is interesting and I'd like to do a similar animation.
//Obs.: The "PreloaderCircle" MC in library, is just a blue circle shape with Width = 10 and Height = 10.
//Impor TweenMax
import com.greensock.*;
//We will add all the preloader circles to a holder movie clip
var holder:MovieClip = new MovieClip();
//This array will contain all the preloader circles
var circles:Array = new Array();
//This for loop creates and positions 5 preloader circles horizontally
for (var i:uint=0; i < 5; i++) {
//Create a new preloader circle
var circle:PreloaderCircle = new PreloaderCircle();
//Set the x position for the circle
circle.x = i * 20;
//Set the "tweened" property to false since we haven't tweened the circle yet
circle.tweened = false;
//Add the circle to the circles array
circles.push(circle);
//Add the circle to the holder
holder.addChild(circle);
//Add the holder to the stage
addChild(holder);
//Position the holder to the center of the stage
var holderWidth:Number = holder.width;
var holderHeight:Number = holder.height;
holder.x = stage.stageWidth / 2 - holderWidth / 2;
holder.y = stage.stageHeight / 2 - holderHeight / 2;
//Create a loader which loads the image
var loader = new Loader();
//Let's load the image.
//You can use your own URL here...
loader.load(new URLRequest("my_image.jpg"));
//Listen for the loading progress
loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
//This function is called as the loading progresses
function progressHandler(e:ProgressEvent):void {
//Check how much has been loaded (in percentages)
var loadedPercentage:Number = (e.bytesLoaded / e.bytesTotal) * 100;
//If over 20% is loaded, tween the first circle if it hasn't been tweened yet.
if (loadedPercentage > 20 && ! circles[0].tweened) {
//Tween the circle
TweenMax.to(circles[0], 1, {tint:0xff8800, glowFilter:{color:0xff8800, alpha:1, blurX:10, blurY:10}});
//If over 40% is loaded, tween the second circle if it hasn't been tweened yet.
if (loadedPercentage > 40 && ! circles[1].tweened) {
//Tween the circle
TweenMax.to(circles[1], 1, {tint:0xff8800, glowFilter:{color:0xff8800, alpha:1, blurX:10, blurY:10}});
//If over 60% is loaded, tween the third circle if it hasn't been tweened yet.
if (loadedPercentage > 60 && ! circles[2].tweened) {
//Tween the circle
TweenMax.to(circles[2], 1, {tint:0xff8800, glowFilter:{color:0xff8800, alpha:1, blurX:10, blurY:10}});
//If over 80% is loaded, tween the fourth circle if it hasn't been tweened yet.
if (loadedPercentage > 80 && ! circles[3].tweened) {
//Tween the circle
TweenMax.to(circles[3], 1, {tint:0xff8800, glowFilter:{color:0xff8800, alpha:1, blurX:10, blurY:10}});
//If 100% is loaded, tween the fifth circle if it hasnn't been tweened yet.
if (loadedPercentage == 100 && ! circles[4].tweened) {
//Tween the circle and call the function circlesTweened() when the tween is complete (this is the last circle).
TweenMax.to(circles[4], 1, {tint:0xff8800, glowFilter:{color:0xff8800, alpha:1, blurX:10, blurY:10}, onComplete: circlesTweened});
//This function is called when the cirlces have been tweened (the image is loaded)
function circlesTweened():void {
//Loop through the circles
for (var i = 0; i < circles.length; i++) {
//Tween the circles to the left side of the stage.
//Call the function circleLeft() when the tween is finished
TweenMax.to(circles[i], 0.5, {delay: i * 0.1, x: -200, alpha: 0, onComplete: circleLeft, onCompleteParams: [circles[i]]});
//This function is called when a circle is animated to the left side.
function circleLeft(circle:PreloaderCircle):void {
//Remove the circle from the stage
holder.removeChild(circle);
//Check if the circle is the last one (most right)
if (circle == circles[4]) {
//Remove the holder from the stage
removeChild(holder);
//Get the bitmap from the loader
var bm:Bitmap = (Bitmap)(loader.content);
//Add the bitmap to a movie clip holder
var bmHolder:MovieClip = new MovieClip();
bmHolder.addChild(bm);
//Add the bitmap holder to the stage
addChild(bmHolder);
//Animate the bitmap holder
TweenMax.from(bmHolder, 1, {alpha: 0});

Similar Messages

  • 2nd graphics card doesn't work after upgrade to 10.6

    I ordered my Mac Pro with two ATI Radeon HD 2600 XT graphic cards and they always worked great. After I upgraded to Snow Leopard, it always shows a display connected to the second card even when there isn't. This wasn't an issue until I started having windows displayed on that "ghost" screen that I couldn't see. In the System Profiler, It no longer recognizes the graphics card like it should and reports the wrong amount of memory (1024 instead of 256MB... I wish) and of course reports a "Display" that doesn't exist. Since from time to time I like to connect my TV to my Mac - for movies or whatever else - I connect it to this second graphics card but since 10.6, it hasn't worked.
    In short: my second graphics card isn't recognized correctly; it has a ghost display with or without a display connected to it; will not connect to a display.

    I'd assume you do have a bad card now. Maybe wait and see if newer ATI cards come out, or opt for 4870 or flash one of the 1GB models that can be flashed, and save couple $100.
    http://forums.macrumors.com/forumdisplay.php?f=1

  • GRUB2 Graphics Mode doesn't work

    I removed old grub and installed grub2 and everything went smoothly, I even got the 1024x768 resolution on grub menu. Then I slightly changed /etc/default/grub and when I again generated grub.cfg, I always get plain console resolution (80x24).
    Here is my /etc/default/grub file. I tried both gfxmode and vbemode options, but no success.
    GRUB_DEFAULT="0"
    GRUB_TIMEOUT="5"
    GRUB_DISTRIBUTOR="Arch Linux"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX=""
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT="5"
    #GRUB_HIDDEN_TIMEOUT_QUIET="true"
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT="console"
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT="console"
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE="800x600,640x480,1024x768"
    vbemode="0x117"
    # Uncomment to allow the kernel use the same resolution used by grub
    #GRUB_GFXPAYLOAD_LINUX="keep"
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID="true"
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY="true"
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    export GRUB_COLOR_NORMAL="white/black"
    export GRUB_COLOR_HIGHLIGHT="white/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/boot/grub/archlinux.png"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="false"
    and here is /boot/grub/grub.cfg:
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    set menu_color_normal=white/black
    set menu_color_highlight=white/blue
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 b445da59-e82b-4918-8b90-4859dda5a85d
    else
    search --no-floppy --fs-uuid --set=root b445da59-e82b-4918-8b90-4859dda5a85d
    fi
    if loadfont /grub/unicode.pf2 ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 b445da59-e82b-4918-8b90-4859dda5a85d
    else
    search --no-floppy --fs-uuid --set=root b445da59-e82b-4918-8b90-4859dda5a85d
    fi
    set locale_dir=($root)/grub/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    set timeout=5
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/06_grub-customizer_menu_color_helper ###
    ### END /etc/grub.d/06_grub-customizer_menu_color_helper ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux, with Linux linux' --class archlinux --class gnu-linux --class gnu --class os {
    load_video
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 b445da59-e82b-4918-8b90-4859dda5a85d
    else
    search --no-floppy --fs-uuid --set=root b445da59-e82b-4918-8b90-4859dda5a85d
    fi
    echo 'Loading Linux linux ...'
    linux /vmlinuz-linux root=/dev/disk/by-uuid/0dd3efdb-9c0e-4e2f-af60-670e6a7abd3e ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux.img
    menuentry 'Arch Linux, with Linux linux Fallback' --class archlinux --class gnu-linux --class gnu --class os {
    load_video
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 b445da59-e82b-4918-8b90-4859dda5a85d
    else
    search --no-floppy --fs-uuid --set=root b445da59-e82b-4918-8b90-4859dda5a85d
    fi
    echo 'Loading Linux linux ...'
    linux /vmlinuz-linux root=/dev/disk/by-uuid/0dd3efdb-9c0e-4e2f-af60-670e6a7abd3e ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux-fallback.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    Is there a way to get the 1024x768 back? Maybe I'm missing something.

    cfr wrote:Did you edit mkinitcpio.conf and regenerate the kernel image?
    No. Here is content of my mkinitcpio.conf:
    # vim:set ft=sh
    # MODULES
    # The following modules are loaded before any boot hooks are
    # run. Advanced users may wish to specify all system modules
    # in this array. For instance:
    # MODULES="piix ide_disk reiserfs"
    MODULES=""
    # BINARIES
    # This setting includes any additional binaries a given user may
    # wish into the CPIO image. This is run first, so it may be used to
    # override the actual binaries used in a given hook.
    # (Existing files are NOT overwritten if already added)
    # BINARIES are dependency parsed, so you may safely ignore libraries
    BINARIES=""
    # FILES
    # This setting is similar to BINARIES above, however, files are added
    # as-is and are not parsed in any way. This is useful for config files.
    # Some users may wish to include modprobe.conf for custom module options
    # like so:
    # FILES="/etc/modprobe.d/modprobe.conf"
    FILES=""
    # HOOKS
    # This is the most important setting in this file. The HOOKS control the
    # modules and scripts added to the image, and what happens at boot time.
    # Order is important, and it is recommended that you do not change the
    # order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
    # help on a given hook.
    # 'base' is _required_ unless you know precisely what you are doing.
    # 'udev' is _required_ in order to automatically load modules
    # 'filesystems' is _required_ unless you specify your fs modules in MODULES
    # Examples:
    ## This setup specifies all modules in the MODULES setting above.
    ## No raid, lvm2, or encrypted root is needed.
    # HOOKS="base"
    ## This setup will autodetect all modules for your system and should
    ## work as a sane default
    # HOOKS="base udev autodetect pata scsi sata filesystems"
    ## This is identical to the above, except the old ide subsystem is
    ## used for IDE devices instead of the new pata subsystem.
    # HOOKS="base udev autodetect ide scsi sata filesystems"
    ## This setup will generate a 'full' image which supports most systems.
    ## No autodetection is done.
    # HOOKS="base udev pata scsi sata usb filesystems"
    ## This setup assembles a pata mdadm array with an encrypted root FS.
    ## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
    # HOOKS="base udev pata mdadm encrypt filesystems"
    ## This setup loads an lvm2 volume group on a usb device.
    # HOOKS="base udev usb lvm2 filesystems"
    HOOKS="base udev autodetect pata scsi sata filesystems usbinput"
    # COMPRESSION
    # Use this to compress the initramfs image. With kernels earlier than
    # 2.6.30, only gzip is supported, which is also the default. Newer kernels
    # support gzip, bzip2 and lzma. Kernels 2.6.38 and later support xz
    # compression.
    #COMPRESSION="gzip"
    #COMPRESSION="bzip2"
    #COMPRESSION="lzma"
    #COMPRESSION="xz"
    #COMPRESSION="lzop"
    # COMPRESSION_OPTIONS
    # Additional options for the compressor
    #COMPRESSION_OPTIONS=""

  • NVIDIA Graphic Card doesn't work on T430S with Windows 8

    My T430S laptop runs Windows 8 and has a NVIDIA graphic card. Somehow I was never able to enter the NVIDIA control panel and got the error message below. I checked the setting in BIOS and it seems that NIVDIA Optimus mode is not availale on Windows 8. I updated the most recent driver released in Feb 2013 from Lenovo but it didn't solve the problem. I was wondering how I could use the NVIDIA on my compueter.
    Link to image
    Moderator comment: Image(s) >50KB (or totaling >50KB) converted to link(s). Community Rules.
    Solved!
    Go to Solution.

    Hi, jumper1127
    There is also a BIOS update availabe for your machine that came out around the same time as the Optimus driver. That can be found here and may help your issue.
    Best of luck. Let me know how it goes
    Adam
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution!" This will help the rest of the community with similar issues identify the verified solution and benefit from it.

  • Graphics card doesn't work after cleaning

    So yesterday my computer was dusty so i decided to clean it, I used compressed air can. So when i was done i put everything back and started up the computer and i got no signal to the monitor, all fans were running even on the gfx but the monitor was black. So i switched place on the gfx and still nothing, i've change the cpu cooler to the stock Intel one, still nothing, i have checked the ram and still no sign. So what should i do?? Can i get a new Gtx 760 of my warranty? Btw i think my videocard is the problem, what do you think?. Please help!

    Be aware that using compressed air (especially if using canned air) can cause condensation causing a short if the card is installed shortly afterwards. In this case warranty would be void. Try without the GTX760 and see if computer works fine (in case cpu has integrated gpu or you have another vga). If so make sure card is dry and retry. If no help try the card in another system.

  • My graphics tablet doesn't work in Flash CS4?

    In Flash the cursor won't move if I use my tablet, but it moves if I use the mouse.. the tablet works outside of flash, like in paint.
    I use Windows 7 if thats the problem.
    EDIT: Yes, I do have the latest drivers for Windows 7.

    OK, so if any one has the same problem.. I fixed it by deleting an old driver I had and then installed the newest driver for Windows 7...

  • MOVED: mainboard h81m-e35 with hdmi and 4600 intel graphic card doesn't work

    This topic has been moved to MSI Intel boards.
    https://forum-en.msi.com/index.php?topic=182774.0

      So what is the actual hardware? We know it's H81m-e35 but apart from that, what's the CPU, RAM 
    Here, follow this! >>Posting Guide<<

  • Kernel 2.6 ... i810 driver doesn't works

    I have installed archlinux with kernel 2.6 but driver i810 for my graphic card doesn't works and X ends with "module i810 not found" message.There is file in /lib/modules called i810.ko, but I don't know if this is driver file.

    ivan22 wrote:I have installed archlinux with kernel 2.6 but driver i810 for my graphic card doesn't works and X ends with "module i810 not found" message.There is file in /lib/modules called i810.ko, but I don't know if this is driver file.
    The latest version of Xorg (version 7) doesn't include individual video drivers. They have to be installed separately. So, to find your driver, do a search with pacman:
    pacman -Ss i810
    This will give you this:
    current/xf86-video-i810 1.4.1.3-2
    X.org Intel i810/i830/i915 video drivers
    That tells you the name of the package in current you want. Now you install it with:
    pacman -S xf86-video-i810
    Now everything should be fine after you reload X.

  • HT4623 I've installed the update and even resorted to the restore function. My phone doesn't work not. My screen shows a graphic of the usb connector with an arrow pointing towards and Itunes icon. It will do nothing else! HELP

    I've installed the iPhone update and now my phone doesn't work. I even chose the restore function. It went through all that and it still just shows the graphic of the usb and an arrow and the itunes icon. Help!

    Yes, I connected the phone to my iMac which is the original computer it is backed up on. From iTunes I had no option except to restore, which I did. Still no luck. Still just see the graphic. :-(

  • Scale of the graphic in interactive report doesn't work in french

    Dear all,
    I created a calculation column in an interactive report an put the format 9999999D99. When I displayed the information everything is ok.
    After that I tried to create a graphic with this column.
    The graphic is the type line
    The value is this new column
    The function is SUM
    order by label ascending
    The graphic show the good information, when I click on the dot the right number is displayed (19459,10). But if I look on the scale on the left the numbers are not good, we see 25,00000 instead of 25000,00.
    The application use the navigator information the first language use is french. If I use english the numbers are ok.
    What I need to do to use french and have the right decimal ?
    Thanks for your help
    Eric

    Hi Pranay and Mohd,
    here is the screenshot:
    If I logon as Admin user (or I grant user Admin rights), it looks like this:
    So the prompt is visible but is empty. I changed privileges in CMC / Applications / Web Intelligence, so normal user has same right as Admin, but it still doesn't work. I also tried change user security in Connections and Universes, but none of them work.
    Please, do you have any idea what i miss?
    Thank you

  • I have an iPhone 4S.  When I try to print pictures, from my Windows computer, it doesn't work.  Open Office also gives me an "unknown graphic" message.  These are JPEGs, aren't they?  Why can't I print and what is the unknown graphic?

    I have an iPhone 4S.  When I try to print pictures, from my Windows computer, it doesn't work.  Open Office also gives me an "unknown graphic" message.  These are JPEGs, aren't they?  Why can't I print and what is the unknown graphic?

    Hi,
    "A day after the name change became official my built in skydrive app stopped working"
    Did you point that SkyDrive changed to OneDrive?
    Did you move your OneDrive to another location or change its name?
    Please login OneDrive with web-based to check if you could access it successfully.
    Please refer to the following article to try the troubleshooter and check the service status:
    SkyDrive: FAQ
    http://windows.microsoft.com/en-in/windows-8/skydrive-app-faq
    Karen Hu
    TechNet Community Support

  • I have a MacBook Pro Retina (2,3 GHz Intel Core i7 - 8 GB 1600 MHz DDR3 - Intel HD Graphics 4000 1024 MB). I use KompoZer for my website, but after installing OS X Yosemite it doesn't work right (I cannot see images in the website).

    I have a MacBook Pro Retina (2,3 GHz Intel Core i7 - 8 GB 1600 MHz DDR3 - Intel HD Graphics 4000 1024 MB). I use KompoZer for my website, but after installing OS X Yosemite it doesn't work right (I cannot see images in the website).

    It's beta open source software so I'm not surprised. It does't look to be too active a project, so I don't know if it will help or not but you might be maybe better off posting a bug report on their Sourceforge page here: http://sourceforge.net/projects/kompozer/

  • Trouble with the PS CC2014 3D Effects - Intel HD Graphics 3000 that doesn't work properly?

    I Have a MBP 13 inch 2.8 GHz Intel Core i7 late 2011 and I'm Having trouble with the PS CC2014 3D Effects crashing when trying to apply a New 3D extrusion, are there any solution regarding the Intel HD Graphics 3000 that doesn't work properly?
    Thanks!

    Look at this document. It should help you troubleshoot and it suggests settings to try out.
    Photoshop CC and CC 2014 GPU FAQ
    While the stock advice for Windows users is to go to the Intel site for updates, Mac users can only get their drivers in the Mac OSX system updates. So you need to be sure your OS is up to date. If you have an earlier version, like 10.7 or 10.8, it is possible an upgrade to 10.9 might help.

  • Fullscreen doesn't work

    Hi, I prepared a footer for a website and have the following issue:
    There are two buttons on footer bar that interests us. One is fullscreen - clicked activates fscommand function. But fscommand works only when I debug my fla. Otherwise, nothing happens. There's an additional variable that shows if fullscreen is active - nothing happens.
    There's also a "coder" info. I wanted to use navigateToURL function for "mailto:..." adress, but nothing happens, even if if changed it to google.com adress. Also debugger doesn't activate it.
    I tested it in browser, completely nothing happens.
    There's the code, works without any "addons":
    package UI {
    import flash.display.*;
    import flash.text.*;
    import flash.events.*;
    import flash.system.*;
    import flash.net.*;
    //import com.greensock.*;
    public class Footer extends MovieClip {
    protected var footerBG:MovieClip;
    protected var fullscreenMC:MovieClip = new MovieClip();
    protected var copyMC:MovieClip = new MovieClip();
    protected var coderMC:MovieClip = new MovieClip();
    protected var fullscreenTF:TextField = new TextField();
    protected var copyTF:TextField = new TextField();
    protected var coderTF:TextField = new TextField();
    protected const TEXT_MARGIN:Number = 20;
    protected const TEXT_ALPHA:Number = 0.35;
    protected var isFullscreen:Boolean = false;
    public function Footer():void {
    trace('Footer');
    prepareElements();
    this.addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
    protected function prepareElements():void {
    footerBG = new MovieClip();
    footerBG.graphics.beginFill(0, 0.35);
    footerBG.graphics.drawRect(0, 0, 100, 25);
    makeButton(fullscreenMC, fullscreenTF, true);
    fullscreenMC.addEventListener(MouseEvent.CLICK, onFsClick);
    fullscreenTF.text = 'fullscreen';
    makeButton(copyMC, copyTF);
    copyTF.text = 'copyright © Mateusz Kot';
    makeButton(coderMC, coderTF, true);
    coderTF.text = 'coder: Krzysztof Antoniak';
    addChild(footerBG);
    addChild(fullscreenMC);
    addChild(copyMC);
    addChild(coderMC);
    protected function makeButton(mc:MovieClip, tf:TextField, button:Boolean = false) {
    var footerTFo = new TextFormat();
    footerTFo.font = 'Arial';//AvantGarde Bk BT
    footerTFo.size = 15;
    footerTFo.color = 0xFFFFFF;
    tf.defaultTextFormat = footerTFo;
    tf.selectable = false;
    //tf.embedFonts = true;
    //tf.type = TextFieldType.DYNAMIC;
    //tf.antiAliasType = AntiAliasType.ADVANCED;
    tf.autoSize = "left";
    tf.alpha = TEXT_ALPHA;
    mc.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
    mc.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
    mc.mouseChildren = false;
    mc.addChild(tf);
    if (button) {
    mc.buttonMode = true;
    protected function refreshArrangement():void {
    footerBG.x = 0;
    footerBG.y = stage.stageHeight - footerBG.height;
    footerBG.width = stage.stageWidth;
    coderMC.x = stage.stageWidth - coderMC.width - TEXT_MARGIN/2;
    coderMC.y = footerBG.y + 2;
    copyMC.x = coderMC.x - copyMC.width - TEXT_MARGIN;
    copyMC.y = footerBG.y + 2;
    fullscreenMC.x = copyMC.x - fullscreenMC.width - TEXT_MARGIN;
    fullscreenMC.y = footerBG.y + 2;
    protected function onMouseOver(event:MouseEvent):void {
    //TweenNano.to(event.target.getChildAt(0), 0.5, {alpha:1});
    protected function onMouseOut(event:MouseEvent):void {
    //TweenNano.to(event.target.getChildAt(0), 0.5, {alpha:TEXT_ALPHA});
    protected function onFsClick(event:MouseEvent):void {
    trace(isFullscreen);
    if (!isFullscreen) {
    fscommand('fullscreen', 'true');
    isFullscreen = true;
    } else {
    fscommand('fullscreen', 'false');
    isFullscreen = false;
    protected function onCoderClick(event:MouseEvent):void {
    navigateToURL(new URLRequest('http://google.com/'));
    protected function onAddedToStage(evt:Event):void {
    refreshArrangement();
    stage.addEventListener(Event.RESIZE, onStageResize);
    protected function onStageResize(evt:Event):void {
    refreshArrangement();
    Can anybody explain why it happens this way?

    Sorry, I missed adding this to the code
    Correct fragment:
    makeButton(coderMC, coderTF, true);
    coderMC.addEventListener(MouseEvent.CLICK, onCoderClick);
    coderTF.text = 'coder: Krzysztof Antoniak';
    It also works only when debugging.

  • [SOLVED]Xorg 1.8 doesn't work

    Hello, I've just upgraded to linux-firmware and the newest X.org, which doesn't work.
    Xorg.0.log tells me:
    [ 934.318]
    X.Org X Server 1.8.1
    Release Date: 2010-05-11
    [ 934.322] X Protocol Version 11, Revision 0
    [ 934.323] Build Operating System: Linux 2.6.33-ARCH x86_64
    [ 934.325] Current Operating System: Linux staerseus 2.6.34-ARCH #1 SMP PREEMPT Sat Jun 19 00:07:49 CEST 2010 x86_64
    [ 934.326] Kernel command line: root=/dev/disk/by-uuid/727c4683-ee4c-4b32-8a59-370264cb7d9f ro i915.modeset=1 init=/sbin/bootchartd
    [ 934.327] Build Date: 26 May 2010 07:50:07PM
    [ 934.329]
    [ 934.330] Current version of pixman: 0.18.2
    [ 934.331] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 934.334] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 934.338] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 21 10:15:38 2010
    [ 934.340] (==) Using config file: "/etc/X11/xorg.conf"
    [ 934.341] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 934.343] (==) No Layout section. Using the first Screen section.
    [ 934.343] (==) No screen section available. Using defaults.
    [ 934.343] (**) |-->Screen "Default Screen Section" (0)
    [ 934.343] (**) | |-->Monitor "<default monitor>"
    [ 934.343] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 934.343] (==) Automatically adding devices
    [ 934.343] (==) Automatically enabling devices
    [ 934.343] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 934.343] Entry deleted from font path.
    [ 934.343] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
    [ 934.343] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 934.343] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 934.343] (II) Loader magic: 0x7ce880
    [ 934.343] (II) Module ABI versions:
    [ 934.343] X.Org ANSI C Emulation: 0.4
    [ 934.343] X.Org Video Driver: 7.0
    [ 934.343] X.Org XInput driver : 9.0
    [ 934.343] X.Org Server Extension : 3.0
    [ 934.352] (--) PCI:*(0:0:2:0) 8086:2a42:1734:113f Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf2400000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
    [ 934.352] (--) PCI: (0:0:2:1) 8086:2a43:1734:113f Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf2100000/1048576
    [ 934.352] (II) Open ACPI successful (/var/run/acpid.socket)
    [ 934.352] (II) LoadModule: "extmod"
    [ 934.352] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 934.352] (II) Module extmod: vendor="X.Org Foundation"
    [ 934.352] compiled for 1.8.1, module version = 1.0.0
    [ 934.352] Module class: X.Org Server Extension
    [ 934.352] ABI class: X.Org Server Extension, version 3.0
    [ 934.352] (II) Loading extension MIT-SCREEN-SAVER
    [ 934.352] (II) Loading extension XFree86-VidModeExtension
    [ 934.352] (II) Loading extension XFree86-DGA
    [ 934.352] (II) Loading extension DPMS
    [ 934.352] (II) Loading extension XVideo
    [ 934.352] (II) Loading extension XVideo-MotionCompensation
    [ 934.352] (II) Loading extension X-Resource
    [ 934.352] (II) LoadModule: "dbe"
    [ 934.352] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 934.352] (II) Module dbe: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.0.0
    [ 934.353] Module class: X.Org Server Extension
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (II) Loading extension DOUBLE-BUFFER
    [ 934.353] (II) LoadModule: "glx"
    [ 934.353] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 934.353] (II) Module glx: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.0.0
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (==) AIGLX enabled
    [ 934.353] (II) Loading extension GLX
    [ 934.353] (II) LoadModule: "record"
    [ 934.353] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 934.353] (II) Module record: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.13.0
    [ 934.353] Module class: X.Org Server Extension
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (II) Loading extension RECORD
    [ 934.353] (II) LoadModule: "dri"
    [ 934.353] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 934.353] (II) Module dri: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.0.0
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (II) Loading extension XFree86-DRI
    [ 934.354] (II) LoadModule: "dri2"
    [ 934.354] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 934.354] (II) Module dri2: vendor="X.Org Foundation"
    [ 934.354] compiled for 1.8.1, module version = 1.2.0
    [ 934.354] ABI class: X.Org Server Extension, version 3.0
    [ 934.354] (II) Loading extension DRI2
    [ 934.354] (==) Matched intel as autoconfigured driver 0
    [ 934.354] (==) Matched vesa as autoconfigured driver 1
    [ 934.354] (==) Matched fbdev as autoconfigured driver 2
    [ 934.354] (==) Assigned the driver to the xf86ConfigLayout
    [ 934.354] (II) LoadModule: "intel"
    [ 934.354] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 934.354] (II) Module intel: vendor="X.Org Foundation"
    [ 934.354] compiled for 1.7.6, module version = 2.11.0
    [ 934.354] Module class: X.Org Video Driver
    [ 934.354] ABI class: X.Org Video Driver, version 6.0
    [ 934.354] (EE) module ABI major version (6) doesn't match the server's version (7)
    [ 934.356] (II) UnloadModule: "intel"
    [ 934.356] (II) Unloading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 934.356] (EE) Failed to load module "intel" (module requirement mismatch, 0)
    [ 934.357] (II) LoadModule: "vesa"
    [ 934.357] (WW) Warning, couldn't open module vesa
    [ 934.357] (II) UnloadModule: "vesa"
    [ 934.357] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 934.359] (II) LoadModule: "fbdev"
    [ 934.359] (WW) Warning, couldn't open module fbdev
    [ 934.359] (II) UnloadModule: "fbdev"
    [ 934.359] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 934.360] (EE) No drivers available.
    [ 934.362]
    Fatal server error:
    [ 934.364] no screens found
    [ 934.365]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 934.370] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 934.372]
    What does the problem with modules mean? Archlinux was warning me, that "in future releases /etc/modprobe.d/framebuffer_blacklist.conf.save will be ignored, but it is the same file as /etc/modprobe.d/framebuffer_blacklist.conf.
    I don't understand, why it cannot find any screens (I use a laptop screen)
    I tried to start with and without xorg.conf, which is:
    Section "Device"
    Identifier "Intel X4500MHD"
    Driver "intel"
    VendorName "Intel Corporation"
    BoardName "Mobile 4 Series Chipset Integrated Graphics Controller"
    BusID "PCI:0:2:0"
    Option "DRI" "true"
    Option "AccelMethod" "uxa"
    Option "MigrationHeuristic" "greedy"
    EndSection
    The graphic driver I use is xf86-video-intel-newest from archstuff, but it is the same version as xf86-video-intel.
    I am not sure if I provided all needed info, but I hope so. Thank you for your help.SOLVED
    Last edited by Staerseus (2010-06-21 09:18:03)

    Use the arch version.   It is actually built against the xorg version that you are using...  here is the relevant section of your log:
    [ 934.354] (EE) module ABI major version (6) doesn't match the server's version (7)

Maybe you are looking for

  • Itunes always changes or delets my playlists I make on my phone.

    I even have 'prevent from syncing' clicked on but every time I plug my iphone in it deletes all the songs I have added to my playlist. I tried to click "manaually manage music and videos" but when I click apply it warns me that it is going to erase m

  • Plant number not found in PO instead description exists

    Dear Experts, How to display Plant number in PO as only description is appearing as soon as i enter the plant. Here there is a work around that i can go to ME23 and check it out... but i want the plant number to be displayed in ME23n or in SAP Enjoy

  • What is "failed to scene-update in time" crash

    [ Wow. No "community" for mail app (or other built-in apps), crashes, iOS 8 (or just iOS). ] iPad 2 running IOS 8 for a week or so. Sluggish and battery draining faster than before, but all apps were working ok. Then during an attempt to delete an e-

  • Diskfilter writes error when installing GRUB on a raid

    I'm setting up a server running Arch with two raided drives: cat /proc/mdstat md127 : active raid1 sda[0] sdb[1] 976631488 blocks super 1.2 [2/2] [UU] bitmap"1/8 pages [4KB], 65536KB chunk have the following partition table created with cgdisk: gdisk

  • Problem activating photoshop after ended trial version

    Hi, I have a problem activating photoshop. I have an educational account. Want to run it on a macbook pro which previously had a trial account on it. When downloading using my account photoshop says trial ended. Other apps like bridge and acrobat pro