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
Working with levels in swishmax, load movie at a lower level (sprite)
Category : SWiSHMax | Level : Beginner | Language : English
Ask Question | Read Comments | Post tutorial | Previous | Next

Web www.swish-db.com

Hi folks,

This is a simple tutorial that explains the working of lower levels.
Loading movies in sprites / movieclips.

see this :

http://users.belgacombusiness.net/cd028113/brol.swf

You can see that when clicking on a button, the text/image is loaded at an exact position between the grey bars (menu bars).

How to do so :

- First make a empty movie
- type your text where you want and reduce your moviesize to the space needed to display your text.
- save that file and export it to swf. (I named my file test.swf)



- make a new movie (mainmovie)
- create a sprite and in that sprite place a rectangle with no fill just a border
- name that sprite : movieloader
- place a button and put this action on it :
movieloader.loadMovie("test.swf");
Where"movieloader" is the name of the sprite
- save that as your main movie and export it too.

done.

Now reopen your mainmovie and open the sprite "movieloader"
drag the rectangle inside that sprite to a position you want and you will see that the loaded text will be loaded at the place you have put your rectangle.

DO NOT resize your sprite or you will stretch your text file !


You can download the swi files needed for this tut here :

http://users.belgacombusiness.net/cd028113/brol.swi (mainmovie)
http://users.belgacombusiness.net/cd028113/test.swi (text file)
http://users.belgacombusiness.net/cd028113/test2.swi (image file)


Hope it's clear.

Note that when you are loading some content into level-1 and you are loading another file into that sprite at level-1, the first content will disappear and your second content will be loaded.

Cheers,

Charly wink.gif


All rights reserved - swish-db.com