Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


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















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

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


The Simplest HTML You Will Ever Code

April 17, 2000

We now have our information in a database that Bubba can easily change from his web browser. However, Flash can't read the data from the default HTML that EZDB creates. Luckily, that's easy to fix.

  • You will find a file in the directory my_html called bubba_display.html. Open it and prepare to hack.
  • The thing that should stick out to you as you look at this file is that the placeholders for our variables look like this: _variable , where underscore denotes that a variable is to follow.
  • Take out everything except the variable placeholders, and format the document the way Flash likes to read it:

  • title=_title
    &star=_star
    &rate=_rate
    &time=_time
    &url=_url
    
  • Save bubba_display.html and replace it in the my_html directory.
  • Now when EZDB displays any record in the bubba database, it will use our revised bubba_display.html as the template. Not much for eyes to look at, but now Flash can read it. Almost.
  • EZDB by default also displays a bunch of menu items along with the record. We need to remove this feature for this particular database.
  • Click connect.
  • Select table_group from the drop-down menu and click connect.
  • Click modify.
  • Type "bubba" in the search field and submit.
  • You should see a list of two table groups: admin_group and default. Select default.
  • This is where you select what EZDB will display when a record is called without the user logging in. We want no menu items showing, so we deselect everything in the Show Menu row.
  • Deselect all items on the permission row except view.
  • Click submit.

Note that there will still be an HTML header in EZDB's output, but we're going to leave it like that so that we can use the same instance of the script for Bubba's HTML.

Setting up Bubba's DB
Tricks & Data, Flash Yin & Yang
Calling EZDB from Flash


Up to => Home / Authoring / Flash / Yin-n-Yang




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, & Permissions, Privacy Policy.

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