Flash Database: Starting FlashTag: flash, database, interface Category: PHP Application post: 24 Mar 2008 read: 610
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:
- Open Macromedia Flash 8.
- Open new document by click menu bar: File > New. Choose Flash Document. Click Ok.
- Right click at first frame.
- Choose actions. We will get actions panel.
- 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();
}
}
-
|
|
| Give Your Opinion | Recommend
|