on your code editor ( dreamweaver or notepad);
1. type
.shortentbrclasshere br {
height40%;
}
dummy dummy dummy
on your code editor ( dreamweaver or notepad);
1. type
.shortentbrclasshere br {
height40%;
}
Labels: css, html 0 comments
1) Paste the whole code, and fill it into <head> to </head> in your html
code 1
2) Paste the whole code (code 2), and fill it into your <body> section
code 2
Labels: javascript, menu navigation 0 comments
Labels: javascript, menu navigation 0 comments
1- Simply replace the button with the code below:
2-You done
Labels: Graphic, html 2 comments
1) Copy the whole script 1( on below) and paste it into <body> the html
2) Change the image directory according to your own reference. Like you see here, im using 'http://farm1.static.flickr.com/70/168958721_f4aab2b479_o.jpg' simply chage this path
Script 1 (paste the whole code between into the <body>
Labels: Graphic, javascript 0 comments
1) Copy the whole script 1( on below) and paste it between <meta> to </body> on your main html (via your text editor).
2) Copy the whole script 2( under script 1) to your text or html editor and save as 'simplecalendar.js'.
3) Save the 'simplecalendar.js' to the same path as your main html. ( or you can save it on your own path/directory)
4) You are done!
Script 1 (paste the whole code between <meta> to </body> in your main html)
Script 2 (simplecalendar.js)
Labels: javascript 0 comments
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
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
Google Chrome was released in beta today (Tuesday, September 2). This is Google’s browser, currently only for Windows, and its arrival rekindles the browser wars into a three-way race between Mozilla’s Firefox, Microsoft’s Internet Explorer, and now Google’s Chrome. Chrome offers much faster loading speed and more stability as its main differentiators, but also a new feature called an “incognito session” (which we’ll cover later today), plus the ability to quickly use web sites (such as Gmail) as applications on your desktop and Start menu. The majority of the Firefox keyboard shortcuts we’ve covered here previously do work in Chrome. There are a few exceptions, which I’ve outlined below. Here’s what works: All in all, I’m pretty pleased with the keyboard control of Chrome, but there’s a lot of room for improvement in this beta: Here are some of the Firefox keyboard commands that do NOT work in Chrome:
Labels: browser, google 0 comments
Insert and copy the following code to the link area
Instruction:
Change the directory name etc: 'myfile/myfile.htm' follows by your file and directory name.
hope it help.
Good luck
Labels: javascript 0 comments
How to enable 'back to previosu page on your site? the function shown below practically multi-purpose, simple and the most friendly
Copy and paste this code into your HTML where you would like the button to appear ( the selected area you wanna insert the button):
Labels: javascript 0 comments
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
Recently, I'm working on updating the layout table (for user usability) and information for :
Process Flow of Property Acquisition & Home Loan Application (Malaysia)
Do you know what may involved when you purchase a property?
This is the complete guides of thing that you must know.
Simply point your URL here >
Labels: Activity 0 comments
we had a company CNY lunch at one chinese restaurant near our Office, in Damansara. May fortune favor to those work on it. Happy new year guys..
Labels: Activity 0 comments
Labels: Powerpoint, video 1 comments
How to called the (multi) PDF file from your flash?
Labels: flash, pdf 0 comments
Happy Chinese New year to all Chinese comrades, and people around the world :)
Labels: Events 0 comments