EventDispatching Continously on Rollover RollOut Events

I have a simple mxml component tht extends Canvas. When I try and show the border / focus skin on a rollover / rollout event for my backgroung image
the rollover and rollout event get fired continously. What is triggering the roll out event ?. I have attached the src example (flex prj archive).
Thank You
Firdosh.
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="124" height="148">
    <mx:Script>
        <![CDATA[
            private function onRollOver():void
                trace("rollover");
                focus.visible = true;
            private function onRollOut():void
                trace("rollout");
                focus.visible = false;
        ]]>
    </mx:Script>
    <mx:Image x="0" y="0" width="124" height="148"
source="@Embed('background.png')" rollOver="onRollOver();"
rollOut="onRollOut();"/>
    <mx:Image x="10" y="10" width="104" height="79" source="@Embed('img.jpg')"/>
    <mx:TextInput x="10" y="97" width="104"/>
    <mx:Label x="10" y="127" text="Test" color="#FFFFFF"/>
    <mx:Label x="85" y="127" text="Test" color="#FFFFFF"/>
    <mx:Image x="0" y="0" width="124" height="148" source="@Embed('selected.png')" id="focus" visible="false"/>
</mx:Canvas>
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:local="*">
     <local:Tile />
</mx:Application>

If the image appears under the mouse, then you've rolled out of the canvas onto the image
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • Can't figure what's wrong in my menu rollover/rollout project

    What I was trying to do is make menu similar to one from http://www.jeremylevine.com/
    I was seeking around and couldn't find a clue how was it done, so I tried my way.
    Here's what I did  - http://atlasinvest.me/menu/
    You'll notice that, when crossing from middle button to one of the other two, it falls down smoothly, but when crossing from side buttons to the middle, it fails to play the frame that should do the smooth part of animation.
    Here's the source http://atlasinvest.me/menu/menu.fla
    I was trying to figure why it doesn't play, since code is the same for both buttons, but I'm obviously missing something.
    Maybe the second pair of eyes would spot something and I'd be thankful
    And the other question.. is there any less complicated way from what I'm heading to.. in order to make menu like in the first link above ?

    Probably it's something most won't bother, but I thought it may be more convinient because code itself may be a little hard  to figure through, without following content.
    Ok, I'll try to explain as much as I can
    Every button has it's rollover, rollout action depending on current possition of other movieclip (button). By that I tried to tell the clip, if the cursor is coming from the next button, or blank scene.
    There are 3 button sizes : Normal, Large1, and Large 2. As you probably figured, selected button has size Large2, and neighbour buttons follow with size Large1, rest of them are normal.
    So, by default, every rollover goes from frame "Normal to Large2" and rollout goes from frame "Large2 to Normal". After reaching "Normal" it goes and stops to frame 1.
    Before doing default action, it checks if one of the neighbour buttons is Not on frame 1 (which means it's travels from frame Large2 to Normal, and that neighbour button was previously active), and then if that's the case, it redirects neighbour button to play "Large2 to Large1" and current button to go from "Large1 to Large2".
    And here's how code looks like:
    ( I named the button clips c0 - left one; c1 - middle one, and c2 - right one)
    Problem is, only middle one does the correct "l2-l1" tween, other two just return with trace message, but don't play suggested frame
    // C1
    c1.onRollOver = function(){
                        if(c2._currentframe != 1){
          c2.gotoAndPlay("l2-l1");
                trace("this should play c2.l2-l1 but doesnt !!!");
                c1.gotoAndPlay("l1-l2");
                c0.gotoAndPlay("n-l1");
              else if(c0._currentframe != 1){
              c0.gotoAndPlay("l2-l1");
              trace("this should play c0.l2-l1 but doesnt !!!");
              c1.gotoAndPlay("l1-l2");
              c2.gotoAndPlay("n-l1");
              else
              c1.gotoAndPlay("n-l2");
              c0.gotoAndPlay("n-l1");
              c2.gotoAndPlay("n-l1");
    c1.onRollOut = function(){
              c1.gotoAndPlay("l2-n");
              c0.gotoAndPlay("l1-n");
              c2.gotoAndPlay("l1-n");
    // C2
    c2.onRollOver = function(){
              if(c1._currentframe != 1){
          c1.gotoAndPlay("l2-l1");
                trace("this plays OK !");
                c2.gotoAndPlay("l1-l2");
              else
              c1.gotoAndPlay("n-l1");
              c2.gotoAndPlay("n-l2");
    c2.onRollOut = function(){
              c1.gotoAndPlay("l1-n");
              c2.gotoAndPlay("l2-n");
    // C0
    c0.onRollOver = function(){
                        if(c1._currentframe != 1){
          c1.gotoAndPlay("l2-l1");
                c0.gotoAndPlay("l1-l2");
              else
              c1.gotoAndPlay("n-l1");
              c0.gotoAndPlay("n-l2");
    c0.onRollOut = function(){
              c1.gotoAndPlay("l1-n");
              c0.gotoAndPlay("l2-n");

  • Continously data collection and events

    Hi Folks,
    I need a suggestion about how to get DATA continously and trigger another events simultaneously .
    Here is my vi snippet with continously monitoring the motor value and direction but wanna trigger and change it movement in rel and abs.
    I also have two hall sensors as end switch called in events.
    Can you help me ??
    Boldness has genius, power and magic in it!'
    Attachments:
    vi.PNG ‏47 KB

    The attached picture tells nothing about, what you've done in your code or what design pattern are you using now...!!
    flongnos said correctly, some design pattern based out of 'Parallel Loops' is needed, when you have two or more processes that need to run simultaneously and continuously (may be at different rate).
    You should check:
    Application Design Patterns
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • Double Rollover/Rollout Conundrum

    Hi Everybody,
    I have an issue where I have a layer with a movieclip in it that globally covers the whole stage. Everytime the user rolls over it, it triggers a MC reveal. Everytime the user rolls out, it goes back into hiding. It is meant to only rollover/rollout when the user's mouse comes onto or leaves the stage area.
    The problem I have is I have other movieclips on layers above it that have rollover/release functions as well. So everytime I rollover one of them it accidentally trigers the global stage rollover/out beneath it.
    Is there a way I can have a rollover for a hit area covering the complete stage underneath other functinoing MC buttons without it triggering an early rollout?
    Does that makee sense? Is there a solution?
    Thanks for any feedback.

    I haven't even assigned them depths as children. They're merely on the stage.
    No two objects inhahbit the same displayindex in a flash file, so the index of a child (where it sits on the disply list) is unique.
    If you don`t assign a depth/index to your object flash will do it for you.
    Beware: The Layers you use in the timeline are not identical with the index flash uses to soret them on the displaylist.
    So while you may have hundreds oof movieclips placed on one and the same layer in the timeline, internally they will all have their own index on the displaylist.
    when you use addChild(mc) flash will add the object always on the highest index
    yu can specify the index which your object gets assigned with
    addChildAt(mc,0) will always place the object benaeth all objects on the stage
    addChildAt(mc, stage.numChildren-1) will always place the object above all objects on the stage

  • Buttons near the edge of the stage don't register Rollout events

    I have a button that sits close to the edge of the stage, and
    when I quickly roll out of the button towards the edge of the
    stage, Flash doesn't register the rollOut event. Seems like Flash
    still thinks that the cursor is sitting still over the button, even
    though I'm moving the cursor outside of the flash stage area.
    Does anyone know a way to fix this?

    Q: Sometimes he invites me to things, and I never see the invitation.
    A: Lost in space? Likely a spam filter issue somewhere, but let's defer that one
    comment: I have checked my Spam filter - nothing there. I stress that this is an intermittent fault between the same two people.
    Q:I sent him an invitation recently, and his acceptance arrived today. But although the mere arrival of his message highlights the event in iCal, I can click on the icon in his email as much as I like, and I get no notification of his acceptance - the name stays greyed out.
    A: What way have you set in iCal's preferences "automatically retrieve invitations"?
    Comment: currently set to ON for that option. But I have also tried with it off.
    A: Please invite me to something - my email address is in my profile.
    Comment: DONE! and many thanks for your help so far.

  • Flowing rollOver/ rollOut animations.

    How can I keep the rollover animation from stopping when the
    cursor pulls out before it is complete? There is a rollover anime
    and a rollout anime,but I dont want the rollover anime to be
    interupted. Basically it would be like a whole movie clip activated
    by the cursor but if the cursor stays on it, it pauses in the
    middle. How would I code this?
    I hope i explained it well enough.

    I would use a variable to signal that the rollover anime is
    playing. Set this to true onRollOver, and to false in the last
    frame of the anime. Then you can check this var onRollOut, and
    decide what to do: if it's false, just play the rollout part. If
    it's true, that means the rollover isn't finished yet, so you could
    set another var, indicating that it shouldn't stop but play the
    rollout part right after finishing the rollover part. Therefore you
    have to check this 2nd var in the last frame of the rollover anime,
    to decide if the movie shall stop or continue playing, and reset it
    in the last frame or in the rollover event.
    hth,
    blemmo

  • Rollover/rollout of multi-button menus

    I keep running into a situation where I want to rollover on
    one object, then rollout on two overlapping objects. So, say I have
    button A, with a rollover event that makes button B appear. B
    partially overlaps A. Now I want both buttons to stay visible (and
    clickable) until I roll away from both of them, then B should
    dissappear again.
    Seems like a common problem, but for the life of me I can't
    figure out a clean, reliable way to implement the rollout when you
    move between A and B. My current solutions involve either a
    "border" around both objects that hides B when you roll over it, or
    a delay on the close function and an interval timer stack. Both
    seem like messy hacks to me; there must be a better way.
    How is this usually accomplished? Can you point me to any
    examples? Thank you! :)

    see hitTest test in the manual

  • Spark Dropdownlist rollover rollout best practice?

    I am seem to be having an issue here. I am trying to get a Spark DropDownList to open on mouseover or rollover and close on mouseout or rollout, but not if the mouse is on popup. But if the mouse rolls out or mouses out of the popup it should also close. The issue is when you use rollover on dropdownlist, plus rollout, when you try to move your mouse down to the popup it closes as it hears the rollout.
    Does this code go in the skin?  Do I need to extend the DropDownList?  Not sure what is the best practice with addition of Spark and Skins?
    Thx, J

    Probably not best practice but put a rect in the skin and pushed it (top = -20) so my rollout handler sees it.

  • Movieclip Button RollOver/RollOut

    I have a movieclip button name "about". In the about movieclip button when you rollover it will play a looping movieclip. When you rollout it will play another animation or movieclip.
    The problem I am trying to solve is how do I code it so that when you rollout, the movieclip of rollover stops playing and will not finish the full movieclip. As of right now the way it is when you rollout, movieclip of rollover will play to full length before it stops.
    The effect i'm trying to achieve can be seen in this template.
    h**p://www.templatemonster.com/flash-templates/7981.html
    If someone can point me to a tutorial or sample code of the effect please. Thanks

    Well, I am not a professional but like I said I posted a question similar to this and I was told to add and remove listeners like such:
    about_mc.buttonMode = true;
    about_mc.addEventListener(MouseEvent.ROLL_OVER, buttonOver);
    about_mc.addEventListener(MouseEvent.ROLL_OUT, buttonOut);
    function buttonOver(e:MouseEvent):void
        about_mc.removeEventListener(MouseEvent.ROLL_OVER, buttonOver);
        e.currentTarget.gotoAndPlay("over");
        about_mc.addEventListener(MouseEvent.ROLL_OUT , buttonOut);
    function buttonOut(e:MouseEvent):void
        about_mc.removeEventListener(MouseEvent.ROLL_OUT, buttonOut);
        e.currentTarget.gotoAndPlay("out");
        about_mc.addEventListener(MouseEvent.ROLL_OVER , buttonOver);

  • Rollover/Rollout Issue

    I have 3 graphic components that are horizontal bars about 100px long and 20px high.  They're stacked over each other vertically on the left edge of the page, with about 10px space between them.
    Each component has an UP and an OVER state.
    When I rollover each graphic they slide to the left and fade to to 50% transparency.  Rollout restores them to the original UP state.
    If I move my cursor somewhere in the middle of the graphic, the state changes work well, but if I'm less than 20 or 30px from the end of the graphic the rollover and rollout states occur in rapid succession.  Imagine a horizontal piston at 3K rpm.
    Any thoughts?
    -jh

    Does your button change sizes in its Up and Over states? If it does, it will flicker wildly. Here's why...
    Suppose your graphic is 100px wide in the Up state and 50px in the Over state. You put your mouse over pixel #60. The button goes "yay, I got moused over, better go into my over state!". It goes into the over state and resizes to be 50px. Now it thinks "the mouse is no longer over me. Better go back to my Up state!". It goes into the up state and resizes to be 100px. Now it thinks "yay, I got moused over..."...ad infinitum.
    If this is the problem, you can work around it by creating a "hit rectangle" in both states and setting it's opacity to 0.
    -Adam

  • Continous increasing using a event case

    Hello,
    I'm making a game space invaders in labview, but i've a problem with it. I have make my shooter already, I can move(step by step) and shoot with it ...
    But my problem is,  I wan't to move continously. When I press the right key, it should keep on going ... now it stops after one step ...
    How can I do this ??

    Use the "Key Repeat" event to detect this.  Or, run a seperate loop that watches key buttons and sends the values over User Events.  Then, register the User Events and hook up the refnum to the dynamic terminal on the event case.  From there, you can watch those values.
    7J1L1M

  • Use EventDispatcher to listen the import event?????

    EventDispatcher ed = new EventDispatcher("10.23.14.12");
    ed.registerRepositoryNotifications("Admin", "123", rep.repId);
    ed.addListener(new ImportListener());
    //提交PORT
    SubmitPortDataFilesCommand spdfc = new SubmitPortDataFilesCommand(rep.connPool);
    spdfc.setFiles(pdfs);
    spdfc.setPortId(pIds[0]);
    spdfc.setRemoteSystemId(rsIds[0]);
    spdfc.setSession(rep.getNewSession());
    spdfc.execute();
    the class listener:
    监听实现类
    @author xuhuanjun
           public class ImportListener implements RepositoryListener{
              public void importProcessed(ImportEvent arg0) {
                   // TODO Auto-generated method stub
                   if(PortFileStatuses.EXCEPTION==arg0.getImportStatus("mt.xml")||PortFileStatuses.IMPORTX==arg0.getImportStatus("mt.xml")||
                             PortFileStatuses.STRUCTURALX==arg0.getImportStatus("mt.xml")||PortFileStatuses.VALUEX==arg0.getImportStatus("mt.xml")){
                        System.out.println("METHOD:importProcessed**********IMPORT EXCEPTION!");
                   else{
                        System.out.println("METHOD:importProcessed**********IMPORT SUCCESSFULLY!");
    now i can excute the import successfully,but when the import proceed,i can not call the listenner method importProcessed(ImportEvent arg0),who can help me???
    Edited by: badboy on Jul 8, 2009 11:48 AM

    For now you can Report commands - You can't get the IP address
    Get-Command -Name '*Get-O365*'
    Get-O365ClientBrowserDetailReport
    Get-O365ClientBrowserReport
    Get-O365ClientOSDetailReport
    Get-O365ClientOSReport
    Regards Chen V [MCTS SharePoint 2010]

  • Panning/scrolling movieclip, needs to stop and start on rollover/rollout

    Hello, I just started a new flash developer job, but I am relatively new to Actionscript itself (seems dumb, I know).
    The deal is that we have a movieclip with a jpg in it that we need to scroll left to right based on the mouse's position. This seems fairly straightforward, but there will also be FLV's (flvPlayback) and other various buttons to click on during the panning.
    What I need is a way for the MC to stop panning upon rolling over one of the pre-determined buttons.
    I inherited the code below and get what it is doing, but I have no idea how to make it stop panning when I need it to, and then "onRollOut" make it start panning again.
    bg_mc.onEnterFrame = function() {
       if (hitTest(_root._xmouse, _root._ymouse, true)) {
           mover();
       } else {
           delete panoramic_mc.onEnterFrame;
    function mover() {
       panoramic_mc.onEnterFrame = function() {
           if (_xmouse<movieMiddle) {
               if (panoramic_mc._x > movieWidth) {
                   //trace("Move panoramic 1 back");
                   panoramic_mc._x = (panoramic2_mc._x - panoramicWidth);
               if (panoramic2_mc._x > movieWidth) {
                   //trace("Move panoramic 2 back");
                   panoramic2_mc._x = (panoramic_mc._x  -panoramicWidth);
               inc = Math.abs(_xmouse - movieMiddle)*speed;
               panoramic_mc._x += inc;
               if(panoramic_mc._x > panoramic2_mc._x){
                   panoramic2_mc._x = panoramic_mc._x - panoramicWidth;
               }else{
                   panoramic2_mc._x = panoramic_mc._x + panoramicWidth;
           } else {
               if (panoramic_mc._x < (0 - panoramicWidth)) {
                   //trace("Move panoramic 1 ahead");
                   panoramic_mc._x = (panoramic2_mc._x + panoramicWidth);
               if (panoramic2_mc._x<(0 - panoramicWidth)) {
                   //trace("Move panoramic 1 ahead");
                   panoramic2_mc._x = (panoramic_mc._x + panoramicWidth);
               inc = Math.abs(_xmouse - movieMiddle)*speed;
               panoramic_mc._x -= inc;
               if(panoramic_mc._x > panoramic2_mc._x){
                   panoramic2_mc._x = panoramic_mc._x - panoramicWidth;
               }else{
                   panoramic2_mc._x = panoramic_mc._x + panoramicWidth;

    when you want the panning to be active call activate():
    function activate(){
    bg_mc.onEnterFrame = function() {
       if (hitTest(_root._xmouse, _root._ymouse, true)) {
           panoramicF()
    //when you want it to be inactive call deactivate():
    function deactivate(){
    delete bg_mc.onEnterFrame;
      function panoramicF() {
           if (_xmouse<movieMiddle) {
               if (panoramic_mc._x > movieWidth) {
                   //trace("Move panoramic 1 back");
                   panoramic_mc._x = (panoramic2_mc._x - panoramicWidth);
               if (panoramic2_mc._x > movieWidth) {
                   //trace("Move panoramic 2 back");
                   panoramic2_mc._x = (panoramic_mc._x  -panoramicWidth);
               inc = Math.abs(_xmouse - movieMiddle)*speed;
               panoramic_mc._x += inc;
               if(panoramic_mc._x > panoramic2_mc._x){
                   panoramic2_mc._x = panoramic_mc._x - panoramicWidth;
               }else{
                   panoramic2_mc._x = panoramic_mc._x + panoramicWidth;
           } else {
               if (panoramic_mc._x < (0 - panoramicWidth)) {
                   //trace("Move panoramic 1 ahead");
                   panoramic_mc._x = (panoramic2_mc._x + panoramicWidth);
               if (panoramic2_mc._x<(0 - panoramicWidth)) {
                   //trace("Move panoramic 1 ahead");
                   panoramic2_mc._x = (panoramic_mc._x + panoramicWidth);
               inc = Math.abs(_xmouse - movieMiddle)*speed;
               panoramic_mc._x -= inc;
               if(panoramic_mc._x > panoramic2_mc._x){
                   panoramic2_mc._x = panoramic_mc._x - panoramicWidth;
               }else{
                   panoramic2_mc._x = panoramic_mc._x + panoramicWidth;

  • Flickering rollover/rollouts

    When the mouse hovers over the image the cursor flickers
    between hand and standard mouse pointer. One work around I've tried
    is to place an object under the main button that is bigger than the
    main button. That seems to work but only for that button. If I try
    it for others...well the image because cluttered with useless
    boxes. This problem reeks of a cheaply designed package. Anyone
    know of a way to correct this?

    Okay. Sounds like you are using actual buttons. I'm still not
    quite sure if they are invisible buttons laid over the top of your
    map or if they are chopped up bits of the map that are then put
    back together.
    It still seems like the artwork in the over frame is just the
    glow and not the actual artwork that is in that frame. To use the
    glow filter you must have a movieclip instance in that frame. You
    don't happen to have the knockout box checked for the glow filter
    do you?
    I'm not sure why you would want to use a rectangle for the
    hit area. Those shapes while some of them are rectanglish they
    aren't quite rectangles. You need to make hit areas that are the
    shape of your lots.
    I think you need to back up a few steps and remake the
    buttons without any filters, or fancy stuff. Trace the shape of
    each lot and make it out of a color like 50% blue or something. On
    the over change to 50% green and 50% red for the down.
    After you get that working. Still leave the partial
    transparent colors on and then add your filters. And finally when
    that is working you can go in and change the alpha to 0%.

  • RollOver handlers issue

    Hello,
    I have stumbled across the following problem. In flex i have defined (mxml or actionscript, doesnt matter) a group which contains a rectangle kind shape (Spark Path) and a few buttons which are all instances of a self made button component. Note that the buttons are not children of the rectangle path inside the group but are, like the path itself, direct siblings of the group, in other words, the buttons and path are same level children nodes of the group. Visually speaking however, buttons are placed over the group so they overlap with it. The buttons have a rollover/rollout event handled in them which just displays/hides a label on bottom of the button.
    The problem is... i also added a rollover/rollout handlers on the path (i ve also put the path additionally inside a skinnableContainer so it can handle events). The effect simply scales the path in x and y directions so it kind of inflates/deflates on rollover/rollout.
    Now because the buttons are not children of this path, when i move the mouse over the path, it inflates, but when i move the cursor further inside the path and over a button the rollout for the path happens which i DONT want(and also rollover for the button, thats ok), the path should stay inflated while the user has the mouse anywhere inside its area.
    I also cant simply make the buttons children of the path, because they will scale along with the path, also not acceptable. Im sure this is a pretty common problem, i stumbled across it even when using pure actionscript, but i always somehow redesigned my interface because i couldnt deal with it properly.
    I also tried the hittesting functions and they arent much help in this situation, also event capture and bubbling as these are all separate events.
    Thanks for any reply.

    No, every button instance has its own handlers, and the skinnable container (holding the path) has the handlers, the group holding everything together doesnt have any. Looks something like this:
    <s:Group>
    ... some animate elements declarations
    ... some script
    <s:SkinnableContainer id="holder" rollOver="onPathRollOver(event)" rollOut="onPathRollOut(event)">
         <s:Path id="dock" data="L 0 90 L 300 90 L 390 0 Z" x="-390" y="-20">
              <s:fill>
                   <s:SolidColor color="0x000000" alpha="0.3" />
              </s:fill>
         </s:Path>
    </s:SkinnableContainer>
    <com:MainMenuButton id="btnCamera" x="11" y="10" ImageURI="art/icons/48_camera.png" Label="Video"/>     <------ each of these handles rollovers inside of them
    <com:MainMenuButton id="btnPhoto" x="53" y="10" ImageURI="art/icons/48_photo.png" Label="Panoramas"/>
    <com:MainMenuButton id="btnMap" x="119" y="10" ImageURI="art/icons/48_map.png" Label="Mini map"/>
    <com:MainMenuButton id="btnFullscreen" x="169" y="10" ImageURI="art/icons/48_fullscreen.png" Label="Full screen"/>
    <com:MainMenuButton id="btnQuit" x="237" y="10" ImageURI="art/icons/48_quit.png" Label="Exit"/>
    </s:Group>
    The path and buttons are not in a parent child relationship, but buttons sit on top of the path on stage.

Maybe you are looking for

  • Unable to log in the VPN

    Hi, I'm running the latest OS X and Server app. I want to run a VPN, I tried to configure it, but I'm not able to log in it. the error message is: authentication failed. I enabled three network users to log in the VPN and I'm one of those three users

  • T60p - Win 8.1 issues - Please help

    I recently upgraded my t60p to 8.1 Pro and cant figure a few things out. 1. I have no sleep option. I can only Hibernate or  shut down the PC 2. I have removed Ultra Nav in favor or older synaptics because Ultra Nav did not have the "momentum setting

  • Need to set WHO columns

    I am trying to set WHO columns in an Oracle APPs custom form. I tried fnd_standard.set_who bit gives an error, cannot insert null into creation date; i tried just setting it to USER but gives pre insert error -ora06502 is there any other way to set W

  • Reg : SLED in Batch Master

    how to copy the batch details  while doing Stock Transport Order . when i  do STO  plant to depot , batch is coming automatically ( by delivery), but again i have to enter Date of Production MANUALLY at receving depot (migo) plant batch having D.O.P 

  • Multimedia factory

    how can I send mms using nokia multimedia factory? when ever I try sending any type of message is says the connection to device failed An unknown Error. Error 0x0100023! can you help?