HTML 5 in as3

I started a project using html 5, but I want to convert it to AS3, how I do this? I know as3.0 html is in order, but the other way around is the trickiest part I find.

create a new as3 fla and copy your assets to your fla html5 in your as3 fla.

Tags: Adobe Animate

Similar Questions

  • How can I make my video multi choice in HTML work? AS3

    Hi guys,.

    I have a big question,

    I was made a multi choice of video in flash AS3 for a few weeks now, the customer already approved everything, so I put the video as a projector (.exe) so he can play in any computer.

    The problem came when inside the company, they have started to test the video, they use Windows and antivirus do not let them open the projector. They have offices throughout the country and cannot change the security settings in all offices, so they can see this video.

    SWF isn't an option either, because they need flash player in all computers to open it. So I thought maybe publish the project as HTML, would work, or open the SWF file in a browser. But when I try this option, the video starts well, but the buttons do not work, I can press them but they don't take me anywhere, I try the SWF in the office and works very well.

    How the project works is like this:

    -J' opened the project and a video begins to play, when the video is finished, the voice-over informs the user to select one of the two choices leading to another video according to the choice of the user. The interaction is done with two buttons.

    -Once more the video starts to play depending on the choice of the user, and when the video is on the user is invited again to choose one of two options.

    -C' is the last video and ends with the company logo.

    -There are 7 videos, you can see it this way, but the user must choose a path.

    Something like that.

    1

    2          3

    4 5 6 7

    And the structure of the flash, is divided by that of the scenes for each video. The last thing I tried was a video of each image, but does not work either. I use FLV Playback and call each video by code, but they are in the library in the flash project.

    Here is the code:

    Stop();

    tienda_btn.addEventListener (MouseEvent.CLICK, parte_tienda);

    function parte_tienda(event: MouseEvent): void {}

    SoundMixer.stopAll ();

    Stop (2, "INTRO");

    }

    autoservicios_btn.addEventListener (MouseEvent.CLICK, parte_autoservicios);

    function parte_autoservicios(event: MouseEvent): void {}

    SoundMixer.stopAll ();

    Stop (5, "INTRO")

    }

    tienda_final_btn.addEventListener (MouseEvent.CLICK, tienda_final_in);

    function tienda_final_in(event: MouseEvent): void {}

    SoundMixer.stopAll ();

    Stop (2, "INTRO")

    }

    tienda_positivo_btn.addEventListener (MouseEvent.CLICK, tienda_positivo_in);

    function tienda_positivo_in(event: MouseEvent): void {}

    SoundMixer.stopAll ();

    Stop (3, "INTRO")

    }

    tienda_negativo_btn.addEventListener (MouseEvent.CLICK, tienda_negativo_in);

    function tienda_negativo_in(event: MouseEvent): void {}

    SoundMixer.stopAll ();

    Stop (4, "INTRO")

    }

    autoservicios_final_btn.addEventListener (MouseEvent.CLICK, autoservicios_final_in);

    function autoservicios_final_in(event: MouseEvent): void {}

    SoundMixer.stopAll ();

    Stop (5, "INTRO")

    }

    autoservicio_positivo_btn.addEventListener (MouseEvent.CLICK, autoservicios_positivo_in);

    function autoservicios_positivo_in(event: MouseEvent): void {}

    SoundMixer.stopAll ();

    Stop "INTRO" (6)

    }

    autoservicio_negativo_btn.addEventListener (MouseEvent.CLICK, autoservicios_negativo_in);

    function autoservicios_negativo_in(event: MouseEvent): void {}

    SoundMixer.stopAll ();

    Stop (7, "INTRO")

    }

    import flash.events.MouseEvent;

    salir_btn.addEventListener (MouseEvent.CLICK, salir_btn_in);

    function salir_btn_in(event: MouseEvent) {}

    fscommand ("QUIT");

    }

    And it is a screenshot of the video, the upper right corner is where the buttons are located, so that the user can jump between videos. The big buttons in the middle of the screen are those mentioned above, representing the multi choice.

    Screen Shot 2015-10-08 at 4.59.01 PM.png

    My last question, after explaining what I've done to my knowledge is so, how can I play this video in an HTML tag, or is there a better way to carry out this project to the customer.

    PD: Sorry if I myself not clear, if you do not understand something ask me, so I can provide more information on the subject.

    And thanks in advance.

    the first problem I see is that you do not have to explicitly reference the timeline in your code.  That is to say

    in as3, the following works, but will fail in html5:

    gotoAndStop (1);

    in html5, you use:

    this.gotoAndStop (1);

    In addition, if you intend to direct the current timeline to its first image, you must use:

    this.gotoAndStop (0);  IE, a calendar use the enumeration based on 0 of their executives.

  • Integrate Flash into HTML [moved from AS3 forum]

    Hi all

    Thanks for watching. I have a WP site, and they decided to remove the ability to use Flash files. Indicated for security reasons? So I say to myself that I could park just a folder on my server, with the SWF file and the files tha SWZ Flash Pro generates when posting to this folder on my server.

    My question is the code into the HTML page loading the browser to get a Flash Player or open the flash drive so that the embeded in my HTML page flash file will be previewed to the user. Should what code I use? I found some stuff on the net since 2008. If someone would paste code here that I could copy and paste, and pass on the specific path in the SWZ and SWF file, it would be appreciated.

    Another thing, I undertsand it's the browser that has a Flash Player in it don't? Is this correct?

    Or I have to load a Flash Player in this folder I download with the SWF and the Flash Pro SWZ file generates?

    I don't know whether a question of Dreamweaver, as she vacillates between Flash and HTML code... In addition, I use a WP site for this one.

    Thank you for the code.

    Best,

    NORTH CAROLINA

    In addition to checking the box - you need to select/highlight the "html wrapper" to see its output locations, you have "flash (swf)" highlighted in the image.

  • Internal dynamic text formatting using HTML tags in As3... Help!

    I'm for a solution of navigation for about 2 hours, but I can't find anything that could help. I have a dynamic text field, and I want to format it, (to highlight the first 2 words in red and the rest in italics). Usually, I load external .txt files and I use HTML tags to format the text inside. But this time I have to do internally.

    Is it possible to do?

    Kind regards!

    You mean you want to format your text in the textfield with html like tags for example this one?

    yourtextfield. htmlText = "Hello it!"

    This underlines the 'Hello' and bolden ' here! You can add the css inline style too to add the colors of the background also.

  • Adding line breaks in AS3

    I'm trying to add line breaks after the code that I've included below. I know that I need to add a '\n' after the line of text, but I did have a success.


    textField.appendText ("" + bldg.) S11 [i]. Title.Text ())
    textField.appendText ("Square Footage:" + bldg.) S11 [i]. SF.text ())
    textField.appendText ("tenant:" + bldg.) S11 [i]. Tenant.Text ())
    textField.appendText ("Status:" + bldg.) S11 [i]. Status.Text ())

    Thank you.

    You must have a TextField called 'textField' and he needs to "wordWrap" and "multiline" property set to true (as in kglad post - but there is no "html" for the AS3 TextField class property).

    Then you can either use the html text or normal text:

               // html text
                var myText:String = new String();
    
                for(var i:uint = 0; i < bldg.S11.length(); i++){
                    myText += bldg.S11[i].Title + "
    "; myText += "Square Footage: " + bldg.S11[i].SF + "
    "; myText += "Tenant: " + bldg.S11[i].Tenant + "
    "; myText += "Status: " + bldg.S11[i].Status + "
    "; } textField.htmlText = myText;
               // normal text
               var myText:String = new String();
    
               for(var i:uint = 0; i < bldg.S11.length(); i++){
                    myText += bldg.S11[i].Title + "\n";
                    myText += "Square Footage: " + bldg.S11[i].SF + "\n";
                    myText += "Tenant: " + bldg.S11[i].Tenant + "\n";
                    myText += "Status: " + bldg.S11[i].Status + "\n";
                }
    
                textField.text = myText;
    
  • StageWebView viewport y offset

    I'm relatively new to creating applications with FlashBuilder.

    I am loading a simple HTML page in StageWebView.   I compile for the simulator of the Air and the device (iPhone 4 in this case). The results show the window with an offset y to 187 pixels.

    Windows 7

    Flash Builder 4.7 beta

    I have not had this problem with the same code in FlashBuilder 4.5 using 4.6SDK and Air3.4.

    My HTML code:

    <! DOCTYPE HTML >

    < html >

    < head >

    < meta charset = "utf-8" >

    < title > Test < /title >

    < style type = "text/css" media = "screen" >

    HTML, body {height: 100%; width: 100%; background-color: #FF0000 ;}}

    Body {margin: 0; padding: 0; overflow: hidden ;}}

    < / style >

    < / head >

    < body >

    Test

    < / body >

    < / html >

    My AS3:

    public void Test()

    {

    Super();

    testLoading();

    }

    private function testLoading (): void {}

    webView = new StageWebView();

    webView.stage = stage;

    webView.viewPort = new Rectangle (0, 0, stage.stageWidth, stage.stageHeight);

    var fileName:String = new queue (new File("app:/videos/video.html").nativePath) .url;

    webView.loadURL (fileName);

    }

    In my xml application:

    < autoOrients > false < / autoOrients >

    true < fullscreen > < / full screen >

    < visible > true < / visible >

    Any suggestions?  Thank you.

    Can't believe that I did not notice the difference, that we had in the constructor.

    I needed to include:

    internship. Align = StageAlign.TOP_LEFT;

    stage.scaleMode = StageScaleMode.NO_SCALE;

    This problem had nothing to do with the StageWebView. (Not sure if we can rename this thread or delete).

  • Use the banner html in as3 AIR

    I am wanting to use a HTML banner in my AS3 Air for Android project, here is the html code:

    " < a href =" http://Tracking.raftika.com/aff_c?offer_id=1106 & aff_id = 1708 & file_id = 12132 & file_id = 12166 "target ="_blank"" > < img src = " " https://media.go2speed.org/brand/files/raftika/1106/320x50_150k_ArchersVsCerberus_GEN_EN.g if "width ="320"height ="50"border = '0'" / > < / a > < img src = " " http://Tracking.raftika.com/aff_i?offer_id=1106 & file_id = 12166 & aff_id = 1708 & file_id = 12132 "width ="1"height ="1"/ > "

    I would need to have a certain height and width on my App thank you, any help is appreciated.

    You can load an html page in an air application, using the HTMLLoader class.

  • How to add a html page or page Web Flash SWF in as3?

    Hi all

    How to add a html page or page Web Flash SWF in as3?

    Thank you

    Omar

    to a swf on the web, use navigateToURL.  for a mobile swf file, use the htmlloader or stagewebview class.

  • AS3 game high score to HTML input field

    Hi guys

    This problem is troubling me and my friends we cannot work on how to implement this.

    I have a game that records your highest score on the spot. What we need to do is to take this high score of the flash file and place it in an html input box (which is separate frm the flash file, but on the same web page).

    Please take a look at the code below and let me know the best way to achieve this. Is this possible?

    Here's the AS3:

    Following the code brings in the life of the object. All the physics engine has been written here.

    Define all variables

    var gravity: number;

    var airFriction:Number;

    var floorFriction:Number;

    var xVelocity:Number = 0;

    var yVelocity:Number = 0;

    var bgSrc:String;

    var objSrc:String;

    var musicSrc:String;

    var scoreTint:uint;

    var kineticEnergyLoss:Number;

    var xKineticEnergyLoss:Number;

    var bDifference:Number;

    var tDifference:Number;

    var lDifference:Number;

    var rDifference:Number;

    var xDifference:Number;

    var yDifference:Number;

    var objectHeight:Number;

    var objectWidth:Number;

    var score: Number = 0;

    var bestScore:Number = 0;

    var rotationVelocity:Number;

    var lWall:Number;

    var rWall:Number;

    var tWall:Number;

    var bWall:Number;

    var bestScoreSO:SharedObject = SharedObject.getLocal ("bestScore");

    define() {} function

    set the object width and height according to dynamic image used as object

    objectHeight = object.height;

    objectWidth = 1object. Width;

    Define walls according to the dimensions of the stage

    lWall = objectWidth/2;

    rWall = stage.stageWidth - objectWidth/2;

    If (tWall == 0) tWall = undefined;

    of another tWall = - objectWidth/2;

    bWall = stage.stageHeight - objectHeight/2;

    Restore the previous best score

    If (bestScoreSO.data.bestScore! = undefined)

    bestScore = bestScoreSO.data.bestScore;

    else bestScore = 0;

    }

    Vertical movement of the body OR the action of gravity on the body

    function applyGravity(object:MovieClip) {}

    Check whether the floor is closer than the current of the object speed and fix

    If (-yVelocity > bDifference) {}

    Object.y = bWall;

    If the object hit the ground its inverse has become speed

    yVelocity * = - 1;

    reduce the part of speed when it hits the ground

    If (yVelocity > kineticEnergyLoss) yVelocity = kineticEnergyLoss;

    else {}

    yVelocity = 0;

    }

    Determine the partition

    If (score! = 0) {}

    If (score > bestScore) {}

    bestScore = result;

    saveBestScore();

    }

    score = 0;

    scoreDisplay.gotoAndPlay (2);

    musicCheckBox.MoveIn ();

    }

    }

    check if the wall top is closer than the current of the object speed and fix

    If (yVelocity > tDifference) {}

    Object.y = tWall;

    yVelocity * = - 1;

    If (yVelocity > kineticEnergyLoss) yVelocity += kineticEnergyLoss;

    }

    move the object with yVelocity and always decrease yVelocity because of gravitational acceleration

    Object.y = yVelocity;

    yVelocity = gravity;

    }

    Movement of the body along the horizontal axis

    function applyHorizontalMotion(object:MovieClip) {}

    Check if the right wall is closer than the current of the object speed and fix

    If (-xVelocity > rDifference) {}

    Object.x = rWall;

    xVelocity * = - 1;

    rotationVelocity * = - 1;

    If (xVelocity > xKineticEnergyLoss) xVelocity = xKineticEnergyLoss;

    else xVelocity = 0;

    }

    Check if the left wall is closer than the current of the object speed and fix

    If (xVelocity > lDifference) {}

    Object.x = lWall;

    xVelocity * = - 1;

    rotationVelocity * = - 1;

    If (-xVelocity > xKineticEnergyLoss) xVelocity += xKineticEnergyLoss;

    else xVelocity = 0;

    }

    move the object with xVelocity and slow down due to airFriction

    Object.x = xVelocity;

    If (yVelocity! = - 0.5) = xVelocity xVelocity * airFriction;

    else xVelocity xVelocity = * floorFriction;

    }

    Increase or decrease the rotation of the body according to mouseclick

    function applyRotation(object:MovieClip) {}

    If (! isNaN (rotationVelocity)) object.rotation += rotationVelocity;

    If (yVelocity! = - 0.5) rotationVelocity = rotationVelocity * airFriction;

    else rotationVelocity = rotationVelocity * floorFriction;

    }

    Distance of the object from walls

    function Walls(object:MovieClip) {}

    bDifference = bWall - object.y;

    tDifference = object.y - tWall;

    object.x = lDifference - lWall;

    rDifference = rWall - object.x.

    }

    Apply all of the properties of the object, including gravity, Rotation, Horizontal movement and the reaction force of the walls

    function applyPhysics(ev:Event) {}

    applyGravity (MovieClip (ev.target));

    applyHorizontalMotion (MovieClip (ev.target));

    applyRotation (MovieClip (ev.target));

    Walls (MovieClip (EV. Target));

    updateScore();

    }

    Current score update and the best music

    function updateScore() {}

    scoreDisplay.score.text = result;

    scoreDisplay.bestScore.text = "Score:"+ bestScore;»

    }

    Save the best score in the local memory via ShareObjects

    function saveBestScore() {}

    bestScoreSO.data.bestScore = bestScore;

    bestScoreSO.flush ();

    }

    Where the mouse was of controls, click on to the center of the object

    function checkClick(ev:Event) {}

    click of the mouse to the center of the object distance

    yDifference = (mouseY - object.y);

    If (yDifference < 20 & & yDifference > 0) yDifference += 40;

    If (yDifference >-20 & & yDifference < 0) yDifference-= 40;

    If (yDifference < 0) {}

    yDifference * = - 1;

    }

    the value of the speed of the object based on the distance between the mouseClick centre and object

    yVelocity = yDifference/4;

    xDifference = (object.x - mouseX);

    xVelocity = - xDifference/4;

    rotationVelocity = xDifference/4;

    Increase the score to each mouse click and away from the music box

    Note ++;

    scoreDisplay.gotoAndPlay (2);

    If (score == 1) musicCheckBox.MoveAway ();

    }

    You can use the class ExternalInterface to have a Flash file to communicate with the html page that embeds via javascript in the html page.  If you have no issue with it, a Google search using terms such as 'Tutorial AS3 ExternalInterface'-, it will produce useful results several.

  • How to read a local file using as3 in flash in HTML object? [urgent]

    My web site contains a flash object.

    I want to use as3 to read a local .txt file

    by getting the user to the file directory.

    I know that AIR can support this by smth like:

    File.desktopDirectory.resolvePath

    but when I open an AIR file for this, it seems

    the action can not be performed when I embed in html.

    And I tried to use the above function in a normal life

    Flash file in the script action.

    But it does not recognize the file. class...

    How can it be done?

    It's urgent, reli

    Help, please...

    Thank you!

    a web-based flash application cannot detect the users directories.  You can use the method to browse class' filereference to let the user to locate a file in a directory that the user wants.  Flash can then recover the file name and type.  but, as mentioned previously, flash cannot determine the file directory.

  • URL remote does not work from as3 html embed code

    Hello

    I'm working on a flash currency conversion application, for this purpose I go get the latest rates of exchange of yahoo,

    I am using flash cs5 and as3, I get the desired response from yahoo when I run the Flash cs5 flash file (ctrl + enter) and also after the publication (F12) by opening the html file just created by flash cs5.

    BUT

    When I move the html file and swf on a web server (WAMP in my case), the response of yahoo no longer works for me, I checked the two localhost and on the remote server.

    What can be the problem? It seems so strange to me...

    any quick and positive response in this regard will be highly appreciated.

    Kind regards
    Maani...

    It's THEIR crossdomain.xml (shown in my previous post) that is important. In other words, yahoo control it - not you.

  • Is there a way to make the as3 to run a &lt; A Href &gt; I have code html?

    I tried to figure this out for a while now. The billing company that I am obliged to pass by sucks and it's the only key codes they provide:

    " < a HREF =" http://www.lexiefyfe.com/ccbill9001/index.htm "> < img src ="ccbutton.jpg"> < / a > .

    I'm not not sure how to change the code, or if as3 can actually run it. Every time I try to change things all that I get url not found... I'm not sure on the img src = bit but Im asuming that is supposed to Im button to use? I want to make my own buttons in flash. I'm trying to pull up files to the same folder on the server that my flash files. Its establishment as a html site would be (not my fault). As always, no compensation or help is greatly appreciated.

    Thank you all

    Thomas

    If you create a dynamic textfield (named tf below) and that you assign this text (slightly modified with slashes) as its htmlText property, this link should work as long as the image is in the same directory that the file you are testing (save the file before testing)...

    tf.htmlText = "http://www.lexiefyfe.com/ccbill9001/index.htm\" >';

  • Communication of AS3 with HTML

    I have a small intro in Flash SWF, I prepared and handed over to a friend who is being implemented in my intro animation in a website in HTML...

    The problem is that once the SWF (intro) has done, there is a short interval (blank white page) before loading the real HTML site.

    Is there a way to get around this?  Do I need my side code (AS3) or is it a problem for my boyfriend HTML/javascript to understand... or both.  Any suggestions would be greatly appreciated.

    -Dean

    If you don't see anything cause your Flash file to wait awhile after, it's done before, then you should have your html/javascript buddy look first to see if it's just the html page needs a little time to load it is happy.

  • AS3 html using css rendering limits

    Hello.

    I imports a CSS stylesheet into Flash using AS3 and also an RSS parsing and I use CSS to format text filled from the nodes RSS channels. I need to bring all nodes in a rendered to HTML dynamic text field and wanted to incorporate a horizontal rule in the code.

    However it will not show. everything else works fine but the < hr / > tag seems not not fire.

    I tried to create a css for a horizontal rule stle and that put it as a span tag, but that no longer works.

    I'll post my CSS code first and then my AS3 code.

    All advice appreciated...

    CSS code

    p{
    font-family:Georgia, "Times New Roman", Times, serif;
    font-size:24px;
    font-weight:700;
    color:#035A91;
    
    }
    
    .myTextStyle1{
    font-family:Georgia, "Times New Roman", Times, serif;
    font-size:12px;
    color:#333333;
    
    }
    
    .myTextStyle2{
    color:#990000;
    font-weight:bold;
    
    }
    
    .myHr {
    border:none;
    width:80%;
    color:#FF0000;
    background-color:#FF0000;
    height:5px;
    
    }
    

    AS3 Code;

    var cssLoader:URLLoader;
    
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, onLoaded);
    
    
    var xml:XML;
    
    function onLoaded(e:Event):void {
    
         xml = new XML(e.target.data);
    
         var firstheadtext:String = xml.channel.item[0].title;
         var firstbodytext:String = xml.channel.item[0].description;
         var secondheadtext:String = xml.channel.item[1].title;
         
    
         var myText:String = "<p>"+firstheadtext+"</p>"
         +"<span class='myTextStyle1'>"+firstbodytext+"</span><br/>"
         +"<br/>"
         +"<span class='myHr'></p><br/>"
         +"<br/>"
         +"<span class='myTextStyle1'>"+secondheadtext+"</span><br/>";
    
    
         function cssLoadComplete(event:Event):void {
              var sheet:StyleSheet = new StyleSheet();
              sheet.parseCSS(cssLoader.data);
              myTextField.styleSheet=sheet;
              myTextField.htmlText=myText;
         }
    
         var myTextField:TextField = new TextField();
         myTextField.width = 500;
         myTextField.height = 240;
         myTextField.multiline = true;
         myTextField.wordWrap = true;
         addChild(myTextField);
    
         var req:URLRequest = new URLRequest("myStyleSheet.css");
         cssLoader = new URLLoader();
         cssLoader.addEventListener(Event.COMPLETE, cssLoadComplete);
         cssLoader.load(req);
    
    loader.load(new URLRequest("http://www.calgaryheraldonline.com/rss_echo.php"));
    

    Here's a quick and personalized durty HR:

    var cssLoader:URLLoader;
    var req:URLRequest = new URLRequest("myStyleSheet.css");
    cssLoader = new URLLoader();
    cssLoader.addEventListener(Event.COMPLETE, cssLoadComplete);
    cssLoader.load(req);
    var sheet:StyleSheet;
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, onLoaded);
    
    var myTextField:TextField;
    
    var xml:XML;
    
    function onLoaded(e:Event):void {
         xml = new XML(e.target.data);
         var itemList:XMLList = xml.channel.item;
         var hr:Sprite;
         var nextY:Number = 0;
         for (var i:int = 0; i < 2; i++) {
              myTextField = new TextField();
              myTextField.autoSize = TextFieldAutoSize.LEFT;
              myTextField.width = 500;
              myTextField.multiline = true;
              myTextField.wordWrap = true;
              myTextField.styleSheet = sheet;
              myTextField.htmlText = makeNewsBlock(itemList[i]);
              addChild(myTextField);
              hr = divider;
              addChild(hr);
              myTextField.y = nextY + 10;
              hr.y = nextY + myTextField.height;
              nextY += myTextField.height;
         }
    
    }
    
    function get divider():Sprite{
              var sp:Sprite = new Sprite();
              sp.graphics.lineStyle(1, 0xcccccc);
              sp.graphics.moveTo(0, 0);
              sp.graphics.lineTo(500, 0);
              return sp;
    }
    function makeNewsBlock(item:XML):String {
         trace(item);
         var block:String = "

    " + item.title + "

    " + "" + item.description + "

    "; return block; } function cssLoadComplete(event:Event):void { // css listener not needed any longer for it is loaded only once cssLoader.removeEventListener(Event.COMPLETE, cssLoadComplete); sheet = new StyleSheet(); sheet.parseCSS(cssLoader.data); loadRSS(); } // I think this should be in separate function // so it can be called several times if needed function loadRSS():void { loader.load(new URLRequest("http://www.calgaryheraldonline.com/rss_echo.php")); }
  • Loading .txt with tags html in AS3... grrrrrrr

    I have a real problem in as3.
    This used to be simple, but...

    I have a flash file with 5 fields of dynamic text with the name of the instances... textfield1, textfield2, textfield3, textfield4, textfield5

    I really need to have a simple .txt file that someone who knows nothing about html or xml language can easily change INCLUDING the addition of a simple as formatting < a href = "" >

    In previous versions of ACE, it was as simple as referencing a txt file that included...

    " & textfield1 = < a href =" type "> Hi there! < /a >
    & textfield2 =
    & textfield3 =

    and so on...

    For the life of me I can't find an easy way to do it. Can anyone help?

    Much appreciated!

    Aaron

    assign the htmlText:

    var urlLDR = new URLLoader();
    var urlR:URLRequest = new URLRequest ("yourtextfile.txt");
    urlLDR.addEventListener (Event.COMPLETE, f);
    urlLDR.dataFormat = pouvez;
    urlLDR.load (urlR);

    function f (e: Event) {}

    TextField1.htmlText = e.currentTarget.data.textfield1;

    etc.

    }

Maybe you are looking for