PDA

View Full Version : how can I control _level1?


webzoogirl
07-10-2002, 12:10 PM
hi all,
I've got a question about levels.

In a movie in _level0 I put an action:

_level1.mmm.sss.gotoAndStop("news");
//"news" is the frame label I want to reach

even if the target mmm.sss is right, the action doesn't work.
why?
is it possible?
how can i do it?

thanks
--- wzg ---

Ricod
07-10-2002, 12:48 PM
That oughta do it. So, check for the following :

- is mmm.sss indeed in _level1, and not in for instance _level0 inside a mc ?
- is mmm labeled correctly ?
- is sss labeled correctly ?
- is the framelabel labeled "name" and not "Name" ?
- aren't u confusing _levels with layers ?

webzoogirl
07-10-2002, 01:06 PM
thanks a lot!

I solved my problem: I had to leave some empty frames between the action of loading the movie and the other action of gotoAndStop.

Thanks for your help :o)

--- wzg ---

Ricod
07-10-2002, 01:40 PM
Ah right !

*mental note : - is it loaded before u adress it ?*

webzoogirl
07-10-2002, 01:57 PM
that's maybe the reason why it didn't work... I suppose.
:cool:

sumul
07-12-2002, 02:35 PM
It certainly is. Flash loads data (variables and movies) asynchronously (this is the term Marcomedia uses). Just means that you can't count on being able to use the data immediately--especially in the same frame.