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








Swapdepths - Image Flickers


Just a little, small (maybe easy) question.
I'm trying to make a kind of a 3d movement.
Therefor, I use the swapdepths thing. And here comes the problem. Object1 disappears completely behind object2, but when it comes in front of object2, it starts to flicker. How can I stop the flickering?
Help needed.

Thx!

ps.: If you don't understand what I mean, check http://www.geocities.com/neofantasypalace




FlashKit > Flash Help > Flash ActionScript
Posted on: 09-20-2001, 08:20 AM


View Complete Forum Thread with Replies

Sponsored Links:

Swapdepths And A BG Image
im trying to add a background to one of the tutorials on pie charts listed on flash kit but i can seem to get the pie infront of the graphics without losing the graphics all together

ive attached a fla
and tried swapdepths but it wont work for me

i appreciate any help you can offer

View Replies !    View Related
Load 30 Image, Thumbnail, N Swapdepths
Hello... i'm a flash newbie and learn AS hardly... pls help

i want to load 30 images to 30 empty mc's in same parent. my script is:

Code:
loadmovie ("komers1.jpg", "komers1");
loadmovie ("komers2.jpg", "komers2");
loadmovie ("komers3.jpg", "komers3");
// so on
loadmovie ("komers30.jpg", "komers30");
my question is:
1. how to make the script compact and more simple?
2. is it possible to rezise all imaged loaded to 20% it's original size? how to do that?
3. how to zoom in-out from thumbnail size.
after all image are loaded, i want visitor able click "komers1" mc (.. so on) and when the mc is clicked, it'll zoom to original size (100%) n go to highest level, covering others image. then zoom out back (20%) if visitor click again.

pls help me...

thx in advance

View Replies !    View Related
Load 30 Image, Thumbnail, N Swapdepths
Hello... i'm a flash newbie and learn AS hardly... pls help

i want to load 30 images to 30 empty mc's in same parent. my script is:

Code:
loadmovie ("komers1.jpg", "komers1");
loadmovie ("komers2.jpg", "komers2");
loadmovie ("komers3.jpg", "komers3");
// so on
loadmovie ("komers30.jpg", "komers30");
my question is:
1. how to make the script compact and more simple?
2. is it possible to rezise all imaged loaded to 20% it's original size? how to do that?
3. how to zoom in-out from thumbnail size.
after all image are loaded, i want visitor able click "komers1" mc (.. so on) and when the mc is clicked, it'll zoom to original size (100%) n go to highest level, covering others image. then zoom out back (20%) if visitor click again.

pls help me...

thx in advance

View Replies !    View Related
How To Create Flickers?
Hi all, I'm new to Flash, so plz help me. Can someone plz show me how to create vertical lines that's flashing? Here is how it looks like http://www.johnnyle.com
Many thanks

View Replies !    View Related
Flash Swf Flickers
i havea small flash .swf in a html page no frameset every time you roll over a link in the html page the flash.swf flckers please helpthanks

View Replies !    View Related
Swf Flickers When Loaded Through Other Swf
Hi there,

I'm importing 2 swf and 1 flv with the following code:

var mcloader:MovieClipLoader = new MovieClipLoader ();
var mcloader_Listener:Object = new Object ();
_global.loaderCounter = 0;
var mcsToLoad:Array = ["divine.swf", "divine_logo.swf", "divinelogo.flv"];
var mcsToLoadInto:Array = ["mainHolder", "logoHolder", "tpHolder"];
function loadingSequence (_m) {
while (_m < mcsToLoad.length) {
mcloader.loadClip (mcsToLoad[_m],mcsToLoadInto[_m]);
_m++;
}
}
loadingSequence (0);
mcloader_Listener.onLoadInit = function () {
loaderCounter++;
if (loaderCounter >= 3) {
mcloader.removeListener (mcloader_Listener);
}
};
mcloader.addListener (mcloader_Listener);


It loads the main one (divine.swf) ok, but the second one appears as a distorted flv file (red and black) that flickers, and the flv doesnt appear at all -

Actually when i test the divine_logo.swf on its own with the flash player, one out two times it does that flickering thing.

Can the file be corrupted?
is my code wrong?
help?

thank you in advance!

View Replies !    View Related
Cursor Flickers When Placed Over A Button
I have made a header with buttons in flash for a site. When i use the site the cursor does not changes its shape into handshape cursor depicting a link or button but flickers between an arrow cursor and hand cursor. I am not being able to understand the reason behind it.

It would be nice if someone can guide me through.

Thanks!

View Replies !    View Related
Flash Flickers On Macs
Im making a site that contains some flash content and everything works perfect on PC's but I looked at the site on my friends mac and the flash content flickers when ever he scrolls or moves the mouse over the navigation, why does it do this? and how can I fix it?

View Site

View Replies !    View Related
(FCS3) Combo Box Flickers, Why?
Hi, got a combobox inside a mc in a 1.swf that I import into 2.swf but there the combobox just flicker. It works fine when I test it using
´Test Movie´ in flash. And if I go straight to the directory and open 1.swf.

Any ideas?

And another newbie question how do I relabel a datagrid instance? (I am using a script from a mate and I need to relable the datagrid)

Help really appriciated!

B

View Replies !    View Related
CS3, AS2: SWF Flickers When Using ExternalInterface.call
Hello,

I have a bug that I can't put my finger on. I'm using ExternalInterface to retrieve the file path of an FLV from a JS function. Then the FLV plays in my flash movie.

Everything works perfectly except that as soon as the call is made, the entire swf flickers.

I'm pasting what I think is the relevant code below. If anyone can help, this is a pretty urgent request... I'm stumped and behind deadline already! Thanks in advance


PHP Code:



var result="";
import flash.external.ExternalInterface;
function getTextFromJavaScript(str:String):Void {
    received_ti.text = "From JavaScript: "+str;
}

ExternalInterface.addCallback("getClipPath",this,getTextFromJavaScript);

function clickSend(eventObj:Object):Void {
    var jsArgument:String = sending_combo.value+" "+sending_ti.text;
    result = ExternalInterface.call("getClipPath", jsArgument, keyLocation[randLocation]);
    
    nsResult.play(result);
    nsResult.pause();
    
    // create a preload interval to check load progress every 1 millisecond
    myInterval = setInterval(checkBytesLoaded, 1, nsResult);
}



function checkBytesLoaded(nsResult)
{
    // calculate percentage of video that has downloaded
    pctLoaded = Math.round(nsResult.bytesLoaded / nsResult.bytesTotal * 100);

    if (pctLoaded>= 100)    {
        
        // play video from the beginning
        nsEntrance.pause(true);
        nsResult.seek(0);
        nsResult.play(result);
        resultObject_inst.gotoAndPlay("fadeIn");
        giveUp_button.enabled = false;
        send_button.enabled = false;
        sending_ti.enabled = false;
        sending_ti._alpha = 75;
        sending_combo.enabled = false;
        sending_combo._alpha = 75;
        // clear interval
        clearInterval(myInterval);
    }
}

send_button.addEventListener("click",clickSend);

View Replies !    View Related
Dynamic Text Flickers
Does anyone have any idea how to prevent dynamic text flickering when moved along the x axis?

I've tried different fonts and high framerates, but it still flickers.

Thanks

View Replies !    View Related
Dynamic Loading An Mc Flickers At Pos X=1,y=1
hi, my problem is, that i load a jpg with a loader and when the image is available the image is shown at the location 1/1

i can set it in the loader routine onLoadInit to the destination coordinate to invisible but i see the image before on 1,1 coordinates and this makes a kind of flicker that i do not want.

in my opinion the reason for this is that a dynamic loaded mc gets initialized and so it comes to display at 1,1

wht can i do to prevent this?

thanks, anitaki

View Replies !    View Related
Published Swf File Flickers. Why?
Hi all, We are publishing a Swf file in Adobe cs3 and it flickers permanently when opened. What can we do to avoid this? Please advise.

View Replies !    View Related
Object Flickers On Mouse Over & Out?
ActionScript Code:
btn0.addEventListener(MouseEvent.MOUSE_OVER, moveHoverOver);btn0.addEventListener(MouseEvent.MOUSE_OUT, moveHoverOut);private function moveHoverOver(event:MouseEvent):void{                trace("MOUSE IS OVER");    this.buttonMode = true;    btnHover.x = event.currentTarget.x;    btnHover.y = event.currentTarget.y;            }        private function moveHoverOut(event:MouseEvent):void{                trace("MOUSE IS OUT");    btnHover.x = -500;    btnHover.y = -500;            }
It traces both MOUSE IS OVER & MOUSE IS OUT (constantly, btw) when you roll over or roll out. What gives?

All Im trying to do is bring a little box (btnHover) over each button when they roll over and take it off when they roll out. If I change event.currentTarget.x; to a number, the flickering stops.

View Replies !    View Related
Dynamic Text Flickers As It Moves
Hi,

I have a dynamically created dynamic textfield. It uses a font which is stored in the library, and embedfonts is set to true. antiAliasType is set to "advanced".

When I move the textField along the x-axis it flickers. The motion is jerky.

My framerate is hovering between 28 and 30, so I don't think that's the problem.

I have tried several fonts and they all flicker in the same way.

Any ideas?

View Replies !    View Related
_ymouse To Control _mc But Last Frame Flickers
I want to use _mouse to control the playhead - this is my code

var playback:Number;
onEnterFrame = function () {
if (playback>=_ymouse) {
wave_mc.nextFrame();
}
if (playback<=_ymouse) {
wave_mc.prevFrame();
}
if (playback == _ymouse) {
wave_mc.stop();
}

playback = _ymouse;
};

how ever if the mc gets to the last frame it flickers to the frame before and back to last one - rather than just stay on the last frame.

on the last frame of the mc I have put a stop() but it does not help.

can anyone explain and stop it

I have enclosed a fla if that helps to see

many thanks
I have so much to learn ... but people here have really helped me learn

View Replies !    View Related
Flash Movie Flickers When Return To Frame1
I have a flash movie that plays once you click the submit button. The elements in the last frame match up with those in the first. However once the the movie gets the the end (frame 135) and gotoStop on frame 1 theres a flicker. Any way of avoiding this?

You will see that after it says "thank you. youve been added to the mailing list" the flicker happens.

Ive included the original fla (only 411kb unzipped) as well as a link the the swf.

View Replies !    View Related
Custom Cursor Flickers Like A Short-circuiting LED.
I have created a custom cursor script which uses the mouse.Hide command as well as startDrag(). When I move the cursor around it flickers terribly. How do I remedy this?





























Edited: 01/07/2009 at 02:35:56 AM by Chosin Won

View Replies !    View Related
[Flash8] Dynamic Texts Flickers And Can't Solve It
Hi guys,

I googled for 4 hours and read most of the posts that came up when searched for different tags I thought would match, and still have no answer. My problem is the following:

I have a dynamic text field that loads some text and a variable that counts down days, months (for an event lets suppose). It worked perfectly the first time I tested it, then cleaned up the code and that's when the problems started. You can see it here.

A crippled, ugly version with a different code (that does not work for the countdown) is still standing here. I've reached a point where I just give up. HELP!!!

oh!!! btw, here's the code:


Code:
var text1 = "
just a bunch of text

and so on
";
var text2 = "
for after varying one

";

var fecha_actual = new Date();
var monthfield = 12-fecha_actual.getMonth();
var dayfield = 34-fecha_actual.getDate();
var hourfield = 23-fecha_actual.getHours();
var minutefield = 60-fecha_actual.getMinutes();
var secondfield = 60-fecha_actual.getSeconds();

var difference:String = "
"+monthfield+" meses, "+dayfield+" dias, "+hourfield+" horas, "+minutefield+" minutos, "+secondfield+" segundos.
";

main_text.text = text1.concat(difference,text2);
where fecha_actual is the current time and difference is the string holding the varying text.

Any idea on how to solve this?? PLEASE!!!

THANK YOU BEFOREHAND!!!!!!

View Replies !    View Related
Tweener ... When Tween Completes, Object Flickers
I have a simple motion tween I've created using tweener that incorporates blur and beziers, but when the tween finishes, the object that was tweened will occasionally flicker. Does anyone know what would be causing this? I have the object tweening to a rounded x and y position.

You can view my example here:

http://www.sostv.com/testing/tweener/

Might need to refresh a few times to have it flicker.

View Replies !    View Related
Custom Cursor "flickers"
Hi, I made a cursor, and it works, but for some reason, it flashes at the top left of the page for a split second.

To see the problem:
http://dianecollins.com/steve/FINAL2.html
If you click on the first photo here, it will take you to the section where the cursor (arrow) shows up when you scroll over the large photo.

Any ideas why this is happening?

View Replies !    View Related
LoadMovieNum("menu.swf", 1); //menu Flickers
I have a swf that on the main stage i have "drop downs" menus, using the "rollOver goto this frame, roll off goto that fame" method. I have the main menu system that i load onto the stage like so:
loadMovieNum("menu.swf", 1);

Each time I rollover or off the bttons the menu.swf flickers as if it disapears for a milli-second.

any ideas why?

View Replies !    View Related
SwapDepths
Hi all

have a question about swapDepths. I have a movie instance lets say its called myfirstmovieclip and it is located on level0 so the path would be _level0.myfirstmovieclip I want to use the swapDepths and move just myfirstmovieclip to level100. I would not be switching it with another movie clip instance on level100, nothing on 100. can I do this with swapDepths and if so what would the code look like?

_level0.myfirstmovieclip.swapDepths(_level100):

???? is this right because it aint workin.

thanks all

View Replies !    View Related
Swapdepths Help
I've been having problems with using swapdepths when loading movieclips into a main flash movie.

I have ten buttons that load ten movieclips into the main flash file. The movieclips have a bar across the top with startdrag action applied, and are loaded onto their own level, eg button1 one loads a movieclip onto level_1.

Can anyone help me to add a swapdepths action to the movieclips so that each movieclip comes to the front when pressed?

I've tried but can't get it working.

Thanks in advance.

View Replies !    View Related
Swapdepths...
hey, I have a mc that duplicates itself
each duplicated mc has a name: "mc"+a
"a" stands for a number
automatically this "mc"+a gets a depth wich is equal to this value of a

after a while I want an other mc to start but this mc has to play to overlay all of these duplicated mc's
the mc plays but all the duplicated mc's are layered above this mc

so my question is
how do I get this mc on top of all these duplicated mc's?

greets opcd

View Replies !    View Related
SwapDepths
mc.swapDepths(0); puts the mc to the toppest level, how do I put it in a lower level?

Help pls anybody. Thanks

View Replies !    View Related
Swapdepths?
does anyone know exactly what this does?

View Replies !    View Related
Using Swapdepths
Hi, i just need to know the sytax and how to use the swapdepths command, I understand WHAT it does i think, just how to use it, lol (repeating myself) thanks

View Replies !    View Related
SwapDepths? Please Help Me If You Can
action>object> swapdepths?

I am currently trying to create pannels that will swap levels when you click on them.

the two (or more ) movieclips that i am loading into a movie are pannels like the ones you see on your computer, I would like to know if you can change the levels of the pannels so that when you click on one or the other, the active pannel is moved to the front.

I have one movie that has two buttons in it that when pressed, load two other movie clips into the origional movie.
the two movie clips that get loaded are:
1) profiles.swf
2) services.swf
and the main movie is called "controller".

I just want to know how to change the levels so that the active pannel will come to the front when clicked and visa-versa.
If you can answer this that would be great, its been killing me for like a week!!!! thanks.

View Replies !    View Related
SwapDepths?
Can anyone help explain the Swap Depths function? Here is my dilema: I have a bunch of mcs on the stage and when moused over they expand, and when moused out they contract again. What I cannot figure out is how to make each mc be on top of all the other mcs when it expands. My guess is that the swapdepths function is what I need, but I cannot get it to work. I posted a small example here http://www.sevenagainst.com/test.htm . Notice when you mouse over the left mc, it expands underneath the right mc. The finished movie will have about 30 mcs total.
Any help on this would be greatly appreciated!

View Replies !    View Related
SwapDepths
OK. I am ready to go insane. I want to have a project that has 5 areas (images) that when clicked become zoomed in on. So far I have 2 MC's (only 2 images so far to test and make sure it will work. If I can figure this out then I will add the other 3) and I have it so that whichever one is clicked on will resize the MC to seem as if it has been zoomed in on. THe problem that I have encountered is that when one image is enlarged, it overlaps the other image. I have tried every synatax of swapdepths and it doesn't work consistently. I have searched the forums for swapDepths and attempted the suggestions made in different threads, but still it does not work. I want whichever image is click to be on top. I am not sure if I put the code in the wrong place, or if I am using incorrect code. I don't know. I will be happy to e-mail anybody the .fla if they would like to see where I am going wrong.

View Replies !    View Related
SwapDepths Once... HELP
Hi!
I'm trying to make two mc's swap depths depending on witch one's in front of the other...

if (this._xscale>=114) {
this.swapDepths(_root.ball2);
}

does not work since the MC's toggle depths if "this" is bigger than 114. I want it to change depths once depending on the size of "this". And change back if it's smaller than 114...

View Replies !    View Related
MC.swapDepths( )
Does using MC.swapDepths() have any side effects?

I have 2 movie clips of which I want to switch the depths. These movies move positions each frame. However, it seems that when I use this swapDepths, I these movies won't move at all during the next frames.

Any help is appreciated!
Ya Tin

View Replies !    View Related
SwapDepths
hi, i have been trying to figure out how to modify this code so that other instance names may be used other than "window". this code is from the actionscript.org tutorial located at http://www.actionscript.org/tutorial...hs/index.shtml

on the main stage on a frame you have the script which sets the highest level to 2:
_level0:highest = "2";

then in the movie clips you have this code on a button the part in red is the instance name of the clips, im trying to get this to be basicly a wildcard so that the instance names dont have to be set to window0 window1 and so on:

on (press) {
this.swapDepths( "_level0:window" + _level0:highest );
_level0:highest = substring ( _name, 7, 1 );
startDrag(this);
}
on (release) {
stopDrag();
}

this is beyond my actionscript knowledge (im slowly progressing) so if anyone knows how to do this, or if its possible, help is greatly appreciated if you need me to explain more feel free to ask, my wording might be a bit off

View Replies !    View Related
SwapDepths
on (press) {
box.swapDepths(circle);
}


this is the peace of code that is pissing me off.. haha..

i'm just wondering if i can replace that (circle) with a string...

for example:

objectToSwapTo = "_parent.circle";

on (press) {
box.swapDepths(objectToSwapTo);
}


how can i go about doing that, coz i need a more dimanic way of swapping depths..

is there a way to see what depth lever a MC is on?? that would help a bit if i can't figure out how to use variables with this statement..

View Replies !    View Related
SwapDepths Help...
I need to swap the depth of several movieClips but I am not sure how it works...

I am using a loop, where i takes the value of all the clips to be updated:

_root.timeline["barra"+i].swapDepths(i-1);

this is action is to decrement the depth of each clip, but it must not be working because attaching a new clip, makes the last one disappear...
Is this clear? Actually I am building a secuencer... blocks can be inserted to represent screens. The blocks can be deleted and there is where I need to slide all the blocks and modify their depths to equal them to their new index.

any help will be appreciated.

View Replies !    View Related
Swapdepths ?
I have a series of movie clips that i'm duplicating repeatedly and i need a seperate movie clip to remain ontop of the clips that are beiong duplicated?

whats the easiest/best way to do this?

many thanks

View Replies !    View Related
SwapDepths
I want to randomly shuffle the layering of several movie clips. Each time you launch the movie the clips will be ordered differently. I want to be able to keep track of their order, or at the very least read which one is currently on top. How do I do this?

View Replies !    View Related
Swapdepths?
Has anyone dealt with these before? I have a problem that I thought may have been caused by draggable movie clips, but now I'm starting to think that the swapdepths that I have put on the movie clips may be the problem.

I have a frame that contains several draggable movieclips and everytime you move an MC it moves the swapdepth of that MC up one, so that the MC is always on the top. My problem is that when the user drags the MCs to the correct place, the movie moves them a few frames down the timeline. Those buttons are not in any of the new frames, but they will not leave if the user had moved them in the previous section. Why would this be?? How can i get around it?

View Replies !    View Related
Need SwapDepths Help...
Hi There...

Not sure I can even do this. I have a main movie with a separate MC for nav. On main movie load, the first movie clip loads to the side. Then if you click a button in the nav MC, another MC loads. This all works fine, just the way I want it to. On each of the top bars is a button to drag that particular MC. Here's the code:


Code:
on (press) {
startDrag("", false, 280, 120, 560, 380);
}
on (release) {
stopDrag();
}
The thing is, up to 6 MC's can be open at once. This is fine, as that's how it was designed. But, I would like to make it so that I can bring any of the MC's forward when the top bar is clicked on. Is this possible?

I'm using MX and publishing as F6. Everything is on layers, not levels, and I want to keep it that way. Which is why I'm not sure this is possible.

Thanks...

View Replies !    View Related
Them Swapdepths Again
Hey,

I've got a little problem,
I have a empty holder MC ('tiles') with a depth of 1...

Now in that MC I'm attaching lotta tiles... I was wondering if every value these tiles get can't be used in the main stage, or only not in the 'tiles' MC

View Replies !    View Related
SwapDepths
Here is my problem...

I have a main MC that loads 6 other MC's into it. When a new MC's is loaded, the current MC is faded to say, 50%. Then the new MC's preloader begins, over the top of the current MC. How can I do this? It works fine when a movie is loaded into a level above it, but when an MC in level 2 trys to load an MC in level 1 it is blocked, because all my MC's are solid (containing pictures and info).

I used Flash Help, and decided that I should be using swapdepths to fix this problem, but it gave no example. Someone please help, as I have been trying to figure this out for the last three hours...

View Replies !    View Related
Mc.swapDepths
I could use some help. I have five buttons on the same layer. All I did was drag them out of the library onto the layer. The buttons overlap. When the user mouses over one of the buttons, I want it to move to the front of the other buttons so the entire image is revealed.

I am trying to use the swapDepths(depth) method (as per the suggestion of two helpful souls from this discussion) to make this work but I think I'm screwing it up. The items remain at their initial depth.

Here is the code for two of the buttons on the layer, GMPCHome and AboutUs

on (rollOver) {
GPMCHome.swapDepths(1000);
}
on (rollOut) {
GPMCHome.swapDepths(900);
}
on (release) {
getURL("about.html");
}

_+_+_+_+_+_+_+_+_+

on (rollOver) {
AboutUs.swapDepths(1000);
}
on (rollOut) {
AboutUs.swapDepths(800);
}
on (release) {
getURL("about.html");
}

The idea is that even though the GPMC Home button is in front of AboutUs, when the user mouses over AboutUs (which is still about 90% visible), it will move to a depth higher than the GPMCHome button.

Please help, I have to deliver this in its completed state on Monday night.

Thanks!

View Replies !    View Related
[help] Swapdepths
hi guys,

i've read the sticky and that document is great. http://www.umbc.edu/interactive/flas...e.php?p=depths.

i have just a quick question for you:
i have 2mc's on the stage. 1 called 'hero' the other called 'square'. inside the 'square' mc are 2 mc's called 'square1' and 'square2'. is there anyway at all that i could make the hero appear infront of square 2 and at the same time behind square 1?

Quote:




from that document
The depths of objects can only be changed in respect to other objects within that same timeline. This applies to both actionscript and when working in the Flash authoring environment. What this means is that if you have two movieclips, clipA and clipB and they each have their own clips within, then those interior clips depths can not be changed or rearranged in relation to each other. The only way to rearrange their depth positioning is if you rearranged clipA's and clipB's depths directly which would then of course rearrange everything within those clips either above or below the other




does this mean the above question cannot be done?

thanks guys

View Replies !    View Related
How Do I Use Swapdepths?
Hi My problems have been narrowed down a bit to the swapdepths function but i cant implement it correctly.
I have 7 buttons when the mouse passes over any, it masks out the other 6, but, it does not work in the suggested manner, apparently its a problem of depths, as they are placed in the movie or something like that. anyway Im not really sure where the code should go to do the swapdepth function, I have been blundering around with this for near on 2 days and getting knowwhere

could someone look at what I have done and offer suggestions


http://users.bigpond.com/netwitz/nav.fla (129KB)

View Replies !    View Related
How Do I Use Swapdepths?
Hi My problems have been narrowed down a bit to the swapdepths function but i cant implement it correctly.
I have 7 buttons when the mouse passes over any, it masks out the other 6, but, it does not work in the suggested manner, apparently its a problem of depths, as they are placed in the movie or something like that. anyway Im not really sure where the code should go to do the swapdepth function, I have been blundering around with this for near on 2 days and getting knowwhere

could someone look at what I have done and offer suggestions


http://users.bigpond.com/netwitz/nav.fla (129KB)

View Replies !    View Related
SwapDepths
As you will see from this file, I am trying to swap the depths of the yellowish boxes but keep the greenish one always second from the top. Can anyone tell me why they aren't swapping? Your help is appreciated.

View Replies !    View Related
Swapdepths ?
Howdy!

Got 5 mc's mca, mcb, mcc,...stacked on the stage all from different library symbols.

I would simply like to click on any of them and bring to front.

Would like them to drag also if that's not asking too much.

I've tried 4 methods so far and can't get this to work.

Just looking for a simle way.

Thanks,
B

View Replies !    View Related
SwapDepths?
I have a bunch of movie clips in my movie that when clicked on they act as though they are falling, ie their gravity script kicks in. These objects are china plates, cups etc. sitting on shelves.
Could anyone give me some pointers or steps on how to get the clip that was last clicked on to come to the front (top depth?) so it appears as though its falling in front of all others. Do I use the swapDepths method somehow? Thanks

View Replies !    View Related
SwapDepths
hey,

I have 4 images and on top of the images, i have 4 buttons. I put the images in MCs (mc1, mc2, mc3, mc4). And on the 4 buttons, i have this code:


Code:
on(release){
mc1.swapDepths(1000);
mc1.gotoAndPlay("start");
}
"start" is a simple fade-in animation.

Now, if you click buttons, the image loads on top of the buttons. I want it so that when you click a certain button, the image under the button chages and you're still able to see the buttons.


Something like this:

http://69.20.52.206/laring/portfolio/main3.html


thx,
Baljinder

View Replies !    View Related
SwapDepths
I'm new to actionScripting. so I need to be hand held with a step by step script. I have 4 square images that line up with each other to form a larger square (two over and two down). each one is a button. when the user clicks it grows to fill the larger square shape. the problem is I want the button being clicked to always be on top covering the other three.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved