Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Return At Level 0 In A Specific MC Frame By Clicking In Other Level...



I have a movie that loads (by a button) others swf's in level 1, 2...

My problems are:

1 - These buttons functions, in level 0, being still working when I "loadMovieNum" and then I have another ones above in levels 1, 2...
How can I make the bellows buttons (level 0 - "invisible") to stop working?

2 - I used "tellTarget" function in level 0, inside a MC, that jumps to frame 100 to 150 and stop. And so it loads another swf's in levels 1, 2...Nice.
Otherwise, when I "unloadMovieNum" 1, 2... and it returns at level 0, the playhead is on frame 150.
How can I return at frame 100 by the same click?



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 02-09-2004, 07:51 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Return At Level 0 In A Specific MC Frame By Clicking In Other Level...
I have a movie that loads (by a button) others swf's in level 1, 2...

My problems are:

1 - These buttons functions, in level 0, being still working when I "loadMovieNum" and then I have another ones above in levels 1, 2...
How can I make the bellows buttons (level 0 - that are "invisible") to stop working?

2 - I used "tellTarget" function in level 0, inside a MC, that jumps to frame 100 to 150 and stop. And so it loads another swf's in levels 1, 2...Nice.

The code I used is:

on (release) {
tellTarget("/my_movie") {
gotoAndStop(150);
loadMovieNum("filetwo.swf",1);
loadMovieNum("filethree.swf",2);
}
}

Otherwise, when I "unloadMovieNum" 1, 2... and it returns at level 0, the playhead starts again in frame 1.
How can I return at frame 100 by the same click?

The code I´ve put in a button in filetwo.swf is:

on (release) {
unloadMovieNum(1);
unloadMovieNum(2);
loadMovieNum("fileone.swf",0);
_root.my_movie.gotoAndPlay(100);
}

What is wrong?

Return At Level 0 In A Specific MC Frame By Clicking In Other Level...
I have a movie that loads (by a button) others swf's in level 1, 2...

My problems are:

1 - These buttons functions, in level 0, being still working when I "loadMovieNum" and then I have another ones above in levels 1, 2...
How can I make the bellows buttons (level 0 - "invisible") to stop working?

2 - I used "tellTarget" function in level 0, inside a MC, that jumps to frame 100 to 150 and stop. And so it loads another swf's in levels 1, 2...Nice.
Otherwise, when I "unloadMovieNum" 1, 2... and it returns at level 0, the playhead is on frame 150.
How can I return at frame 100 by the same click?

Set A Variable In One Level By Clicking In Another Level
I want to click on an item in level1000 and have it assign a variable in level0.
Thanks

How Do I Target A Frame On A Specific Level
How do I target a specific frame in a level that has been preloaded, which has a stop action on frame one, I need to target frame two of that level from level 0. Anyone?

How To Load A Specific Instance And Frame Into The Level?
Need help urgently. Im using loadMovieNum for this current site im working on.
There're only 2 levels: the root (level0) and level1. I load every new directory into level 1 and replace them. Not only i need to load the swf into scene 1, i need to call the specific frame label(x) of the specific movie instance(i).
IE, i have A.swf as level 1 and i load B.swf into level 1 to replace A.swf.
So at the button of A.swf, i code:

on (press, release) {
loadMovieNum ("B.swf", 1);
_root.gotoAndPlay("i", "x");
}

Now i have read some prev forum that says the solution lies in placing this code into the first frame of B.swf but i've tried but it doesnt work. It loops forever.
frame 1 of B.swf:

if (_level0.goto ne "" && _framesloaded eq _totalframes) {
gotoAndPlay (level0.goto);
}

frame 2 of B.swf:
gotoAndPlay(1)
frame 3 of B.swf
everything else.
cant.
Help, anyone? Appreciate that.

Level 0 Loads A Movie Into Level 1 - Buttons On Level 0 Still Appear To Be Active Underneath
I am working on an interactive cd. My main movie plays in level 0 and clicking on an option loads the relevant movie into level 1.

The problem I have is that the main movie's buttons are still active underneath and if you click on the wrong place in the movie on level 1 it jumps to a new movie because of the button below.

Is there a way to somehow deactivate these while there is a movie playing above?

Jump To Scene 2, Frame Label "start" On Level 5 From Button On Level 150?
I have a button on Level 150 that needs to load movie on level 5 and tell the movie to jump to a frame label called "start" in Scene 2. Is this possible to do?

here's the code that I have for the button on level 150

on (release) {
unloadMovieNum (100);
loadMovieNum ("city.swf", 5);
unloadMovieNum (10);
unloadMovieNum (150);

Now how do I tell level 5 to jump to a certain
scene and then a certain frame label?

Any help would be greatly appreciated. Thanks.

Ps. This was is done in flash 5 not MX.

Playing A Specific Frame Of A Level1 Movie From Level 0 Movie
I want to play a level 1 movie from a level 0 movie, only I want to play a specific frame of the level 1 movie, not the whole movie. I don't know how to do this with the LoadMovie command. Can anyone help? Thanks

How To Go From Level 1 Movie To Level 2 Movie Frame Number 10
i'm in level 1 and i want to go to level 2 frame 10 how to i do that? i tried two script but none works.

the script i tried:

on button:
on (release) {
_root:a = "a";
gotoAndPlay ("start");
}

on last frame"
if (_root:a == "a") {
unloadMovieNum (1);
loadMovieNum ("intro.swf", 2);
_level2.gotoAndPlay("guest");
}
second method:

on last frame:
if (_root:a == "a") {
unloadMovieNum (1);
loadMovieNum ("intro.swf", 2);
_root:guest = "guest";
}
on first frame of level 2:
if (_root:a == "a") {
gotoAndPlay ("guest");

}

Check Which Level A Specific .swf Movie Is On?
Hi,
is there a way of checking into which level a specific .swf movie is loaded?
cheers,
minka

Loading Specific Swf Level Into A New Sandbox
hey everyone,

jumping back onto a project that i havn't touched for about a month and when i left i had a problem that i wonder if anyone here can help solve?

Ive got a html page with one swf in the top table and another seperate one in the bottom. Now i want to control the bottom one using the topone and this starts to cause security issues and problems telling it what to do as its a different sandbox so runs a new set of levels etc...

anyway, has anyone got any experience with this? i need to tell the bottom swf to load a new swf on a new level but cant, any comments appreciated.

thanks a lot.




cuse

Load Swf On Specific Layer Level...
Hello!

I'm using Flash MX and I need everybody's help on this:

Load swf on specific layer level...

If I have a movie clip containing my set of menu buttons on layer 2 on the root, and a container movie clip on layer 1 (below layer 2)...How do I call a swf to load into that container in layer 1 so that my menu will stay on top of the loaded movie? Hope you can give me a sample script on this...Thank You.

Arnold

Help, Trying To Check If A SWF Has Loaded Into A Specific Level
I'm trying to build a button where.....

IF clicked, it will load a swf file into lvl 4

UNLESS lvl4 already has a SWF loaded into it, then I want this button to UNLOAD whatever is in lvl 4.

I figure its some check that reads.....

On Press - If something is in lvl 4 - unload lvl 4
- else load SomeFlashFile.swf into lvl 4

Anyone know the correct way to script this?

Thanks in advance

(using Flash MX 6.0 r4)

Send All Variables From Specific Level?
I am an idiot apparently. I've unloaded the movie located in level 10 prior to asking for the variables, which means, duh, they don't exist anymore. Sometimes I think my coffee is low on caffeine...

How To Use Event Propogation To A Specific Level?
Here's my question.

I am trying to use event propagation.

This works great. However, it continues to bubble down and affect all nested movie clips. What I would like to do, is to only bubble down one level, i.e. only o the first nested movieclip.

So I would like to essential to the inverse of parent.mymovieclip
is there something like child.movieclip?

Here is the code I have:
ActionScript Code:
mcScreenShots.addEventListener(MouseEvent.MOUSE_OVER, onScreenShotsOver);
mcScreenShots.addEventListener(MouseEvent.MOUSE_OUT, onScreenShotsOut);
mcScreenShots.addEventListener(MouseEvent.MOUSE_DOWN, onScreenShotsDown);

function onScreenShotsOver(evt:MouseEvent):void{
//the 'evt.target' continues to affect every single nested movie clip. I would like it to only affect the first movie clip.
    TweenFilterLite.to(evt.target, 1, {glowFilter:{color:0xff0000, alpha:.45, blurX:20, blurY:20}});
};

function onScreenShotsOut(evt:MouseEvent):void{
    TweenFilterLite.to(evt.target, 1,{glowFilter:{color:0xff000, alpha:0, blurX:10, blurY:10}});
};

function onScreenShotsDown(evt:MouseEvent):void{
    TweenLite.to(evt.target, 1,{scaleX:1.5, scaleY:1.5})
}

Load A .swf Into Level 2 At A Specific X And Y Point?
Is it possible to load a .swf at a specific x and y point ? The movie I am loading is loading onto level 2, but I would like it to be positioned at x=30 and y=40.

Thanks!

on(rollOver) {
    loadMovie("filemenuonly.swf",2)
}

On Mouse Press Load Movie To Level 5 And Unload Movies From Level 6.7.8.9 ?
on mouse press Load movie to level 5 and unload movies from level 6.7.8.9 ???

Ok here is the deal
I have 5 Music files I created 5 seperate flash movies for them

As it stands now I have

Track1 load to level 5
Track2 load to level 6
Track3 load to level 7
Track4 load to level 8
Track5 load to level 9

The problem is how I script that if I press track 1 to unload level 6,7,8,9 so only level 5 track playing

Or if I press Track 5 to unload movies level 5,6,7,8

This is what I done so far
http://eclipse.ebportal.com/bluenotejazz/index.html

If u press on track1 and after on track 2, Track 2 will just upload new flash file on top of track 1.


Now I am not good with this but, this is what I tried
This is as code stands

on (press) {
stopAllSounds();
loadMovieNum("flash/track1.swf", 5);
play();
}

This is what I was trying to do for TRACK 1

on (press) {
stopAllSounds();
loadMovieNum("flash/track1.swf", 5);
play();
}
on (release) {
unloadMovieNum(6,7,8,9);
}

---------------------------------

Of course for Track 2 this would be

on (press) {
stopAllSounds();
loadMovieNum("flash/track2.swf", 6);
play();
}
on (release) {
unloadMovieNum(5,7,8,9);
}


ETC

Pls some help need it here and its URGENT !!!

Load A Movie To Another Level And The Buttons In Base Level Still Work..
Hello,

Ok Im loading movies into level 95. The problem is the movie at the base has buttons in it and they are still active through the movie that is loaded at lvl 95. So to fix this I made one large button and made the movie at lvl 95 dragable. The only issue with this method is now your cursor looks like it is always active. So has anyone figured out a way to block buttons that are at the base level if you load into a upper level?

Thanx
Robert

Why Are Buttons On A Lower Level Still Active In A Loaded Higher Level...?
hi, i'm very new to flash and am in the midst of trying to figure out the loadMovieNum feature. I have the one swf loading into a higher level (say 10) but the buttons on the level below it are still active (ie you get the little hand if you roll over them) even though they are no longer visible. I tried loading all levles into 0, but that means the page below goes away entirely and i like having the preloader of the next page pop up over the current page. I've tried just loadMovie into an empty MC but get the same result. Can anyone help?

thanks in advance!!

[F8] Quiz Template Not Computing Score When Loaded Into A Level Other Than Level 0...
I have created a 10 question multiple choice quiz from the quiz template, and it works perfectly as its own .swf. But when I use the moviecliploader object to load the quiz .swf into another .swf in level 5 (or any other layer other than 0) I am able to go through all of the questions and get the correct feedback, but when the results frame shows up, nothing gets computed. Does anyone know what I should do to allow this to work? Thanks.

Quiz Template Not Computing Score When Loaded Into A Level Other Than Level 0...
I have created a 10 question multiple choice quiz from the quiz template, and it works perfectly as its own .swf. But when I use the moviecliploader object to load the quiz .swf into another .swf in level 5 (or any other layer other than 0) I am able to go through all of the questions and get the correct feedback, but when the results frame shows up, nothing gets computed. Does anyone know what I should do to allow this to work? Thanks.

LOAD MOVIE IN LEVEL 2 AND SPECIFIC PLACE
Please help me !!

I have to load one movie (that have a drag lens effect) This effect of lens only works if the movie is load in a another level.

I have to place this movie in a specific place of the main movie . How can I do it .

I allready try to load into a empty movieclip located in the pleace that I want . But because is in the level (0) the Drag Lens effect does not works

HELP PLEASE !!!!!!!!!!!!!!!!!!!!


See you


Ricardo

Load Movie To Level To Specific X,y Coord +
Help,
I have created an external swf which is a test question and in the input text field the cursor is present so the student does not have to click in it. However when I load this file into a clip to facilitate its positioning, it loses the cursor.
So I called in in to a level and the cursor effect remains, however I am unable to get it to the proper position.

I am using Flash MX, and I have been unable to get it to work.

Any and all help would be greatly appreciated.

Part 2:
Along the same lines, how can I tell a loaded swf to go to frame x (or to a specific time) and play and stop at frame x. I have a file which was converted to swf using sorenson squeeze and it has no markers in it so I can only call frames once I figure out where to start and stop.
Once again any and all help would be greatly appreciated.

Opening A Random Swf From A List Into A Specific Level?
Ive created some small, transparent advertisment swfs that I want to load into level 6 of the main site swf. How can I load these advertisment swfs randomly, into level 6. EG:

ad1.swf
ad2.swf
ad3.swf

are chosen at random to be loaded into level 6

Hope you can help

Lewis

Check If Specific Swf Is Loaded In Spec Level?
I am making a site with several external swf's that are loaded into different levels. Every menu button loads two swf's - one specific for that page, and one general for that category. Like the ABOUT button always loads generalabout.swf into level 2 and aboutus.swf or aboutyou.swf or aboutthree.swf into level 3. Is there a way to add to the menu button About Us, About you etc, a check if generalabout.swf is already loaded into level 1, and then only load the aboutus.swf or aboutyou.swf? And if it in't loaded (becuase say generalcontact.swf is already loaded into level 1) then load it? Am I making any sense?

Much appreciated if anyone can help!

HELP With LoadMovie: When I Load Level 1, Level 2 Disappears And Shouldn't
Hi I have a problem...
I have a movie on level 0 with menu buttons A, B and C. Every button loads a new movie (movie A, movie B and movie C) and they all load the movie in level 1. I have another movie containing the music (movie MUSIC).

When I load the site (level 0) I first load the music (movie MUSIC) in level 2 with a loadMovie(2) and later I let the user choose if he wants to see movie A, B or C by loading them with loadMovie(1). Unfortunately when the user clicks on a button to load any of the three movies A, B and C, the music MOVIE disappears and therefore the music stops. I need the movie MUSIC to be in the top-most level and to load before the other movies do, that's why I have it in level 2, so the controls (play, stop, volume) are always on top of all other movies loaded.

Can you please help me make the music play without the music MOVIE disappearing and stopping when a movie UNDER/BELOW is loaded in a level lower that the music movie's level?

Thanks a lot!

Whoa.. Sending A Variable From Level 1 To Level 0.. Hmmm...
I thought this would be easy but can't find the code anywhere.

I've loaded a .swf movie into level1 and want to click a button in that movie that changes a variable in the main timeline (level0).

Does anyone know the actionscript to do this?

Thanks dudes,
bossanova

Loading Movie To Level 1, Cancelling Out Level 0 Buttons?
I have a movie (main.swf) and when you click one of the buttons, it loads section.swf on top of main.swf onto level 1

When section.swf appears on the screen, everything is fine BUT... the buttons on the main.swf work THROUGH the section.swf which is on level 1. Is there anyway to cancel out the buttons on level 0 when a movie is loaded ontop of it to level 1????

TIA

Play Movie In Level 0 From Loaded .swf On Level 10?
hi everyone...

i have a movie(frame2) on the main timeline of the the main .swf loaded in at level 0, Which i want to play by clicking a button in a movie on the main timeline of .swf loaded in on level 10 what actionscript do i need to do this, i have looked at several other answers on the message board but none seemed to be relevant any body know what the script should be that i attach to the button.????your help would be much appreciated...

Controling Movie Level 0 From A Higher Level
Hi,

I have a movie that loads various other .swf files into level 3.

How do i get the movie loaded into level 3 to tell the main movie in level 0 to go and play a certain frame?

Can this be done?

Cheers

Pete

Controling Tween In Level 2 With Button In Level 1
Hi all,

This may be a bit long and confussing, pls bear with me. thank you

imagine this:
i have a main.swf tht loads a swf 3 buttons in it (but.swf) onto level1.

There are 3 other differnet SWF files (1.swf, 2.swf, 3.swf). Each of then has a tween tht casues them to fade in from frame 1to 10, stops at frame 10(a stop actionscript is used), and fades out to from frame 11 to20 and stops there(a stop actionscript is used, casues its the end and no point to loop).

Here's the problem:
I want the first button to click and 1.swf will be loaded onto level2 (it fades in and stays)of the main.swf. And when click onto the second button, 1.swf will fade out, be unloaded from level2 and 3.swf will fade in onto level2.

And this will go on and on in no particluar order(e.g button 1 can be clicked onto first then button 3, or button 2then button 3,etc).

i have tried to use the script below for the buttons but it donest seem to be right
----------------------------------------------------------------
on (release) {
_level2.gotoAndPlay(11);
}
on (release) {
unloadMovieNum(2);
loadMovieNum("3.swf", 2);
}
--------------------------------------------------------------

Hope i have made my problem clear, if not pls let me know.

I think this should be a fairly simple problem to slove....So i hope someone can reply me soon

THX A Million!

Movie Clip From One Level To Another Level
I have heard this can't be done but anyways..

I would like to take a movie clip from _level0 and duplicate and send it into another movieclip in _level1.

IS IT POSSIBLE??


Trish.

(Level1 has to be in flash 4...for now.)

Wait for the Wizards response.................

Movie Clip From One Level To Another Level
I have heard this can't be done but anyways:

I would like to take a movie clip from _level0 and duplicate and send it into another movieclip in _level1.

IS IT POSSIBLE??


Trish.

(Level1 has to be in flash 4...for now.)

..(It's not that entirely doubt you tony.)

Wait for the Wizards response.................

Level To Level Control (a Bit Simple)
How to control the timeline and the clips in level N from other levels.

How To Deactivate Links From Level 1 To Level 0 ?
Hi

I have some buttons on level 0 when I get to level 1 then I still feel some links below even buttons are hidden I want to know that can I deactivate links from level 1 to level 0?

thanks

How Can I Read A Variable In One Level From A Swf On Another Level
Hello experts!

I have to swfs loaded on levels 5 and 8, but I want level 5 to start once a variable in level 8 called "loaded" = true. How can I read "loaded" from level 5.

I'm using flash 5

thanks in advance

Stage Level Overlay Level
This is for an open book test I have for school. I have tried to serch it out but can't find the answer. Does anyone know?

Is the stage level above or below the overlay level.

A) above
B) below
C) the levels are on separate layers
D) they are only on mask layer
Barbara/Babs

Contolling A Movie At Level 0 From Level 1?
I have one movie (intro.swf) loaded on top of my main movie (start.swf) when the user clicks the 'skip intro' button I want the movie at level 1 (intro.swf) to unload and the movie at level 0 to progress (go to and play frame 28). What code do I use on the 'skip intro' button?

LoadMovie Into Level, Then Target An MC In That Level
Hi -

I am loading an .swf called "nav.swf" into _level16 of my main movie. Within nav.swf there are MCs in the root which I would like to target from the main movie.

I have tried the following:

_level16.nextButton._visible=false;

and

_level16.nextButton._visible=0;

with no luck.

when i trace _level16.nextButton I get undefined returned.

am I using the correct syntax here?

thanks!

Have Level 0 Play From Action On Level 3
I have a two movies main being on level 0 and the other that loads on top of 0 levl 3 when u click on one of the buttons on level 3 I want the main timeline on level 0 to continue to play wich is currently on frame 175 and stop at 185. So I have a stop on the main timeline of level 0 at frame 185and on 175 and the script I have on the button is
on (release) {
unloadMovie(2);
_level0.play();
loadMovie("home.swf", 2);
}

I also tried
on (release) {
unloadMovie(2);
_level0.gotoAndPlay(176);
loadMovie("home.swf", 2);
}

the both work but it dosent stop at 185

so I tried

on (release) {
unloadMovie(2);
_level0.gotoAndStop(176);
loadMovie("home.swf", 2);
}

and of courser it stoped on 176.
I am not sure what I am doing wrong. please help

Calling A Function In Level 0 Swf From Level 2 Swf
Hey guys,

I've got a swf file on level 0, which I've loaded another swf into level 2. My objective is to blur everything on level one to make the loaded swf on level 2 stand out. I have everything worked out except, I can't seem to call the functions in the main movie timeline from the level 2 movie.. i've tried _root, _parent, and even tried using a work-a-round by passing a _global variable back and forth between the two, which was getting messy. I know there's got to be a better way, or something simple I'm missing. Can you guys help?
Thanks in advance!

Going To A Frame On Another Level
Hi, I need a quick answer if anyone has a little time_

I have my main movie on level0. I also have a "go to main" button on the same level. I load my information movies on level1. The beginning of one has a short animation that I would like to jump over when I go back to the main movie. I have a button, and on the first frame I have:

main_btn.onRelease = function() {
_level1.gotoAndPlay("outro");
loadMovieNum("bureau_05.swf",1);
_level1.gotoAndStop("menuFrame");

};


I want to unload the old movie on level1 (go toand play ("outro")) and then the next movie should load and then go right to the "menuFrame" frame label. Am I doing anyxthing wrong? I even tried changing the alpha of an MC from here and it doesn't work.

Any help would be GREATLY appreciated!!!
THANKS!
miakazi

Go To Certain Frame Within Level 0
I am trying to go to a certain frame within level 0. When you are in level 4, for example, and you click the button that takes you back to level 0, I would like to bypass the preloader and initial animation in level 0 and start at frame 3. I would like to think that it's as easy as:


loadmovieNum("main.swf", 0);
_level0.gotoAndPlay(3);

But somehow I'm thinking it's not that easy... Because it didn't work

Any suggestions?

How To Make "Perloader In Level 0 React To File Size Of Level 1 Movie"
Hi with the help of a kind heart online, i was able to recieve a FLA file which contents the script for me to load an external movie onto a main movie, while allowing the preloader of tht main movie to wait for the external movie to be loaded b4 skiping the fram with the mc "loading".

Everything works fine offline but when i host it up online the main movie stucks at the mc "loading", and does not load the external movie. I have tried to replace tht external movie with a simple only one pix in it flash movie, but still no difference. Also when i previewed the main movie in flash 6, a window titled "output" poped up with the message "1110938". i tried looking up for infor on it but no luck at all.

here's the link to download the FLA file from :
http://www.geocities.com/yutokagui/p..._05_03.zip.zip

Hope someone can help thx alot.

Getting Frame Number In Another Level
Hi guys hoping you can help me out with something....

I have a main movie on level 0 that when you click on a button loads another movie in level1, what I'm trying to do is check to make sure that the main movie is on frame 30 before the movie on level 1 loads like this:

if (getProperty (_level0, _framesloaded )==30) {
tellTarget ("_level1") {
gotoAndPlay (3);
}
} else {
tellTarget ("_level1") {
gotoAndPlay (2);
}
}

I keep getting a script error ???
I'm using flash 5 btw

Thanks
Dave

Can't Get To A Scene And Frame In Another Level
I'm using the following code:

on (release) {

loadMovieNum ("part.swf", 500);
_level500.gotoAndPlay("exit","home");

}

Why will this not load the movie in level 500 then goto and play Scene (exit), Frame (home)?

is there a better way?

Can't Get To A Scene And Frame In Another Level
I'm using the following code:

on (release) {

loadMovieNum ("part.swf", 500);
_level500.gotoAndPlay("exit","home");

}

Why will this not load the movie in level 500 then goto and play Scene (exit), Frame (home)?

is there a better way?

Buttondisable, Level, Frame..
Hello,

Im looking for a script or tutorial.

When i press button1, it disables the button and then it loads a movie into level 1.

If i press another button it enables button1, after that it needs to go to a certain framelabel on level1 and then unload the “button1” movie on level1 and then i wanted to load another movie in level1.

Hope its not to complicated explained.

Thanks in advanced.

Cheers

Copyright © 2005-08 www.BigResource.com, All rights reserved