I have a project (see attached) where I need to have the folders seem like they are floating in space, and I need the best way to make it so when you click on a back folder, it slides off the screen and come back in front of all the folders.
am creating a shooting game. my main class in first frame now i want to add the title in front of the game if a adding frame in front make it stop function. the game play runs what can i do?
I have a made function to control the alpha of a few squares. The function looks like this:
[Code]....
I know that I can call that function for one mc with: [AS]fadeSq (square1, 0, 4);[/AS] But is it also posibe to call the function for let's say seven mc's at once. I mean without writing seven lines of scrip?
I've developed a website and on the home page there is a series of css/ javascript dropdown hyperlinks. Some of these hyperlinks display a popup menu of further links on mousemover. Immediately below the hyperlinks is a small flash movie.
The problem is, when you mouseover the links and it displays the popup links, the flash movie appears OVER the drop links.
Is there a way I can either send the flash movie to the back using some kind of 'send to back' option like there is in dreamweaver? Surely I don't have to restructure my page to allow for this?
I have created a motion-tween with three images rotating in a flat circle from the foreground to the back. As the images move to the background, they shrink in size 25% and darken a bit. The motion has three stopping stages, with each image having a period in the foreground.
I am having an issue figuring how to make the images in the front to overlap those in the back as it rotates. I have tried placing each image on a seperate layer and placing the images on a single layer but it doesn't function the way I hope.
I don't understand how it's possible to have a lot of objects on the stage and be able to manage the motion tweens with all of them, but ALSO manage which objects are in front and which are in back of each other. I have a military type animation and there is a lot of action going on, and there are times where I need some of my guys to be in front of objects, and times when they need to be behind.
I don't know how to manage the objects in regards to layers and motions in a way so I can get the objects in the order I need them to be (like which item goes in front of the other).
Does anyone have any tips or a way that I can manage my objects and motions and be able to sort them on the stage so that I can arrange the objects how I need them to be in regards to placement and which should be in front of other objects?
Is there any way to make a clicked movie clip go to front, and then when released, go back to it's original position?
I've been reading about swapDepths and a few functions that allow to bring to front the MC, but nothing to return them to their original positions between the layers.
Can this be done? Or is it any way to make it look as it?
Is there someway that you can arrange movieclips in as3? Like when you right click on it and you can arrange "Send to back", "Send to front". For example I've exported 2 Mc:s to as3 and made a new instance in as3 by referring to the class I exported. So is there someway I can decide which one to put infront of the other one? If it's confusing my goal is to at some point bring one of the Mc:s to the front, and on another point bring the other MC so the front.
I'm looking to slideshow or flash my magazine front and back cover and some interior pages on my website. So they will show the different pages back and forth.
how I would go about displaying certain information by date?
Clarification: Lets say I have a movie clip with 31 frames (31 days in Jan.), each frame has different information on it and depending on the date, it displays a certain frame. If it is Jan. 1st then it displays frame 1, if it is Jan. 2nd it displays frame 2, etc...
What's the difference between selectedChild property and selectedIndex property? I read the documentation, both seems to be setting currect active accordion. selectedChild can be only used in actionscript, but other than this, what's the difference?
I have a site with an SWF that I can put some metrics into, such as ZIP Code, Weight, etc.. then, it takes that info and gives me shipping rates.
I need to build a front-end site that I can have a forms page that will push data to the backend SWF, and then return the data back from the SWF to the front end.
i want to use a DisplayObject to determine collides with hitTestObject function how to create a DisplayObject for BitmapData? so it knows totally transparent pixels are not collidable
I need to return to my original function after capturing an event (downloading something) with another function. The original function needs to return a value, which depends on the downloaded data. So, I'd like to pause original function for the time needed for the download and the eventhandler function to complete it's work, and resume it afterwards.
The obvious way is to set a flag value (both the original function and the eventhandler are within the same class) and make the original function check it until the eventhandler function changes the flag. But that would be wasteful, and my AS is slow enough already:) [other parts of the application utilise some heavy graphics]. Is there another way? Like an event that gets captured "in the middle" of the function? Or some other form of flow control?
iam using FLVPlay back control in my project, i need to mute it while running first time automatically. it may thr script or any other option? i got struct up. mute buttton has to be ther, but initially it has to be muter, and video has to play.
I have tried to grasp this concept, but cannot believe the cluster F that as3 has done with loading a swf and then removing it.Whereas in As2, you would simply loadMovie into a movieClip's instance name. If you wanted it gone, you could simply replace it with something new, or unloadMovie. Simple.Now...to even load a movie in...you have to create variables, create a movie clip, create a loader, then create a url request, then load that url request into the loader, then addchild so that the loader is on the stage? And to remove it, is next to impossible.So here is my code..
function loadMovie (){ var my_mc:MovieClip = new MovieClip(); var my_Loader:Loader = new Loader();[code]....
That code when tested gives me....Error #2025: The supplied DisplayObject must be a child of the caller. When I try to run the removeMovie function.
I would like to be able to quickly check if a given DisplayObject is a descendant (not in the inheritance sense - ie. child, grandchild, great-grandchild, great-great-grandchild, etc.) of another DisplayObject. There doesn't seem to be a native way to do this and I can only think of two ways to achieve it: Create the mother of all nested loops. Seems a bit, I dunno, wrong? Dispatch a bubbling event at the 'child' and check if the potential 'parent' receives it.
Latest_News_Display is under the Latest_News state. I want to set Latest_News_Display's x property even if the currentState is set to Intro. However, when I try to use Latest_News.Latest_News_Display.x = 10,it returns an error that says 1120: Access of undefined property Latest_News
download my attachment file of hierchy of movie clip. into movie clip. My major movie clip is grayBox. Gray Box contain two box Green box and pink box and pink box contain black box.