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
LoadMovie/UnloadMovie and Levels
Category : SWiSH 2 | Level : Intermediate | Language : English
Ask Question | Read Comments | Post tutorial | Previous | Next

Web www.swish-db.com

Levels

Levels work as layers on the main movie ground. You can have
example of a simple paper pad. Each paper contains different
text but are available in the pad at the same time. When you
create SWiSH or Flash movies they are loaded in level 0 by
default. It means your movie is running on the ground level.
When you load any external movie, it displays a property tab
in loadmovie properties. A text box to give swf movie name, and
level which is by default set to 0. If you load movie in level 0
it means you are replacing the actual movie with new one loaded.
So preventing from this conflict load movies in higher levels than
0 (1....). Now question appears that


HOW TO CONTROL ANY MOVIE LOAD IN LEVEL OTHER THAN 0 ?

(level -1)
You should note the sentense I am to write, "Any movie loaded in
any level is treated as the part of actual movie". What does this
mean? It means if you want to load a small movie within a sprite
area without disturbing any other item, you load movie in level -1
by selecting level "sprite" from radio buttons in properties tab.
Now whatever the movie frames contain can easily be handled by
actions provided by swish. For example the movie loaded in sprite
contains stop action in frame no.0 and displays a rectangle in
frame no.1, you can place tellTarget action to go into the sprite
and place gotoFrame 1 and play action as you give to embeded sprites
in the movie. That will work fine.

HOW TO CONTROL MOVIES LOADED IN LEVEL HIGHER THAN 0 ?

(level 1+)
If you want to give action gotoFrame to movie loaded in level 1
you will use the tellTarget path


Tell Target "_level1"
Goto Frame 0

Function UnloadMovie unloads any movie loaded in any level.

same if movie is loaded in level 2 you will use _level2


All rights reserved - swish-db.com