Home | Help Forums | Web Design Tutorials | Free Swishmax Downloads | All Downloads

 

 

Company

Home

Nework Details

Tutorials

SWiSH 2

SWiSHMax

Flash MX

PHP & MySQL

HTML / JScript

Adobe Photoshop

Corel Draw

Gimp

Miscellaneous

Downloads

Templates

Plugins

Fonts

Wallpapers

Free Images

Scripts and Codes

Products

E-Books

SWiSH BB

SWiSH Templates

SWiSH-DB Newsletter
Subscribe to our newsletter : GO
  Partners / Affiliates

   Swish Templates
   SWiSH Climax
   GimpTalk
   Idea Designs
   Sposatoettore
   Try Acai Berry Diet
   Download Free Ringtones
   Swishzone

Manage your site with Flax Article Content Management System
New template on Visible method
Category : SWiSHMax | Level : Beginner | Language : English
Ask Question | Read Comments | Post tutorial | Previous | Next

Web www.swish-db.com

Hi too all

I give you simple method to make a www site - this is an engine, idea, but always completely www.template.site.
On this engine you can do it in many way simple and effects www.site.

All tips and tricks is in sprite method : _visible. We can control visibility of sprites in easy way.
I think that my method is so clear and easy that you don't need more instructions.

Learn how I do it on my example. If you have a question - write it in this topic

All is in this method :

In Scene script we set variable vis :

onLoad () {
vis = 1;
}
onFrame (1) {
stop();
}

Then we create a butttons and assign to it script :

on (press) {
em = 1;
_root.vis = em;
tellTarget (("menu" + em).("menu" + em)) {
play();
}
}

//em - this is variable who can say what sprite we can display


We can create a sprites menu(em) - and assign to it scripts :

onEnterFrame() {
if (_root.vis == 1) {
_root.menu1._visible = 1;
_root.menu2._visible = 0;
_root.menu3._visible = 0;
_root.menu4._visible = 0;
_root.menu5._visible = 0;
_root.menu6._visible = 0;
}
}

in first line we can assign a sprite to display :

if (_root.vis == 1) { or
if (_root.vis == 2) { ......... and so on


and than write a lines in which we say to script which sprites is visible.

_root.menu1._visible = 1;

and script which sprites is not visible

_root.menu2._visible = 0; .....

If you study my example - you know of course what a tlo sprite do it.


Easy ??? I think that you don't heat me - because my english is as is.


You can see a working example on

html

This is a swi file swi ( zip )


Regards

aonline


Hey - In links I have placed my litle tips and trick - see on it


All rights reserved - swish-db.com