Tuesday, September 15, 2009

Assignment 2 - Fifi : Birthday Party

Make sure internet connection is good

Reflection of Exercise 1

Hello guys...wassup2. Today im just wanna share the exercise 1's steps. Here are our steps :

Step 1 : Setup a site

1. Create new site named registration (URL = http://localhost/registration/.)
2. Select "ASP VBScript" as a server technology.
3. Save file at "c:\inetpub\wwwroot\registration\"

Step 2 : Setup the Database file in Access

1. Click blank database
2. Insert fields : ID, names, username, password and remarks.
3. For password field, change the type into password.
4. Save "data.mdb" as MS Access 003-2003 format in "c:\inetpub\wwwroot\data\"
5. Close the database (important)

Step 3 : Setup the Connection

1. In Dreamweaver, open ASP page and click Window>Database.
2. Click (+) button and select Custom Connection String.
3. Named the connection as "dmx" and then insert the connection string and choose "using driver in testing server".
4. Test the connection and it was succesful.

Step 4 : Setup the Form

1. Create new page with ASP VBScript.
2. Insert the text and textfield for name, username, password, and remarks from the form menu.
3. Create a "save" button.
4. Each textfield name was matched with the fields in the database.
5. Change the password type into "password".
6. Set Multiline for remarks and 80 char for the rest textfields.
7. Save in "c:\inetpub\wwwroot\registration\" and named it as registration.asp.

Step 5 : Writing a data into databse using the insert record

1. Activated "Server Behaviour" tab and click (+) and select "Insert Record"
2.Choose dmx connection then click OK.
3. We save our file

Step 6 : Reading/Viewing a data from a database using RecordSet

1. Create new ASP VBScript file and save it as view.asp.
2. Create a viewing table consist of all user personal info.
3. Activated ServerBehaviors tab, click (+) and select RecordSet(Query).
4. Choose the dmx connection.
5. Choose "name" and "ascending".
6. Then activated Binding tab. Click (+) and select RecordSet(Query).
7. Drag each recordset into its textfield in view.asp.
8. After that, create a line below the table and hightlighted it including the table.
9. Click (+) and choose "repeat region", then select "recordset1" and click at "all records".
10. Save the file ( this file is for viewing the record only)

Step 7 : Execute the file

1. Open back registration.asp the double click "Insert Record Behavior " in "Server Behavior" Window.
2. Added up "view.asp" in "After inserting, go to : "section.
3. Then saved it
4. Click "Preview" in Browser icon.
5. After the page loaded, we fill up the data in every textfield and click "save" button.
6. Then we can see the information in the table in view.asp.
7. After we insert a new record, the record also can be view together with the previous one.
8. After everything main part was OK, we inserted images to make it more attractive.
9. Save the file.


Friday, September 4, 2009

Step I did in Lab Test

Here i want to share steps that i did in lab test.


1. I created a black circle and named that layer as 'background' then I locked the layer.
2. Add new layer and named it 'number' (I will refer it as LNum from now).
3. In (LNum, frame 1) I chose the text tool and type in '1', then break it apart.
4. In (Lnum, frame 15) I chose the text tool and type in '2', then break it apart.
4. In (Lnum, frame 30) I chose the text tool and type in '3', then break it apart.
5. Between these keyframes, I inserted shape tweening.
6. For smoother tweening, you can add shape hint.


1) I added new scene named 'scene 2'(but i think it was not required)
2) Named the layer as 'Text'. (I will refer it as LText from now).
2) Using the text tool, type ' Animation in Adobe Flash CS3' (in small size).
3) Then i convert it into symbol -> graphic.
4) Copy the keyframe and i pasted it in (LText, frame 20).
5) I resized the text, make it become bigger.
6) Then add motion tween between them.


1) I add 2 new layers (actly 1 layer is enough), and i named it 'button : home' (LHome) and 'button :next' (LNext).
2) I created a 'next' button in keyframe 20 in LNext, because i wanted the button to be visible after the motion tweening of the text is over.
3) I put this action script in 'next' button :

on (release) {
gotoAndPlay("Scene 3", 1); //scene 3 is my next scene

4) Then I created a 'home' button in keyframe 20 in LHome.
5) I put this action script in 'home' button :

on (release) {
gotoAndPlay("Scene 1", 1); //scene 1 is the shape tween scene

6) I add new layer in the timeline, named it as 'script' and I inserted keyframe on frame 20.
7) In that keyframe, i put stop();


1) I add new scene - scene 3
2) I named the first layer as 'question', and use text tool to write the question.
3) Add 2 new layers for 'yes' and 'no' button, and create a button in each layers.
4) Add new layer for 'home' button. You just can drag it from your library.
5) Add new layer and named it as 'feedback'. Then choose text tool, but this time use 'dynamic text'. In it var textbox, type in 'feedback'.
6) Add new layer and named it as script. Insert this script in the keyframe :

var feedback = "";

7) In yes button, put this script :

on (release) {

feedback = "Congratulations..you choose the correct answer";

8) In no button, put this script :

on (release) {

feedback = "Sorry..this is not the correct answer";


Thas all. If i missed something..please forgive me :). And sorry for my poor English..hahaha.