Im going crazy...plz help me

hello

Can someone recommend a tutorial that teaches me the basics in a flash site.
Or a simple template.

I want to make something minimal like this http://www.kentlyons.com/

And a question

**this opens another .swf file **

on (rollover) {
_root.contents.loadMovie(“whatever.swf”);
}

and this opens a movie file already within the .fla file with the instance name
whatever?

on (release) {
gotoAndPlay(“whatever”);
}

The kirupa full flash site tutorial just didnt do enough for me

Does a flash site have to just be one .fla/.swf file?
Or is it possible to use several .swf files and link them with :

on (rollover/release) {
_root.contents.loadMovie(“whatever.swf”);
}

If someone can tell me/teach me something that helps me understand the basics. I would be really happy.

Simon :sen:

I suggest you read a book about Flash or Actionscript, that will get you started. Or you can read some more of the tutorials on this site. And you would be suprised of what you can learn from reading this forum…

Yes, you can load several swfs into one main swf. This is also a good practice, cuz it minimizes the amount of time the user has to wait until the files get downloaded.

Yes, you can load several swfs into one main swf. This is also a good practice, cuz it minimizes the amount of time the user has to wait until the files get downloaded.[/QUOTE]

good great!

Well then i have a question for you!
Wich AS do i use to open another .swf

Lets say the first thing to happen on my page is :

A heading fades inn

then i push the heading :

and then thress buttons fades inn (without the heading disappearing)

then i push lets say “showcase” :

A set of numbers from 1-20 fades in (20 buttons so to say) (without the heading or three button disappearing)

then i push whatever number and a pictures fades in or i use a transiton.
Yes you guessed it (without the heading,buttons or numbers disappearing;)

So far its a .swf with the heading
.swf with 3 buttons
.swf with numbers
and loads of .swf`s with movieclips with a picture within

Does this make any sense?

Got any tips for what kind of AS i should assign for my buttons.

Great help :p:

Well you can use levels to load the swfs in…
So for example you load the file: buttons.swf in through this code:

[AS]
on(release) {
loadMovie(“buttons.swf”, 10);
}
[/AS]
this loads the swf in on level 10

use different levels for different movies (preferably with steps of for example 10, so you can put movies in between them later).

you can also load a swf movie into a movieClip, but in your case it better to use levels, but I’m just giving you this to be complete:
[AS]
on(release) {
loadMovie(“buttons.swf”, “movieclipname”);
}
[/AS]

[QUOTE=sintax]Well you can use levels to load the swfs in…
So for example you load the file: buttons.swf in through this code:

Now we are starting to get somewhere=)!

What do you mean with levels thou? Layers?

Simon

No, levels and layers are something different, but it’s the same principle. Levels are used in actionscript, layers with the flash gui.

The _root is level0, and level10 appears in front of level5.

Sorry to be bathering you so much but can you show me and easy example?

how do i assign .swf levels

my heading is the root level 1
my 3 button .swf is in level 2

and so on

Man if i get this to work!:wink:

Simple, by assigning them the correct number with the loadMovie statement

[AS]
on(release) {
loadMovie(“buttons.swf”, 2); //this load your buttons into level 2
}
[/AS]

YESSSSSSSSSSSSSSSSSS!

You saved my day
I have been looking for your answear a week.

tanks again!!! :+)

no problem dude,

and now i’m off to bed ! :snooze:

sintax, quick question. Does the swf files get replaced by the other swf file with a higher level. If so what can I do so that they stay in the mainswf

They only get replaced if you load them in on the same level. So if you have one loaded on level 10, and you then load another one into level 10, then the first one gets kicked out.

If you use different levels for each swf, then they just get stacked on top of eachother, just as you would use layers.