ActionScript 2.0 :: Swapdepths - Mc's Keep Popping Up On The Other Scene's

Aug 6, 2002

My movie has several scenes. In one of them I have to swapdepths of some mc's. The weird thing is that when I go on to the next scene, the mc's that were on top of the stackingorder are showing up on top of the next scene. I've tried about everything I could think of, but the mc's keep popping up on the other scene's.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Stop Swapdepths In Flash Persisting For The Whole Scene?

Apr 2, 2010

I have a small interface at the begging of my scene (frame1) using the swapdepths command to stop background buttons being clicked beneith pressed button menus. AS on Button inside movieclip (MC):

[Code]...

The next few frames are seperate pages and do not contain this interface yet all the buttons selected from the frame1 interface are still prominant in every frame after this. How can I disable swapdepths in the frames after this?

View 2 Replies

ActionScript 2.0 :: Popping The SWF Button?

Jul 7, 2008

It's just a rough outline, and the site is still in progress. But at any rate, I'm wondering how I can code it so the JB Design logo doesn't pop every time it's rolled over. I want the swf to just work inside the movie, with the sheen changing each time it's rolled over. Currently the AS for the particular button/swf in question is set on its own level, and a button set on the movie part to activate it. The rest of the swfs called should be constantly active. [URL]

View 1 Replies

Flash :: Make A Button Navigate From Scene 1 To Scene 2 Without Displaying Both Scene Content In Scene2?

Jan 27, 2011

ive made a button in the scene 1 which i have managed to navigate to scene 2 but when i click the button it goes to scene 2 but displays everthing that is in scene 1 in scene 2, how can sort this out so upon the button click in scene 1 it goes to scene 2 and only display content in scene2.

[Code]...

View 1 Replies

Android :: Sharing Data When Popping Views?

Dec 16, 2010

We can pass data to the next view while using navigator.pushview, but the data is lost when the back button is clicked (popview).

I have views that make remote calls and I want to keep the data when the user navigates back to the view using the back button so I don't have to make a remote call again.

Is there a way to set a global variable that's accessible from all views, or a way to retain data when a user navigates back to a view using the back button?

View 4 Replies

ActionScript 2.0 :: Passing Parameters - Swf Should Open A Particular Scene Called 'Scene 2' Rather Than Scene 1

Sep 13, 2004

Check out this code:

[CODE]...

everything here is fine. It opens finely. But... i want to pass parameters where if i click a button in html page My.swf should open a particular scene called 'Scene 2' rather than scene 1. i tried

[CODE]...

View 2 Replies

ActionScript 1/2 :: Load A URL In .exe Flash File Without Popping Up In New Window?

Apr 1, 2010

I have developed a full screen .exe flash file in actionscript 2. It controls physical lights (e.g. turn on and off) by simply calling a URL for each action. However, I don't want the called URL's to open in front of the interface. Is there a way to call a hidden URL in flash?

View 3 Replies

ActionScript 2.0 :: Load Variables Without Popping Up New Browser Window?

Jan 9, 2003

I've created a standalone Kiosk that sends data input from the user to an ASP page.

Everything is working perfectly except that since this is a Kiosk, there is no need for browsers. When I send the info to the ASP page, it pops up a new browser window.

Here is my code:
--------------------------------
on(release){
v = new LoadVars();
v.send("http://www.cube-interactive.com/clients/healthsource

[Code]....

View 1 Replies

Media Server :: FMS 4.5.1 Popping Sound Crackle When Streaming HDS On Demand?

Feb 28, 2012

FMS 4.5.1 popping sound crackle when streaming HDS on demand

View 2 Replies

Flex :: Download Files To Default Dir Without Popping An Option Window In Air?

Feb 9, 2010

I'm writing a app with Flex/air,and i need a function that downloading files to the default dir without a pop-up window.i tried to use ftp instead of http but found it's not supported by air.how can i solve this problem?

View 2 Replies

ActionScript 3.0 :: Animation Popping - Only The X Or Y Will Scale Or The Buttons Won't Work Correctly

Jul 2, 2009

Have small thumbnails that will enlarge when the mouse is over them and shrink when it's not. For some reason sometimes only the X or Y will scale or the buttons won't work correctly. The animation will pop and I don't know how to fix it. The only reason I drop the opacity on all the others is because sometimes other images will get in the way.

View 2 Replies

Flash :: Windows - Player Debugger Stopped Working - No Exception Screens Popping Up

Jan 10, 2012

Has anybody had Flash player debuuger suddenly stop working for no reason whatsoever. What I've found so far: - No exception screens popping up.. in ANY browser. Reinstalled debugger version of flash player, no go. - Flashbug not showing in Firebug - No trace calls visible in FlashDevelop - Flash IDE behaves normal.. all trace calls visible - Firefox updated about the same time but problem seems to be on a wider scale This started approximately, on Sunday 8th Januray (or saturday).

View 1 Replies

ActionScript 3.0 :: How To Use SwapDepths()

Mar 16, 2011

how to use swapDepths(). I know the alternative way is swapChildren(), swapChildrenAt();I need to know, how to use swapDepths();

View 2 Replies

ActionScript 2.0 :: Using SwapDepths In MX?

Apr 2, 2004

I wanted to swap the depths of two movieclips one located in _level0 the other located in _level2! I can get it to work when the MC's are on the same level but not when thier in different levels.

This is the code I've tried...

Code:
_level2.buttons.swapDepths(_level0.caption);

View 1 Replies

ActionScript 1/2 :: SwapDepths With 3d Carousel?

Feb 19, 2010

I did the 3d carousel tutorial from gotoandlearn.com and I manage to create a background color that will load once you click an image with a movie clip called dim . However this movieclip dim keeps appearing atop my icons. I tried Swapdepths to change the orders but its not working.

[Code]...

View 17 Replies

ActionScript 2.0 :: Get These Mc's To Swapdepths When Clicked?

Jan 19, 2009

If anyone can get these mc's to swapdepths when clicked!

View 2 Replies

ActionScript 2.0 :: Using SwapDepths With 3D Carousel

Feb 20, 2010

I did the 3d carousel tutorial from gotoandlearn site and I manage to create a background color that will load once you click an image with a movie clip called dim. However this movieclip dim keeps appearing atop my icons. I tried Swapdepths to change the orders but its not working. On function released. I want the var dim to be behind the var t:Movieclip =home. in the preview the movie clip dim with the alpha of 80 appears on top the var t that has the carousel images.

Code:
import mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var numOfItems:Number;
var radiusX:Number = 300;
var radiusY:Number = 75;
[Code] .....

View 0 Replies

ActionScript 2.0 :: SwapDepths Without Using An OnClipEvent?

Jan 6, 2006

I have 2 images that I want to swap places on a certain frame in my animation. I've been messing with it for quite sometime now and I can accomplish one of two things. Either the animation goes smoothly and the images don't swap depths or the images swap depths and the animation hangs.

View 6 Replies

ActionScript 2.0 :: SwapDepths On Buttons?

Nov 14, 2007

I have a banner I'm working on and it has 28 icons that are button symbols. Each one when you mouse over, has a label animate out of it. All of these icons are in very close proximity and when you mouse over, the label usually goes behind the other icons.Now usually, with movieclips I attach this:

Code:
MC.onRollOver = function (){
_root.x += 2;

[code].....

View 2 Replies

IDE :: SwapDepths Without Movie Clips?

Jun 16, 2009

I'm filling my stage with a tile overlay (transparent .png). I want it to overlap an Embedded Video that's also on the stage. How can I get the tile overlay to be on top of the video instead of underneath?

[URL]

View 1 Replies

ActionScript 1/2 :: SwapDepths And Button Rollover?

Dec 2, 2010

I'm currently working on a project (AS2 in CS5) that contains a lot of small dots that are set up as buttons with rollovers. This has been problematic since the rollovers will sometimes appear behind some of the other buttons.
 
I did a forum search and found information about the swapdepths function that can be applied to buttons by using the following code:

[Code]... 
 
This code solved the overlap problem, however... now when i roll out of the button, the "roll over" state remains visible (instead of returning to its original state)

View 4 Replies

ActionScript 2.0 :: Swapdepths On A Ui Window Component?

Oct 7, 2004

The problem i have is that i want to use the ui window component (in order to keep file size down, and it just works well) but i want to use multiple windows on the stage. It was simple to get them to open with PopUpManager.createPopUp and to intialise the close button with deletePopUp(). Now heres the big but i can't get a swapdepths function to work.I have added in an event listener for the close button and the swapdepths but only one fuction will work at a time, ie i can get the swap depth to work but you can't drag the windows or close them, or you can drag and close one window but the other will not do anything until the top one is closed.i know that it's a swapdepth problem but i can't work out where to put the swapdepth in the code to make all fuctions work at once.The code is below

var myq1:MovieClip = PopUpManager.createPopUp(_root, Window, true, {closeButton:true, title:"Question 1", contentPath:'q1'});
myq1.setSize(600,450);

[code].....

View 1 Replies

ActionScript 2.0 :: Create Tabs With SwapDepths()?

Jun 2, 2005

I am having a problem and hope someone can help. I've created two mc's. One called "mcSkinned" and the other called "mcSkeleton". Each of these mc's has an mc inside of it that acts as the tab (so when the tab is clicked, the focus changes for either mcSkinned or mcSkeleton). The names of the tab mc's are:

mcSkeletonTabBackground
mcSkinnedTabBackground

So this means that mcSkeleton has mcSkeletonTabBackground in it and mcSkinned has mcSkinnedTabBackground in it.I've placed each main mc (mcSkinned and mcSkeleton) on the main scene and added the following code to an "Actions" layer on the timeline:

mcSkeleton.mcSkeletonTabBackground.onPress = function():Void {
mcSkeleton.swapDepths(this.mcSkinned);
};
mcSkinned.mcSkinnedTabBackground.onPress = function():Void {
mcSkinned.swapDepths(this.mcSkeleton);
};

Now, I know that I've done something wrong. Because if it worked, I would not be on here begging for help. Can anyone please let me know how I am screwing this up? have two tabs change depths when clicked on their tabs. I do not want these mc's to be draggable on to change z-depths.

View 6 Replies

ActionScript 2.0 :: [FMX]swapDepths Inside Function?

May 13, 2004

I have a function to fade in and out four movie clips. This is the code:

Code:
function fadeSub(l) {
for (k=0; k<but.length; k++) {[code]....

I have buttons inside the sub_mc's that aren't working because of the depths. How doI integrate a swapDepth in the fadeSub function?

View 6 Replies

ActionScript 2.0 :: Swapdepths On A Ui Window Component

Oct 7, 2004

i have been trying to work this out for some time and i can't find any info about this on the web.The problem i have is that i want to use the ui window component (in order to keep file size down, and it just works well) but i want to use multiple windows on the stage. It was simple to get them to open with PopUpManager.createPopUp and to intialise the close button with deletePopUp(). Now heres the big but i can't get a swapdepths function to work.I have added in an event listener for the close button and the swapdepths but only one fuction will work at a time, ie i can get the swap depth to work but you can't drag the windows or close them, or you can drag and close one window but the other will not do anything until the top one is closed.i know that it's a swapdepth problem but i can't work out where to put the swapdepth in the code to make all fuctions work at once.[code]

View 1 Replies

ActionScript 2.0 :: SwapDepths In Array Stops Working

Mar 12, 2009

I'm trying to set up an app that moves one movie clip to the top of the screen, regardless of where it is or how deeply it is nested. To do this, I take the full path of the movie clip and go in, movie clip by movie clip, putting the depth of each nested clip on top. This part works perfectly. Afterwards, I want to move everything back to where it was. In the first step, I store the current depths of everything in an array before changing depths. In the second step, I'm trying to change everything back to its original depth, as shown in the array.

The code is below:
_global.videoPath = _root.clip1.clip2;
var pathString = String(_global.videoPath);
var videoPathArray = pathString.split(".");
var depthArray:Array = new Array();
[Code] .....

View 1 Replies

ActionScript 2.0 :: Tabbed Content With SwapDepths Not Working Right?

Apr 2, 2009

I followed this tutorial on making Tabbed Content with swapDepths, but mine isn't working quite right. When you click a tab the text and icon disappear behind the tab. So each tabbed page is an mc and there is a button for each tab that has this AS on it:

on (release) {
_root.btn1.swapDepths(3) ;
_root.tab1.swapDepths(2) ;
}

View 3 Replies

Buttons In Movie Clips Arrays, SwapDepths?

Jan 28, 2010

I am a Flash newbie and I've probably bitten off more than I can chew with this one...it sounded so easy!
Okay, so here's what I want to do: There are 5 people layered across the screen. When you rollover the person, they change color and come to the foreground (over the other pictures). On rollout, they go back to the background and change back in color. On click, they go to a new screen with just their picture and some information.

I first started setting this up and did each person as a button. Then I realized that in doing that, the button would not come to the foreground on rollover if it was below other buttons in the layers. So I put all of the buttons in movie clips and applied AS to the buttons (inside the movie clips, with the buttons on the main scene) and the AS2 looks like this:

[Code]...

View 15 Replies

ActionScript 1/2 :: Swapdepths With New Mc From Dynamic Text Still Not Working

Feb 21, 2011

difference but Im using Flas cs5 with AS2. but my clock timer is still behind. Ned, I used your suggestion of putting my dynamic text into a new mc (create sybol method, the only one I know) then I made a new movieclilp named time_mc. I then pasted the actionscript with the 30 minute countdown timer on it. It is still behind. The clouds have to stay on the last depth and the timer has to stay on the top. The rest can go whereever. Not sure what i am doing wrong. I bet Im doing something incorrect but cant figure it out. I kept playing around with codes, but nothing worked. Here is the final non-working code. Working on this issue three days. The timer works if I remove all other layers but it stays hidden once I put them back,

[Code]...

View 4 Replies

Actionscript 3 :: Error 1006 : Swapdepths Is Not A Function

Apr 25, 2011

I'm having some trouble with swapDepths function. I'm programming a drag/drop system. I created a empty MovieClip (depthSwaper), with the highest depth, and every time I drag one of my objects, I swap its depths with depthSwaper, so my object is always on the highest depth.Problem, I get this error : "Error #1006 : swapDepths is not a function".

Here's my script :

public function monDown(e:MouseEvent) {
e.currentTarget.icone.swapDepths(depthSwaper);
e.currentTarget.startDrag();

[code]....

currentTarget.icone is the MovieClip I'm moving. I tried to use swapdepth with just a number, like this : e.currentTarget.icone.swapDepths(10); but i'm getting the same error.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved