This is not the document you are looking for? Use the search form below to find more!

Report home > Others

Flash Widget Tutorial

0.00 (0 votes)
Document Description
Flash Widget Tutorial
File Details
  • Added: April, 14th 2011
  • Reads: 153
  • Downloads: 0
  • File size: 421.98kb
  • Pages: 9
  • Tags: animation, script, actionscript, flash, barcamppune3, hussulinux, web, widget, action, adobe, barcamp, widgets, alix, databasephp, tutorial
  • content preview
Submitter
  • Name: frej

We are unable to create an online viewer for this document. Please download the document instead.

Flash Widget Tutorial screenshot

Add New Comment




Related Documents

XML Flash Slideshow v3

by: vane, 12 pages

XML Flash Slideshow v3 Embedding Custom Fonts Guide 1 XML Flash Slideshow v3 - Embedding Custom Fonts Guide - February 2007 Contents Contents .............. ...

XML Flash Slideshow v3

by: aldin, 13 pages

XML Flash Slideshow v3 Flash Component Manual 1 XML Flash Slideshow v3 - Flash Component Manual - February 2007 Contents Contents ..................... ...

Devon-Hillard-Resume

by: christian, 3 pages

Devon-Hillard-Resume

Introduction to Macromedia Flash

by: manualzon, 25 pages

Free ITebooks offers downloadable ebook about macromedia tutorial free, flash tutorial free, free flash programming tutorial free, flash introductions, flash intro free, free flash ebook, ...

MyMC Course Tools (Tutorial)

by: philippe, 29 pages

MyMC Course Tools Tutorial by Gloria Barron Distance Education and ...

Tutorial macromedia flash

by: la baco, 51 pages

Tutorial macromedia flash

Creating 3D Text Animation in Flash CS4

by: etta, 6 pages

GraphicMania.net Tutorial series Creating 3D Text Animation in Adobe Flash CS4 By Rafiq Elmansy http:// www.graphicmania.net Creating 3D Text Animation in Adobe Flash CS4 www ...

Getting Started with Flash

by: manualzon, 152 pages

ebook and tutorial on flash to get started to learning in Flash Programming, offers various hints, tips, tricks, actionscript tutorial for developers, designers, webmasters. Flash also offers ...

Text Layout Framework Flash

by: Freek, 6 pages

Dit is een tutorial over het Text Layout Framework in Flash

Excel Tutorial

by: desantis, 6 pages

The purpose of this tutorial is to provide instruction on performing basic functions using Microsoft Excel. Although Excel has the ability to perform a large array of mathematical and statistical ...

Content Preview
Flash WidgetsHussain Fakhruddinhttp://hussulinux.blogspot.comhussulinux@gmail.comWidgets :ޔWindow Gadgets➔Can be embedded on ➔ Websites, ➔ Blogs, ➔ Desktops,➔ Social networking sites ...➔Really easy to develop➔Many Frameworks2Widgets widgets widgets3What are we waiting for?What we're going to do is this:Retrieve data from a database.Print it somewhere using scripting language.Import this in the flash.What we need?Adobe Flash( I'l show al demos using Flash 8)PHP/ASP/JSP/CGI/RoR any scripting language. I'l use PHPDatabase if any.4Lets get startedOn the server.Step 1: (Without XML)Create a script which wil throw out the data to you in a GET variable formExample author=Hussain&desc=I+am+a+stupid+programmer&picurl=me.jpgAlso create a database create table barcamp(uid int(10) primary key auto_increment,author varchar(50),desciption text,picurl varchar(60));5PHP Script for the widget<?php$uid = $_GET['uid']; // I will receive this from the flashinclude ('db.php'); //Contains my Database Connectivity code.$rs = mysql_query("select * from barcamp where uid=$uid");// I'm being lazy to check for errors here$arr = mysql_fetch_array($rs);//Output format, I am using URL encode method, One may also use XMLecho "author=".$arr['author'];echo "&desc=".$arr['desciption'];echo "&picurl=".$arr['picurl'];?>6Flash DesignOur flash widget design7Flash ActionScriptNow to get this data into our flash widgetfunction LoadData() {myvar=new LoadVars(); //Create a New LoadVars object//Load our created URLmyvar.load("http://www.mywidgets.com/widget/getWidgetInfo.php?uid=" + this.uid);//I'll explain where this.uid comes from later.myvar.onLoad = function( ){/* Our PHP variables are available inside flash asmyvar.author;myvar.desc;myvar.picurl;*/author = myvar.author;desc = myvar.desc;LoadMovie(pic,picurl);}}//Cal the above functionLoadData();8Embed this<embed al ownetworking="al " pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" allowscriptaccess="always" align="middle" flashvars="uid=1" src="http://www.mywidgets.com/widget/mywidget.swf" height="230" type="application/x-shockwave-flash" bgcolor="#ffffff" width="194" name="mywidget" /></embed>9

Download
Flash Widget Tutorial

 

 

Your download will begin in a moment.
If it doesn't, click here to try again.

Share Flash Widget Tutorial to:

Insert your wordpress URL:

example:

http://myblog.wordpress.com/
or
http://myblog.com/

Share Flash Widget Tutorial as:

From:

To:

Share Flash Widget Tutorial.

Enter two words as shown below. If you cannot read the words, click the refresh icon.

loading

Share Flash Widget Tutorial as:

Copy html code above and paste to your web page.

loading