(Flex SDK 4.6 TextArea bug) How to disable s:TextArea mouse input

I need a TextArea with no mouse input but when i set mouseChildren="false" and mouseEnabled="false" it receives mouse input anyway. I want that mouse clicks pass through TextArea.
I did a test using SDK 4.5 and it works as expected, but in SDK 4.6 nothing happens.
HELP! i need that working in SDK 4.6+.
Thank you.

Same..
Start a new Mobile App, and try yourself please:
<?xml version="1.0" encoding="utf-8"?>
<s:Application
     xmlns:fx="http://ns.adobe.com/mxml/2009"
     xmlns:s="library://ns.adobe.com/flex/spark"
     applicationDPI="160">
     <s:TextArea id="txt" skinClass="spark.skins.mobile.TextAreaSkin">
          <s:creationComplete>
               txt.setFocus();     // crashes
          </s:creationComplete>
     </s:TextArea>
</s:Application>
<?xml version="1.0" encoding="utf-8"?>
<s:Application
     xmlns:fx="http://ns.adobe.com/mxml/2009"
     xmlns:s="library://ns.adobe.com/flex/spark"
     applicationDPI="160">
     <fx:Style>
          @namespace s "library://ns.adobe.com/flex/spark";
          s|TextArea { skinClass:ClassReference("spark.skins.mobile.TextAreaSkin") }
     </fx:Style>
     <s:TextArea id="txt">
          <s:creationComplete>
               txt.setFocus();     // crashes
          </s:creationComplete>
     </s:TextArea>
</s:Application>

Similar Messages

  • Xorg & Dual Monitors: How to disable the ghost mouse?

    As other dual screen users may have noticed, after upgrade to Xorg when you move your mouse between the two workspaces the mouse duplicates, aka it leaves a ghost mouse pointer behind the workspace you just moved the mouse pointer from. Does anyone have an idea how to disable this annoying thing? As a sidenote, this shouldn't be related to Xinerama as I'm using two separate X servers.

    I have also found this really annoying. I haven't been able to find anything about it.
    Here is a little script to make a single ghost cursor invisible (not really a solution, but if you don't need the mouse on monitor 2 then you only need to run it when you accidentally move the mouse there), if it doesn't work move the mouse a little bit and run it again:
    unclutter -idle 0 & pid=$! ; xwarppointer screen +; sleep 0.5; xwarppointer screen +; kill $pid
    Last edited by Procyon (2009-06-04 11:50:48)

  • How to disable trackpad when mouse attached?

    I used to be able to disable the trackpad when i was using a mouse by going into trackpad system prefs. With the new version of trackpad, I can't seem to do that. Is there a way to disable the trackpad when my mouse is attached?

    I would like to be able to disable the trackpad too, as I was before 10.5.06. At present I get an otherwise useful instruction video when I hit 'trackpad' in 'system preferences'. Since I have seen the video before and know by now what the trackpad can do, I really miss the earlier available option of disabling it when I don't need it.
    Any advice on how to solve this issue would be appreciated.
    DB.

  • How to disable the special character input by Option key?

    Hi, all!
         I'm a eclipse developer and I'm get used to type (alt + /) shortcut for code tip in eclipse, but in Mac, when I type (option + /), I got ÷ symbol, how can I disable this functionality in Mac?
    Many thankS

    On the U.S., U.S. Extended, and U.S. International PC keyboards, the option key turns the / character into ÷.
    In the System Preferences > Keyboard Preferences > Keyboard Tab > Modifier Keys... you can actually set the option key modifier to No Action. It does what it says and option + / is exactly what you get.

  • Where is the Flex SDK 3.6 change log?

    Now we have almost 3 weeks after the release of Flex SDK 3.6 and I still can't find up-to-date release notes or a change log. The release notes and many other online resources still mention Flex SDK 3.5. Also I can't find a milestone in the bug database for filtering the affected issues.
    Does anybody know what's new in 3.6?

    I've looked for the changelog as well but could not find it either.
    You should check at Flex Bug Management System  https://bugs.adobe.com/flex/
    no registration is required to browse.
    In Project, select Flex SDK
    In Issue  select Bug (or any)
    In Milestone select Flex SDK 3.6(Release)
    And that's it , click on View and you'll see what's been changed.

  • How do you disable a textarea using jquery in SharePoint 2010

    How do I write a script to disable a comment field called Space Available Comments?
    I tried using the following scripts and none of theme work.  I am still able to delete or type in texts in the textarea.
    $("textarea[title*='Space']").attr("disabled","disabled");
    $("textarea[name*='ctl10']").prop("disabled","disabled");
    $('textarea').attr('readonly','true');
    $('textarea[id="long id number here']").attr("disabled","false");
    Thank you very much.
    Here is source:
    <tr>
    <td nowrap="true" valign="top" width="190px" class="ms-formlabel"><h3 class="ms-standardheader">
    <nobr>Space Available Comments</nobr>
    </h3></td>
    <td valign="top" class="ms-formbody">
    <!-- FieldName="Space Available Comments"
    FieldInternalName="Space_x0020_Available_x0020_Comm"
    FieldType="SPFieldNote"
    -->
    <span dir="none">
    <span dir="ltr">
    <textarea name="ctl00$m$g_f9da713c_cff1_48d5_9943_08f4ac2b35b9$ctl00$ctl05$ctl10$ctl00$ctl00$ctl04$ctl00$ctl00$TextField" rows="6" cols="20" id="ctl00_m_g_f9da713c_cff1_48d5_9943_08f4ac2b35b9_ctl00_ctl05_ctl10_ctl00_ctl00_ctl04_ctl00_ctl00_TextField" title="Space Available Comments" class="ms-long" dir="none">&lt;DIV class=ms-rtestate-field&gt;Space Available Comments field value.&lt;/DIV&gt;</textarea>
    <input name="ctl00$m$g_f9da713c_cff1_48d5_9943_08f4ac2b35b9$ctl00$ctl05$ctl10$ctl00$ctl00$ctl04$ctl00$ctl00$TextField_spSave" type="HIDDEN" id="ctl00_m_g_f9da713c_cff1_48d5_9943_08f4ac2b35b9_ctl00_ctl05_ctl10_ctl00_ctl00_ctl04_ctl00_ctl00_TextField_spSave" />
    </span>
    </td>
    </tr>

    I tried both of your solutions above. It would not disabled.  Your solutions "should" work. But, I don't get it why it does not work. I even tried several other variations of scripts to target the textarea including the solution
    below from Robin. See his answers below.
    Do you think that it might have help you more to see the problem if I had provided the script below <input name...> between </span> and </td>? 
    I don't want to confuse you. But, the ultimate purpose is when a user selected the Space Available? to a "YES" option, the Space Avaiable Comments textarea should be disabled. My script to disable the radio button is working. I just need to find
    a solution how to disable the textarea and I running out of ideas. Please help if you can.
    Here is the script:
    <script type="text/javascript">// <![CDATA[
    if (browseris.ie5up && (browseris.win32 || browseris.win64bit) && !IsAccessibilityFeatureEnabled()){RTE_ConvertTextAreaToRichEdit("ctl00_m_g_f9da713c_cff1_48d5_9943_08f4ac2b35b9_ctl00_ctl05_ctl10_ctl00_ctl00_ctl04_ctl00_ctl00_TextField", true, false, "", "1033", null, true, null, null, null,"Compatible", "\u002fpmb_eTracking_Tool",null,null,null,null);}else{document.write("&#160;<br /><span class=\"ms-formdescription\"><a href='javascript:HelpWindowKey(\"nsrichtext\")'>Click for help about adding basic HTML formatting.</a></span>&#160;<br />");};//]]>
    </script></span>
    Thank you very much for your immediate response.

  • How to setup Flex SDK with latest AIR SDK?

    Now the latest AIRSDK web page has a small link at the bottom for Flex users and it states that Flex users should take the SDK version without the compiler. BUT....
    the http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html page says to download the SDK from
    http://labs.adobe.com/downloads/asc2.html
    but this page now redirects to:
    http://helpx.adobe.com/air/kb/archived-air-sdk-version.html
    which contains a large list of archived SDK's. So that help page never really says which version of the SDK to use - with or without the compiler. But other forum posts have implied its suppose to be the one with the compiler.
    Now since we're overlaying the ...plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK folder that would make sense.
    But now there's a second overlay instructions page at:
    http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html
    with different instructions.
    So my questions are:
       Which overlay instructions are we really suppose to use?
       Which version of the AIR SDK (with or with-out compiler) are we suppose to use?
       What does the Flex Library Project properties -> Flex Library Compiler -> 'Include Adobe AIR libraries' checkbox really do?
            If I've followed the (first) overlay instructions above, does this checkbox now mean I'm using the overlaid AIR SDK 3.6
            with the current Flex SDK I've chosen?
            What if I'm using the Apache Flex 4.9.1 SDK? Will the AIR SDK 3.6 overlay that?
                (Doesn't Apache Flex have AIR 3.4 embedded - will this confuse Flash Builder 4.7 ?)
    Is it just me, or is this just getting more and more confusing? Can we perhaps get a AIR SDK combo box to go beside the Flex combo box and when we check the 'Include Adobe AIR libraries' then we can select the AIR SDK we want? And get a 'configure AIR SDKs...' link too? Then perhaps we can get completely away from overlays and all this merged SDK nonsense. I've had nothing but problems with it.
    The real reason I need all this info is because I'm trying to use Flash Builder 4.7 to build an Android ANE and I'm having a devil of a time just trying to find my resources. When I use context.getResourceID() I'm not getting the correct resources - and after reviewing other posts here I came to the conclusion that it might be due to bugs in older AIR SDK's. So really, at the moment I could care less about the latest Flex SDK, I just need to know I'm working from the latest AIR SDK.
    Thanks in advance.

    If you are not using Flash Builder go here: http://www.adobe.com/devnet/air/air-sdk-download.html
    At the bottom it says:
    Note : Flex users will need to download the original AIR SDK without the new compiler. Mac Windows.
    Download the proper one for your OS and then extract it over your existing Flex SDK directory.
    EDIT: Just read your post again and noticed you mentioned Flash Builder. In that case you want to follow these directions: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html and grab the version with the compiler at http://www.adobe.com/devnet/air/air-sdk-download.html

  • How to install Flex SDK in IBM RAD?

    Hi All,
    I'm new to Flex and facing some trouble in installing flex 4.6 sdk in my existing IBM RAD application.
    There are few flex files that are included in the new release and I need to work on those files (test/debug) to make sure that existing application is not affected with these files.
    I have installed Flash Player and latest Flash Builder 4.0 and 4.6 plugin on my system for this purpose.
    The Flex SDK, however, I'm not able to configure on my RAD.
    Because of this, I'm not able to see the Flex Prespectives in my RAD and mxml & as files are giving error in text editor.
    Please guide -
    1. How to configure the latest Flex 4.6 SDK in RAD.
    2. Apart from what I have done already, do I need to do anything else to debug/test the newly added flex files in my RAD.
    Thanks in Advance.

    Hi,
          Thanks for your great reply i greatly appreciate you efforts.
    Arie the thing is that i saw the post you mentioned above and it's kind of tangled,isn't there anyway or any sourceful website for step by step guide because i already mentioned that i am a brand new c/c++ programmer and i have no experience how to do programming in c/c++ as i am android and java developer using eclipse tool so visual studio is somewhat a new world for me.
    Please if you have any step by step guidence link or website in your mind,do let me know i anxiously look forward for a step by step guide,but let's say if you don't have anything i want it's perfectly fine i ll try to dig more and work and look in VS 2010 because may be i am new and that's why i can't find the SDK integration.
    Once again Arie thanks for your helpful and fast reply i greatly appreciate your co-operation.
    Thanks,
    Brian

  • Any tutorials on how to use the daily build of the Flex SDK to create Flash Player 10 content?

    Is there a tutorial on Adobe on how to use the daily build of
    the Flex SDK to create Flash Player 10 content?

    The approach you take might depend on a few things, but it boils down to using mouse interactive coding to trigger whatever effect you eventually realize.  The code you use will depend on the version of Actionscript you plan to use.
    You could make this as a movieclip that is normally stopped at its first frame and when you mouseover or click the movieclip, it animates along its own timeline to its enlarged state.  If the thumbnail is very small and the larger version is substantially larger, and both need to be clear images, this might be the better approach.
    If this only involves enlarging something, you could also probably realize it just using Actionscript Tween coding rather than timeline animation.

  • How to Update Adobe Air sdk in Flex sdk ?

    Hi Guys,
    I am currently using Flex sdk 3.0 to develop Air application and right now there is a need to use new Air 2.0 features in my application. I have downloaded the Air sdk from adobe site but couldn’t figure out how to update that sdk in my Flex sdk.
    Please tell me procedure to update the air sdk.
    Thanks,
    Mahesh

    Does this help?
    http://kb2.adobe.com/cps/495/cpsid_49532.html

  • [svn] 4612: Flex SDK Bug Fix - Added scaleGrid support to BitmapGraphic

    Revision: 4612
    Author: [email protected]
    Date: 2009-01-21 16:58:51 -0800 (Wed, 21 Jan 2009)
    Log Message:
    Flex SDK Bug Fix - Added scaleGrid support to BitmapGraphic
    SDK-17289 - BitmapGraphic source embed does not respect scale9 grid when scaling
    BitmapGraphic will use the scaleGrid properties defined on its embedded source. Since the Player doesn't support scaleGrid on bitmaps, we have to slice the bitmap into nine sections and then scale/translate each section. We create two arrays of points along the grid. These are used to define the topLeft and bottomRight corners of the section. Based on the internal scaleFactor and which section we are in, we draw a scaled and translated section according to the scaleGrid rules.
    More details:
    - Changed BitmapGraphic to no longer use the BitmapFill to draw. Instead, BitmapGraphic performs the drawing code itself.
    - When the source is set, check if it has scaleGrid properties and store these in internal variable
    - Cache the creation of the 16 grid points array. Flush the cache if the source or dimensions have changed
    - To see this behavior in action, set width/height to different values than the source's natural dimensions and set resizeMode = "scale"
    QE Notes: Add tests for BitmapGraphic with embedded assets using scaleGrid
    Doc Notes: Add docs for this functionality
    Bugs: SDK-17289
    Reviewer: Glenn
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17289
    http://bugs.adobe.com/jira/browse/SDK-17289
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as

  • How to setup older Flex SDK and AIR 1.5?

    I found an older Flex app that I wanted to install.  It looks like it uses Flex 3 SDK and Adobe AIR.
    How do you setup a different SDK and use a different version of AIR?  I would think the latest version of AIR would be backward compatible but it doesn't appear to be that way.  It seems that the SDK version and the AIR version must match exactly or the app won't compile.  Is this right?
    Thanks,
    -Westside

    Thanks for your help, Flex harUI,
    The first impression that comes to mind is that FP version is indeed only for the web browser plugin. Then, why does the official Flex 4.6 mobile development documentation have a link to that page that only speaks about the supported FP version in mobiles under the title "AIR requirements"??
    This makes it way too confusing.
    Do you know whether there is something like an equivalent matrix/list of mobile devices with their supported AIR runtime versions?  I went a great deal in trying to keep my original app under 400kb... I didn't know that in the end it would end up weighing 9.5Mb... :S
    Thanks again,

  • How about a 'Text Layout Framwork' category on Adobe Labs Ideas in the Flex SDK section?

    I like 'Adobe Labs Ideas', it's far more accessible/inviting then "Adobe Bugs and Issues" (JIRA).
    Therefor I would like to suggest a new category 'Text Layout Framework' under the Flex SDK section or even it's own section (after all TLF isn't Flex only).

    Am I right, that this is a tricky question? No hints or attempts so far. Really no-one out there?
    I guess I am not the only one who would like to extend the Importer (Exporter) by new tags, FlowElement's and FlowLeafElement's.
    Best regards
    Masteradi

  • [svn:fx-trunk] 5224: Flex SDK Bug Fixes

    Revision: 5224
    Author: [email protected]
    Date: 2009-03-10 14:06:53 -0700 (Tue, 10 Mar 2009)
    Log Message:
    Flex SDK Bug Fixes
    SDK-19772 Initially invisible graphic element can not be made visible
    When visible is false, we were both setting the displayObject invisible and not drawing the graphics. When visible was then set to true, we changed the displayObject visibility, but didn't draw the graphics. The fix is to always draw the graphics when we are not sharing our displayObject. This way we simply toggle visibility on the displayObject on/off, instead of having to perform a redraw.
    SDK-19581 BitmapFill incorrectly handle source property
    Updated code to match code in BitmapGraphic. If the source is a class, we still need to check the type of the newly instantiated instance of that class.
    SDK-19085 unexpected behaviour when setting scaleX < 3 on a LinearGradient
    Internally, we no longer allow scaleX to be less than 2. Visually, this shouldn't have much impact.
    QE Notes: n/a
    Doc Notes: n/a
    Bugs: SDK-19772, SDK-19581, SDK-19085
    Reviewer: Evtim, Chet
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19772
    http://bugs.adobe.com/jira/browse/SDK-19581
    http://bugs.adobe.com/jira/browse/SDK-19085
    http://bugs.adobe.com/jira/browse/SDK-19772
    http://bugs.adobe.com/jira/browse/SDK-19581
    http://bugs.adobe.com/jira/browse/SDK-19085
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/BitmapGraphic.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/GraphicElement.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as

    error dateField not selecion date 27/11/2002 ?
    This is bug flex 3 ?
    thanks

  • How to install open source Flex SDK in Eclipse 3.3 ?

    Iam currently workin on UBUNTU 10.04 OS
    I have downloaded flex_sdk_4.1.0.16076.zip
    How to install open source Flex SDK in Eclipse 3.3 ?
    Thanks in advance,
    Jai.

    Hi Jai!
    I'm not sure about this information because the last time I have used the flash builder into a linux machine was in 2007, but check this out:
    http://labs.adobe.com/technologies/flex/flexbuilder_linux/
    It says you will need to use SDK from the command line to build flex application.
    Best regards,
    Pablo Souza

Maybe you are looking for

  • Help a newbie with Keyboard events

    Right so I'm just getting started with ActionScript (and Flash) and I'm getting a bit confused. I've got quite a bit of experience programming in other languages but I've never touched either actionscript or flash before. I've got various books and h

  • 10.7.5 Safari Crashing

    Any idea what this means people ? Happened after installing the faulty 10.7.5 disater updater Process:         Safari [16360] Path:            /Applications/Safari.app/Contents/MacOS/Safari Identifier:      com.apple.Safari Version:         5.1.7 (75

  • Recovery manager

    hi all after the problem happend with me (delete C with everything even recovery manager app) now i had install a cracked version of win 8 but i have in my hard the orginal win 8 thats comes with laptop hp probook 4540s .. now i need the recovery man

  • WARNING SCAM Phone Calls purporting to be from BT ...

    At 08:55 today I received a phone call from 0800 169 1608. An Automated message was left purporting to be from BT and prompting me to press numbers on my keypad I.e. if I was the Account holder press 1 etc. As I was concerned it could be something im

  • Using abap objects

    Hi, my o/p screen is divided into 2 parts, left is tree control and right selection-screen shud be displayed when i click on a node of tree control, it is dispalying a selection-screen on the next screen but i want it to be displayed on that screen i