Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7920819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:21:25+00:00 2026-06-03T16:21:25+00:00

I have a quite long classic text in a dynamic text field, with an

  • 0

I have a quite long classic text in a dynamic text field, with an UIScrollBar to scroll it. It has many references inside, part to sites in the web, part to other texts that I distributed in different frames of a movieclip with the text field inside. I have no problem linking to external websites from inside the text using the link and target fields in the properties panel. I have no problem using buttons to link to specific frames using functions with the gotoAndStop method. But I can’t navigate to specific frames from selected words inside the text. Actually, I can’t even navigate to files inside my computer using the link and target fields in the properties panel. Html tags are not being rendered, even with the “Render text as html” button clicked. I can’t change the text to static because of the scroll bar. I can’t also use invisible buttons behind the words because the scrolling would make them out of place. I don’t see how a var could help me, cause it makes the text field show only the selected words. Anchors seem not to help also, since I can’t target a file, but only http. Any ideas will be very welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:21:29+00:00Added an answer on June 3, 2026 at 4:21 pm

    What you want is possible. But it comes with a little drawback thanks to a flash textfield bug. First your textfield text needs to be html text and also selectable. Then look here:
    Textfield link event

        public function TextField_event_link() {
            myMP3 = new Sound();
            var text:TextField = new TextField();
            text.autoSize = TextFieldAutoSize.LEFT;
            text.multiline = true;
            text.htmlText = "Hello this is my little site. Click <a href=\"event:imprint\">here</a>for the imprint. And <a href=\"event:imprint\">here</a> for the about page. And if you're coming so far, also <a href=\"event:imprint\">here</a> for the exit";
    
            list.addEventListener(TextEvent.LINK, linkHandler);
            addChild(list);
        }
    
        private function linkHandler(linkEvent:TextEvent):void {
            switch(linkEvent.text)
            {
                 case "imprint":
                     //display imprint
                     break;
                 case "about":
                     //display about
                     break;
                 case "exit":
                     //exit
                     break;
            }
        }
    

    You can compare the event name in the handler and do your magic. If your text is not selectable this will not work. Dono if Adobe has fixed that issue with the latest player but this bugged me for years!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have quite a long script which involves chopping lots of large text files
I have a dropdown list of peoples names that is quite long. As many
I have a string that is quite long and complicated, with special characters inside.
I have a TextField() with a quite long text , sometimes last lines are
I have been using Visual Studio 2008 quite long but lately I am getting
I have a JavaScript function which is quite long and performs a number of
I have a radio button list and some of the labels are quite long
I have the following code (Yes I know it's quite long winded, but I
I have settings page in my wp7 application. I loads for quite long time
I have a backroundrb scheduled task that takes quite a long time to run.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.