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


Calling EZDB from Flash

April 17, 2000

We are now ready to call EZDB from our Flash movie. Basically we are going to change the url in the action we created in the first frame.

  • Open the frame properties dialogue for frame 1.
  • Highlight the LoadVariables action.
  • In the URL field, enter the path location where you installed EZDB, relative to the location of the Flash movie on the server: ../../cgi-bin/ezdb.cgi? (You may have to fiddle with this to get the correct path).
  • Now tack on instructions to the script on what to display to the end of the path: bubba+retrieve+display
    (if we had more than one record in the database bubba, we would also have to add the record number, or pkey. In other words, for a database with more than one entry, the full path would look like this:
    ../../cgi-bin/ezdb.cgi?bubba+retrieve+display+902934847
  • The last number is the record's Primary Key, or pkey).
  • Click ok.

Upload and serve hot. Feeds thousands.

Note that the Flash movie will not load the variables from EZDB until it is placed in a directory on your server.

Now Bubba can update his listings through his browser and Flash can read the database entry. You will want to set up a user ID and password in EZDB for Bubba, allowing him to change entries only.

If you got lost, download plex_02.fla and compare. If you didn't get lost, change the name of your working published movie to plex_02.swf so that we can work with it in the next section.

The Simplest HTML You Will Ever Code
Tricks & Data, Flash Yin & Yang
Flash With Panache


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