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

  • Home
  • SEARCH
  • 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 1082805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:21:06+00:00 2026-05-16T22:21:06+00:00

Suppose all that happens initially in a client swf is a user clicks a

  • 0

Suppose all that happens initially in a client swf is a user clicks a hyperlink in a text object of the swf, so this requests a “page” from the server. In response the server just modifies that existing swf in the client browser, by for example (?) invoking public functions of it, and possibly passing in as parameters the name of image or data files which were also downloaded in response to the URL request. The crucial part is that all that can happen initially in the SWF is a URL “page” request. Is this commonly done and if so, how.

  • 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-05-16T22:21:07+00:00Added an answer on May 16, 2026 at 10:21 pm

    Clicking on an hyperlink in AS3 will trigger a TextEvent.LINK event, you can then listen to this event and in your function proceed to call the relevant service which in turn will send you a response which you can use to update your swf data.

    Check the docs here for the TextEvent class
    http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/

    Now, it all depends on what your link is, if it loads an XML ,then you can use the URLLoader class to load the XML data

     private function init():void
     {
         var tf:TextField = new TextField();
         tf.htmlText = "<a href='http://example.com/data.xml'>Update Data</a>";
         tf.addEventListener(TextEvent.LINK, clickHandler);
         addChild(tf);
     }
    
     private function clickHandler(e:TextEvent):void 
     {
        trace(e.type); // link
        trace(e.text); // http://example.com/data.xml
    
        var loader:URLLoader = new URLLoader();
        loader.addEventListener( Event.COMPLETE , dataLoaded );
        loader.load( new URLRequest( e.text ) );
     }
    
     private function dataLoaded(event:Event):void
     {
        trace( event.target.data );// xml content
        //from here you can then parse the XML & update your swf
     }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suppose I have a customer object that has all of the standard customer properties
Suppose I have a datetime column in MySQL. How do I select all that
Suppose you take the strings 'a' and 'z' and list all the strings that
Suppose I have a string that contains Ü. How would I find all those
Problem: When I use an auto-incrementing primary key in my database, this happens all
Lets suppose I have an .NET client application that connects to a WCF service,
I have a simple gridview ItemTemplate that looks like this: <asp:TemplateField HeaderText=User> <ItemTemplate> <a
Suppose I have three tables: user , group and xref , a table that
I have the following XAML, that does all that it is supposed to, except
I have a number of thumbnails on my website, that are supposed to all

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.