Developing Webs logo
Google
Web DW-Main DW-Photoshop
Visit the message board for solutions or post a question Check out the Classes offered for free at Developing Webs Voice Chat submit a tutorial, resources, article, font for publication consideration and earn a one way link back to your site Get more specifics about the Developing Webs Voice chat room and its room members View the current news at Developing Webs alternative sites which are resources for your d3evelopment needs Join Developing Webs Chat Link to us on your web page to help support this resource! Check out Developing Webs At yahoo groups! Developing Webs Home Adobe Photoshop Tutorials Macromedia Flash Tutorials Jasc Paint Shop Pro Tutorials Adobe Illustrator Animation basics Some Basic PHP tutorials Perl Tutorials HTML Tutorials Cascading Style Sheets javascript Front Page Tutorials Macromedia Dream Weaver Tutorials dreamweaver Publishing your site, FTP, ChMod, Promotions
RSS Newsfeed
for your site
DW News
Calendar
DW Forum
Right click on button and copy shortcut

Add to My Yahoo!

Reminder
Remember to book mark this site!



Request a Tutorial

Input and Dynamic Text Boxes

Since the variable for the input is the same as the dynamic box, the text you input will appear in the dynamic box. Flash will recognize the variable chatbox="your input text". Dynamic and input text has the ability to embed fonts, thereby allowing your movie to display these fonts..

1. Select your text tool and click on your stage. Set the text to the following. (if you can not find the bottom options, you must expland the properties box by clicking the lower right triangle.)

  • type = Dynamic text.
  • Font = Any font of your choice
  • Size = 20
  • color = Blue
  • Alignment = left
  • Multiline
  • Variable name = chatbox

2. Drag the square handle from the bottom right on the text box so the box shows many lines high and fills the area you want in your movie.
3. Click format. Set the format to line spacing of -10. Click Done.


4. Click on the character button. If the font you chose is not a normal computer font, you will need to embed the font. Embedding fonts tends to enlarge your final movie file by the size of the font (.ttf) file.

For our dynamic text select All Characters. and click done.


 

5. Select the Text tool again. Click on the stage where you want your imput text. Set the text to the following:

  • type = Input text.
  • Font = Any font of your choice (but I use a system font so it wont increase movie more)
  • Size = 12
  • color = Black
  • Alignment = left
  • Singleline
  • Variable name = chatbox
  • Maximum characters=0 means there is no max.

6. Add your drawings to indicate where you want people to type since the box will not show up otherwise.

7. Test your movie by clicking Control=> test Movie. Type in the input box.

Explanation: Since the variable for the input is the same as the dynamic box, the text you input will appear in the dynamic box. Flash will recognize the variable chatbox="your input text".

 



"Building The Web Into a Nicer Place -- One Site At A Time"
Developing Webs Group Copyright © 2001-2019 All Rights Reserved
Privacy and Legal