• home
  • forum
  • my
  • kt
  • download
  • Creating a Google SearchBox in Flash

    Author: 2007-06-16 14:55:58 From:

    Creating HTML Rendering Textboxes in Flash

    1. The Dynamic and Input textboxes can be made HTML Rendering.
    2. Create a Dynamic Textbox and select 'Render text as HTML" from the Properties inspector, don't forget to enter a variable name say, 'dyn_txt'.

    3. To format the text in Bold/Italics, open Actions window (F9) and type the following code:

      dyn_txt = "<b>This text is in Bold</b><br>";
      dyn_txt = "<i>This text is in Italics</i>";

    4. Values can also be concatenated using '+' sign. Other HTML tags for Fonts can also be used with these Textboxes as shown below:

      dyn_txt = "<font color='#"+990000+"'><b>First line Text in Bold Red color</b><font>";
      dyn_txt += "<br><font size='20'>2nd line Text with font-size 20.<font>";

    5. Hyperlinks and Paragraphs can also be done as shown below:

      dyn_txt="<br><p align='center'>Center aligned Paragraph Text in Italics</p>
      <a href='http://www.smartwebby.com'><b>Smartwebby.com<b></a> to visit the site";

    Note: The Input text can also be rendered in HTML in a similar way by selecting the Input option from the Properties inspector.

    discuss this topic to forum

    relation tutorial

    No relevant information

    Category

      3D (20)
      Math Physics (14)
      3rd Party (5)
      Navigation (60)
      Actionscripting (26)
      Optimization (16)
      Animation (32)
      Projector (9)
      Audio (46)
      Special Effects (112)
      Backend (25)
      Text Effects (65)
      Drawing (18)
      Tips and Techniques (41)
      Dynamic Content (25)
      Tricks (6)
      Games (66)
      Utilities (19)
      Getting Started (71)
      Video (10)
      Interactivity (21)
      Web Design (22)

    New

    Hot