Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
 Discussion Forums
 HTML, XML, JavaScript...
 Software Reviews
 Editors,Others...
 Top100
 JavaScript Tutorials, ...
 Tutorials
 ASP, CSS, Databases...
 Discussion List
 FAQ, Roundup, Configure ...
 Authoring
 HTML, JavaScript, CSS...
 Design
 Layout, Navigation,...
 Graphics
 Tools, Colors, Images...
 Software
 Browsers, Editors, XML...
 Internet
 Domains, E-Commerce, ...
 WDVL Resources
  Intermdiate, Tutorials,...
 WDVL
 Discussion Lists, Top 100,...
 Technology Jobs


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us
Website Load Testing
Auto Insurance Quote
Dental Insurance
Prepaid Phone Card
Web Hosting Directory
Logo Design
Online Shopping
Shop Online
Promote Your Website
Desktop Computers
Compare Prices
Computer Deals
Memory
Corporate Awards

Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Just because Web sites are easy to build these days, that doesn't mean it's easy to build a quality Web site that meets your business objectives.

Before developing your next Web site, or redesigning an existing site, download this Internet.com eBook to guide you through the process and plan your project, whether you're developing a site in-house or outsourcing the project.
Register now for your free Internet.com membership to download your complimentary eBook. Membership will also give you access to:

eBook library         Whitepapers         Webcasts
Newsletters         WinDrivers
Top 10 Articles
  1. Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions
  2. JavaScript Tutorial for Programmers
  3. Design
  4. JavaScript Tutorial for Programmers - Objects
  5. JavaScript Tutorial for Programmers - JavaScript Grammar
  6. JavaScript Tutorial for Programmers - Versions of JavaScript
  7. Cascading Style Sheets
  8. JavaScript Tutorial for Programmers - Embedding JavaScript
  9. JavaScript Tutorial for Programmers - Functions
  10. Authoring JavaScript
Domain Name Lookup
Search to find the availability of a domain name. Just enter the complete domain name with extension (.com, .net, .edu)

XML, External Files and HTML - Page 4

April 2, 2001

A few of the very interesting features that have been implemented into Flash are the new XML features. This gives the developer the ability to easily use external text files to update information inside the Flash file and even use limited HTML tags to dynamically change the information.

XML stands for Extensible Markup Language and has become a standard for interchanging structured data in Internet applications. Flash can now integrate XML data with servers that use the technology to build highly sophisticated applications.

Developers can use the methods of the ActionScript XML object to structure XML data in Flash to send commands to the server to manipulate and interpret downloaded XML data. Examples include appendChild, removeNode, and insertBefore. Here are some XML object methods to load and send XML data to a server with the HTTP method using Post:

  • Send passes an XML object to a URL. Any returned data will be sent to another browser window.
  • Load downloads an XML object from a URL and places it in an ActionScript XML object.
  • SendAndLoad sends an XML object to a URL. Any returned information is then in turn placed in an ActionScript XML object.

Using external text files is an excellent feature of Flash that allows even non-Flash gurus to quickly and easily update information inside a file without ever needing to reopen the original Flash source file (.FLA).

This is done by creating a text box using the Dynamic Text option located under the Text Options menu selection. The box is then defined with a variable name. The text format and size can also be determined at the same time. Using this method, the developer is able to take the variable name assigned to it and create a simple text file by using the statement 'variablename=hello world' (without quotes). The 'LoadVariables' command loads the assigned value of the variable from the text file displayed inside the text box. If there is quite a bit of text, scroll buttons or a scroll bar can be created that would allow the reader to simply scroll up and down through the text to view the entire element.

At this stage HTML codes can be used. Although the number of available codes is limited, this method can certainly create some very easily updatable Flash files and allow them to look totally original every time. In order for this to work correctly the user must select the HTML option when creating a dynamic text box inside of the Flash file. This allows the text to contain HTML tags directly inside the file and is used to format the text once it is brought in.

The HTML codes available to create text files are:

<b>Shawn Ryder</b> - The bold tag is simply used to create bolder text inside of the dynamic text box.

<font color="#FFFFFF"> - Allows you to update the color of the font you are using inside the text box. This is a good way to highlight a new update of the text by changing the color from what it was previously. To change the text back to the original color insert </font> at the end of the text.

<font size="+1"> - This allows you to change the size of the font inside of the text box. It can be done either using relative sizes (<font size="+2">) or with absolute sizes (<font size="6">). To end the formatting simply add </font> to the end.

<I> Shawn Ryder </I> - The italics tag simply places the text in italics inside of the text box.

<p> - The paragraph tag creates paragraphs inside of the text box to maintain formatting. It also can be aligned using either align="right", align="left", or align="center". Use </p> to end the paragraph.

<u> - The underline tag is extremely straightforward. Using this will format the text inside the dynamic text box with an underline. Just as with all of the other formatting options, once complete turn it off by using </u>.

<a> -The anchor tag creates links inside of the Flash text box just as it would on any Web page using HTML. This will allow the developer to use the 'href' tag inside of the anchor itself to create an interactive link to another page or Web site. This feature can be used to maintain updates such as 'special of the day' or 'updated news'. It also can be easily changed by uploading a new text file to the server. It then updates the Flash file instantly. To end the link, add </a> to the end.

The tags are used just as they would be in any common HTML document. All you need to do is put them inside of the text file that your variable will be calling on and make sure that the text box 'HTML' option is selected.

This concludes our overview of Macromedia Flash 5. Hopefully it will help you to make any decisions on whether your Web site could use the application to create some interesting features. The ActionScript language continues to grow at a fantastic rate and will surely become even more powerful as future versions of this great product are available.

Updates and Changes - Page 3
Flash 5


Up to => Home / Reviews / Graphics / Flash5




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers