How can I catch a TextEvent.LINK in the new TLF?...

... or what should I use insetd of?

I found the solution...
I have to add an CLICK event listener... and than change that to a textEvent.LINK
public function set htmlText(htmlText:String):void
//... code
    textFlow = TextFilter.importToFlow(htmlText, TextFilter.TEXT_LAYOUT_FORMAT);
//... code
    textFlow.addEventListener(MouseEvent.CLICK, handleLinkClick, false,0,true);
//... code
private function handleLinkClick(event:FlowElementMouseEvent):void
    if (textFlow.interactionManager == null && event.flowElement is LinkElement)
        event.preventDefault();
        dispatchEvent(new TextEvent(TextEvent.LINK,
                              LinkElement(event.flowElement).href));

Similar Messages

  • How can I disable a hover link in the phone view size?

    Hola
    How can I disable a hover link in the phone view size?
    I got this site where I got a gallery page,
    the pics have a hover/link state (?) where as you click in them
    they will open a bigger pic. (Prettyphoto)
    Thanks good.
    What I want to do, is that the hover state (?)
    won't show in the phone size.
    I know that I will need a media queries, but I'm not sure
    where or how to tackle this problem.
    This is the code where I have the pics
    <div class="grid_3 project-item bar">
                                             <figure class="project-img">
                                                 <img src="../images/gallery_pics/memos_bar_s5.jpg" alt="Memo's Cocina & Tequila Bar" />
                                                    <div class="overlay"></div>
                                                    <div class="mask">
                                                       <a class="icon-image"
                                                            href="../images/gallery_pics/memos_bar_b5.jpg"
                                                            rel="prettyphoto[gallery]"
                                                            title="The Bar">
                                                            <i class="icon-search"></i>
                                                     </a></div>
                                           </figure>
                                          </div>
    Thanks for your help

    If you don't want a :hover state to show in the phone css of a fluid grid layout, you would remove it from the global settings and only include it in the tablet and desktop media queries.
    Or are you trying to do something else?

  • How can I put a music link in the page like this?

    How can I put a music link in the page like this?
    http://members.aol.com/trumanj/midi/tjsragtime.htm
    Thanks

    Hola JB
    No, I haven't...I'm trying to learn flash and it's been keeping me very busy...maybe it's the age..
    Len, I been trying to do it that way, but, as I just mention, Flash don't like me :)
    Thanks, I will do that for sure.
    Daniel Ulysses

  • I had my Itunes account disabled due to fraud, if i create a new itunes account how can i switch purchases and apps to the new ID?

    i had my Itunes account disabled due to fraud, if i create a new itunes account how can i switch purchases and apps to the new ID?

    Hi ...
    Just be cause the account was disabled (Apple ID) doesn't mean you can't reset the password and have access to your iTunes purchases.
    Use the iforgot link to reset your password > Apple ID: "This Apple ID has been disabled for security reasons" alert appears
    If you have problems resetting, use the email form here >   Apple - Support - iTunes Store - Contact Us
    edited by:  cs

  • I had my ipod synced to an old computer that I no longer have how can i get all my stuff on the new itunes without erasing it

    I had my ipod synced to an old computer that I no longer have how can i get all my stuff on the new itunes without erasing it

    Most Windows users don't.
    Purchase an external hard drive and use the backup software that comes with it to backup files from your computer.
    Buy TouchCopy and install it on your new computer, connect your old iPod and transfer your songs to your computer.

  • My Firefox is not working. (All I get is a blank white screen with the Fireox logo). If I have to reinstall firefox 3.66, how can I transfer my old profile to the new installation?

    My Firefox is not working (All I get is a blank white screen with the firefox logo. If I have to reinstall Firefox 3.66, how can I transfer my old profile to the new installation?
    == This happened ==
    Every time Firefox opened

    David.  Thank you very much.   The problem was not with the canvas but rather the Viewer.  But the solution was the same.  Somehow, the Viewer window was re-set to Alpha.  I changed it back to RGB.... and the picture is back.   These issues are often very simple.... but they can drive you bats if you don't know the answer.   Very grateful.  Tim

  • I re-installed XP and kept the old program files on another drive, how can I transfer my bookmarks list to the new Firefox ?

    I re-installed XP and kept the old program files on another drive, how can I transfer my bookmarks list to the new Firefox ?
    I tried shifting the Profile folder contents from the old to the new, that seemed to work but I kept getting a message that my security was affected and that the problem could be in that folder so I shifted it back.

    Hello Kencrews,
    When you connect the iPod to the computer and iTunes is authorized for your Apple ID, then you will get a prompt to transfer the purchases from the device to the computer. Keep in mind this will only transfer purchased items from the iTunes Store.
    Here is a helpful article to assist getting that done.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/ht1848
    Regards,
    Sterling

  • I have  anew computer and my ipod was attached to the old one, how can i have my music download to the new computer and sincronize it.

    I have  anew computer and my ipod was attached to the old one, how can i have my music download to the new computer and sincronize it.

    If you no longer have the old computer this will be very helpful and If you have other content - apps, books, movies, that you want to transfer to the iTunes library - you need to transfer your purchases from the iPod to the computer as well.
    Take a look.
    https://discussions.apple.com/message/16153193#16153193
    This works the same way whether you have a Mac or a PC.

  • How can I update my ipad 2 to the new OS system when I can't find the software

    how can I update my ipad 2 with the new operating system?  I am in 4.3.5 version

    iOS- How to update your iPhone, iPad, or iPod touch

  • I have recently purchased a hybred 750GbHDD as an upgrade for my MAC Book Pro (Intell Version) I have a boot camp partition to the original 500GB HDD. How can I expand both partitions to fit the new drive?

    I have recently purchased a hybred 750GbHDD as an upgrade for my MAC Book Pro (Intell Version) I have a boot camp partition to the original 500GB HDD. How can I expand both partitions to fit the new drive?
    I have tried bootcamp and have had no luck due to the fact that boot camp doesn't see the additional HDD space of 250Gb. What am I not doing?

    Ouch, well there is a problem.
    This is the stack of partitions on your old drive
    EFI (hidden)
    Lion (50GB say)
    Bootcamp (50GB say)
    Lion Recovery Partiton (hidden)
    This is the same stack on your new drive imaged from the old one.
    EFI (hidden)
    Lion (50GB say)
    Bootcamp (50GB say)
    Lion Recovery Partiton (hidden)
    Emtpy Space (100GB say)
    This is what you want
    EFI (hidden)
    Lion (100GB say)
    Bootcamp (100GB say)
    Lion Recovery Partiton (hidden)
    EFI has to be at the top of the drive and Lion Recovery has to be at the bottom of the drive.
    And you only have four partitions.
    You can't move the Lion Recovery Partition or Bootcamp partiton, however you can expand the Lion Partition into empty space below it. (but can't delete or move the Lion Recovery partition)
    Your Duplicator duplicated perfectly, too perfectly Likely would work with same sized drives/partitions.
    This is what your going to need to do.
    You need to move the Bootcamp partition to a blank external drive using WinClone and disconnect. This is so you have two backups of it. (one on your old 500GB drive)
    You will need a drive enclousre or IDE/SATA to USB adapter cable for the older 500GB drive and option key boot from it. (some enclosures can't be booted from so check first Other World Computing is good place to ask)
    Download the free Carbon Copy Cloner, grab any new files off the new 750GB internal drive to the old 500GB your booted from.
    Open Apple's Disk Utility and Erase with Zero option the entire internal 750GB drive and let it rip, this will map off as many bad sectors and improve reliability.
    Now use Carbon Copy Cloner to clone the 500GB Lion + Lion Recovery Partitions to the internal 750GB, it will "fix" things and place Lion Recovery at the bottom of the drive where it belongs, give all the extra space to OS X Lion.
    Next your going to have to follow WinClones instructions to restore your Bootcamp, likely you will have to recreate the Bootcamp partition first (in Bootcamp) to the size you want and then clone. Likely Winclone may "fix" Windows to recognize it's in a new larger partition now. I don't know you'll have to check as I haven't used it.
    When Bootcamp creates the partition it will place it near the bottom next to the Lion Recovery Partition.
    As you know you will have to re-validate Windows with Lord Redmond or it expires as you changed the hardware.

  • How can I convert text to PDF in the new "Pages" without losing info.

    How can I convert text to PDF in the new "Pages" without losing a lot if information?

    Select Export To from Pages' File menu, then select PDF from the sub-menu.

  • My friend has an iPhone but doesn't use iMessage. How can I send her regular texts with the new iOS 7 update?

    My friend has an iPhone but doesn't use iMessage. How can I send her regular texts with the new iOS 7 update?

    That's because her phone is recognized in the Apple database as an iPhone.  It should eventually convert to SMS but that's above my level of expertise here so hopefully someone else can come along and help you further.  She could just turn on iMessage and solve the problem. Ha!
    Good luck!

  • My ipad is syncing notes to an old phone with a different apple id how can I change it to sync to the new iphone icloud is off and so is home sharing

    my ipad is syncing notes to an old phone with a different apple id how can I change it to sync to the new iphone icloud is off and so is home sharing

    Apps and Music are not from iCloud. Are from iTunes and App Store.
    You can change this from: Settings>iTunes and App Stores>Sign out and sign in with new ID, but you will have to pay again to download apps that you already have in your old account. Or leave it as it is to share purchases with your son.

  • How can I create a working link from the home page to other pages?

    Using iWeb, I created links on the Home page directed to other pages within my web site. The links are located in the main body of the Home page (on the right side) and are not included in the Navigation Menu. The links function correctly when I test them in iWeb, however, the links do not function at all after publishing to the internet.
    Within the inspector, I have chosen, Link To: "One of my pages" and the appropriate page is selected.
    The links within the gray rectangles do not function. The same links below the gray rectangle links go to a "Page Not Found" page.
    See the home page at http://www.daleenstrom.com
    How can I make these links function correctly?

    Welcome to the Apple Discussions. I've found that using the "One of my pages" often doesn't work. Since you've published the site go to each page, copy its URL and use it for the hyperlink. I've found that to me more reliable.
    Are those two links inside the shapes or just on top? Both of those items are one large image file. If you inserted the link in the shape be sure you've selected the text (might take a few clicks to get inside and select it) to use for the hyperlink. Also make sure there are no other objects overlapping each of the shaped with the hyperlinked text.
    Also it appears that the entire text box is an image. Turn on iWeb's preferences to display the text image indicator:
    Click to view full size
    and then you'll see the following on any object that will be converted to text once published:
    Click to view full size
    The two links below work for me. Be sure to clear your browsers cache (CommandOptionE for Safari) and reload the page.
    OT

  • How can I get a selected link when the bookmark tab is on the side to stay bright blue or some other color

    I want the faded gray color to change to blue or another color after I click a link.

    The sidebar is no longer selected after you click a link in the sidebar, so the blue color is change to a gray color to indicate that the sidebar doesn't have focus..

Maybe you are looking for

  • Facebook integrated with 5.1 : how to use it?

    Hello guys, I saw that I can enter my Facebook username in my own contact page. I have two problem here : 1) I don't have a username per se, I use my e-mail adresse. In the blank space, do I put my e-mail adresse? or I need to create a costum usernam

  • Conditions not  appearing  in  condition table in PO.

    Dear experts PO  was created, later  edited  and  in  conditions  custom clearing  charges were selected  from  possible  entries and entered. Another PO  was created and  saved  but  later edited and  in conditions custom clearing charges were to be

  • Group condition - consequence

    What are the consequences of setting a conditon type to group condition? We are not using "RoundDiffComp" or "GrpCond.Routine" for the specific conditon type. Kind regards

  • How do I get mutiple banks of midi channe

    Is it possible to get 2 x sets of Midi channels i.e.total of 32 midi channels-tracks (with each track supporting its own dedicated patch i.e. MIDI CHANNEL =Guitar MIDI CHANNEL b =organ and so on... what I would like is 32 seperate channels with 32 di

  • Forecast values in Demand Planning

    Is there a way to obtain forecast values right to the way they are splitted and alloted to Customer groups/markets etc when the user enters values to Saleable CDP line or a certain keyfigure line/row in any view of the planning book. Calculations are