Depth Level?
Hi,
I'm trying to create an effect similar to this one:
http://www.thinknoodles.com You must click on "the space" to see the effect.
Do I need to use Depth Levels to do this? I know something similar can be achieved manually using tweens. The Rollover effect is pretty simple. It's the graceful Rollout that I'm having trouble with.
Cheers! jen
PS... I'm NOT an actionscript guru, so go easy on me...
FlashKit > Flash Help > Flash ActionScript
Posted on: 04-18-2004, 02:32 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
MC Depth Level
Hi folks,
In my scene I am duplicating lots of MCs which I place on different depth levels. Next to these guys I have a small mc (called MC_01) sitting in the middle of the scene throughout the whole root timeline.
Problem: I need to place MC_01 to a certain depth level so the duplicated MCs wouldn't cover it as the timeline progresses.
Question: How can I do that?
Thanx in advance.
Zoo_Mann
Depth And Level
Do I NEED TO TAKE CARE of the depth or levels if i am creating a movieclip for each jpg.
Can flash read the folder for the jpgs. Can u guide me on that.
Level And Depth
Hi All,
Please explain me the difference between levels and depth in flash
regards,
silverhawk
Depth Vs Level
Which takes precedence in Flash, depth or level? Is it possible to force a MC depth to take over the load .swf level?
How Do I Get A Mc´s Level Of Depth In The Layer?
Hi!
I want to get the current level of depth value (Z) for
a surten mc in its layer.
I´m currently working on a small simple gui and I´m
trying to simulate "window-focus". I use: swapDepth(target)
to make widows overlap on klick.
Is there a more sofisticated way to do it.
I can solve the problem by letting the mc´s comunicate
with some sort of boolean variable, but I want a smoother solution.
Please help!
/Charli
Depth - Level Swapping
Hi people
Im trying to make a objects rotate around eachother.
I know I need to swap the depth levels.
I just need to get the z co-cords sorted?
but how do I find the depth of a MC?
ok I know I swap depths SO I suppose I could make a dummy MC to store it as a temp?
Are there other ways?
Thanks
Bazburg
=)
Depth - Level Swapping
Hi people
Im trying to make a objects rotate around eachother.
I know I need to swap the depth levels.
I just need to get the z co-cords sorted?
but how do I find the depth of a MC?
ok I know I swap depths SO I suppose I could make a dummy MC to store it as a temp?
Are there other ways?
Thanks
Bazburg
=)
Depth Level Question
Is there a way to change a movie clip's depth level with ActionScript? I don't mean a movie clip that's been attached or duplicated, I mean a movie clip that's there from the start. Thanks.
Drawing API And Level Depth?
Below is the code I've written using the drawing API. No matter how I assign levels, if I animate the icon calling the function, the line is drawn on top of the icon. Any ideas?
_root.createEmptyMovieClip("paper",100);
green_mc.swapDepths(101);
icon_mc.swapDepths(110);
hookX=450
hookY=200
function connectMe(me) {
_root[me].onEnterFrame=function(){
paper.clear();
paper.lineStyle(3,0x0000FF,103);
paper.moveTo(green_mc._x,green_mc._y);
paper.curveTo(hookX,hookY,_roo[me]._x,_root[me]._y);
};
}
Then on the next frame I have this:
connectMe("icon_mc");
Level Depth Issues
I am attempting to create a graphic equaliser and I have the code all fine and well for the motion part. But I want to place a grid over the bars so they appear segmented. I am having trouble. I have attached the external swf file with the sound and the data for the bar movement. But I cannot attach the grid so that it shows over the bars the bars are always on top. Any Help??
Three Mc's To The Highest Depth/level?
hi all,
still wrestling wildly with as3 - i 'do' think it will be worth the migration - but at the moment am trying to get my head around even the simplest of tasks!
okay if i have three mc's on my stage named sprite1 sprite2 sprite3 and i want them to sit above the image wall created by this script how do i do it?
PHP Code:
/*Created by Min Thu http://www.flashmo.com AS3 References and Credits http://blog.papervision3d.org/ http://theflashblog.com/?p=306 http://www.gotoandlearn.com/ http://www.onerutter.com/ http://labs.blitzagency.com/ http://vilebody.wordpress.com/2007/11/29/3d-papervision-plane-events/*/import org.papervision3d.scenes.*;import org.papervision3d.cameras.*;import org.papervision3d.objects.*;import org.papervision3d.materials.*;import fl.transitions.Tween;import fl.transitions.easing.*;import flash.display.Sprite;import flash.events.MouseEvent;var container:Sprite = new Sprite();container.x = 400;container.y = 300;addChild(container);var scene:Scene3D = new MovieScene3D(container);var cam:Camera3D = new Camera3D();cam.zoom = 6;tn_title.text = "";tn_desc.text = "";tn_url.text = "";var p_dict:Dictionary=new Dictionary();var pc:Plane = new Plane();pc.visible = false;cam.target = pc;var numOfRotations:Number = 3;var yPos:Number = 0;var angle:Number = 0;var filename_list = new Array();var url_list = new Array();var url_target_list:Array = new Array();var title_list = new Array();var description_list = new Array();var folder:String = "thumbnails/";var i:Number;var j:Number = 0;var k:Number = 0;var l:Number = 0;var m:Number = 0;var total:Number;var flashmo_xml:XML = new XML();var loader:URLLoader = new URLLoader();loader.load(new URLRequest("thumbnail_list_3.xml"));loader.addEventListener(Event.COMPLETE, create_thumbnail);function create_thumbnail(e:Event):void { flashmo_xml = XML(e.target.data); total = flashmo_xml.thumbnail.length(); var anglePer:Number = ((Math.PI*2) * numOfRotations) / total; for( i = 0; i < total; i++ ) { url_list.push( flashmo_xml.thumbnail[i].@url.toString() ); url_target_list.push( flashmo_xml.thumbnail[i].@target.toString() ); title_list.push( flashmo_xml.thumbnail[i].@title.toString() ); description_list.push( flashmo_xml.thumbnail[i].@description.toString() ); var bfm:BitmapFileMaterial = new BitmapFileMaterial( folder + flashmo_xml.thumbnail[i].@filename.toString()); bfm.oneSide = false; bfm.smooth = true; var p:Plane = new Plane(bfm, 140, 105, 2, 2); scene.addChild(p); var p_container:Sprite = p.container; p_container.name = "flashmo_" + i; p_dict[p_container] = p; p_container.buttonMode = true; p_container.addEventListener( MouseEvent.ROLL_OVER, p_rollover ); p_container.addEventListener( MouseEvent.ROLL_OUT, p_rollout ); p_container.addEventListener( MouseEvent.CLICK, p_click ); p.rotationY = (-i*anglePer) * (180/Math.PI) + 90; p.x = Math.cos(i * anglePer) * 480; p.z = Math.sin(i * anglePer) * 480; p.y = yPos; if( (i+1) % 20 == 0 ) { yPos += 115; } }}function p_rollover(me:MouseEvent) { var sp:Sprite = me.target as Sprite; var tw:Tween = new Tween(sp, 'alpha', Strong.easeOut, 1, 0.5, 0.6, true); var s_no:Number = parseInt(sp.name.slice(8,10)); tn_title.text = title_list[s_no]; tn_desc.text = description_list[s_no]; tn_url.text = url_list[s_no];}function p_rollout(me:MouseEvent) { var sp:Sprite = me.target as Sprite; var tw:Tween = new Tween(sp, 'alpha', Strong.easeOut, 0.5, 1, 0.6, true); tn_title.text = ""; tn_desc.text = ""; tn_url.text = "";}function p_click(me:MouseEvent) { var sp:Sprite = me.target as Sprite; var s_no:Number = parseInt(sp.name.slice(8,10)); navigateToURL(new URLRequest(url_list[s_no]), url_target_list[s_no]);}addEventListener(Event.ENTER_FRAME, render);function render(e:Event):void{ var dist2:Number = ((stage.mouseX) - 400) * 0.0001; angle += dist2; cam.x = - Math.cos(angle) * 150; cam.z = Math.sin(angle) * 150; var new_zoom = 5; cam.zoom += ( new_zoom - cam.zoom ) * 0.06; scene.renderCamera(cam);}
that script creates a scrolling image wall but the wall sits above the three mc's and not at a lower depth.
do i need to create each mc dynamically? something like
sprite1 = newsprite etc...
or can i just say that sprite 1,2,3 should appear at depth 10,11,12?
i also need the mc's to act as a navigation - so if sprite1 is clicked the swf timeline will go to frame2 - and if sprite2 is clicked goto frame3
how do i do these things in as3? i would be able to do it in as2 but i can't work it out for as3 - some much is different! - anyone shed some light for me? please?
Movie Level/depth
Hi everyone,
Could anyone tell me how to determine the level of a movie clip on the stage, I know that if you attach the movie at run time using actionscript you can specify the level that it's registered to?
Thanks very much... Rick.
How To Create A Level Or Depth For A MC.
I am simply trying to place an MC above an external swf that is being loaded into my main swf.
In detail, I have created an MC for my navigation which sits on the main timeline. The buttons in my nav are reffering to framelabels on the timeline which link out to external swf files. these swf files then get loaded into level 1 of the main swf, overlapping my navigation MC. Is there an easy fix, applying levels or depth to the MC, or will I have to re-structure my site? Thanks yall!
Maximum Depth Level
Quick question, is there a maximum depth number in flash? I'm preparing a game and will want to calculate all possible depth layer usage. I just need to know the maximum depth so that i don't calculate for nothing...
Target Depth Level Problem
I have created a flash movie titled news.swf within this movie I am loading dynamic text from a file titled currentnews.txt
I have a scroll bar on the text this works fine.
I then load news.swf into the main movie and the currentnews.txt file dissapears.
My guess is that I have set the target levels for depth wrong.
My current action script is simple:
loadVariablesNum("currentnews.txt", 0)
I have tried setting the depth to 1 and 2 this does not work. I have posted my working samples. I have also posted the source files, but they might not download, upon my second check. If you need to look at the source files make a post and I will figure it out.
Thanks for your time and help.
here is my live sample:
http://freeartday.com/Help/sample.html
Movieclip Depth / Level Management
How do you manage the depths of the different movieclips on the stage? The movieclips are already on the stage with instance names. Here's the current codes i'm working with now. Problem is, when the overlap, the image depths stays the same.
import gs.*;
import gs.easing.*;
bottle1_mc.addEventListener(MouseEvent.CLICK, bottleMove1);
bottle1_mc.buttonMode = true;
function bottleMove1(event:MouseEvent):void
{
if (bottle1_mc.scaleX == 1)
{
TweenLite.to(bottle1_mc, 0.75, {x:93, y:397, scaleX:.373, scaleY:.373, delay:0, ease:Quint.easeOut});
}
else
{
TweenLite.to(bottle1_mc, 0.75, {x:382, y:40, scaleX:1, scaleY:1, delay:0, ease:Quint.easeOut});
//bottle1_mc.addChildAt(= -7;
}
}
bottle2_mc.addEventListener(MouseEvent.CLICK, bottleMove2);
bottle2_mc.buttonMode = true;
function bottleMove2(event:MouseEvent):void
{
if (bottle2_mc.scaleX == 1)
{
TweenLite.to(bottle2_mc, 0.75, {x:234, y:210, scaleX:.686, scaleY:.686, delay:0, ease:Quint.easeOut});
}
else
{
TweenLite.to(bottle2_mc, 0.75, {x:382, y:40, scaleX:1, scaleY:1, delay:0, ease:Quint.easeOut});
}
}
bottle3_mc.addEventListener(MouseEvent.CLICK, bottleMove3);
bottle3_mc.buttonMode = true;
function bottleMove3(event:MouseEvent):void
{
if (bottle3_mc.scaleX == 1)
{
TweenLite.to(bottle3_mc, 0.75, {x:437, y:341, scaleX:.435, scaleY:.435, delay:0, ease:Quint.easeOut});
}
else
{
TweenLite.to(bottle3_mc, 0.75, {x:382, y:40, scaleX:1, scaleY:1, delay:0, ease:Quint.easeOut});
}
}
bottle4_mc.addEventListener(MouseEvent.CLICK, bottleMove4);
bottle4_mc.buttonMode = true;
function bottleMove4(event:MouseEvent):void
{
if (bottle4_mc.scaleX == 1)
{
TweenLite.to(bottle4_mc, 0.75, {x:540, y:203, scaleX:.718, scaleY:.718, delay:0, ease:Quint.easeOut});
}
else
{
TweenLite.to(bottle4_mc, 0.75, {x:382, y:40, scaleX:1, scaleY:1, delay:0, ease:Quint.easeOut});
}
}
bottle5_mc.addEventListener(MouseEvent.CLICK, bottleMove5);
bottle5_mc.buttonMode = true;
function bottleMove5(event:MouseEvent):void
{
if (bottle5_mc.scaleX == 1)
{
TweenLite.to(bottle5_mc, 0.75, {x:711, y:308, scaleX:.514, scaleY:.514, delay:0, ease:Quint.easeOut});
}
else
{
TweenLite.to(bottle5_mc, 0.75, {x:382, y:40, scaleX:1, scaleY:1, delay:0, ease:Quint.easeOut});
}
}
bottle6_mc.addEventListener(MouseEvent.CLICK, bottleMove6);
bottle6_mc.buttonMode = true;
function bottleMove6(event:MouseEvent):void
{
if (bottle6_mc.scaleX == 1)
{
TweenLite.to(bottle6_mc, 0.75, {x:881, y:481, scaleX:.231, scaleY:.231, delay:0, ease:Quint.easeOut});
}
else
{
TweenLite.to(bottle6_mc, 0.75, {x:382, y:40, scaleX:1, scaleY:1, delay:0, ease:Quint.easeOut});
}
}
Movieclip Depth / Level Management
How do you manage the depths of the different movieclips on the stage? The movieclips are already on the stage with instance names. Here's the current codes i'm working with now. Problem is, when the overlap, the image depths stays the same.
import gs.*;
import gs.easing.*;
bottle1_mc.addEventListener(MouseEvent.CLICK, bottleMove1);
bottle1_mc.buttonMode = true;
function bottleMove1(event:MouseEvent):void
{
if (bottle1_mc.scaleX == 1)
{
TweenLite.to(bottle1_mc, 0.75, {x:93, y:397, scaleX:.373, scaleY:.373, delay:0, ease:Quint.easeOut});
}
else
{
TweenLite.to(bottle1_mc, 0.75, {x:382, y:40, scaleX:1, scaleY:1, delay:0, ease:Quint.easeOut});
//bottle1_mc.addChildAt(= -7;
}
}
bottle2_mc.addEventListener(MouseEvent.CLICK, bottleMove2);
bottle2_mc.buttonMode = true;
function bottleMove2(event:MouseEvent):void
{
if (bottle2_mc.scaleX == 1)
{
TweenLite.to(bottle2_mc, 0.75, {x:234, y:210, scaleX:.686, scaleY:.686, delay:0, ease:Quint.easeOut});
}
else
{
TweenLite.to(bottle2_mc, 0.75, {x:382, y:40, scaleX:1, scaleY:1, delay:0, ease:Quint.easeOut});
}
}
bottle3_mc.addEventListener(MouseEvent.CLICK, bottleMove3);
bottle3_mc.buttonMode = true;
function bottleMove3(event:MouseEvent):void
{
if (bottle3_mc.scaleX == 1)
{
TweenLite.to(bottle3_mc, 0.75, {x:437, y:341, scaleX:.435, scaleY:.435, delay:0, ease:Quint.easeOut});
}
else
{
TweenLite.to(bottle3_mc, 0.75, {x:382, y:40, scaleX:1, scaleY:1, delay:0, ease:Quint.easeOut});
}
}
bottle4_mc.addEventListener(MouseEvent.CLICK, bottleMove4);
bottle4_mc.buttonMode = true;
function bottleMove4(event:MouseEvent):void
{
if (bottle4_mc.scaleX == 1)
{
TweenLite.to(bottle4_mc, 0.75, {x:540, y:203, scaleX:.718, scaleY:.718, delay:0, ease:Quint.easeOut});
}
else
{
TweenLite.to(bottle4_mc, 0.75, {x:382, y:40, scaleX:1, scaleY:1, delay:0, ease:Quint.easeOut});
}
}
bottle5_mc.addEventListener(MouseEvent.CLICK, bottleMove5);
bottle5_mc.buttonMode = true;
function bottleMove5(event:MouseEvent):void
{
if (bottle5_mc.scaleX == 1)
{
TweenLite.to(bottle5_mc, 0.75, {x:711, y:308, scaleX:.514, scaleY:.514, delay:0, ease:Quint.easeOut});
}
else
{
TweenLite.to(bottle5_mc, 0.75, {x:382, y:40, scaleX:1, scaleY:1, delay:0, ease:Quint.easeOut});
}
}
bottle6_mc.addEventListener(MouseEvent.CLICK, bottleMove6);
bottle6_mc.buttonMode = true;
function bottleMove6(event:MouseEvent):void
{
if (bottle6_mc.scaleX == 1)
{
TweenLite.to(bottle6_mc, 0.75, {x:881, y:481, scaleX:.231, scaleY:.231, delay:0, ease:Quint.easeOut});
}
else
{
TweenLite.to(bottle6_mc, 0.75, {x:382, y:40, scaleX:1, scaleY:1, delay:0, ease:Quint.easeOut});
}
}
Forcing Depth/level Of Clip On Stage
Can I set the depth of a movieclip I've placed on the stage?
I've duplicated 12 movie clips and given them a depth of 0-11.
I've got another movieclip on the stage which I want to sit on top of them, but at the moment it's behind them. It's in the top layer (which I know is just an Flash editing thing). How can I force my movieclip on the stage to be in the top level, even when I dynamically add other clips to the stage later? There must be a way to just give it a depth of 20 or something?
Thanks for any pointers! I've checked out previous posts here and read the ActionScript Dictionary relating to this and can't find anything useful!
Sean
Depth (or Level) Problem. Help Needed & Appreciated
My guess would be that it is either a depth or level problem that unfortunately I can't solve on my own...
I have a MC (picture inside) that I want to mask dynamically. I created a column (let's call it column #1) of squares, which masks the left side of MC. By doing this.onMouseDown action, I want to ADD another column (column #2) of those masking squares to the right side of column #1, and then another one and another one, untill MC is covered with the mask completely.
The problem is that instead of ADDING columns of masking squares to the right of the preceeding one, doing this.onMouseDown action simply MOVES the same colum#1 across the stage, from the left side to the right side...
Could anybody help me out with this problem please? Thanks!
ActionScript Code:
this.createEmptyMovieClip("emptyMC", 1);
emptyMC._x = 25;
emptyMC._y = 25;
w = Stage.width/mc._width;
h = Stage.height/mc._height;
colsNum = 0;
function effect() {
for (i=0; i<h-1.5; i++) {
emptyMC.attachMovie("mc", "mask"+i, i);
emptyMC["mask"+i]._y = mc._height*i;
emptyMC["mask"+i]._x = mc._width*colsNum;
}
colsNum++;
if (colsNum>=w-1) {
delete colsNum;
}
}
this.onMouseDown = function() {
effect();
};
Changing Level Of A .swf After Load / Not Swap Depth
I have looked everywhere, gone through actionscript books and posted to about 5 forums.
I need script to move .swf file to a different level after load / . . . loadMovieNum ("xxxx.swf", 25);
swapdepth has not been a workable solution because it freezes one of the .swf files. As I believe depth swap is not intended to work in this manner.
I am looking for a command that can push say ("piecetwo.swf", 20); to _level19 . . . something like. _level19.swapLevels(20);
When I do a swap depth. The level change takes place. But it also ceases all functionality with the one of the .swf files.
If you can help. I would really appreciate itText
Move A MC To Highest Level/depth Without SwapDepth
Flash5.
I have 3 MC.
on release I want the MC (linked to that particular button) to move to a/the depth/level higher than the other two MC's.
on the next release, that particular MC should move again over the other two
et cetera.
So like Swapdepth, with the difference that I do not want two MC's swapping depth.
The new image should always go on top of the previous highest positioned image.
Is this possible and if so, how?
Thanks!
How Can I Load A Movie To The Highest Depth(level)?
hi
these tutorials are cool
I hope you guys help me out on this.
I'm trying to load an external mc to my web page, I have randomly
flying stars on my page that's why I want to load my mc to the highest
depth(highest level )
thanks
How To Move A MC To The Highest Level/depth Without SwapDepth (flash5)
Flash5.
I have 3 MC.
on release I want the MC (linked to that particular button) to move to a/the depth/level higher than the other two MC's.
on the next release, that particular MC should move again over the other two
et cetera.
So like Swapdepth, with the difference that I do not want two MC's swapping depth.
The new image should always go on top of the previous highest positioned image.
Is this possible and if so, how
Thanks!
Need Code To Change Level Of Loaded .swf's / Not Swap Depth
This is roughly forum 9.
If you can answer this you are a God.
I don't think it can be done.
I need script to move a .swf file to a different level AFTER loadMovieNum ("xxxx.swf", 25);
swapdepth has not been a workable solution, because it freezes one of the .swf files. No further functionality of the timeline or ability to even unload the swf. I believe depth swap is not intended to work in this manner. If you have any tips to make it work I am all ears.
I am looking for a command that can push ("piecetwo.swf", 20); to _level19 . . . something like. _level19.swapLevels(20); I would prefer to not even have to do a level swap. To be able to just tell it to go where I want.
If you can help. I would really appreciate it. I only think stack order can be manipulated like that when dealing with mc's. I would love to be wrong.
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?
Problem About Depth Of Objects..(swap Depth) Plse.help
umph..hello i'm nameg sir
i'm trying to do dragging project. drag isomatric object in small room(isomatric view too) for test installation..(so i necessary have foreground objects,background objects ..u know)
now i can drag many objs. in same movie when i press it , by i use swap depth command (for see it above other)and drag it around sometime it works...but sometime it don't!...
1..... some obj. automatic swap its depth! when i release other one....i don't know why
2. some time i dup. new obj. to drag and it del some old obj. that call before
ps. i use swap code from this site tutorial ...s.a.Drag & Drop / Swap DepthsAuthor by : estudioworks
thank u so muchhhhhhhhhhhhh
Question About Depth And Highest Depth
Hello hello
I am learning AS and am now at the depth story.
I have questions about it : when I create an empty mc, where different swfs will load in ( loaded on main stage by several movie clips) is it interesting to use the getNextHighestDepth command ??
Thank you action scripters !!!
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.
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!
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?
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
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?
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
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?
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.................
|