Problems with hyperlinks in dynamic text

Hi,
I have a dynamic textbox on the 3rd level of a flash movie. The textbox has some hyperlinks for which I used this AS2 code as a test:
textbox.html = true;
textbox.htmlText = "<a href=' http://www.adobe.com' target='_blank'>Adobe</a>";
When I test the scene it works well on all levels apart from the root level. When I test the whole movie, the link does not respond. On rollover the mouse converts into a text cursor, and I have to click several times, until randomly a hand comes up and the link opens. I don't understand why on all sublevels (in the movieclips), the link works perfectly (on rollover mouse becomes hand and click loads URL int browser), but not on the root level. Btw, I placed the movie with the textbox on top, so there is no layer above that in the root timeline. Please help!!!
Thanks.

Thanks for your response dalcde. However, in my dynamic textbox I have a list with more than 50 different items with different links, and using the HTML tag seems more convenient.
I experimented a bit and found out what causes the problem:
The parent movie clip of the movie clip with the textbox has a mirrored reflection attached to it, for which I use this code:
import flash.display.*;//importing the bitmap class
var bmd:BitmapData = new BitmapData(860, 330);//definition of a variable for the target bitmap and assigning values
link_ref.attachBitmap(bmd, 1);//attaches target bitmap to movie clip (reflection)
link_ref.setMask(link_mask);//sets mask over movie clip (reflection)
this.onEnterFrame = function()
    bmd.draw(link_contents);
When I switch that off, the link works fine when testing the movie. This is a bit weired cause when I test the scene with the reflection (2nd level after root) the link works fine. The problem only occurs when I test the movie (level 1). Anyways, switching off the reflection is obviously not an option as all the sites on my website have reflections. Is there a workaround to this? I was never aware that the bitmap class could interfere with hyperlinks.
Thanks.

Similar Messages

  • Many problems with the 'Export to Text' (.txt) in CR Xi

    Hi,
    I have listed many problems with the 'Export to Text' (.txt) function of CR Xi.
    These problems are related to this export format only (meaning everything works fine in the Viewer or in the 'Export to PDF')...
    - Multi-columns layout do not export as Multi-column (export only a one column);
    - Numeric values with parenthesis for negative values or with a fix currency sign at the leftmost position are not exported correctly;
    - Fields having a Suppress formula which is "WhilePrintingRecords" do not appears when exported;
    - Fields with 'Suppress double value' checked are not always suppressed when exported to Text.
    - 'Keep Group Together' flag is not working.
    - 'Reset Page Number After' simply does not works when exported to text;
    - 'Keep object together' on TextBox/Section is not working.
    - Whenever a group is ending on the last line of a page, the the following page as the same Group header as the previous group with no records until the page is filled, then the PageBreak and PageHeader is missing but the records of the following group appears.
    I would like to know what is the status of the 'Export to Text' function (is it a deprecated function not supported anymore???).
    If still supported, when will these bugs be fixed???
    Thanks

    Hi Rene
    Export to Text is supported till date. Crystal Reports 2008 also supports this with Keep together working however when I tried with format with multiple columns, it didnot show up in the exported text file.
    Regards
    Sourashree

  • Issue with visibiliy of dynamic text and hyperlinks

    Hi everyone,
    It's been a while since I've build a Flash site and a I'm finding a out a lot has changed.
    I'm building a simple site with some pictures, text and the 5 last posts from Twitter.
    This last one is not working out that well.
    First of all:
    The outputed data from Twitter is displayed into a dynamic text field which is working fine when I test the movie in Flash, but as soon as I upload it to my server the text is not visible.
    Flash already told me that I need to enclose my font in the movie (that's new for me) and I did that using the button in the properties windows.
    But it still won't work.
    I recreated the Twitter reader in a empty document to isolate it from my website during the troubleshooting.
    Here's the AS I'm using:
    var loadXML:XML = new XML();
        loadXML.ignoreWhite = true;
        loadXML.onLoad = processXML;
        loadXML.load("twitter.php"); //used when swf in placed on server
        loadXML.load("");
        function processXML(loaded:Boolean)
            if(loaded)
                var node = this.firstChild;
                tweet_1.text = node.childNodes[0].childNodes[2].firstChild;
                tweet_2.text = node.childNodes[1].childNodes[2].firstChild;
                tweet_3.text = node.childNodes[2].childNodes[2].firstChild;
                tweet_4.text = node.childNodes[3].childNodes[2].firstChild;
                var follower_count = node.childNodes[9].childNodes[11].childNodes[9].firstChild;// Creates variable
                trace(follower_count); //loads variable into output
                follower_count_txt.text = follower_count;// show follower count in text box
            else
                error_txt.text = "Error loading XML file";
                        for (i=0; i<follower_count; i++)
                            _root.attachMovie("tweep_mc", "tweep"+i+"_mc", i);
                            _root["tweep"+i+"_mc"]._x = 150 + random(500);
                            _root["tweep"+i+"_mc"]._y = 150 + random(500);
                            trace(i);
                        trace(i);
        follow_btn.onRelease = function()
            getURL("");
    facebook_btn.onRelease = function()
            getURL("");
    stop();
    Right here you can see the output of it on the server.
    The second issue:
    The items posted to Twitter will simply always contain pictures which Twitter posts as hyperlinks.
    Is there a way to make those hyperlinks function in my dynamic text field?
    Hope you guys can help me out!
    Thanks in advance!!
    Karim

    Ok.. After some resarch I find out the guy who created this made use of the Twitter API.. Since I don't know how to do that and
    can't find straight answers that's not an option for me...
    Althought...
    What I forgot to mention in the first post:
    This is what the beginning of actionscript is actually looking like right now and why it is working offline:
    var loadXML:XML = new XML();
        loadXML.ignoreWhite = true;
        loadXML.onLoad = processXML;
        loadXML.load("http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=karimbizid2");
    I'm getting the data direct from the Twitter server.
    This procedure does'nt neceserly need a PHP file to store the XML, right?
    I'm guessing it's just a visual issue why the text isn't showing.
    Karim

  • Problem with Hyperlink  in JEditorPane!!

    hi all!
    I have some problem.
    I create html page with hyperlink to myProgram.jar and when i open this html page in JEditorPane and click on hyperlink i have the some text but my program don't run.
    How write HyperlinkListener for run the my program and setUrl for open other html pages.
    thanks!

    In the future, Swing related questions should be posted in the Swing forum.
    But, there is no need to repost the question because you can just read the JEditorPane API to find an example of how to write a HyperlinkListener.

  • Problems with Hyperlinks when exporting to EPUB

    I've been trying to export a CS5 indd to Epub (using corEpub script -http://www.teusdejong.nl/indesign/-), but there seems to be some kind of conflict with Hyperlinks (there's 6000 of them): when they are near to a footnote reference, the text of hyperlinks (and some text surrounding it, don't know the criteria) just disappear and the reference doesn't work. Any ideas about what could be happening?
    (Sorry for my english)

    I just came across this same problem -- similar but not exactly the same.
    Text in a table does not print properly when text is superscripted.
    This is a problem since we have a French invoice that has a fair bit of superscript. I tried to work around by decreasing the font size and increasing the baseline, but this did not work.
    I'm using Pages 5.1 and Mavericks.
    Anyone have any ideas????

  • HT4623 is anyone else having problems with receiving and sending text messages. most people in my contacts are not getting messages that i send to them.

    is anyone else experiencing problems with (SMS) text messaging. Most all of my daily contacts dont receive my messages.

    Make sure you have checked off iCloud contacts in your Contacts app under Groups in upper left corner.

  • Problem with focus and selecting text in jtextfield

    I have problem with jtexfield. I know that solution will be very simple but I can't figure it out.
    This is simplified version of situation:
    I have a jframe, jtextfield and jbutton. User can put numbers (0-10000) separated with commas to textfield and save those numbers by pressing jbutton.
    When jbutton is pressed I have a validator which checks that jtextfield contains only numbers and commas. If validator sees that there are invalid characters, a messagebox is launched which tells to user whats wrong.
    Now comes the tricky part.
    When user presses ok from messagebox, jtextfield should select the character which validator said was invalid so that user can replace it by pressing a number or comma.
    I have the invalid character, but how can you get the focus to jtextfield and select only the character which was invalid?
    I tried requestFocus(), but it selected whole text in jtextfield and after that command I couldn't set selected text. I tried with commands setSelectionStart(int), setSelectionEnd(int) and select(int,int).
    Then I tried to use Caret and select text with that. It selected the character I wanted, but the focus wasn't really there because it didn't have keyFocus (or something like that).
    Is there a simple way of doing this?

    textField.requestFocusInWindow();
    textField.select(...);The above should work, although read the API on the select(...) method for the newer recommended approach on how to do selection.
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    Don't forget to use the "Code Formatting Tags",
    see http://forum.java.sun.com/help.jspa?sec=formatting,
    so the posted code retains its original formatting.

  • Problem with vhba and dynamic vnic placement

    Hello all,
    I have a problem with vnic/vhba placement policies on an UCS-B:
    When a configure a Service Profile, evrything is good:
    - I use a "specify manualy" vnic/vhba placement policy  and can create this configuration:
    - vhba 0 : Order 1
    - vhba 1 : Order 2
    - veth0 : Order 3
    - veth1 : Order 4
    - veth 2: Order 5
    - veth 3: Order 6
    - 8 Dynamic vnic : Order 7 to 14
    As soon as i associate this SP with a B200M2 (with palo), UCS manager change this order like that:
    - veth0 : Order 1
    - veth1 : Order 2
    - veth 2: Order 3
    - veth 3: Order 4
    - 8 Dynamic vnic : Order 5 to 12
    - vhba 0 : Order 13
    - vhba 1 : Order 14
    I've tried several placement policies (auto, exclude dynamique from vcon 1, ....) but it's still the same.
    I need to maintain previous order with first vhba, then vnic and finaly dynamic vnic...
    My config:
    - 1* UCS 5108
    - 4 *UCS B200M2 with palo adapter
    - UCS MANAGER 2.0(1q)
    Does someone know this problem and how to solve it ?
    Thanks in advance
    Regards
    Sebastien.

    Sebastien,
    When using dynamic vNICs you can't define more than one physical NIC (eth0 and eth1).  If you try to create more than two vNICs (using a single VIC) with a Dynamic vNIC policy, it should error out on you during association.
    The vCon connection policy is really only used for full width blades with dual mezz cards populated.  This gives you some control as to which mezz card and interface vNIC/vHBAs are placed on.
    With a B200, the only virtual PCI slots you'll have will be 1 and 2.  To my understanding you need the vHBA's as the lowest PCI device # - is that correct?
    For your placement policy, set slot 1 to be "Assigned Only", and leave the rest set as "All".  Next assign your vHBAs both to Slot 1, and click ok.  Associate the Service Profile to the blade and report the results.
    This should set the desired placement and ordering for your vHBAs as the lowest.
    Regards,
    Robert

  • Problem with tabs in xml text

    I have a problem with my XML setup here
    i use Tab key to aligh up info in the xml text for aligned
    display in the program
    hoever i tested on several computers and get different
    resolts.
    how can i fix this.
    Please view the linked Image
    http://img129.imageshack.us/img129/8394/flashtextproblemti4.jpg
    this is what happenes even thow all run xp and all run same
    latest flash version.
    Anyone got an ideer how i can solve this.
    BTW the font is verdana.
    This is my actionscript ....
    // Function to parse an address
    f_parseAddress = function () {
    // Set the text
    _root.stageholder.textfield.htmlText =
    this.firstChild.firstChild.firstChild.nodeValue;
    // Create the XML object
    XML_address = new XML();
    // Set up the XML object
    XML_address.ignoreWhite = true;
    // Add the handlers
    XML_address.onLoad = f_parseAddress;
    // Load the XML file
    XML_address.load("./Data/xml/kontakt.xml");
    This is my XML file
    <?xml version="1.0" encoding="iso-8859-1"?>
    <text>
    <address>
    <![CDATA[
    <font size="20">Company name</font>
    Company name
    address
    address
    Dir. tlf. + xx xx xx xx xx
    + xx xx xx xx xx
    Mobil + xx xx xx xx xx
    + xx xx xx xx xx
    web: <a href="
    http://www.xxxxxxxxxxxxx.xx"><b>www.xxxxxxxxxxxxx.xx</b></a>
    E-mail: <a
    href="mailto:[email protected]"><b>[email protected]</b></a>
    ]]>
    </address>
    </text>
    If anyone got a solution on how i can get my text to allign
    corect
    i would like to hear about it
    Best reguards
    Mis

    alrighty then try this xml structure.
    Note: formatting information like b, or linkage tags should
    not be part of the xml.
    The XML format is a universal format for data, if you fill it
    with style information this is not good practive (in general, there
    are of course scenarios where it makes sense, also since (x)html IS
    also XML).
    In your case you want to put the information about multiple
    companies in a xml file, but you let the flash decide how to
    display format this information.
    so if you use the sugested XMl structure you will have full
    control of the layout within flash, because you can grab every
    piece of information from the xml and place it jsut where you want
    in flash and format it within flash.
    Of course this process is more coding work than your previous
    attempt, but it pays of when you have a lot of data to process and
    when you want to have full control of the final layout.
    But maybe its overkill for your application (I don't know how
    many companies will be stored in your xml and how complex the rest
    of the app is).

  • Problem with unicode in MIME text/html

    Hi;
    I have a java program that sends email by sending it to our exchange server using SMTP. The email has both a To and a Bcc in the single email sent.
    The bcc addressee receives the email fine.
    The to address however has a problem with chars that are > 0x7f in the html. The html uses utf-8. But the displayed characters look as though the utf-8 part was ignored.
    Also weird, if I go to view, options in Outlook for the bcc email (which is good) it shows:
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=_Part_0_32437168.1135634913407"
    Return-Path: [email protected]
    X-OriginalArrivalTime: 26 Dec 2005 22:08:33.0366 (UTC) FILETIME=[E94D1F60:01C60A68]
    ------=_Part_0_32437168.1135634913407
    Content-Type: text/plain; charset=Cp1252
    Content-Transfer-Encoding: quoted-printable
    ------=_Part_0_32437168.1135634913407
    Content-Type: text/html; charset=Cp1252
    Content-Transfer-Encoding: quoted-printable
    ------=_Part_0_32437168.1135634913407--
    But for the to email (which has the problem), it only shows:
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=_Part_0_32437168.1135634913407"
    Return-Path: [email protected]
    X-OriginalArrivalTime: 26 Dec 2005 22:08:33.0366 (UTC) FILETIME=[E94D1F60:01C60A68]
    Does javamail do anything weird when it gets an email with a to and a bcc and split it up wrong? I just download and installed the latest mail.jar and activation.jar.
    thanks - dave

    OK...this didnt quite cure it for me...but having done this AND then this...
    MimeBodyPart htmlText = new MimeBodyPart();
    final String htmlStuff = "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
    + "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"
    + "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">"
    + "<head>"
    + "<title>Stuff.</title>"
    + "<meta http-equiv=\"Content-Type\" content=\"application/xhtml+xml; charset=utf-8\"/>"
    + "</head><body>"
    + "<p>Currency Symbols: \u00A3\u00A2\u20A3\u20AC$<p>"
    + "</body></html>";
    DataSource htmlSource = new DataSource()
    private String stuff = htmlStuff;
    private Charset cset = Charset.forName("utf-8");
    public String getContentType() { return "text/html"; };
    public java.io.InputStream getInputStream() throws IOException
    return new ByteArrayInputStream(cset.encode(stuff).array());
    public String getName()
    return null;
    public OutputStream getOutputStream() throws IOException
    throw new IOException();
    htmlText.setDataHandler(new DataHandler(htmlSource));
    htmlText.addHeader("Content-Transfer-Encoding","base64");
    This works for me as shown by the Unicode chars in the html.
    If you intend to take this to production create a decent external DataHandler class and avoid the use of the anonymous class - which then avoids the need for the final String and the string can come from anywhere then.
    Hope this helps,
    Barry

  • Problem with italicizing/underlining/bolding text

    When I'm typing notes, press enter and attempt to start a new line with italicized/underlined/bolded text, it's very unreliable.  Sometimes it works, most times it does not.  The format tab in the bar at the top will briefly flash blue, but nothing happens.  I've dealt with the same problem in Pages, and in both iWork '09 and the latest version.  I always wind up having to type some text first, then go back and do whatever I want with the formatting, which is a significant waste of time and a major annoyance.  Am I doing something wrong or is this just a case of terrible software design on Apple's part?

    MX6.0 or 6.1?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "anglefish" <[email protected]> wrote in
    message
    news:gqjj44$l98$[email protected]..
    > Pulling my hair out stage - I have installed Dreamweaver
    Mx on my vista
    > laptop
    > and created a website but all the text has an underline
    which I am unable
    > to
    > get rid of. The underline option is not selected it just
    appears. Is this
    > a
    > compatibility problem. Any help would be much
    appreciated.
    >

  • Problem with inverted commas in texts in WAD

    Hi all,
    I've a problem with description texts in WAD. In a graph where one of the columns have the description, let's say something like ' bla"bla ' (in Hebrew we've texts with inverted commas in the middle of the word) and when I point with my mouse on the point to see the value in numbers the text is cut. let's say 'bla"bla' had 15 value it wouldn't show it, but it would show 'bla'. if the text is ' bla ' with value 18, it shows ' bla 18' .
    How can i solve it?
    thank you,
    Yoav.

    Hi Abraham,
    thsi could be a problem from the specisic setting of the infocube. Please check the BEx Settings from the infocube. You can find them by the following steps:
    - search for the infocube
    - doubleclick on the infocube
    - choose an specific infoobjekt
    - right mousebutton and click "specific dataprovider settings"
    - check if the right entries are set
    Hope this will help.
    André

  • Problem with After effects present text animations

    When I want to use the text animation presets I get an error message, an example is when I want to use a text "animate in" preset and got the following error message:  After Effects error:  Can't import file "Fly In From Bottom.ffx": unsupported filetype or extension. ( 0 :: 1 ). I have check my bridge script settings and they are activated for After effects.

    Sounds like you are trying to import a FFX file instead of applying an animation preset. Some users are reporting problems with Bridge. Just type the name of the animation preset into the Effects and Presets panel and apply it from inside AE.

  • Problems with downloading pics from text?

    Hi  - is anyone else having problems downloading pics attached to text after running the 4.1.2 upgrade?
    I've tried powering on and off - turning off wi-fi and just having data...(and vice versa)...to no avail.   the text and pictures are coming from another verizon user....they have a "non-smart" phone.

    Have you performed a System Cache wipe since the JB update? I would try it, it will not wipe your phone, you will not lose anything. If you are going to do this, make sure you follow the instructions exactly, as failure to do that could wipe the phone by accident.
    Turn the phone off and perform Clear Partition. Clearing the partition will remove any temporary files that may be causing the problem, but will not delete your files or settings.
    - Power the phone down.
    - Hold the volume up and down and power key down all at the same time until you see the Boot Mode Selection Menu. This should happen within a couple of seconds.
    - Press the volume down key until "Recovery" is highlighted. Press the volume up key to select.
    - Wait until you see a triangle with an exclamation point in it.
    - Press and hold the volume down key. While doing that, press and hold the volume up key then release them. This should put you into the Android system recovery.
    - Press the volume down key until wipe cache partition is highlighted.
    - Press the power button to select. You will be brought back to the Android system recovery utility when it is complete.
    - Press the power button to select "reboot system now". Wait for the phone to boot.
    Check to see if it cleared the problem. This fixed a couple of app issues with my RAZR after the update.

  • Finding hyperlinks in dynamic text?

    Im retrieving tweets, so i have dynamic text, but i the tweets occasionally contain hyperlinks. I know you can find the hyperlinks in text. But every technique i have tried has failed, i think its because there searching through an array and then converting that to a string, but im baffled and my mind is hurting :S
    Well heres my code:
    function userTimelineResult(e:TwitterEvent):void
              for (var i in e.data)
                        twitterStatus = e.data[i];
                        trace("user tweets",twitterStatus.text);
                        var t:TextField = new TextField();// create a new text field
                        t.htmlText = twitterStatus.text
                        t.textColor = 0x000000;// set the text color
                        t.multiline = true;// allow it to be multiline
                        t.wordWrap = true;// allow it to have a word wrap
                        t.autoSize = "left";// set the autosize to left
                        t.width = 300;// give it a width of 300,
                        t.height = 30;// height values
                        t.x = 650 - 300;// x value
                        t.y = neextY;
                        neextY +=  t.height + 10;
                        addChild(t);

    I take it you are using Flash as the methods have no type descriptors.
    function userTimelineResult(e:TwitterEvent):void{
        for (var i in e.data){
            twitterStatus = e.data[i];
            trace("user tweets",twitterStatus.text);
            var t:TextField = new TextField();// create a new text field
            t.htmlText = twitterStatus.text
            if(hasHyperlinks(twitterStatus.text)){
                //do something here if it has hyperlinks
                //code
            }else{
                //text only
            t.textColor = 0x000000;// set the text color
            t.multiline = true;// allow it to be multiline
            t.wordWrap = true;// allow it to have a word wrap
            t.autoSize = "left";// set the autosize to left
            t.width = 300;// give it a width of 300,
            t.height = 30;// height values
            t.x = 650 - 300;// x value
            t.y = neextY;
            neextY +=  t.height + 10;
            addChild(t);
    function hasHyperlinks(text:String):Boolean{
         return (text.indexOf('<a') >= 0 && text.indexOf('</a>') >= 0);

Maybe you are looking for

  • IDVD says 'supported disk no available,' does not burn too DVD!?

    I have an Apple Imac G4 10.4.11, with iDVD 5. I have a 1 hour 20 minute 'AVI file on my computer that I want to burn to a DVD. I clicked 'Open New Project' on iDVD, then clicked 'File' and 'Import Video' and added my 'AVI file. I put in the disk ands

  • Importing mpeg-2 vids on idvd

    hi! i have some clips to make a dvd and they are in mpeg-2 (m2v) and i want to import them to idvd. when i try to import idvd says that i can't do it. is there any specific way to import this type off files? is just that i don't like idvd compression

  • Select data based on status priority

    ID     PRO_ID     PRO_OBJ_ID     TASK_ID     DEVELOPER_ID     STATUS 121243     4940     37506     5250     6532     REJECTED 122063     4940     37506     5250     6532     CLOSE 138306     4940     37506     5250     6532     ACCEPTED 138307     49

  • Please explain about the RODELTAM table

    Hi, I am going thru the RODELTAM table. I understand that this table is used to check my delta type. I had clicked on contents button and then on the execute button. Now the screen that appears has a table with few columns and there is the text log c

  • 5508 to 5760 w/3850. Migrating from CUWN to Converged access.

    Hi! I have a 5508 WLC managing APs in local and flexconnect mode in the current environment.  There's a plan to migrate to converged access using 5760 WLC w/HA as MC, 3850 as MA and keep the 5508 as N+1 controller enabling new mobility.  It will look