PB with handCursor when rolling on the text incorporated into an MC

Hello

I have a small pb creating buttons in movieClip containing a textField.
Indeed when roll over the button and precisely drive on the text contained in my button, the handCursor is replaced with the normal arrow. How can I prevent this? I mean having the handCursor displayed on the button set, not only outside of textField?
If you do not see what I mean, please look at the following code example, you will see that when turning 'HELLO' from the handCursor disaoppears:
import flash.display.MovieClip;
import flash.text. *;
var buttonClip = new MovieClip();
buttonClip.buttonMode = true;
buttonClip.useHandCursor = true;
buttonClip.graphics.lineStyle (1, 0 x 000000, 100);
buttonClip.graphics.beginFill(0xaaaaaa,100);
buttonClip.graphics.drawRect (0,0,200,20);
buttonClip.graphics.endFill ();
buttonClip.x = 50;
buttonClip.y = 50;
this.addChild (buttonClip);
var text = new TextField();
text. Text = "Hello";
text. Selectable = false;
buttonClip.addChild (text);

Thanks for your help,

Pascal

Yes, the solution is the following:
-you create the textfield in your button
-create a MovieClip taking the entire area of the button with an alpha value of 0 and that just overlap the textField object.
-for mouse behaviors, add headphones, not the key itself, but to the click box created MovieClip finally.

When rolling on the text in your button, which will prevent the cursor turns into an arrow.

Pascal

Tags: Adobe Animate

Similar Questions

  • Have a graphic with text running around it, when I put the text box on chart type will not appear - tried text running around him also - but still nothing

    @

    mimik82405642 wrote: when I put the text box on chart type will not be displayed.

    With the text box selected, choose: object > text frame Options...

    Check the checkbox ignore text dressed near the bottom of the text frame Options dialog box, and then click OK.

  • Mobile side.  Using the drop down of your video.  I once put some text on the Mobile page the Menu drops down, but behind the image.  When I remove the text box the menu works correctly.  This also happens with a HTML code placed to Paypal.

    Mobile side.  Using the drop down of your video.  I once put some text on the Mobile page the Menu drops down, but behind the image.  When I remove the text box the menu works correctly.  This also happens with a HTML code placed to Paypal.

    Please check layers panel and put in place the menu item in the list, you can use the layers panel and move up or attempt to move the content.

    If there is still the same, then download a few screenshots of the design view.

    Thank you

    Sanjit

  • in InDesign CS6 text appears white when I select the text... :(

    For some time in InDesign CS6 text appears white when I select the text. And remains white when I it deselect.

    It is necessary to another page, higher or lower, to have the text re-appear.

    Mac OS X El Capitan 10.11.6

    InDesign 8.1.0.419

    Make Explorer 5.5

    Adobe fonts

    If anyone has an idea...

    PS Yes:

    -J' cleaned out font caches

    -J' deleted Indesign preferences

    If you mean that the text seems to disappear, then it seems to be a relatively common problem with CS6 in El Capitan.

    I use CS6 with El Capitan and you encounter this problem sometimes. It happens constantly some days and other days not at all, but I've never established exactly what triggers it.

    As Bob says, CS6 is not supported, so it will not be a solution, but if this is the problem that you are experiencing then tap the display between 'Preview' and 'normal' pressing 'w' will fix it - temporarily.

  • When you change the text, all the text in the bounding box is removed...

    I have a PDF file that was created in a different version of Adobe. The Adobe program, I am currently working with that is Adobe Acrobat Pro DC. It is on a Windows 7 PC. When I change the text in the 'framework', any word, I try to change, all of the text in the box is removed. How can I stop this from happening?

    Nevermind, I figured it. I had select the bounding box and select "bring forward" under the "objects" tool

  • Adobe flash CS6 crashes when you use the text or Word of edition tool all the time... Please help!

    Adobe flash CS6 crashes when you use the text or Word of edition tool all the time... Please help!

    No one can tell you anything without the proper system or other technical details info. The standard answer with all the problems of text is quite simply, you have a "bad policy" on your system and need to get rid of him.

    Mylenium

  • do you need to always have your iPhone with you when you wear the watch?

    do you need to always have your iPhone with you when you wear the watch?

    Answer brief No.. The watch can do many things with the phone. If you have the 2nit series has built in GPS so it can follow, see this.

    How to use your Apple Watch without your iPhone in the vicinity - Apple Support

  • IPod touch can be set to turn on/off automactic with car when pluged to the document cig lighter.

    IPod touch can be set to turn on/off automactic with car when pluged to the document cig lighter. I'm going to buy a new ipod in a few days and my old man would come when started the car but I had to turn off every time I'm out. Eather model adjustable in power when the car stops (power cut off to the document cig lighter)

    Only if the car's system has the feature. There is no setting on the iPod

  • OCIEnvCreate failed with return code-1, but the text of the error message was not available. »

    OCIEnvCreate failed with return code-1, but the text of the error message was not available. »

    I get this message (error) after update my customer Oracle 9.0 to 10.1 (used in the .net Oracle connection)

    I would like to get a resolution? If someone has experiece with her.

    THX

    Hello

    To improve assistance to this subject, you can ask your question in the MSDN Forums.

    NET Framework

    http://social.msdn.Microsoft.com/forums/en-us/category/netdevelopment

  • Bug when you set the text of a TextInput in MXML

    Hello

    I upgraded my Playbook Tablet OS version 2.0.0.6149 previous beta (I think it was 2.0.0.4xxx). Since then, my application written in Flash Builder 4.6 target AIR 3 fails when I put the text into a TextInput in MXML.

    The MXML code is:

    <>

    ID = "frequencyText" text = "440,000" / >

    When I run it, I get the following error:

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    at qnx.stagetext.ui.text::EditableText/setAreaOfInterest() [/ home/builder/hudson/workspace/GR2_0_0_CE2-SWF_StageText/src/stagetext/src/qnx/stagetext/ui/text/EditableText.as:792]

    at qnx.stagetext.ui.text::EditableText/insertText() [/ home/builder/hudson/workspace/GR2_0_0_CE2-SWF_StageText/src/stagetext/src/qnx/stagetext/ui/text/EditableText.as:1015]

    to qnx.stagetext.ui.text::EditableText/set text() [/ home/builder/hudson/workspace/GR2_0_0_CE2-SWF_StageText/src/stagetext/src/qnx/stagetext/ui/text/EditableText.as:303]

    to flash.text:tageText/set text()

    to spark.components.supportClasses:tyleableStageText/set text() [E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\supportClasses\StyleableStageText.as:1143]

    to spark.components.supportClasses:kinnableTextBase / textDisplayAdded () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableTextBase.as:2315]

    to spark.components.supportClasses:kinnableTextBase / partAdded () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableTextBase.as:1751]

    at::TextInput/partAdded() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\TextInput.as:354] spark.components

    to spark.components.supportClasses:kinnableComponent / findSkinParts () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:736]

    to spark.components.supportClasses:kinnableComponent / attachSkin () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:701]

    to spark.components.supportClasses:kinnableComponent / validateSkinChange () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:443]

    to spark.components.supportClasses:kinnableComponent / createChildren() () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:406]

    at mx.core::UIComponent/initialize() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7634]

    to mx.core::UIComponent /() http://www.adobe.com/2006/flex/mx/internal:childAdded [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

    at mx.core::UIComponent/addChildAt() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7199]

    at::Group/addDisplayObjectToDisplayList() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:2037] spark.components

    to spark.components::Group /() http://www.adobe.com/2006/flex/mx/internal:elementAdded [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1628]

    at::Group/setMXMLContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:633] spark.components

    at::Group/createChildren() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:855] spark.components

    at mx.core::UIComponent/initialize() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7634]

    to mx.core::UIComponent /() http://www.adobe.com/2006/flex/mx/internal:childAdded [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

    at mx.core::UIComponent/addChildAt() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7199]

    at::Group/addDisplayObjectToDisplayList() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:2037] spark.components

    to spark.components::Group /() http://www.adobe.com/2006/flex/mx/internal:elementAdded [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1628]

    at::Group/setMXMLContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:633] spark.components

    at::Group/createChildren() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:855] spark.components

    at mx.core::UIComponent/initialize() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7634]

    to mx.core::UIComponent /() http://www.adobe.com/2006/flex/mx/internal:childAdded [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

    at mx.core::UIComponent/addChildAt() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7199]

    at::Group/addDisplayObjectToDisplayList() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:2037] spark.components

    to spark.components::Group /() http://www.adobe.com/2006/flex/mx/internal:elementAdded [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1624]

    at::Group/setMXMLContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:633] spark.components

    at::Group/createChildren() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:855] spark.components

    at mx.core::UIComponent/initialize() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7634]

    to mx.core::UIComponent /() http://www.adobe.com/2006/flex/mx/internal:childAdded [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

    at mx.core::UIComponent/addChildAt() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7199]

    at::Group/addDisplayObjectToDisplayList() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:2037] spark.components

    to spark.components::Group /() http://www.adobe.com/2006/flex/mx/internal:elementAdded [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1624]

    at::Group/setMXMLContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:633] spark.components

    at::Group/createChildren() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:855] spark.components

    at mx.core::UIComponent/initialize() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7634]

    to mx.core::UIComponent /() http://www.adobe.com/2006/flex/mx/internal:childAdded [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

    at mx.core::UIComponent/addChildAt() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7199]

    at::Group/addDisplayObjectToDisplayList() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:2037] spark.components

    to spark.components::Group /() http://www.adobe.com/2006/flex/mx/internal:elementAdded [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1628]

    at::Group/setMXMLContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:633] spark.components

    to spark.components::Group / set mxmlContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:573]

    to spark.components:kinnableContainer/set mxmlContent() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:657]

    to spark.components:kinnableContainer / createDeferredContent () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:1050]

    to spark.components:kinnableContainer / createContentIfNeeded () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:1078]

    to spark.components:kinnableContainer / createChildren() () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:885]

    at mx.core::UIComponent/initialize() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7634]

    at::View/initialize() [E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\View.as:999] spark.components

    views: InstrumentTunerHome / initialize)

    to mx.core::UIComponent /() http://www.adobe.com/2006/flex/mx/internal:childAdded [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

    at mx.core::UIComponent/addChildAt() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7199]

    at::Group/addDisplayObjectToDisplayList() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:2037] spark.components

    to spark.components::Group /() http://www.adobe.com/2006/flex/mx/internal:elementAdded [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1628]

    at::Group/addElementAt() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1387] spark.components

    at::Group/addElement() [E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1345] spark.components

    to spark.components:kinnableContainer / addElement () [E:\dev\4.y\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:761]

    at::ViewNavigator/createViewInstance() [E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:2018] spark.components

    at::ViewNavigator/commitNavigatorAction() [E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:1932] spark.components

    at::ViewNavigator/commitProperties() [E:\dev\4.y\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:1301] spark.components

    Best regards

    Ben

    In Flex 4.6 Adobe had changed the TextInput control to use StageText instead of TextField. The native implementation of StageText PlayBook is basically a version not stripped of the qnx.fuse.ui.TextInput. There are some use cases that throws an error our implementation of StageText.

    The solution for now is to put a skin.

    http://supportforums.BlackBerry.com/T5/Tablet-OS-SDK-for-Adobe-Air/Tablet-SDK-2-0-for-FB-4-6-TextInp...

    We are working on a fix for version 2.0 of the final tablet. It is also worth noting that this error comes from a code that is on the device and not in the SDK.

  • When I Center the text, I can't get back to the aligned left for the rest of the text in WordPad.

    * Original title: centering in Word Pad

    I don't know how to Center in Word Pad; However, when I Center the text, I can't get back to the aligned left for the rest of the text.  Everything I typed after that a title is also centered.  If I've left this text, the title goes back to the left margin.  Any info out there?

    Hello

    -Is confined to a specific document?

    This problem may be due to the rule of pointer.

    I suggest you to drag the rule of pointer to the left and see if it helps.

    Keep us informed on the status of the issue.

  • Load the text file into the Textarea

    Hi How can I load text files into Textarea I use this method seems like it load text file but I can't show it in a textarea a certain pls help

    Hi all
    Finally I found the way to load the text file into the textArea, that's like


    private function loadText (): void {}
    var l:URLLoader = new URLLoader (new URLRequest('2.txt'))
    l.addEventListener (Event.COMPLETE, finishLoading);

    }
    public void finishLoading(evt:Event):void {}
    var myData:String = new String (evt.target.data)
    txtBox.text = myData;
    }

    ]]>

    It should works because it is a work with me
    Take advantage of the code
    Sanji

  • My document Pages when sent in PDF format opens with Acrobat Reader and displays the text pane

    Hey team

    I am a new user of recent Mac and I have some difficulty with the Pages.

    I'll create a new document and save it as a PDF file (save it to the desktop), when I open it again, it opens with Acrobat Reader and the text released along side this one pane. It does not open a document own stand alone. This cause me a problem when I want to send it as an attachment, as it includes this component, as well as all other toolbars with.

    Any help on this would be appreciated.

    SSA56,

    When you send the PDF document as an attachment, it will be sent as a document 'stand alone '. It will be open according to the preferences that are set by the receiving party.

  • Cursor when you move the text with a tag of behavior: how to change?

    Hi people, I created a tag of behavior to open a new browser window when you click on a text link. I also created a css style and adds a property flight hover/hand I've read in this forum, but hovering over the text does not cause the mouse cursor change.

    This is the http://arrowmark.co.nz/clients.html page and the text in red is the question.

    By clicking on "our locations" opens the window of the browser. I applied to the class "linkless_link" to this text which, in turn, has the "stationary" attribute applied to it, but as you can see the cursor does not change by positioning the mouse on it.

    Is anyone able to help me code it correctly?

    As well as this question, each time I have create a new page template or edit a page on the site I have to re - attach the css file, so the style sheet than the menu bar css. I would be grateful if someone could tell me what I did wrong to cause this, as all the other models I use keeps its css files associated with them at all times.

    Thanks in advance for the advice,

    JO

    Your style rule looks like this:

    .linkless_link p: hover {}

    Cursor: hand;

    }

    There are at least two errors in there. The correct value for the slider is 'pointer' ('hand' is the old, incorrect version used by older versions of Internet Explorer). Also, there should be no space before the: hover pseudo-class. Another possible error is the use of a descendant selector. I can't find the class of linkless_link applied to any element on your page, but p .linkless_link looks for a child of a paragraph element, so that it would work if you apply to your or the element, but not to the paragraph. In fact, because you're using a class, you need not p initially.

    Change the rule for this:

    {.linkless_link:hover}

    cursor: pointer;

    }

    And apply the class to the text that you want to assign.

  • Photoshop 2015: BUG? Layers panel auto-fait scroll to top when you select the text element with the text, creation/copy of layer tool and other actions

    This is a bug or a really bad and frustrating idea for a story.

    (1) in the layers panel, select a text layer, it highlights

    2) change to the text tool

    3) click on the text element in the workspace

    OR

    (1) select a layer in the layers panel

    (2) Ctrl-J, new layer by copying

    EXPECTED: Panel layers rest in the same position

    REAL: Panel layers scrolls the element selected or new layer to the top of the Panel. BORING.

    I do not need or want Photoshop to make decisions for me, space to work around to move without asking, or generally to spoil my flow!

    Please fix this or give me an option to turn it off as soon as POSSIBLE.

    autoscroll-problem.png

    You have successfully updated to 2015.0.1?

    The bug known as in the original message has been fixed in this version.

Maybe you are looking for