phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


Flash Database: Starting Flash

Tag: flash, database, interface   Category: PHP Application
post: 24 Mar 2008 read: 593


Flash Database Step By Step Tutorial - Part 5: Now, we begin at client side. We create user interface use flash. In this practice, I use Flash 8. You can use Adobe Flash CS3.

Follow this step:

  1. Open Macromedia Flash 8.
  2. Open new document by click menu bar: File > New. Choose Flash Document. Click Ok.
  3. Right click at first frame.
  4. Choose actions. We will get actions panel.
  5. Enter following code to actions panel:
    
    stop();
    
    file = "http://localhost/test/flash/polling.php";
    System.useCodepage = true;
    
    myVar = new LoadVars();
    myVar.load(file)
    
    myVar.onLoad = function(){
    	if (this.allow = 'false'){
    		gotoAndStop(3);
    	}else{
    		nextFrame();	
    	}
    }
    


Series this article:
Flash Database: Text File
Flash Database: PHP for Reading Data
Flash Database: Saving Data at Server Side
Flash Database: Switching Task at Server Side
Flash Database: Starting Flash
Flash Database: Making Flash Polling Interface
Flash Database: Giving Action to Submit Polling
Flash Database: Trying Submiting Vote
Flash Database: Preparing Polling Result Interface

| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Chart: How to Build Cool Animation Real Time Chart
Joomla: Fast Road to Understand Component Programming
Email: Send Attachement Mail
mod_rewrite - Part 1: create your "fantasy" URL

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


615
posting