Groups | Blog | Home
all groups > flash (macromedia) > may 2004 >

flash (macromedia) : Problems with _level(s) in Flash MX


BenODwyer
5/16/2004 11:41:00 PM
Hello All

I am new to the forums so please be patient.

I am having a problem calling a gotoAndPlay() command across _levels in my
movie.

I have the basic movie at _level0. I then load my content, navigation, and
other elements into other levels 1-4.

_level3 is the navigation. On release on a navigation element I then load more
navigation into _level5 (from within the _level3 movie).

Will this last action load the new content into _level5 of _level3 or into
_level5 of the original movie??

The problem I am having is I want to call a gotoAndPlay function from the
_level5 movie. The element I am playing is a scene in _level3 (i.e. the _parent
of the _level5 movie. I think!!) I have tried every combination of calls to
_levels and __parent, _root etc but I can't get it to work.

Any ideas??

I do hope this all makes sence.

Many thanks in advance.

Ben O'Dwyer :)
BenODwyer
5/17/2004 9:41:17 AM
Thanks alot.

That works great.

I lost a few hours with that one...

Thanks again.

Jeckyl
5/17/2004 11:09:49 AM
levels don't have sublevels.

If you load into level 5, then you load into level5 .. whether that load
came from level 0, or level 3

You CANNOT USE scene names to navigate with gotoAndPlay between level (and
SHOULD NOT use them anywhere else, they are buggy and difficult). Use frame
labels instead WITHOUT any scene name

AddThis Social Bookmark Button