Customization of flash layer drowed out insertbutton control.

Last post 10-06-2009, 10:30 AM by cutechat. 8 replies.
Sort Posts: Previous Next
  •  09-15-2009, 8:03 AM 55648

    Customization of flash layer drowed out insertbutton control.

    Hello Cute team again.
    Sorry for my question, but i had spended a lot of time for searching and didn't find anything.
    Is there some way to customize flash layer which is drowed over button specified as InsertButtonID in your uploader.
    This issue appiers just when i set UploadType='Flash', when UploadType='IFrame' then all is good exept FireFox, which do not show browse dialog direct.
    I just wonna to show cursor with 'pointer' style on mouse over lnkButAddNote, and can't do that anyhow.... 
     
    I am using Flash 10.
     
    Here is sample code:

    <
    asp:LinkButton ID="lnkButAddNote" Text="server" runat="server" />
    <CuteWebUI:UploaderBase InputboxCSSText="cursor:pointer;" UploadType="Flash" InsertButtonID="lnkButAddNote" ProgressInfoStyle="display:none;"  runat="server" ID="filesUploader">
       <ValidateOption MaxSizeKB="10000" />
    </CuteWebUI:UploaderBase>
     
  •  09-17-2009, 2:20 AM 55703 in reply to 55648

    Re: Customization of flash layer drowed out insertbutton control.

    So is there anyway to customize uploader in Firefox without showing fileinput control? Also if there is not, then maby you should give mouse style pointer to flash area......
  •  09-18-2009, 6:56 AM 55721 in reply to 55703

    Re: Customization of flash layer drowed out insertbutton control.

    waiting for any ideas....
  •  09-18-2009, 11:09 AM 55736 in reply to 55648

    Re: Customization of flash layer drowed out insertbutton control.

     
  •  If Ajax Uploader detects SilverLight is installed on your browser, It will use the SilverLight solution.
  •  If Ajax Uploader detects Flash is installed on your browser, It will use the Flash solution.
  •  If Ajax Uploader detects Iframe is supported on your Browser, It will use the Iframe solution. 
  • In Iframe mode firefox requires the users click the button again, just like Gmail. This is the browser limitation.


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  09-21-2009, 5:14 AM 55757 in reply to 55736

    Re: Customization of flash layer drowed out insertbutton control.

    Yes Adam, i knew that before. But i was asking how to customize that flash or silverlight layer, drawed over button, which ID is specified in InsertButtonID property of your uploader... Is there the the way to set mouse cursor style in Flash or Silverlight mode???
  •  09-24-2009, 11:13 AM 55850 in reply to 55757

    Re: Customization of flash layer drowed out insertbutton control.

    Hi, please check this javascript sample , put it in the page :
     
     <script type="text/javascript">
     function CuteWebUI_AjaxUploader_OnMantleButton(btn,div)
     {
      div.onmouseover=function()
      {
       btn.style.color="red"
      }
      div.onmouseout=function()
      {
       btn.style.color=""
      }
      div.style.border="solid 2px red";
      div.style.filter="";
      div.style.opacity="";
      div.style.mozOpacity="";
     }
     </script>
     
    Regards,
    Terry
     
  •  10-05-2009, 4:20 AM 56101 in reply to 55850

    Re: Customization of flash layer drowed out insertbutton control.

    Thanks, its wonderfull solution, it gives me full control of customization mouse over......
  •  10-05-2009, 4:32 AM 56102 in reply to 56101

    Re: Customization of flash layer drowed out insertbutton control.

    Not so full....
    For example this code:
    function CuteWebUI_AjaxUploader_OnMantleButton(btn,div)
     {
      div.onmouseover=function()
      {
       btn.style.color="#444444";
       document.body.style.cursor = "pointer"
       btn.style.textDecoration="underline";
      }
      div.onmouseout=function()
      {
       btn.style.color="";
       document.body.style.cursor = "pointer";
       btn.style.textDecoration="";
      }
      div.style.filter="";
      div.style.opacity="";
      div.style.mozOpacity="";
     }
    Changes everything exept mouse cursor style :-(  I think you must predefine mouse style from flash or silverlight layer, pass some parameter there or somethingelse, but its really needed, maby you should make cursor style "pointer" value as default, when mouse is over that layer?
  •  10-06-2009, 10:30 AM 56135 in reply to 56102

    Re: Customization of flash layer drowed out insertbutton control.

    Hi,
     
    The problem is that it's the flash or silverlight control on that layer.
     
    So the mouse will change to the default cursor.
     
    We will provide api to allow developer change the cursor.
     
    Regards,
    Terry
     
View as RSS news feed in XML