Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 973101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:13:44+00:00 2026-05-16T03:13:44+00:00

I have built a Air 2/Flex 4 kiosk application with Flash Builder 4. Currently

  • 0

I have built a Air 2/Flex 4 kiosk application with Flash Builder 4. Currently I am implementing a touch screen browser to enable users to navigate company training videos.
In an attempt to improve the usability of the website on the touchscreen I have placed the HTML component in an adaption of Doug McCune’s DragScrollingCanvas (updated to use the flex 4 ‘Scroller’ component) to allow users to scroll the webpage by dragging their finger across the screen. The mouseDown event is used to start scrolling the viewport.
In addition the webpage was modified to disable text selection with the following css:

html {
    -webkit-user-select: none;
    cursor: default;
}

The problem I face is that the HTMLLoader component only fires a mouseDown if a link/input/button on the webpage is clicked, not when the background or any text is clicked.

In addition if I remove the custom css the mouseDown event will not fire when text is being selected, but will if previously highlighted text is clicked.

As an alternative I also tried adding a group container with the same dimensions as the HTMLLoader to detect the mouseDown events (so that the group container and HTMLLoader have the same Dragable parent container) and was able to capture mouseDown events and scroll the viewport as expected. However as the mouse event is handled by the group container, I am now unable to navigate the webpage.

Does anybody know why the HTMLLoader component is not raising mouseDown events for all mouse clicks?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T03:13:45+00:00Added an answer on May 16, 2026 at 3:13 am

    I faced the same problem, a way to resolve this is to write javascript when load web page complete.

    I do it like this:

    <mx:HTML id="html" ... >
      <mx:complete>
        var document:Object = html.htmlLoader.window.document;
        var body:Object = document.getElementsByTagName("body");
        body[0].onmousedown = function(o:Object):void
        {
          trace("mouseDown");
          ...
        }
      </mx:complete>
    </mx:HTML>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a full screen kiosk application in Flex 4/Air 2 using
Is it possible to have an AIR application built in Flex run as process
I'm using Flex 4.5.1 with AIR 2.7 (and Flash Builder 4.5.1) to build an
I have a Flex AIR project that compiles and runs in Flex Builder 4.6.
I have created a simple Hello World Application using Flash Builder Burrito SDK. I
I have to build (obviously using flex) an AIR application that must be linked
I have a weird problem with Flex and Flash Builder 4.6 captive build. I'm
I have build a complete AIR kiosk working full screen and included my own
I have built so far an application that allows the user to drag and
I have some troubles installing air files that've been built with air2.0beta or air2.0beta2

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.