Help! Need to know how to swap depths with Action Script 3

So i have several movie clips all on one layer.  Its an interactive gallery where when a photo is selected it plays the movie clip and the photo grows to fill the screne.  The problem is, since the animations take part within the movie clips and all the movie clips exist on the same layer when they are selected and grow to fill the screne they are being hidden behind all the movieclips infront of it in that layer.  I know that there is an action to bring movieclips to the highestdepth or to front on click/release but i do not have a clue where to start. But I am working in actionscript 3.0
If it will help we can post a link to the flash file.
Thanks!

I would probably use setChildIndex like
container.setChildIndex(clickedOnClip, container.numChildren - 1);
you could make a more general bring to front as well:
function bringToFront(obj:DisplayObject):void
    obj.parent.setChildIndex(obj, obj.parent.numChildren - 1);

Similar Messages

  • SECAM help, need to know how to make a secam project

    I Need to make a DVD that can be played in France.  I understand that the standard in France is SECAM.  I can't find a preset when making a project for SECAM or info on the web about what resolution to make if I were to create a custom preset.
    Any help would be great. Thanks

    Jim Simon wrote:
    As a general rule, you edit in a project that matches your media properties.  If your final delivery needs to be different, you do that during or after export.
    This is true.  I have shot in NTSC and had to send a PAL version of the final video over to Europe, so I edited in NTSC and converted it to PAL in Encore.  Worked fine, from what the client told me, although I never got to see the final PAL version since we don't have a PAL compatible DVD player in the office.  So I couldn't tell you if there were any problems I may have noticed that the client might have shrugged off (like field-dominance problems).

  • Looking for help need to know how to turn group message of in iOS 7.0.6

    How do I turn off group message in ios7.0.6

    Settings > Messages http://support.apple.com/kb/HT5760

  • Got a new Samsung galaxy s3 and can't get messages from iphone users now. Don't have the old iphone to change the settings ! please help . need to know how I can get messages on my galaxy

    Can't get messages from iphone users on my new Samsung g allaxy and don't have my old iphone anymore ! Please help !

    Read here under no longer have device:
    http://support.apple.com/kb/ht5661
    Be aware, changing your Apple ID password doesn't always work, & can take up to 45 days to work.
    It's either that, or you call AppleCare & have them fix.

  • Help, need to know how to sync all iPad programs to new email and Apple ID!

    Since getting my iPad, I've had to switch the Apple ID twice and now I have a new Gmail account (old email was also Gmail).  How do I sync all my apps, programs and calendars over to the new accounts? Right now I can't update old apps because the Apple ID is no longer valid and I can't get my calendar to show my new email, only the old one. 

    Apps are always tied to the ID with which you bought them. You cannot transfer purchased content to a new Apple ID. Are you sure that the old ID is no longer valid? Try using the old ID and password to update your apps.

  • I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics

    I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics with "Alternative Text".
    I know that with a Microsoft product graphics can be tagged before a PDF is made. I need to know how to do this with my programming.

    The Acrobat SDK might be a starting point.
    From there, perhaps a plug-in (built with C+).
    Perhaps with a licensed release of a PDF Library (this could be $$).
    The viable and cost effective alternative is use the tried and true.
    Authoring in an appropriate authoring application with appropriate tag management.
    Example:  Adobe InDesign; Adobe FrameMaker or MS Word with PDFMaker (comes with install of Acrobat).
    This way you place "Alternative Text" when mastering content in the authoring file.
    Going the route and with some look-see (research) you may find programmatic approaches to placing the alt txt in the authoring file.
    Note: as discussed in the Matterhorn Protocols there is no programmatic method that provides a fully accessible PDF (specifically, that is an ISO 14289-1, PDF/UA-1 compliant PDF).
    Regardless, here you have a sub-forum for discussions on Acrobat usage.
    Consequently discussions on/of 3rd party software is rather out of scope eh.
    Be well...

  • Help with action script 2.0

    I'm a beginner with flash. I created a flash file on my own.
    I also created a flash file using a slideshow program. Generally I
    like this program. I can insert them into my html with no problem.
    I want to load the slideshow.swf file into an empty movie
    clip in the flash file I created called products.swf. It works fine
    using
    loadMovie("slideshow.swf", call_mb_slideshow); (where
    call_mb_slideshow is a empty movieclip.)
    as long as the all the files are in the same folder. But, I
    need the products.swf file with the empty movieclip to be in the
    parent folder AND I need the slideshow.swf and the slideshow.xml
    file to be in a child folder call musicbox_slideshow. When I change
    the code to this:
    loadMovie("musicbox_slideshow/slideshow.swf",
    call_mb_slideshow);
    It loads the slideshow.swf file into the movieclip fine, BUT
    it doesn't know where to find the slideshow.xml file that loads the
    pictures into the slideshow. It looks for it in the parent folder,
    not the child folder.
    How do I write the script in products.swf so that it knows
    where the slideshow.xml file is? I cannot change the slideshow.swf
    file code in any way. I need to do it from products.swf.

    I can use this code from html. I'm able to say where the swf
    and xml file are. I just don't know how to do this using action
    script.
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    width="768" height="576" id="tech" align="middle">
    <param name="movie"
    value="slideshow.swf?xml_path=musicbox_slideshow/slideshow.xml"
    />
    <param name="quality" value="high" />
    <embed
    src="slideshow.swf?xml_path=musicbox_slideshow/slideshow.xml"
    quality="high" width="768" height="576" name="tech" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>.

  • I have a 3g iphone and I need to know how to delete old photos from my phone!! I need the space but there is no way to delete the pictures!! Help!!!

    I have a 3g iPhone and I need to know how to delete old photos. Need to free up space and there is no clear way to delete these photos!! Can someone please let me know how to get rid of these pictures!!!! Help!!!

    There are a number of ways to delete pictures from the Camera Roll.  One is to open Camera Roll in the thumbnail view, tap the arrow button (top right), tap all the pictures you want to delete, tap the Delete button ant the bottom.  Photo Library pictures are deleted by unchecking Sync Photos on the Photos tab of your iTunes sync settings, followed by syncing your phone.

  • My mac laptop crashed I need to know how to transfer my ipod's music/videos etc to my new IMac without erasing all my music/pic/videos.  please help me

    My macbook crashed the other day and i've been searching and searching for some help but nothing has come up... so anyway i need to get my music/movies/T.V shows/pics off the ipod and onto the new computer, but the problem is, is that it says i have to delete the contents of my ipod to sync with other computer.  I have purchased songs and a ton of movies but the rest has been from my friends and whatnot.  I need to know how to move the music/shows/movies to the new computer without using the old one.  is there such a thing?
    If you can help me out that would be awesome!
    thanks

    you can try this http://www.getsharepod.com/

  • Can anyone help me? I need to know how to stop emails being automaticaly tansferred to windows live inbox?

    can any one help? I need to know how to stop emails on my iphne being transferred to windows live inbox?

    Ok, i know that, but after that moment...Does every gallery needs to be on a different frame? So when i click different button it takes me to a different frame and loads different gallery? Hope you'll understand me!

  • I updated to 7.0.2 and read to close an icon to double click home and then sweep up the icon to close it. I need to know how to sweep up the icon since I can't seem to do it. Help  please???

    I updated to 7.0.2 on my iphone and read to close an icon to double click home and then sweep up the icon to close it. I need to know how to sweep up the icon since I can't seem to do it. Help  please???

    Not the icon. Swipe up the preview card.

  • I use Microsoft XP on my PC, where r my pictures from my iPad? I need to know how to send pictures to Walgreens, etc so I can get them printed. Help please!

    I use Microsoft XP on my PC, where r my pictures from my iPad? I need to know how to send pictures to Walgreens, etc so I can get them printed. Help please!

    I am legally blonde and not very tech savvy, so I don't really know how to do that.  I know ur time is valuable, so could u possibly give me a short tutorial?  I would b very grateful! I use the camera kit to get my pics from my sd card to my iPad and also from my iPhone to my iPad. Had I known I would have this problem, I would not have transferred my pics to my iPad until after I took the sd card and had my pics printed.

  • Please help...I was downloading my pics from the SD card. I then I highlighted 5 pics and selected erase, once I selected erase 20 other pics was also erase. I need to know how can those erase pics be recovered? Please Help!

    Please help...I was downloading my pics from the SD card. I then I highlighted 5 pics and selected erase, once I selected erase 20 other pics was also erase. I need to know how can those erase pics be recovered? Please Help!

    You will need data recovery software. See this post:
                                                                                       Re: I accidentally lost 3 weeks of photos, how do I recover them?                                            
    And please send feedback to Apple: This is a bug. Only the imported photos should have been deleted, not all photos on the card. You can use this form: Apple - iPhoto - Feedback

  • I just got logic and need help i dont know how to make a track at all

    i just got logic and need help i dont know how to make a track at all

    Pancenter wrote:
    There was a time not too long ago when people respected the incredible amount of talent that contributed to this software...Everyone -wanted- to learn about the craft and "art" that goes into being a good engineer, musician, producer...etc.      
    Beginner's did enough reading and experimentation to at the very least, ask an intelligent question.
    pancenter-
    Hey Pancenter there are still lots of us about.
    I wouldn't take the original post too seriously - I may of course be naive but it sounds like it could be a troll to me!
    I learn a lot from reading the posts of the likes of you, Erik, Bee Jay, sampleconstruct, noeqplease etc so I hope you guys don't become too dispondent when you see posts like these.
    By the same token, I hope the Logic team continue to use their talents to develop powerful software that caters for the professional user, while allowing Garageband to continue to do its (excellent) job of providing for its market.

  • HT1338 I made a movie in iMovie and want to make copies.  I lost the iMovie file, I just need to know how to copy a disk.  HELP!

    I made a movie in iMovie and want to make copies.  I lost the iMovie file, I just need to know how to copy a disk.  HELP!

    Not sure if you really mean disk (HD) or disc (CD/DVD).  Check out this YouTube video

Maybe you are looking for

  • Best way to set up iPod Touch for kids

    Ok, I know that this has been asked before, but I couldn't find a similar question SINCE Mountain Lion was released, and wasn't sure what iCloud changes have happened since, so here I am asking the question again. I've bought our two oldest girls (ag

  • How to make the text_field to editable in the adobe document?

    Hi, expert, I meet a problem when I develop a WDA. I hope to get your help. Thanks a lot. The following is my action: Action: 1. I am using "Text Field" control rather "Text" Control in the pfd form by transfer code "sfp". I make sure in Object Palet

  • Folio Builder is not showing Share folios, why?

    My folio builder is not showing Share, so I may share folios. I get below:

  • ITunes to iPod syncing issues

    I updated my iPod a week ago (after installing OS.8), where by all my music was removed from my iPod, and I couldnt sync my music back on it. So I gave it a week for any bugs, etc... Have just been asked to update again so did that, but I still cant

  • Synchronising 2 Palm devices with 2 different Outlook database on the same PC

    Hi, My wife and I are both equiped with Palms (T5 and T3). On the familly PC (W7 64 bits) we would like to sync each Palm on a different Outlook (2003) datafile already existing. There only one Outlook profile existing but depending on the email acco