Looking for some free application which will make your site attractive?
Have you thought about making it with flash?
Here its come, the solution . flashmo.com provides FREE flash templates, flash photo gallery, 3D Photo Gallery, 3D thumbnail gallery, free flash intro, flash MP3 player, flash websites or .FLA source files. Feel free to download, edit and use any free flash template for your commercial or personal websites.
go to site :
http://www.flashmo.com/
Thursday, May 28, 2009
Editor's Pick : flashmo.com
Labels: Designer Guidelines, Editor's Pick, flash 0 comments
Monday, April 6, 2009
Flash: rotate object following mouse
Reader Rating: 6.6
1. Create a movieclip as you prefer. then give the movieclip an instance name --example my instance name : 'follower'.
2. On first frame, insert the following action:
//sets the speed of rotation
rotation_speed = 5;
//sets the elasticity the higher the value the higher the elasticity
elasticity = .1;
_root.onEnterFrame = function()
{
with (follower) {
_rotation += rotation_speed;
_x += (_root._xmouse-_x)*elasticity;
_y += (_root._ymouse-_y)*elasticity;
}
};
You are done, Test the movie. Remember, you can increase the rotation_speed variable to create different effects.
Labels: flash 0 comments
Wednesday, April 1, 2009
How to disable right click menu in flash?
One of the classic typical flash question bumped to anyone does flash for their site, how to disable the 'right click menu'?.Here the solution.
Set the attribute menu=true, and it will appear again.
Yes. you are done ;)
Labels: flash 0 comments
Monday, February 16, 2009
How to create API drawing in flash
API Drawing
Flash MX comes with a wide range of new features. On of these new features if the "API Drawing" ability. This means you can start off with a completly blank stage and have your script do the drawing at runtime. In this tutorial I will teach you how to make the above drawing application using API. I expect you to be able to use and have a strong knowledge in actionscripting.
Tutorial
1) create a new movie and select the first frame. Open the actionscript window so your ready to enter code. first you will enter the code to create a movie clip.
| createEmptyMovieClip("myClip",1); |
2) Now you will set the thickness, colour, and alpha value of the line. The colour is a hexadecimal value, and the alpha is a value between 1 and 100.
| myClip.lineStyle(1,0x000000,100); |
3) This following code will actualy draw the line when you put you click your mouse button.
| onMouseDown = function () { myClip.moveTo(_xmouse, _ymouse); onMouseMove = function () { myClip.lineTo(_xmouse, _ymouse);}; }; onMouseUp=function(){ onMouseMove=null; } |
The function "onMouseDown" activates when you click your mouse button. it then moves the mouse to the starting point of your line, which will be directly under where you clicked. "onMouseMove" draws a line to your mouse using the lineTo() action. "onMouseMove" is used as aposed to "onEnterFrame" because it is only active when the user is moving there mouse. The last function "turns off" the "onMouseMove" function so that the line will not be drawn agian until the user clicks the mouse button agian.
All this code is to be entered into the first frame of your movie clip in the sequence that is displayed here.
source : www.bezzanet.zzn.com
Labels: actionscript, flash 2 comments
How to create a Contact Flash Form
Step 1
Open a new document in flash. Set the document dimensions what ever you like. Select first frame in the time line open the
stop();
------------------------------------------------------------------
Step 2
Select the second frame and insert keyframe and in the script paste this:
stop();
------------------------------------------------------------------
Step 3
Select the Text Tool in the left dialog box or just press „T“ key. Set the text tool properties to values lilke this :
------------------------------------------------------------------
Step 4
Make 4 of input text fields like it is shown in picture below:
Note: for the second input field set the „var“ value to „subject“, for the third set „var“ „message“ and for the fourth „email“
------------------------------------------------------------------
Step 5
Write the field names like this: (you can just write it)
------------------------------------------------------------------
Step 6
Now make,in the same layer, in the same frame, 2 buttons like in the picture above. Select the send button and press F9 and add this script :
on (release) {
if (name eq "" or subject eq "" or message eq "" or email eq "") {
stop();
} else {
loadVariablesNum("form.php", 0, "POST");
gotoAndStop(2);
}
}
Now select the clear button and press F9 and add this script inside :
on (release) {
name = "";
subject="";
message="";
email="";
}
------------------------------------------------------------------
Step 7
Now select second frame in the timeline, and in the middle of stage write „Thanks, mail sent“
Save the file and name it form.fla and Go to File->Export and export the movie form.swf
------------------------------------------------------------------
Step 8
Open Macromedia Dreamweaver or any text editor (notepad).
Open a new file, name it form.php and write folowing code:
your_email@email.com";
$msg = "$name\n\n";
$msg .= "$message\n\n";
mail($to, $subject, $msg, "Message From: Online client\nReply-To: $email\n");
?>
------------------------------------------------------------------
Step 9
Save the file as form.php. Make sure that you saved your
We're done!
Labels: actionscript, flash 1 comments
Thursday, February 12, 2009
Overview of Macromedia Flash and database integration
Introduction
A Macromedia Flash movie cannot communicate directly with a database. However, Macromedia Flash movies can "talk" to server-side applications (also referred to as "middleware"). Middleware can query a database and relay data back and forth. There are many server applications available. Some of the most common are CGI, ASP, PHP, ColdFusion and Tango.
Integrating a Flash movie with a database on a server is the key to creating rich, platform-independent web applications. For this process to work, a developer must know many aspects of web application building - including Flash design, ActionScript, writing server scripts, and administering a database. The workload for creating this kind of delivery tends to fall on one person, and requires manual updating when necessary.
Macromedia Flash is a vehicle
For the purpose of this topic, it's best to think of a Macromedia Flash movie as a vehicle for gathering and displaying data. The Flash movie is similar to an HTML-based form in the way that it captures and forwards information. Learning how to use a database with Flash requires a knowledge of how to create a form in Flash. Please follow the links at the end of this TechNote for more information.
Additionally, using a database for the web requires specific knowledge of databases, server applications, server scripting languages and areas that are beyond the scope of this TechNote. Consult your Internet Service Provider (ISP) or server administrator with any questions you may have about your configuration.
Typically, databases that are used for web purposes include Oracle, Microsoft MSSQL and Access, FileMaker, MySQL, FoxPro and Sybase. These databases all use various protocols that work with server middleware. Some are meant for enterprise-level sites, while others are best suited for low-traffic sites.Some common uses for Flash and database interaction include:
-Dynamic content
-Guestbooks
-Password protection
-E-commerce
-Web application building
-Saving the state of a movie
-Personalization
Examples of Macromedia Flash and database communicationFlash form data can be inserted into a database:
On the simplest level, a Macromedia Flash form can take in user data via editable text fields. The Load Variables or GetURL actions can send the data (GET or POST) to the middleware, which will compose the data into the correct format that the database requires.
Labels: Articles, database, flash 0 comments
Tuesday, February 3, 2009
How to called PDF from flash?
How to called the (multi) PDF file from your flash?
Labels: flash, pdf 0 comments
Wednesday, January 21, 2009
How to change the default browser for Publish Preview in Flash
Many of us (Developer) have multiple browsers installed on their systems, may have a preference for previewing Flash movies (File> Publish Preview > HTML) or viewing the Flash online help system in a particular browser. Unlike Dreamweaver, Flash MX has no built-in feature for designating a default browser. However, it is possible to define a default browser by following the steps below. To create a default browser for Flash MX on Windows:
Labels: browser, flash 0 comments
Monday, January 19, 2009
Customized your right click on flash movie menu.
add the following script on your flash file layer :
function doSomething(){}
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("copyright your name", doSomething);
MENU.customItems.push(Functioned);
_root.menu = MENU;
why need to add this?
Prevent from a file stealer , warned by copyrighted message.
Labels: actionscript, flash 0 comments
Search Articles
Study Categories
- 3D (1)
- actionscript (3)
- Activity (5)
- Articles (1)
- Blog (1)
- browser (5)
- CMS (1)
- Computing (1)
- css (1)
- database (6)
- Designer Guidelines (2)
- dreamweaver (4)
- Editor's Pick (1)
- Events (2)
- flash (9)
- Games (1)
- google (2)
- Graphic (4)
- html (2)
- IIS (2)
- javascript (7)
- Joomla (3)
- Lazacode (2)
- menu navigation (2)
- Mobile (1)
- MySQL (5)
- Online Tools (1)
- Open Source Development Kit (11)
- OS (5)
- pdf (1)
- PHP (7)
- PHP. Server (1)
- Powerpoint (1)
- Ruby (1)
- Server (5)
- Software/Tools (8)
- tracker (1)
- video (1)
- Vista (2)
- VMS (1)
- Web Editor (5)
- Web Idea (2)
- Website tricks (2)
- What is? (6)
- Windows (2)
- Wordpress (1)