WaveMaker 6.5 and vCO 5.1 - default self signed CERT

This is a little off topic, but I'm curious to know if anyone out there connected WaveMaker 6.5.x (web service) to vCO 5.1 (SOAP or REST) when the vCO is configured using the default self-signed certificates SSL (vanilla vCO 5.1 device).

I get the following error even after the importation of the "localhost.localdom" of vCO cert in my Java keystore/restart WaveMaker:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: building way PKIX failed: sun.security.provider.certpath.SunCertPathBuilderException: could not find the path of valid certification for target asked

Looks like real certs should work or if you have them signed by your own CA, but this isn't the case with the application out-of-the-box vCO.

Related links:

http://mighty-virtualization.blogspot.com/2012/09/WaveMaker-handling-SSL-certificates.html?showComment=1351627607456#c2610948026372492253

http://dev.WaveMaker.com/forums/?q=node/8424

Hello!

I think that the host name of the certificate must match the host name you are trying to reach.

The default certificate localhost.localdom works so that, if you try to connect to vCO with localhost.localdom (it might be useful a quick shot, edit the file hosts on your system wavemaker :-))

To change the certificate on vCO to match the real hostname of the box of vCO, see here:

http://www.vcoteam.info/learn-VCO/work-with-VCO-over-SSL.html

http://EnterpriseAdmins.org/blog/virtualization/VCO-appliance-and-SSL-certificates/

After chaning and removing the old and import a new keystore wavemaker it should work... Let us know! :-)

As workaround heavyweights: you can skip using WaveMaker webService tool and create your own JavaService. See an example here: http://blog.mightycare.de/en/2012/06/wavemaker-spring-and-vmware-infrastructure/

PS: The example he uses the old SOAP API of vCO, but you get the feeling (and links to java for the new REST API of https://yourvcoserver:8281/api/docs/downloads.html

PPS: It's in German, but you can download the sample project at the end of the article. If you need a discussion translation/more about this, let me know...

See you soon,.

Joerg

Tags: VMware

Similar Questions

  • ACS SE and Self sign Cert

    How can I get the certificate generated automatically from the SE of GBA. Is the only option for FTP? I already have the TEC installed on the ACS but I need to get a copy of it.

    You need FTP. To get it, there is no other choice.

    Kind regards

    ~ JG

    Note the useful messages

  • vCO 5.5 default plugins appearing not

    just installed for the first time and the Library 5.5 default vcentre and webviews are missing.

    Indeed, after clean install present only workflows are documentation those

    I tried to disable the reactive webview and library restart and still missing

    delete files in the folder plugins and still missing added re dar,

    It's hosted on windows 2012


    Check the credentials in the plugins tab on the version of plug-ins on the tab troubleshooting reset and restart the service.

    17 November 2013 at 09:05, "mcfadyenj' [email protected]<>[email protected]> wrote:

    Https://communities.vmware.com/index.jspaVMware communities >

    vCO 5.5 default plugins appearing not

    created by mcfadyenjhttps://communities.vmware.com/people/mcfadyenj> in Orchestrator - see the discussion completehttps://communities.vmware.com/message/2313392#2313392>

  • Cannot create bookmarks. New install, have disabled all extensions, tried safe mode and reset to the default values. Any help of any of these actions.

    Hello.

    Statement of the problem is very simple: Firefox won't create bookmarks.

    New installation with Mint 17. New generation of PC with Asus A58M-A/USB3 motherboard, AMD A4 6300 processor 4 gig memory stick.

    All Mint and Firefox packages are up to date.

    A new profile has been created for the test, Firefox has been started in safemode, purged and re-installed and reset to the default values. None of these actions have contributed.

    Here is the info according to the troubleshooting information in Firefox

    The application databases

    Name: Firefox
    Version: 33.0
    User Agent: Mozilla/5.0 (X 11; Ubuntu; Linux x86_64; RV:33.0) Gecko/20100101 Firefox/33.0
    Windows multiprocessing: 0/1

    Reports of incidents for the last 3 days

    All Crash reports

    Extensions

    Name: Mint search Enhancer
    Version: 1.0
    Enabled: true
    ID: [email protected]

    Name: elegant
    Version: 1.0.7
    Enabled: true
    ID: {46551EC9-40F0-4e47-8E18-8E5CF550CFB8}

    Graphics

    Description of the adapter: X.Org - Gallium 0.4 on AMD ARUBA
    Device ID: Gallium 0.4 on AMD ARUBA
    Driver version: 3.0 Mesa 10.1.3
    GPU accelerated Windows: 0/1 Basic
    Vendor ID: X.Org
    WebGL Renderer: X.Org - Gallium 0.4 on AMD ARUBA
    windowLayerManagerRemote: false
    AzureCanvasBackend: Cairo
    AzureContentBackend: Cairo
    AzureFallbackCanvasBackend: no
    AzureSkiaAccelerated: 0

    Important change preferences

    Browser.cache.Disk.Capacity: 358400
    Browser.cache.Disk.smart_size.first_run: false
    Browser.cache.frecency_experiment: 3
    browser.places.smartBookmarksVersion: 7
    browser.sessionstore.upgradeBackup.latestBuildID: 20141013200257
    Browser.Startup.homepage_override.buildid: 20141013200257
    Browser.Startup.homepage_override.mstone: 33.0
    dom.mozApps.used: true
    extensions.lastAppVersion: 33.0
    Media.GMP - gmpopenh264.lastUpdate: 1416067922
    Media.GMP - gmpopenh264.version: 1.1
    Media.GMP - manager .lastCheck: 1416067922
    network.cookie.prefsMigrated: true
    places. History.expiration.transient_current_max_pages: 80569
    plugin.disable_full_page_plugin_for_types: application/pdf
    privacy.sanitize.migrateFx3Prefs: true

    Important preferences locked

    JavaScript

    Incremental GC: true

    Accessibility

    Enabled: false
    Prevent accessibility: 0

    Versions of the library

    NSPR
    The expected minimum version: 4.10.7
    Version: 4.10.7

    NSS
    The expected minimum version: 3.17.1 Basic ECC
    Version: 3.17.1 Basic ECC

    NSSSMIME
    The expected minimum version: 3.17.1 Basic ECC
    Version: 3.17.1 Basic ECC

    NSSSSL
    The expected minimum version: 3.17.1 Basic ECC
    Version: 3.17.1 Basic ECC

    NSSUTIL
    The expected minimum version: 3.17.1
    Version: 3.17.1

    Experimental features

    What other information can I give?

    Thank you.

    Jim

    You can check for problems with the database places.sqlite file in the Firefox profile folder.

  • [Microsoft] [ODBC driver manager] Data Source name not found and no driver by default specified

    Hi team,

    I am trying to connect to the Oracle 9i database using VB code below:

    strConnection = "Driver = {Microsoft ODBC for Oracle};" Server = SERVERNAME; UID = username; Pwd = PASSWORD"
    Connect = New ADODB. Connection
    Connect.Open (strConnection)

    The last line throws me below error:

    [Microsoft] [ODBC driver manager] Data Source name not found and no driver by default specified

    The VB code works well and able to connect to database server dev dev. The same script with the name of the UAT server does not work on server UAT.

    The servers are Windows server 2007-32 bit.

    When I checked the tab drivers in ODBC Data Source Administrator, dev server entry below:

    Microsoft ODBC for Oracle - 6.00.6001.18000 - Microsoft Corporation - MSORCL32.dll - Date

    Considering that the UAT server has entered below:

    Microsoft ODBC for Oracle-

    The Microsoft ODBC driver for oracle is listed in the tab UAT Server drivers, but did not have details of file version & dll. This driver is not installed correctly? If so, how the re install? Please help solve this problem as soon as POSSIBLE.

    Kind regards

    Tamil

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • How to make "Windows Picture and Fax Viewer" the default viewer?

    "Picasa" to look at someones photos on the web, and now when dbl click on image, Picasa comes back as the image viewer.
    Is possible, with a permanent framework for XP, do "Windows Picture and Fax Viewer" the default viewer? Thanks again for your help. akmbd166 (XPpro, SP-2, 7 - IE, Office2003)

    "Picasa" to look at someones photos on the web, and now when dbl click on image, Picasa comes back as the image viewer.
    Is possible, with a permanent framework for XP, do "Windows Picture and Fax Viewer" the default viewer? Thanks again for your help. akmbd166 (XPpro, SP-2, 7 - IE, Office2003)

    =================================
    The display of images by default XP's Windows Picture and
    Fax Viewer... so all you have to do is to reset the default values:

    See the following link:

    Utility to repair image file associations
    http://WindowsXP.MVPs.org/imgassofix.htm

    more information:

    (307859) how to change or select which program
    starts when you double-click a file in Windows XP
    http://support.Microsoft.com/?kbid=307859

    Try this... open a folder of images and right-click
    your file image... from the menu, select... Open
    With / choose program.

    Make your choice from the list, or click Browse for the
    correct program if it is not in the list.

    If you want the default value... to choose... "Windows".
    Picture and Fax viewer '.

    Once you make your choice... don't forget to check
    the box that says: "always use the selected program."
    to open this type of file. (you will need to do
    for each format, jpg, .tif, .gif... etc.)

    Also... you can click with the right button on an image and choose
    Properties / change button... Choose the program
    you want to use, and then click on... OK / apply / OK.

    Also, in Windows XP, you can go to... My computer.
    Tools / Folder Options / File Types tab...

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • I use windows 7. How to change and be sure the default column width in Windows Explorer

    I use windows 7. How to change and be sure the default column width in Windows Explorer

    Hi Jimsw,

    ·         If it works well before?

    ·         You did changes to the computer before the show?

    Explorer Windows will remember changed settings, check if this not happen as planned.

    Follow the suggestions below for a possible solution:

    Method 1: I suggest running the fix of the article and check if it helps.

    Diagnose and repair Windows files and folders problems automatically

    http://support.Microsoft.com/mats/windows_file_and_folder_diag/

    Method 2: You can increase the width of the selected columns and apply the settings to all files and check.

    a. right click on an empty space in the Windows Explorer, click on sort by.

    b. now, enter the size required in the Pixel with and click OK.

    Now, click on the drop down menu to organize and click on folder and Search Options.

    Click view and click apply to folders and click OK.

    I hope this helps.

  • BlackBerry Z10 well defined, I can't get the phone to ring and vibrate as the default value for all calls. I can put individual contacts, but I want to ring and vibrate for all.

    Although the value, I can not phone ring and vibrate as the default value for all calls. I can put individual to vibrate and ring contacts and it works but I want as the default for all incoming calls. Any help would be appreciated, thanks

    Sorry, I found the answer in the manual

    "Change your ringtone, sounds or alerts.

    GoTo settings\notifications to the bottom of the screen select application\phone

    You can activate vibrate out there, put the ringer default etc.

  • I updated to windows 10 and installed items 14 64 bit.and is set by default to open .jpg files. When I click on an element of the photo opens but the photo is not. Then I have to open it manually. Any ideas why and how to sort gratefully receiving

    I have updated to 10 Windows and installed the 14 64-bit elements and makes it the default program for opening .jpg files. When I click on an element of the photo opens but the photo is not. Then I have to open it manually. Any ideas why and how do the sorting gratefully received

    Sort problem! I need the Adobe folder and use the Adobe Photoshop elements 14 .exe 'association' as my default file

  • How can I use VB Encoding.UTF8.GetBytes () and System.Text.Encoding.Default.GetBytes () in actionscript can someone help me?

    How can I use it in the action script. My VB code is more

    Encoding.UTF8.GetBytes ("String") and System.Text.Encoding.Default.GetBytes ("char table")

    Thank you. !

    Udit Bhardwaj

    I love the way to convert as a result

    Encoding.UTF8.GetBytes ("String") is in ActionScript:

    YourByteArray.writeMultiByte ("String", "iso-8859-1");

    And

    System.Text.Encoding.Default.GetBytes ("char table")

    YourByteArray.writeMultiByte ("String", "String");

    Thank you for your suggestions to moccamaximum

    Thank you!

    Udit Bhardwaj

  • Property not found on flash.display.Loader charger and there is no default value

    Hi, I want to drag a single image of set of images loaded via xml, but it is showing an error.

    ReferenceError: Error #1069: property not found on flash.display.Loader charger and there is no default value.

    "hand / mouseDownHandler ()" thanks in advance...

    XML

    /////////////////////////////////////

    <? XML version = "1.0" encoding = "utf-8" standalone = "yes"? >

    < GALLERY >

    < IMAGE THUMB = "photo_tb/pic1.jpg" / > "

    < IMAGE THUMB = "photo_tb/pic2.jpg" / > "

    < IMAGE THUMB = "photo_tb/pic3.jpg" / > "

    < IMAGE THUMB = "photo_tb/pic4.jpg" / > "

    < / GALLERY >

    /////////////////////////////////////////////

    package

    {

    import flash.display. *;

    import flash.events. *;

    flash.net import. *;

    import flash.display.Sprite;

    import flash.display.Loader;

    import flash.events.MouseEvent;

    main/public class extends MovieClip

    {

    private var levelXML:XML;

    private var myLoader:URLLoader;

    private var my_images:XMLList;

    private var my_total:Number;

    private var my_thumb_width:Number;

    private var container_mc:MovieClip;

    private var my_mc:MovieClip;

    public void main()

    {

    levelXML = new XML();

    var XML_URL:String = "data / data.xml."

    var myXMLURL:URLRequest = new URLRequest (XML_URL);

    myLoader = new URLLoader (myXMLURL);

    myLoader.addEventListener (Event.COMPLETE, lanceApp);

    }

    private void startApp(e:Event):void

    {

    var myXML:XML = new XML (e.target.data);

    my_images = myXML.IMAGE;

    my_total = my_images.length ();

    createContainer();

    callThumbs()

    for each {(var niveau: XML dans levelXML.level)}

    trace (Level.leveltitle);

    trace (Level.identifyme);

    //}

    }

    private function createContainer (): void

    {

    container_mc = new MovieClip();

    container_mc.x = 50;

    container_mc.y = 50;

    my_mc.x = 100

    my_mc.y = 100

    addChild (container_mc);

    }

    private function callThumbs (): void

    {

    trace (my_total)

    for (var i: Number = 0; i < my_total; i ++)

    {

    'loader_' + i

    my_thumb_width = 100

    var thumb_url = my_images[i].@THUMB;

    var thumb_loader = new Loader();

    thumb_loader. Load (new URLRequest (thumb_url));

    thumb_loader.contentLoaderInfo.addEventListener (Event.COMPLETE, thumbLoaded);

    thumb_loader. Name = i;

    thumb_loader.x = (my_thumb_width * I);

    }

    }

    private void thumbLoaded(e:Event):void

    {

    var my_thumb:Loader = Loader (e.target.loader);

    container_mc. AddChild (my_thumb);

    my_thumb.contentLoaderInfo.removeEventListener (Event.COMPLETE, thumbLoaded);

    Sprite: var loader = Loader (e.target);

    var my_thumb:Loader = Loader (e.target);

    trace (my_thumb)

    my_thumb.addEventListener (MouseEvent.MOUSE_DOWN, mouseDownHandler);

    my_thumb.addEventListener (MouseEvent.MOUSE_UP, mouseUpHandler);

    }

    private void mouseDownHandler(e:MouseEvent):void {}

    var my_thumb:Loader = Loader (e.target.loader);

    container_mc. AddChild (my_thumb);

    e.target.startDrag ();

    }

    private void mouseUpHandler(e:MouseEvent):void {}

    trace ("mouseUpHandler");

    var sprite: Sprite = Sprite (event.target);

    sprite.removeEventListener (MouseEvent.MOUSE_MOVE, OnMouseMoveHandler);

    sprite.stopDrag ();

    }

    private void mouseMoveHandler(event:MouseEvent):void {}

    trace ("mouseMoveHandler");

    event.updateAfterEvent ();

    }

    }

    }

    In your function mouseDownHandler target you 'e.target.loader', however, e.target is a Loader and Chargers have no property loader.

    private void mouseDownHandler(e:MouseEvent):void {}

    var my_thumb:Loader = Loader (e.target.loader);

    Try just "e.target" instead since this should be your code is looking for.

    var my_thumb:Loader = Loader (e.target);

    Although you might find you need to use "e.currentTarget" instead since e.target can point to the content of the loader instead of the charger itself

  • ReferenceError: Error #1069: y property not found on string and there is no default value.

    can someone tell me why I get this error?

    ReferenceError: Error #1069: y property not found on string and there is no default value.

    import flash.events.Event;

    var control = false

    var balls: Array = [one, two, three];

    var which_balloon =""

    tec.addEventListener (MouseEvent.CLICK, moveit)

    one.oney.addEventListener (Event.ENTER_FRAME, kav);

    two.twoy.addEventListener (Event.ENTER_FRAME, kav);

    three.threey.addEventListener (Event.ENTER_FRAME, kav);

    function moveit (MouseEvent) {}

    which_balloon = Balloons [Math.Round (Math.Random () * 2)]

    check = true

    }

    function kav(e:Event) {}

    {if(Checks==true)}

    which_balloon.y-= 5

    }

    If (which_balloon.y < = 100) {}

    check = false

    which_balloon.y = 350

    }

    }

    When you set which_balloon to line 3 of your code, you set it to an empty string. This will type the variable as a string. The strings cannot have a property there.

    What you probably want to do is type your which_balloon to the same variable type as some one and two and three are.

  • Data source name not found and no driver by default specified

    Hi all

    I use Microsoft Accessas as backn. When I start my presentation Services I get this error > data source name not found and no driver specified default.

    Hello

    You must create a data source name (DSN) and update the connection with the DSN name pool.

    Steps to create a DSN:

    Control Panel Goto-> tools-> Data Sources (ODBC) administration.

    Open Data Sources (ODBC) and click on the system DSN tab-> click on the Add button and select Microsoft Access Driver (*.mdb) driver and update the name of the database, the connection tabs and database with the corresponding to your name of the comic.

    Thank you
    Navin Kumar Bolla

  • Error 1069 property 0 not found on flash.text.TextField and there is no default value

    So, I worked on it for a few days and what makes me crazy is this is a simple file with many simple script and I still can't seem to understand what is this error and how to fix it: property 0 not found on flash.text.TextField and there is no default

    The script below what we look at, everything is drawn with AS3, there is no object library (except for the police). I little understand what means the error, but I do not understand it or how to fix it.

    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    import flash.events.Event;
    import flash.filters.BlurFilter;
    import flash.display.Shape;
    
    import flash.display.Sprite;
    import flash.display.Graphics;
    import flash.events.*;
    import flash.geom.*;
    import flash.events.*;
    
    var boxBg:Shape = new Shape();
        
    boxBg.graphics.lineStyle(1, 0x000000, .5, true);
    boxBg.graphics.beginFill(0xff6600);
    boxBg.graphics.drawRect(0, 0, 50, 50);
    boxBg.graphics.endFill();
    
    var box:Sprite = new Sprite();
    box.x = 335;
    box.y = 245;
    
    addChild(box);
    box.addChild(boxBg);
    
    var toggleBg:Shape = new Shape();
    var toggleBtn:Sprite = new Sprite();
        
    toggleBg.graphics.lineStyle(1, 0xefefef, .5, true);
    toggleBg.graphics.beginFill(0xffffff);
    toggleBg.graphics.drawCircle(0, 0, 25);
    toggleBg.graphics.endFill();
    toggleBtn.buttonMode = true;
    toggleBtn.mouseChildren = false;
    
    toggleBtn.x = stage.stageWidth - 75;
    toggleBtn.y = 25;
    
    addChild(toggleBtn);
    toggleBtn.addChild(toggleBg);
    
    for (var i:int = 0; i < 10; i++) {
        var btnBg:Shape = new Shape();
        
        btnBg.graphics.lineStyle(1, 0xefefef, .5, true);
        btnBg.graphics.beginFill(0xffffff);
        btnBg.graphics.moveTo(12, 0);
        btnBg.graphics.lineTo(24, 20);
        btnBg.graphics.lineTo(0, 20);
        btnBg.graphics.lineTo(12,0);
        btnBg.graphics.endFill();
        
        var btnFont = new Myriad();
        
        var btnFormat:TextFormat = new TextFormat();
        btnFormat.font = btnFont.fontName;
        btnFormat.size = 12;
        btnFormat.align = "center";
        btnFormat.color = 0xffffff;
        
        var btnTxt:TextField = new TextField();
        btnTxt.defaultTextFormat = btnFormat;
        btnTxt.width = 50;
        btnTxt.height = 20;
        btnTxt.y = 5;
        
        var myBtn:Sprite = new Sprite();
        
        myBtn.name = ("Blend " + (i + 1));
        myBtn.buttonMode = true;
        myBtn.mouseChildren = false;
        
        addChild(myBtn);
        
        myBtn.x = 10 + (i * 75);
        myBtn.y = 500;
        
        myBtn.addChild(btnBg);
        myBtn.addChild(btnTxt);
        
        btnTxt.text = myBtn.name;
        
        myBtn.addEventListener(MouseEvent.CLICK, btnHandler);
        myBtn.addEventListener(MouseEvent.ROLL_OVER, btnHandler);
        myBtn.addEventListener(MouseEvent.ROLL_OUT, btnHandler);
        toggleBtn.addEventListener(MouseEvent.MOUSE_DOWN, onToggleVisible);
    }
    
    function btnHandler(event:MouseEvent):void {
        if(event.type == MouseEvent.CLICK){
            if(event.currentTarget == btnTxt[0]){
                box.blendMode = BlendMode.NORMAL;
            }
            
            if(event.currentTarget == btnTxt[1]){
                box.blendMode = BlendMode.DARKEN;
            }
            
            if(event.currentTarget == btnTxt[2]){
                box.blendMode = BlendMode.DIFFERENCE;
            }
            if(event.currentTarget == btnTxt[3]){
                box.blendMode = BlendMode.HARDLIGHT;
            }
            
            if(event.currentTarget == btnTxt[4]){
                box.blendMode = BlendMode.INVERT;
            }
            
            if(event.currentTarget == btnTxt[5]){
                box.blendMode = BlendMode.LIGHTEN;
            }
            
            if(event.currentTarget == btnTxt[6]){
                box.blendMode = BlendMode.MULTIPLY;
            }
            
            if(event.currentTarget == btnTxt[7]){
                box.blendMode = BlendMode.OVERLAY;
            }
            
            if(event.currentTarget == btnTxt[8]){
                box.blendMode = BlendMode.SCREEN;
            }
            
            if(event.currentTarget == btnTxt[9]){
                box.blendMode = BlendMode.SUBTRACT;
            }
        }
    }
        
    function onToggleVisible(event:MouseEvent):void {
        box.visible = !box.visible;
    }
    

    I have made through problems similar, but could not find an adequate solution. If anyone can help me identify the problem and the solution, I would be extremely grateful.

    The following code makes more sense, it is more efficient (although it may be more efficient), and it is better organized:

    import flash.display.Shape;
    import flash.display.Sprite;
    import flash.events.*;
    import flash.geom.*;
    import flash.events.*;
    import flash.text.*;
    
    var box:Sprite;
    var toggleBtn:Sprite;
    var btnFont:Font;
    var btnFormat:TextFormat;
    
    init();
    
    function init():void
    {
         initFormat();
         makeBox();
         makeToggleButton();
         makeButtons();
    }
    
    function initFormat():void
    {
         btnFont = new Myriad();
         btnFormat = new TextFormat();
         btnFormat.font = btnFont.fontName;
         btnFormat.size = 12;
         btnFormat.align = "center";
         btnFormat.color = 0xffffff;
    }
    
    function makeToggleButton():void
    {
         toggleBtn = new Sprite();
         toggleBtn.graphics.lineStyle(1, 0xefefef, .5, true);
         toggleBtn.graphics.beginFill(0xffffff);
         toggleBtn.graphics.drawCircle(0, 0, 25);
         toggleBtn.graphics.endFill();
         toggleBtn.buttonMode = true;
         toggleBtn.mouseChildren = false;
         toggleBtn.addEventListener(MouseEvent.MOUSE_DOWN, onToggleVisible);
         addChild(toggleBtn);
    
         toggleBtn.x = stage.stageWidth - 75;
         toggleBtn.y = 25;
    }
    
    function makeBox():void
    {
         box = new Sprite();
         box.graphics.lineStyle(1, 0x000000, .5, true);
         box.graphics.beginFill(0xff6600);
         box.graphics.drawRect(0, 0, 50, 50);
         box.graphics.endFill();
    
         addChild(box);
    
         box.x = 335;
         box.y = 245;
    }
    
    function makeButtons():void
    {
         var myBtn:Sprite;
         for (var i:int = 0; i < 10; i++)
         {
              myBtn = drawButton("Blend " + (i + 1));
              addChild(myBtn);
              myBtn.x = 10 + i * 75;
              myBtn.y = 500;
              myBtn.addEventListener(MouseEvent.CLICK, btnHandler);
              myBtn.addEventListener(MouseEvent.ROLL_OVER, btnHandler);
              myBtn.addEventListener(MouseEvent.ROLL_OUT, btnHandler);
         }
    }
    
    function btnHandler(e:MouseEvent):void
    {
         if (e.type == MouseEvent.CLICK)
         {
              switch (e.currentTarget.name)
              {
                   case "Blend 1":
                        box.blendMode = BlendMode.NORMAL;
                        break;
                   case "Blend 2":
                        box.blendMode = BlendMode.DARKEN;
                        break;
                   case "Blend 3":
                        box.blendMode = BlendMode.DIFFERENCE;
                        break;
                   case "Blend 4":
                        box.blendMode = BlendMode.HARDLIGHT;
                        break;
                   case "Blend 5":
                        box.blendMode = BlendMode.INVERT;
                        break;
                   case "Blend 6":
                        box.blendMode = BlendMode.LIGHTEN;
                        break;
                   case "Blend 7":
                        box.blendMode = BlendMode.MULTIPLY;
                        break;
                   case "Blend 8":
                        box.blendMode = BlendMode.OVERLAY;
                        break;
                   case "Blend 9":
                        box.blendMode = BlendMode.SCREEN;
                        break;
                   case "Blend 10":
                        box.blendMode = BlendMode.SUBTRACT;
                        break;
              }
         }
    }
    
    function onToggleVisible(e:MouseEvent):void
    {
         box.visible = !box.visible;
    }
    
    function drawButton(buttonName:String):Sprite
    {
         var btnTxt:TextField = new TextField();
         btnTxt.defaultTextFormat = btnFormat;
         btnTxt.width = 50;
         btnTxt.height = 20;
         btnTxt.y = 5;
         btnTxt.text = buttonName;
    
         var myBtn:Sprite = new Sprite();
         myBtn.graphics.lineStyle(1, 0xefefef, .5, true);
         myBtn.graphics.beginFill(0xffffff);
         myBtn.graphics.moveTo(12, 0);
         myBtn.graphics.lineTo(24, 20);
         myBtn.graphics.lineTo(0, 20);
         myBtn.graphics.lineTo(12, 0);
         myBtn.graphics.endFill();
    
         myBtn.name = buttonName;
         myBtn.buttonMode = true;
         myBtn.mouseChildren = false;
    
         myBtn.addChild(btnBg);
         myBtn.addChild(btnTxt);
    
         return myBtn;
    }
    
  • start-up: how to stop my yahoo messenger and windows messenger from starting when signing

    want to know how to stop my yahoo messenger and windows messenger from starting when signing.

    It is always better to stop programs from starting with Windows from the programs themselves, so look in their choices first. There may be an entry in your start > programs > startup folder which can simply be removed. If a program does not offer a way to control the start-up of its preferences, use msconfig to clear the check box next to its name, apply and OK on. Also take a look in your programs > startup folder to see if there is an entry for the application it.

    Start Orb > Search box > type: msconfig and when it appears in the results area above, right-click and choose 'run as administrator '.

    If you are prompted for an administrator password or a confirmation, type the password, or click on continue. Then see what is on the Startup tab. You don't need to restart immediately, but next time you do, you will get a dialog box saying that you have used the utility. Usually, it will be blocked by Windows Defender, and you need to allow it to run so that you can then check the box that says in effect, "don't mind to this subject again".

    Important - do not use the System Configuration utility to stop the process. Use Services and stop all services, unless you really, really know what you're doing.

    The free Autoruns program is very useful for managing your Startup - http://www.microsoft.com/technet/sysinternals/default.mspx

    MS - MVP - Elephant Boy computers - don't panic!

Maybe you are looking for

  • Can I safely delete these old files related to Firefox?

    While addressing a problem last week, I came across the following files in my computer: nsSessionStore.js C:\Program Files\Netscape\Navigator 9\components\ 72 KB 2007-08-16 04:07: 44C:\Program Files\PortFirefox\FirefoxPortable\App\firefox\components\

  • Re: Keyboard light on Satellite P870

    Hello guys, I just bought a Toshiba Satellite P870 and it works very well. I understand all the features of the laptop, but I can't turn on the light on the keyboard or.Can someone help me how to do this?Thank you indeed.PS O.S. is Windows 8.

  • Error message in Windows Update number 0 X 80280002

    I can't access Windows Update due to an error message Error number: 0 X 80280002

  • Will not update

    When this XP PC is update.microsoft.com, it keeps switching quickly back and forth between these two pages ' Verification of the latest version of the Windows Update software... ". «and «Check if your computer has the latest version of Windows Update

  • Windows Vista 8007271 B error code

    Cannot install 3 updates for Windows Vista recommended the following. Get the 8007271B error Code 1 platform supplement update for Windows Vista for x 64 (KB2117917-french) systems 2. download sizeWindows PowerShell 2.0 and WinRM 2.0 for Windows Vist