Link doesn't work in an external htmlText

Hello!!!
I am trying to fix this problem. My external text display fine and also the CSS. The problem is
when I am using any tag in html like <a> doesn't work, doesn't try to open the link and also the mouse
doesn't change to the default hand. I am attaching my code in AS3. If you see I am using a scroller
and also a mask. Could you try to help me please?
Thanks in advance!!!
J
var textLoader:URLLoader = new URLLoader();
var textReq:URLRequest = new URLRequest("text/news.txt");
var cssLoader:URLLoader = new URLLoader();
var cssRequest:URLRequest = new URLRequest("styles/style.css");
var style:StyleSheet = new StyleSheet();
var scrollPercent:Number = 0;
var minScroll:Number;
var maxScroll:Number;
var targetScroll:Number = text_mc.y;
var easing:Number = 5;
var scrollAmt:Number = 15;
var scrollDirection:Number = 0;
function textLoaded(event:Event):void
cssLoader.load(cssRequest);
cssLoader.addEventListener(Event.COMPLETE, cssLoaded);
text_mc.external_txt.htmlText = textLoader.data;
minScroll = text_mc.y;
maxScroll = minScroll - text_mc.height + mask_mc.height;
function cssLoaded(event:Event):void
style.parseCSS(cssLoader.data);
text_mc.external_txt.styleSheet = style;
text_mc.external_txt.htmlText = textLoader.data;
function dragScroller(event:MouseEvent):void
var dragX:Number = line_mc.x - scroller_mc.width/2 + 1;
var dragY:Number = line_mc.y;
var dragW:Number = 0;
var dragH:Number = line_mc.height - scroller_mc.height;
scroller_mc.startDrag(false, new Rectangle(dragX,dragY,dragW,dragH));
stage.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
stage.addEventListener(Event.ENTER_FRAME, setScrollPercent);
stage.removeEventListener(Event.ENTER_FRAME, scrollText);
function stopDragging(event:MouseEvent):void
scroller_mc.stopDrag();
function setScrollPercent(event:Event):void
scrollPercent = (scroller_mc.y - line_mc.y) / (line_mc.height - scroller_mc.height);
if(scrollPercent < 0)
scrollPercent = 0;
else if(scrollPercent > 1)
scrollPercent = 1;
targetScroll = (scrollPercent * (maxScroll - minScroll)) + minScroll;
text_mc.y -= (text_mc.y - targetScroll) / easing;
function scrollUp(event:MouseEvent):void
setDirection(scrollAmt);
function scrollDown(event:MouseEvent):void
setDirection(-scrollAmt);
function setDirection(dir:Number):void
scrollDirection = dir;
stage.addEventListener(Event.ENTER_FRAME, scrollText);
stage.addEventListener(MouseEvent.MOUSE_UP, stopScrolling);
stage.removeEventListener(Event.ENTER_FRAME, setScrollPercent);
function scrollText(event:Event):void
targetScroll += scrollDirection;
text_mc.y -= (text_mc.y - targetScroll) / easing;
if(text_mc.y > minScroll)
text_mc.y = minScroll;
targetScroll = minScroll;
else if(text_mc.y <maxScroll)
text_mc.y = maxScroll;
targetScroll = maxScroll;
scrollPercent = (text_mc.y - minScroll) / (maxScroll - minScroll);
scroller_mc.y = (scrollPercent * (line_mc.height - scroller_mc.height)) +
line_mc.y;
function stopScrolling(event:MouseEvent):void
scrollDirection = 0;
textLoader.load(textReq);
scroller_mc.buttonMode = true;
text_mc.external_txt.autoSize = TextFieldAutoSize.LEFT;
scroller_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragScroller);
textLoader.addEventListener(Event.COMPLETE, textLoaded);
up_btn.addEventListener(MouseEvent.MOUSE_DOWN, scrollUp);
down_btn.addEventListener(MouseEvent.MOUSE_DOWN, scrollDown);

Hi Kglad,
I have this in news.txt:
<span class="title">FUTURE ENGAGEMENTS</span>
JUNE 2009
Dates                 1,3,5,7,8,9
Role                  Fenton (Cover)
Event                Falstaff
Company            <a href="http://www.yahoo.com">Glyndebourne Opera Festival </a>
NOVEMBER 2009
<span class="titles">Dates</span> 1,3,5,7,8,9
<span class="titles">Role</span> Fenton (Cover)
<span class="titles">Event</span> Falstaff
<span class="titles">Company</span> Glyndebourne Opera Festival
Thanks!!!
J

Similar Messages

  • How to I set an internal link in a PDF document using Preview?  After setting a link under the Tools/Annotations menu, the link doesn't work and no detailed instructions are provided.

    How to I set an internal link in a PDF document using Preview?  After setting a link under the Tools/Annotations menu, the link doesn't work and no detailed instructions are provided via the Help menu other than it showing the pull-down menu selection to make.

    No.  I am able to use the other features such as underlining, highlighting, adding rectangles and oval and save those changes.

  • Personalize link doesn´t work

    Hi Everybody,
    I´m getting an access denied error when I click on the Personalize link in the portal masthead iview. This is what I did:
    1) I copied the eu_core_role.
    2) I copied the personalize workset.
    3) I deleted the home content in the new eu_core_role.
    4) I assigned the new personalize workset to the new eu_core_role as a delta link.
    5) I assigned the new eu_core_role to users and user groups.
    6) I checked the end user permissions for these users and user groups.
    After these steps, the link doesn´t work.
    We´re on Netweaver Portal SP14.
    I tested the Personalize link with the portal URL fully qualified (DNS) and not fully qualified (just hostname).
    Can somebody help me?
    Thank You very much for Your help.
    Regards.
    SS.

    Hi again,
    Another question:
    After I assigned the new eu_core_role to users and user groups, the tool area search doesn´t work. It shows an access denied error, too. This error seams to be related to changes on eu_role, isn´t it?
    The tool area search and the Personalize link only work with administrators (users with admin roles).
    I´ll appreciate Your help.
    Regards.
    SS.

  • Timed sequence doesn't work right with external timing source

    I'll describe first what I want to accomplish and
    then maybe someone can read further and suggest why the attached VI
    doesn't work. I have a SMU (PXI 4130) that takes differing amounts of
    time to set a current depending on if the setting spans a range
    boundary. I want to be able to make that SMU setting and then wait a
    specific amount of time (sometimes 1 msec). If the SMU takes a little
    longer to return then I want that extra time to come out of the wait
    time. To do this I figured I would need an external time source to
    control a timed sequence to give better than the normal 1 msec
    resolution. So now onto the problems I'm having.
    I've
    got two problems here that I would really appreciate some insight on.
    The attached VI is the subject of both problems (as is the VI is
    worthless, but it illustrates the problem). Note that you need some
    type of DAQ board with a counter on it to run it.
    I can't
    figure out why this timed sequence doesn't work with an external timing
    source. It works mostly as expected (see next problem) with the
    internal source, but fails miserably with the external source. Run the
    VI as is to get a baseline. Then connect the DAQmx Create Timing Source
    VI to the Source Name input of the timed structure. It seems like it
    should run exactly the same both ways.
    Problem 2 (run with the
    internal timing source). The VI should take the same amount of time to
    execute regardless of the input to the Wait VI (within reason of
    course). That's actually the main impetus for this whole exercise. But
    according to the Actual End indicator it runs faster with a longer wait
    time.
    George
    Attachments:
    test timed sequence.vi ‏144 KB

    Hi George, I have been playing with the code that you have posted and I think I am seeing what your concern is with regards to the first problem that you stated.  Without running the code I would expect both internal and external timing to cause the VI to run in the exact same manner, however obviously that is not the case.  I am currently looking into this behavior and I will post you a response as soon as I have an answer for you. 
    As for the second problem, If you look at the manner in which you have coded this VI, a 1ms wait in the first frame will lead to a calculation of 1999ms wait in the second frame, and thus 5 iterations of 1999ms or about 99,995ms total running time.  If you increase the wait in the first frame to say 50ms, then an overall all wait of 1950ms is calculated in the second frame so not the overall iteration time is now 1950 which, over 5 iteration leads to 99,750ms thus as you increase the wait in the first loop the overall loop duration will be less.  This is expected behavior.
    Again I will post back once I have a clarification on the internal vs external timing.
    Chris_K 
    National Instruments
    Applications Engineer

  • JDeveloper 10.1.3.4 download link doesn't work.

    Have anyone downloaded new version of JDeveloper (10.1.3.4) ? Download link doesn't work for me.
    http://www.oracle.com/technology/software/products/jdev/htdocs/soft10134.html
    Kuba

    I also have the same issue.
    Looks like they are working on it, this message is on the top level Downloads page:
    Important Note: As of 2:30pm PT Sept. 18, OTN software downloads are currently unavailable. We apologize for any inconvenience and are working to restore them as quickly as we can.

  • WRT54GL Need the TFTP EXE link or file please, FTP link doesn't work 550 error.

    Bricked the router, bad flash. Power LED is flashing.
    Need the TFTP excutable please, FTP link doesn't work. 
    Thanks.

    Try this link to unbrick the Linksys Router.Download 44.3 KB the TFTP utility.
    Message Edited by Wizzard on 10-07-2009 09:38 AM

  • Hi, everybody. After installing LION my D-Link doesn't work. So I don' t have Internet.

    Hi, everybody. After installing LION my D-Link doesn't work. So I don' t have Internet.

    Hi, everybody. After installing LION my D-Link doesn't work. So I don' t have Internet.

  • External links doesn´t works in mail

    Anybody knows why the external links done in flash doesn´t works in mail,when you receive a page sended from safari?

    Hi Void64,
    Thank you reporting this issue. Can you post a repro project to show it in detail? I cannot say more if there is no code sample. Use your OneDrive and share a link here. Thank you for understanding.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • URGENT ! Oracle application server document link doesn't  work...

    we can't download these document for 3 day.
    http://download-uk.oracle.com/docs/cd/B10468_04/docs.htm.
    Whole library can be dowloaded as zip file but zip file curropted and doesn't work.
    we are at migration stage of application server and we need these documents upgently.
    (we are from turkey)
    Thanks...

    Hi Ali,
    Our Apologies, the file was indeed corrupt.
    However, the developers spotted the issue and new files are currently being externalized for this Documentation Library. They should be live by 17:00 GMT at the same link on OTN.
    Regards,
    Les

  • Command Link doesn't work - may be a bug

    Hi all,
    I'm using JDev 11g. I added two pages to the adfc-config.xml file and a controlFlowCase from one to another. Page1--> Page2 The action name is "aaa".
    And then i added a command link to the Page1 and selected the action name "aaa". Now i'm click the command link, but it doesn't work. I'm shocked. What is the problem? It's so basic thing.
    Erdo

    I'm running just like you said. Here is the error log :
    oracle.jbo.JboException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-29000. Error message parameters are {0=java.lang.NullPointerException, 1=null}
         at oracle.adf.model.binding.DCIteratorBinding.reportException(DCIteratorBinding.java:376)
         at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1693)
         at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1645)
         at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4395)
         at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:341)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1647)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1754)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isUpdateable(JUCtrlValueBinding.java:2610)
         at oracle.adfinternal.view.faces.model.AdfELResolver._isReadOnly(AdfELResolver.java:96)
         at oracle.adfinternal.view.faces.model.AdfELResolver.isReadOnly(AdfELResolver.java:112)
         at javax.el.CompositeELResolver.isReadOnly(CompositeELResolver.java:353)
         at com.sun.faces.el.DemuxCompositeELResolver._isReadOnly(DemuxCompositeELResolver.java:290)
         at com.sun.faces.el.DemuxCompositeELResolver.isReadOnly(DemuxCompositeELResolver.java:319)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:128)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:340)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1015)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:46)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1491)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1410)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:352)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:187)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    ...

  • Sub-report link doesn't work at run-time

    We have a main report and a sub-report linked to main-report. On clicking the sub-report link in the CR 2008 designer, sub-report page with data is rendered properly. Same doesn't work programmatically at run-time using Java SDK library (JRC). Any thoughts/suggestions?

    Hi,
    I am facing same problem. Please help.
    Thanks,
    Chanchal

  • Shared iCloud photostream link doesn't work

    Dear friends
    Could you please help me. I'm trying to share my photo in iPhoto using icloud photo stream. After I upload all photos I click on a link "Visit Site" and get an error "icloud can`t find this page"
    What`s the issue?
    Thank you

    Spoke to an Applecare rep but he explained it's too new for them to know what's going on.
    While on the phone tried sharing older images, newer images, smaller images and got it to work off and on. Tried creating an album from iPhone that did not work either, the link was a dud.
    There's really no rhime or reason to when it works, for the most part it doesn't work.
    It appears that you can add to an existing album without any problem so if you were lucky enough to be able to create a few you can manipulate these.
    Also would be curious to know if you can set the main thumbnail image, and manipulate the order of the photos?
    I'm really missing the MobileMe Galleries, those were a wonderful way of sharing photos and videos!

  • Links doesn't work

    Hi,
    I finshed my form and noticed that links in the form doesn't work. I tested in both reader and acrobat.
    Does anybody know what is going on?
    Thanks

    Hi,
    You need to set the Target version to v9 or higher:
    Here is the form back to you. https://acrobat.com/#d=CxEG4jtBhZPsFksnMg*etg
    If you need the form target to be v8 then you could use a regular button with no border or fill and the font set to underline.
    Good luck,
    Niall

  • Mailto: Link doesn't work in Safari

    In my project, we have a link to open a outlook mail. when i open the link in IE/Chrome/Firefox browser, it opens the outlook with the given mail id. But, same link was not working properly in safari browser.
    I am using safari version 5.1.7(7534.57.2). When i click the link, it opens the outlook mail, but my current(Parent) window gets crashed.
    Below is the sample code i used.
    mc.addEventListener(MouseEvent.CLICK, sendEmail);
    function sendEmail(e:MouseEvent):void{
         navigateToURL(new URLRequest("mailto:[email protected]"));
    Thank in advance

    Thanks for your reply..
    We already tried that too. But doesn't work.
    My problem is after clicking the link, my current window became black screen and it opens the outlook with the given mail id
    we are not sure, whether the issue is related to flash player or safari browser.
    Any idea?

  • Mailto link doesn't work

    I had gmail set as my default email client for Firefox. It was working fine for a long time, but then, all of sudden it stopped working. Now when I click on email links, new email window opens, but for some reason it cannot fully load, it just gets stuck.
    Sometimes when I clear cookies, it will work once, but then stops working again.
    I have tried restarting Firefox without addons, but then email links don't work at all.
    Also, I tried switching my default email program in Firefox and Control Panel to Outlook, but it doesn't do anything; when I click on email links, it tries to open email window.

    Hi fedgosh,
    I'd try starting Firefox in [[Safe Mode]] and setting gmail as the default again. If you don't have the issue while all of your add-ons, extensions, and themes are disabled, you can try adding them back in one by one until you find the culprit. You should look at the [https://support.mozilla.org/en-US/kb/Troubleshooting-extensions-themes Extensions and Themes troubleshooting guide ] and the [[Troubleshooting plugins]] article as well.
    You could also try [https://support.mozilla.org/en-US/kb/Managing-profiles?s=create+a+new+profile&r=2&e=es&as=s#w_creating-a-profile creating a new profile].
    Hopefully this helps!

Maybe you are looking for

  • XMLP in 11i - same data def, 1 to PDF and 1 template to eText

    Must be missing something but it seems I am unable to have 2 templates un XML Admin point to the same Oracle executable (in my case the code is OEXOEACK. What is a good way around this?

  • Should I avoid used iBook G3's?

    I can get a pretty good deal on a used (most recent version) iBook G3 (12.1", 900 MHz G3, 640 MB RAM, 40 GB HD, AP etc.). I'm all set to get it as the price is great, but I'm kind of worried about the whole logic board thing? It's obviously way out o

  • Encore CS4 Won't Start

    Hi, I'm not too handy with computers, honestly.  I have used CS4 for a couple years now.  I made my last DVD 6 months ago with it, running Vista.  But now when I go to open Encore, it starts to open, you can see the assets panel, and then it all just

  • Can't open iunes!

    Windows said :"Tunes has encountered a problem and needs to close. We are sorry for the inconvenience." I have tried to uninstall , reinstall, use msconfig... for times but it still doesn't work. Help me please!

  • Forward Delete Key in Mail

    Where does a message go in Mail when one presses the forward delete key? I thought I was pressing "page down," and pressed forward delete by mistake. I thought the message would go to the Trash folder, but apparently not.