LinkElements are not clickable

Hello,
I am adding LinkElement to my TextFlow and it seems they are not clickable until I do a special trick.
Here is my code :
(OnClick of a button)
var t:TextFlow = txtText.textFlow;
var p:ParagraphElement = new ParagraphElement();
var s:SpanElement = new SpanElement();
var a:LinkElement = new LinkElement(); 
a.href = "http://www.adobe.com";
s.text = "Un lien"; 
a.addChild(s);
p.addChild(a);
t.addChild(p); 
txtText.textFlow = t; 
this is my RichEditableText :
<s:RichEditableText id="txtText" editable="false" />
The link appears with correct format, but when I mouse hover, the cursor is the selectable one, not the hand. I am able to make it "handed" when I select some text, then I press the right-button and then I click on COPY and the link is now clickable (I really don't understand what the hell is going on behind. I tried to attach some listeners and the FlowOperationEvent.FLOW_OPERATION_* are dispatched when I do that.)
Did I forget something to do ?
Sorry for my english,
Charles.

I had this same problem, adding mouseChildren = true fixed the problem, allowing links to be clickable on a TextArea/RichEditableText instance

Similar Messages

  • Once I add my .swf to Dreamweaver, the buttons are not clickable, how can I fix this?

    Hello there,
    I'd just like to start out by saying that this is the first time I have posted on these forums, so if I have done anything wrong, I apologize!
    Anyway, about my question, just like the title says, once I import the .swf into Dreamweaver the buttons are not clickable, however when tested outside of Dreamweaver, they work correctly.
    Basically I have an animated banner with some audio and two buttons, the buttons mute and unmute the music.
    The file consists of two layers, one of which has 2 keyframes, the first keyframe has the Audio with the settings; "Effect: None. Sync: Start, Loop" and a button leading to the next frame.
    The next keyframe (still on layer one) has much of the same but the Audio settings are different; "Effect: None. Sync: Stop, repeat x 1" and this will stop the music.
    Now on the other layer (Rocket) I have a movie clip of a space-themed background and a rocket flying across it, the movie clip is made up of a motion tween and another movie clip which is the rocket.
    I am using Flash CS6 and Dreamweaver CS6 on a Windows 7 computer. I am also using Actionscript 2.0
    I apologize for the amount of information and I'm not very briliant at explaining things, so here are some images of the flash file, hopefully they'll help;
    Layer setup - http://i.imgur.com/iZHwfAw.jpg
    The movie clip - http://i.imgur.com/ayvPJUZ.jpg
    Keyframe one sound settings - http://i.imgur.com/LWbnQhO.jpg
    Keyframe two sound settings - http://i.imgur.com/7kS9dO2.jpg
    Actionscript for the first button/first keyframe - http://i.imgur.com/x6ROqPv.jpg   - (The second button/keyframe has the same code, but obviously the instance name and frame number has been changed)
    Again, I apologise if this all seems confusing!
    Thanks in advance for any answers to this question
    Adam.

    If you did not create this swf yourself then you won't be able to do what I am suggesting.  If you did, then open the fla in Flash and go into the Publish Settings and select the option to publish an html file as an output.  That will create an html page that embeds the Flash file.  Test that file in your browser and see if it plays properly.  IF so, then copy that code in place of whatever Dreamweaver did to embed the Flash.
    Dreamweaver is not a reliable tool for embedding Flash content... why it does not do it the same way Flash does it is anyone's guess.

  • On firefox clickable buttons are not clickable for me eg the + to open new tab ,the sign in . register and other applications buttons on this page wont click yet the 2 blue change buttons are fine

    Question
    on firefox clickable buttons are not clickable for me eg the + to open new tab ,the sign in . register and other applications buttons on this page wont click yet the 2 blue change buttons are fine

    Top of Firefox window non-responsive, toolbars non responsive -- also see [http://kb.mozillazine.org/Problematic_extensions Problematic extensions]
    *caused by Yahoo Toolbar -- https://support.mozilla.com/questions/890908
    *caused by Babylon Toolbar -- https://support.mozilla.com/questions/890670

  • LinkElement become NOT clickable when it scroll out of TextArea view

    Hi:
    I am writing a online call center product with flash builder 4.5.
    I found a tricky problem with LinkElement.
    I use the TextArea as the display stage for each incoming and outgoing message. Obviously, the messages includes image and href.
    I use LinkElement to display them.
    As conversation continues, the TextArea's view scrolls to display more and more content.
    When LinkElement scrolls out of the viewable area of TextArea, it becomes NOT clickable!!!
    If I change the size or height of TextArea, make the LinkElement shows in view of TextArea, it becomes Clickable.
    But changing the size of TextArea is not a workable way to fix this problem, espetially for a long conversation.
    The source code is too long, I have to show some snapshot.
    =============================================================================
    Following is function to generate Paragraph to be inserted into TextArea.
    private function imageToLocalParagraph(
    role:int, customerId:int, stationId:int, imageTitle:String, imageUrl:String):ArrayList{
    var selfName:String = getRoleName(role, customerId, stationId);
    var color:uint = getColor(role);
    var timeStr:String = getTimeString();
    var list:ArrayList = new ArrayList();
    var p:ParagraphElement = new ParagraphElement();
    var span:SpanElement = new SpanElement();
    span.text =
    timeStr + " " + selfName;
    span.fontSize = _fontSize;
    span.color = color;
    p.addChild(span);
    list.addItem(p);
    var p2:ParagraphElement = new ParagraphElement();
    var inf:Object = {color:0xFF0000};  
    p2.linkHoverFormat = inf;
    var link:LinkElement = new LinkElement();
    link.href = imageUrl;
    link.target = "_blank";
    link.addEventListener(FlowElementMouseEvent.CLICK, onImageClick);
    var linkSpan:SpanElement = new SpanElement();
    linkSpan.text = "点击打开" + imageTitle;
    linkSpan.fontSize = _fontSize;
    linkSpan.color = color;
    link.addChild(linkSpan);
    p2.addChild(link);
    list.addItem(p2);
    return list;
    Following is the TextArea that contains each paragraph.
    =================================================================
    <s:TextArea id="textArea"
    editable="false"
    focusEnabled="true"
    horizontalCenter="0"
    width="100%"
    height="70%">
    <s:textFlow>
    <s:TextFlow>
    <s:p><s:a href="http://adobe.com/" target="_blank"></s:a></s:p>
    </s:TextFlow>
    </s:textFlow>
    </s:TextArea>
    When sprite is created complete, event listener is set for TextArea and this. ParagraphElementEvent is new defined event to receive paragraph list.
    this.textArea.textFlow.addEventListener(
    CompositionCompleteEvent.COMPOSITION_COMPLETE, compositionCompleteHandler);
    this.addEventListener(ParagraphElementEvent.TYPE, onParagraphElementEvent);
    When receiving paragraph list event, TextArea will add it and auto scroll view to bottom.
    ========================================================================================== ============
    private function onParagraphElementEvent(event:ParagraphElementEvent):void {
    if (event.eventId == this._customer.customerId) {
    var list:ArrayList = event.paragraphElementList;
    for (var i:int = 0; i < list.length; i++) {
    var p:ParagraphElement = (ParagraphElement)(list.getItemAt(i));
    this.textArea.textFlow.addChild(p);
    // auto scrolling to bottom with 3 ways, the last one is perfect
    // (1) this.textArea.appendText("");
    // (2) this.textArea.scrollToRange(int.MAX_VALUE, int.MAX_VALUE);
    // (3) call scrollToBottom twice when textFlow.addChild and textFlow.CompositionCompleteEvent
    scrollToBottom();
    private function compositionCompleteHandler(event:CompositionCompleteEvent):void {
    scrollToBottom();
    private function scrollToBottom():void {
    this.textArea.validateNow();
    var maximum:Number = this.textArea.scroller.verticalScrollBar.maximum;
    this.textArea.scroller.verticalScrollBar.value = maximum;
    I don't think it is a problem of Flash builder 4.5.
    LinkElement is a commen component.
    Thanks
    Steven

    hi:
    the reason has been figured out:
    It results from CompositionCompleteEvent.COMPOSITION_COMPLETE.
    this.textArea.textFlow.addEventListener(CompositionCompleteEvent.COMPOSITION_COMPLETE, compositionCompleteHandler);
    If we scrolls the text area to show the LinkElement invisible,
    Click the the Link element, will trigger CompositionCompleteEvent again.
    In my implementation, CompositionCompleteEvent  will scrolls the text area to bottom immediately.
    It looks that the link not works.
    The reason is found, but another question is created:
    What is the solution for the text area, which satisfys two aspects:
    (1) auto scroll to bottom;
    (2) make the link element workable when scrolls.
    This is important for IM applications.

  • Email addresses in thunderbird emails are not clickable.

    In Thunderbird V31.6, when viewing a received email which contains an email address (in the body of the message) that email address is not shown as a mailto: link, and is not clickable, so cannot be used to create a new mail message. This happens when View/Message Body As/Original HTML or View/Message Body As/Simple HTML. Mailto: links are displayed, and work, correctly when View/Message Body As/Plain Text -- but using this setting, other HTML links no longer display the target pages! (In this and other received emails.) Other email clients are able to display/action HTML links correctly and concurrently.
    Can this be fixed, please? (I need to use View/Message Body As/Original HTML as my default setting, and not have to change it just to use an embedded mailto: link.

    Thanks for your reply, Gnospen.
    I have now realised that the received emails (with the unclickable email addresses) were from the same sender. They were created and sent from my mobile smart phone using an Android App called Type Mail (formerly know as Blue Mail) which I have recently begun using.
    In Thunderbird, when I examined the message source, of emails sent from Type Mail, I saw the following (as an example -- substituting [square brackets] for <angle brackets> so that text does not get interpreted as HTML in this post)...
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: 8bit
    [p dir="ltr"]Test new version[/p]
    [p dir="ltr"][font color ="#006970"]Sent from a Mobile Device[/font][br]
    [font color ="#006970"]Preferred Email: [/font][font color ="#006970"][b][email protected][/b][/font][font color ="#006970"][/font][/p]
    ...As you can see, there are no [HTML][HEAD], etc, [/HEAD][/HTML] tags to enclose the message text -- resulting in the message not being recognisable as an HTML message .
    I will feed this back to Type Mail to see if they can fix it. If I read emails created/sent from Type Mail within Type Mail, they look as they should (with clickable email addresses), but this seems to be because Type Mail appears to apply its own formatting -- a bit like Thunderbird's View/Message Body As/Plain Text approach.
    Thanks again for your reply and suggestion.

  • The URL's I type in Talk21 are not clickable. They are in Chrome and IE.

    Hi Guys,
    When I'm composing a new mail in my Talk21.com account, the url is not clickable. This is not the case if I open Talk21 in Chrome or IE. I have tried on 3 different laptops (Windows 7) and a desktop (XP) to no avail. I am running Firefox 21.0
    Thank you for your time.
    Regards,
    Neil.

    Different "rich text" editors handle URLs differently. Some may convert them to links immediately, some may convert them when you Save a draft, and some might just leave them.
    Usually there is a link button among the formatting buttons that you can use to insert a link. Since I don't have a Talk21 account, I've attached a graphical example of how it works on Yahoo! mail.

  • Google links are not clickable in safari

    Hi,
    First of all Happy New Year.
    Almost 2 day the google search page links not clickable in safari.
    For the beginning its work ok but in about 2 min its stops to working.
    I have to open the new tab and the same issue happens very soon.
    I have 10.6.5 and safari 5.
    Actually I have installed some safari extensions...
    Yahoo seems to work O.K.

    Hi,
    Turn off the Extensions in Safari / Preferences - Extensions.
    Quit Safari. (Command + Q) Relaunch Safari. If that helped, then it's one of the Extensions causing the link issue.
    Carolyn

  • Some links are not clickable on certain webpages

    Hello.  I was wondering if anyone here knew why I cannot click on certain links on some websites.  When scrolling down the page, my blackberry browser just ignores them as if they weren't there, instead of highlighting them to be able to click on them like it normally does.
    Very often it is the type of link where you have to click "go" or something similar after filling in a field to search for something.
    I assume it's a certain type of code that is used to make these types of links that the blackberry browser does not recognize??
    Has anyone else experienced this?  And is there a resolution?
    Thanks! 

    Since no one apparently had an idea what I was talking about, or how to fix it, I eventually discovered that the "links" I was talking about were clickable elements that included a hyperlink....if that makes any sense.
    In any case, my blackberry browser did not support or recognize these elements.
    Solution, if anyone is interested, is to download opera mini.
    Sorry if this seems basic, but I'm just a guy who wants my phone's browser to function as closely as possible to the one on my mac, without having to use the issue filled device called the iphone (I love mac/apple products, and mobile safari is a superior browser.....but otherwise iphones just suck with their stupid touch screen text entering, awful battery life, and too large for comfort handling).
    Anyway, Opera Mini solves this issue pretty much entirely...and the cool thing is that you can still use your blackberry browser too! Maybe there's even an upgrade to the blackberry browser that fixes this issue....i have no idea. If not, there should be
    Message Edited by stevo06 on 07-26-2008 02:54 PM

  • Photoshop extended cs6 3D option are not clickable! Help!

    Hi, I have Creative cloud, Photoshop cs6 extended. I am trying to use 3D but no option is clickable and I have no idea how to go around with this problem...? Isnt it suppose to be working??

    The software is looking for your Graphics Processor to deliver a certain level of functionality, and apparently it's not finding what it needs.
    Check your Edit - Preferences - Performance dialog, and see if the [  ] Use Graphics Processor option is enabled.  If it can be but is not currently enabled, try checking it then restarting Photoshop.
    If it can't be enabled, you may want to see if you can get an updated display driver from the web site of the maker of your video card in your computer.

  • What does it mean when my drop down selections are not clickable?

    I am using Photoshop CS5 and I want to view rulers, but the drop down for view extras does not show the selections as clickable.
    Thank you.

    Scottsdale92 wrote:
    Well don't I feel silly??? I am a brand new user and learning.
    Don't! One lives and one learns...

  • The google suggestions when I type in the search box are not clickable anymore since I installed Firefox 4. Why could that be?

    It used to be when I typed in the Google search field at the top of the screen, a list of suggestions would appear. When the suggestion matched my search I would stop typing and click on it. Then the search would start. After installing Firefox 4 the suggestions still show up but nothing happens when I click on them. I have to complete entering it and then click on the search button. Any ideas?
    Thanks.

    Do you have that problem when running in the Firefox SafeMode?<br/> ''A troubleshooting mode.''<br />
    1.You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut. <br />
    2. Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut to open it again.''
    If not, see this: <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • File names disappear, move, swap and are not clickable in finder when connected to a server

    It only happens with one of the two user accounts setup on this iMac.
    I've deleted and recreated the user account but the problem still occurs.

    Hi Barak--
    Since I don't have as much experience as Dale has, I never faced such an issue.
    You could try the following:
    Open Ms Project not connected to Project Server
    Open and save the local file as an XML file and close Ms Project
    Open again MS Project connected to Project Server
    Try to open the local XML file
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Some tools are not clickable (direct and indirect tool f.ex). what's the problem?

     

    What do you mean?
    Kind regards
    Malou Doumen
    Communications web/events
    World Savings Banks Institute aisbl /European Savings Banks Group aisbl
    Rue Marie-Thérèse, 11
    B-1000 Bruxelles
    Phone  + 32 2  211 11 11;  Fax  + 32 2 211 11 99
    [email protected]
    www.savings-banks.com
    P Before printing, think about the environment

  • I can't click below the toolbar .half inch to 3inch from right to left. all words or letters are not working. please help to resolve this problem. thanks!

    Everytime I open firefox, all words or letters below the toolbar half inch to 3 inch from right to left are not clickable(not working). but they are working or clickable on google crhome or internet explorer. please help to resolve this problem. thanks!

    The '''''Yahoo! Toolbar''''' and the '''''Babylon''''' extension have been reported to cause that problem. They seem to invisibly extend downward over the top of the web page display area. Disable or uninstall those add-ons.
    *See --> http://support.mozilla.com/en-US/kb/Uninstalling+add-ons
    *See --> http://support.mozilla.com/en-US/kb/Cannot%20uninstall%20an%20add-on
    *See --> http://kb.mozillazine.org/Uninstalling_toolbars
    *See --> https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • URLs are not being recognized inside PDF

    URL links inside a PDF that I've created in InDesign CS5 are not being recognized.
    I have email and website URLs embedded inside a PDF that was created in InDesign. These links are being recognized and I can click on them in Chrome, Opera, IE or Safari on the Mac. Eg, hovering over the mailto or http URLs the cursor turns to a hand and the links are clickable. Firefox is the only browser that does not recognize ANY links in the PDF. The cursor doesn't change to a hand instead it just remains as the standard text insertion cursor. The links are not clickable.
    Firefox 26.0
    Adobe Reader plugin 11.0.4.63 (latest as of today)

    Current Firefox versions have enabled a built-in PDF Viewer that doesn't have all features that other PDF readers like the Adobe Reader have or may not function properly otherwise.
    You can change the action for Portable Document Format (PDF) from Preview in Firefox to use another application like the Adobe Reader or set to Always Ask in "Firefox > Options/Preferences > Applications".
    You can set the pdfjs.disabled pref to true on the <b>about:config</b> page to disable the build-in PDF viewer.
    *http://kb.mozillazine.org/about:config
    You can check the value of the plugin.disable_full_page_plugin_for_types pref on the about:config page and remove the application/pdf part if present or reset the pref to the default via the right-click context menu if you want to display PDF documents in Firefox with another application (i.e. not the built-in PDF Viewer).
    See also:
    *https://support.mozilla.org/kb/view-pdf-files-firefox-without-downloading-them
    *https://bugzilla.mozilla.org/buglist.cgi?component=PDF%20Viewer&product=Firefox&query_format=advanced&order=bug_id%20DESC&limit=300
    <i>Please do not comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html</i>

Maybe you are looking for