|
|
 |
|
|
|
|
|
TUTORIAL WITH SOUND (more detailed)
[swf=300x200]http://www.swish-db.com/soundtutorials/guestbook.swf [/swf]
Firt you need to know how these guestbooks are desinged which are
available in our download section.
Files used in guestbook:
------------------------
1) Files designed in SWiSH
2) Files designed in Flash MX
3) One .PHP file code
_____________________________________________________________________
1) Files designed in SWiSH
Let us start discussion on file Layout1.swi (available in downloads).
This SWiSH source file contains 3 Major Sprites named View, Sign, and
Layout. If you need to modify guestbook style then follow the steps:
a) Open the Sprite named Layout
Draw Rectangle of same size which is already existant and remove
the existant one. But it should be on the back of all Objects.
Remove Sprite named Logo if you want, it has no effect over the
functioning of guestbook.
c) Open Sprite named Sing. You will see two more sprites within the
sprite named Sign. Sprite named Message works when someone signs
and submits new entries, a messagebox is displayed (dragable). If
you need to modify the message also, open the sprite named Message
and change the colors, message, Icon and rename the child sprite
named Drag and button Done as well. If you want to place your own
button of Message then dont forget to give the same actions to it.
d) Same as the Message button named Done, if you want to change names
of buttons view, re-compose, and Submit or to replace with other
buttons no problem but remember to give them the same actions.
e) Do not disturb or rename Sprites named Sign and sign. You can
delete the SWiSH logo if you want. A Group named TextBoxes contains
four shapes for textboxes. The file sign.swf loaded is transparent
it means the textboxes designed in flash .fla file have no border.
This is just to customize the textboxes. (you can have the same
view.swf and sign.swf with visible borders by emailing us).
f) Now if you need to modify the View portion of the guestbook, open
the Sprite named View. Sprite View contains top shape as logo of
SWiSH and the second one is Textbox background area. You can change
its colors, style, gradient and so so. If you need to modify or
replace the button named Sign, then dont forget to give the same
actions to new button you place.
_____________________________________________________________________
2) Files designed in Flash MX
view.fla and sign.fla are available in the pack and can be modified
on your own risk.
_____________________________________________________________________
3) One .PHP file code
guest.php is coded in .PHP standard code. And should not be modified
until you have full command over PHP.
_____________________________________________________________________
LIMITATIONS:
------------
The guest book works as it is designed in the swi file. Guestbook
should have its individual html or individual object in html. If
guestbook is loaded in any Sprite or Flash Movie Clip, then it will
not work. All the files must be available in the same folder.
And guestbook works only with FlashPlayer 6, either brower or
standalone player.
_____________________________________________________________________
TIPS:
-----
If you want to test your guestbook from within swish then export
swf and html in the folder where all other files are available and
then test it inplayer or browser.
_____________________________________________________________________
HOW TO ARRANGE:
---------------
Copy all files in the same folder of your server which supports PHP.
Files to copy:
drag.swf
view.swf
sign.swf
guest.txt (containing actual members data)
guest.php
index.html
index.swf
and open index.html in browser.
It may not work with on local Pc, so it is recomened to upload all files in same folder on server which supports PHP and then test it.
|
|
|
|