Single droptarget for multiple movie clips

I have a movie clip which i use as a drop target. And I have four additional movie clips which can be dragged and dropped into the droptarget movie clip. But when I place a movie clip into a droptarget and I drop the second one too, the droptarget for the second one becomes the first movie clip but not the actual droptarget movie clip.
Please suggest.

Thank you for the reply. Can you give me an idea what the below code does?
mainContainer is a movie clip. mc1, mc2 are three movie clips
mainContainer.addChild( mc1 );
     and while dropping mc2
mc2._droptarget - what this will refer to?

Similar Messages

  • HitTest for multiple Movie Clip at the same time

    I have a movie it is a triangle.I duplicate it and I want to hitTest on the first triangle movie clip and I added 3 different line movie clips on the 3 side of triangle.I tried to write a code something like that.
    if(firstTriangle_mc.hitTestObject(line1_mc,line2_mc,line_3mc){
    trace("Ok");
    but I've got error.I think it is not allowed hitTestObject for multiple Movie Clips.So is there anyone have an opinion about it?What should I do?

    Here is another test for multiple movie clips for hitTestPoint but only the first work the others don't
    uc_mc.addEventListener(Event.ENTER_FRAME,hitle);
    function hitle(e:Event) {
    if (uc_mc.hitTestPoint(cub1,cub1Y,true)&&(cub2,cub2Y,true)&&(cub3,cub3Y,true)) {
      uc_mc.alpha=0.5;
    }else{
      uc_mc.alpha=1;
    The code above doesn't work.What should I do?

  • Multiple Preloaders for Multiple Movie Clips

    Designed in Flash 8, the site's timeline is all in Scene 1
    and is comprised of an introduction, which contains a short video,
    and 6 movie clip categories that the user selects to view. Since I
    want the intro to play as soon as possible, I'd like to limit the
    first preloader to just the video in the intro and not
    _root.getBytesTotal. Then, as the viewer watches this short video,
    the rest of Scene 1 movie clips will keep on loading. After the
    intro, the viewer will choose which of the 6 categories to view.
    These categories are identified with buttons which play the
    particular movie clip. Since I don't know the order of the
    categories they will select, I thought there should be a separate
    preloader for each category. Hopefully, after they view a category,
    the rest of the categories will have loaded and the loading time
    will be nil. The design for the preloader is comprised of a status
    bar and a percent loaded. Is there a way to limit the
    _root.GetBytesTotal to specific frames? I know I could break these
    categories up into separate SWF files but then I loose the
    advantage of one loading while another is being viewed.

    MovieClipLoader is a built in class of functions that will
    allows you to easily load Media (swfs/jpgs) from external sources.
    This will create a MCL object
    var mcl:MovieClipLoader = new MovieClipLoader
    We want the MCL object to receive events for any movie that
    is loaded into the main timeline
    mcl.addListener(this);
    Ok. now we have a movie clip loader that is able to recieve
    events. Since we want to show the progressive download and want to
    do something with that content after it loads, we need to declare
    two event handlers onLoadProgress and onLoadInit. onLoadProgress is
    pretty straight forward. onLoadInit executes it's action as soon
    all of the AS on frame 1 of its time has finished loading. In this
    case, we want two different things to happen. 1st, load the first
    clip and show it.... 2nd, load all remaining clips into the buffer.
    But first, lets declare those next...
    function onLoadProgress( target:MovieClip,
    bytesLoaded:Number, bytesTotal:Number):Void {
    // standard preloader code goes here
    function onLoadInit( target:MovieClip ):Void {
    // display the clip - this will be as easy as just calling
    our loadClip function for the mcl...more on that in a minute
    // If you want something special to happen, i.e. movie fades
    in or a mask is applied to it, you'd do that here.
    Now all we need to do is call the loadClip member function
    for the MovieClipLoader. Just replace the two parameters with the
    location of the swf and then the name of the instance you want it
    to load into
    mcl.loadClip( "myswf.swf", targetMovieClip );
    The other movie clips are now a breeze as well. For each
    button, just add an on(release) or onRelease = function (depending
    on your situation) to just call that mcl.loadClip() line from up
    above. Just change the movie you want loaded.
    Let me know if you need more help...

  • Scripting Download Progress for Multiple Movie Clips?

    I'd like to insert script in the example below that would indicate the download progress of two successive movie clips on a page. Any suggestions would be much appreciated. Thank you.
    import fl.video.FLVPlayback;
    import fl.video.*;
    explainer.source="movie1.flv"
    explainer.addEventListener(VideoEvent.COMPLETE, f);
    explainer.autoPlay= true;
    explainer.volume=1.00;
    function f(e:Event){
    var myVideo:FLVPlayback = new FLVPlayback();
    myVideo.source = "movie2.flv";
    myVideo.addEventListener(VideoEvent.COMPLETE, myHomePage);
    myVideo.autoPlay=true;
    myVideo.volume=1.00;
    myVideo.skin="SkinUnderPlaySeekStop.swf";
    myVideo.skinAutoHide=true;
    myVideo.skinBackgroundColor=0x000000;
    myVideo.skinBackgroundAlpha=0.1;
    myVideo.height=405;
    myVideo.width=720;
    myVideo.x=141.2;
    myVideo.y=115.4;
    stage.addChild(myVideo);
    var urlRequest=new URLRequest("ATRMAIN.html");
    function myHomePage(eventObject:VideoEvent):void
    { navigateToURL(urlRequest, '_self');}

    the flvplayback component has bytesLoaded and bytesTotal properties.

  • Multiple movie clips in variable

    Is it possible to have multiple movie clips inside one variable? I want to be able to just use var._totalframes instead of mc1._totalframes, mc2._totalframes, etc... Or is there another way I can avoid copying and pasting dozens of movie clips over and over? Thanks.

    You can use the bracket notation in a loop to process multiple similarly named objects such as you described...
    for(i=1; i<someNum; i++){
         something += this["mc"+ i]._totalframes // not clear on your intent
    I can't be sure I am answerng your question when you mention copying and pasting movieclips.

  • Multiple movie clips within a button

    I'm having trouble with working a movie clip played one after another within a button. Can anybody help? or is there a simpler way of getting multiple movie clips to play?
    for my project, when you hover over the button and vines grow out. currently, i have one working in a button but i can't seem to get other vines to work.

    use a movieclip (or sprite) button.  you can then control the child movieclips with actionscript.

  • Single invoice for multiple orders with different divisions

    Dear All,
    while I am trying to do single invoice for muliple orders with different divisons invoice is gettting splitted..In copy control vbrk routine I  tried with 003 and 007 etc..but result is same..what configuration need to be done for getting the single invoice
    Thanks In advance
    Regards
    CNRNAIR

    Hello
    single invoice for multiple orders with "different divisions" invoice is getting split
    FYI - Different Division means different Sales Area.
    So, sales doc (whether sales order, Delivery & Billing) is applicable to EXACTLY one sales area.
    Thus, combining docs with different sales area is practically impossible.
    Provided, you are using common division.
    Hope this assist you,
    Thanks & REgards
    JP

  • Single invoice for multiple payment terms

    Hi Friends,
    I have given 2 different payment terms for 2 line items in single order and the billing is splitted due to this reason. I want to know where the system is checking this control. Because I want to create single Invoive even the payment terms are different. (The routine 003 under Data VBRK/VBRP in SO to Bill copy controls will be usefull only to create single Invoice for multiple SO's where the payment terms is same). But I need to create single Invoice even for multiple payment terms.
    Can anyone suggest me at the earliest please.
    Kumar

    Hi Kumar,
    The Billing Split is take care at Copy control level.
    For multiple line items in one single SO, with different Payment terms is not acceptable as per the  business logic and its not best practices.
    Please suggest the business to go on Split method only.
    Or
    Try to use Proforma Invoice Concept.
    Regards
    Srini

  • Single invoice for multiple deliveries in Export scenario

    Hi All
    I am trying to create a single invoice for multiple deliveries. In case of Local Sales i am able to do it.
    But when it comes to export sales the system is not allowing me to create Single invoice for 2 deliveries . This is a export scenario. Can you suggest... When  i am checking the split invoice log it says split due to header data "Number of foreign trade data i"
    Plz suggest.
    Thanks
    Rishi

    Thanks G. Lakshmipathi
    Resolved
    As per the split analysis, System was checking the number generated for Foreign Trade data at delivery level.
    As told  i have Tried maintaining the Indication at copy control level VTFL "Redetermination of Foreign Trade Data at Billing level".
    This has resolved my Issue.
    Thanks Again
    Rishi

  • Single invoice for Multiple Purchase Orders

    Hi,
    How to Park the single invoice for multiple purchase orders

    brother this is possible to enter one Invoice fro multiple purchase order.
    call transaction MIR7, select " purchase order/Scheduling Agreement" from the PO refernce Tab. then click on arrow. give your purchase orders here.
    Thanks

  • Single spool for multiple smartforms

    Hi,
    I am using Function modules SSF_open and ssf_close for creating single spool for multiple smartforms but when i try to run the program in background then the job is getting cancelled...........and if i run the program in foreground then the program is running fine giving single spool for multiple forms........
    so the problem is that job should run in background if i run it in background instead job is getting cancelled.
    please tell me the solution how can i get the single spool for and multiple smartforms as well as the job should run if i am doing so.

    Moved to the correct forum

  • Reg:Single Check for Multiple Vendors

    Hi Experts,
    I want to Issue a Single check for all vendor open items...
    For this is I created one Group Key and assigned in the vendor master record, but while doing the payment separate check issuing for each vendor,
    any idea

    Hi,
    Can you check the below thread of urs.
    [Reg:Single Check for Multiple Vendors]
    In addition to the above, please make sure that in OBVU, the check box separate payment for each ref is deselected for your questioned comapny code.
    You would have continued your earlier thread instead, rather than a new thread.
    Thanks,
    Srinu

  • Single-signon for multiple sites or sub sites

    Does anyone know of some good articles/publications or suggestions for
    implementing a single signon for multiple very secure internet sites in
    weblogic type environments.
    For example, bank1 has a internet site and bank 2 has an internet site.
    Bank 2 has some cool features they want to offer bank1's customers. They
    agree but, bank1 wants to present bank2 as a tab or part of bank1 site.
    IN order to do this there are lots of fun things, but the things Im
    interested in are how to authenticate between them and handle timeouts.
    timeouts seem particularly tricky in that if I dont hit a page on bank2
    for a while, it could time out its session for the guy on bank1. Also if
    im in the bank2 section of the site, then bank1 could time me out as
    well.
    any ideas let me know.
    thanks
    Joel

    I've been informed ;-) that a pure Java solution is also available from
    Entegrity. So here are a couple of URLs for you to research
    anagrammatically:
    http://www.netegrity.com
    http://www.entegrity.com
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com
    Tangosol: How Weblogic applications are customized
    "Cameron Purdy" <[email protected]> wrote in message
    news:[email protected]...
    Netegrity?
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com
    Tangosol: How Weblogic applications are customized
    "Tim Funk" <[email protected]> wrote in message
    news:[email protected]...
    This is long winded and I tried to have this make sense, if it doesn't
    just mark this as read ...
    I am running into the same issue. Out of need, different applications
    need to be hosted on different boxes/JVM's/web applications. I am
    experimenting with a customer single sign on process which is
    independent of Java but lends itself nicely to it. Here is my thoughts:
    1) All applications need to run under the same domain. For example:
    foo.redrose.net, www.redrose.net, bar.redrose.net, app1.redrose.net
    all reside under redose.net.
    2) You have a database table (secure) that contains the following:
    user id, password, session id, last access time.
    3) This database table contains all of the valid sessions across the
    domain (in this exmaple .redrose.net)
    4) There is a daemon running which runs every ?? seconds that deletes
    any records older than ?? seconds/(or minutes/hours) in the
    database.
    5) There exist a cookie which is set to the domain level that contains
    the session id.
    6) The session id provides a way to obtain the id and password for the
    user to authenticate to the container. For example in WL5.1SP8 there
    exists: weblogic.servlet.security.ServletAuthentication.weak(...) to
    authenticate to your container. By using this you will get the
    capability of setting up your roles and ACLS etc in you web.xml and
    weblogic.xml to handle authorization.
    7) All requests to any applications participating in this philosophy
    must do the following for EVERY request (or appropriate):
    Even if you are logged authenticated to the container and authorized,
    you may have timed out or logged out of another application. So the
    database table must be checked to see if the session id exists. At the
    same time, you must also update the last access time to prevent timeout.
    8) If the user tries to access a different application which he has not
    authenticated to yet - the user will be forwarded to a servlet whichwill:
    a) Look for the cookie at the domain level
    b) If the cookie is found - get the UID and PWD from database
    b2) Present login form if cookie is invalid/not exists
    c) Authenticate to container
    d) Forward back to original page and let the container handle
    authorization since you have already authenticated.
    I use have encapsulated the database activity into 3 stored functions:
    1) isValidSession(session_id) - Returns null or the user id and pwd
    concatentated which will need split apart if needed
    2) makeSession(user_id, password) - Returns a new unique session id and
    creates the appropriate record
    3) cleanUpSessions() - Arguements not yet determined. This will delete
    any records older than a certain time. I would like to have the proc
    know what to delete without being given a parameter but time to the
    second level can be tricky for some DBMS's.
    There is a concern of storing the user id and password in the database
    but this can be eliminated with a good design to restrict access to the
    database table and using encrypted connections.
    Hope this helps. Hopefully - a similar philosphy will be adopted by an
    application container so I may not have to worry about this and I can go
    back programming business functionality.
    -Tim
    Joel Nylund wrote:
    Does anyone know of some good articles/publications or suggestions for
    implementing a single signon for multiple very secure internet sites
    in
    weblogic type environments.
    For example, bank1 has a internet site and bank 2 has an internetsite.
    Bank 2 has some cool features they want to offer bank1's customers.They
    agree but, bank1 wants to present bank2 as a tab or part of bank1site.
    IN order to do this there are lots of fun things, but the things Im
    interested in are how to authenticate between them and handletimeouts.
    >>>
    timeouts seem particularly tricky in that if I dont hit a page onbank2
    for a while, it could time out its session for the guy on bank1. Alsoif
    im in the bank2 section of the site, then bank1 could time me out as
    well.
    any ideas let me know.
    thanks
    Joel

  • Targeting Multiple Movie Clips

    Hi everyone,
    I'm fairly new to ActionScript so I would really appreciate
    any help I can receive.
    Right, I have a Flash file which contains a movie clip with
    an instance called, 'contentHold_mc'. Inside this movie clip are 4
    individual movie clips with instances entitled, 'content1_mc',
    'content2_mc', 'content3_mc' and 'content4_mc'. I know these are
    not the best names for instances, but this is just for simplicty's
    sake. At present all movie clips run at the same time. I want them
    to run sequentially. On the last frame of the instance,
    'content1_mc', I want to stop the instance from playing and start
    playing the instance, 'content2_mc'. On the final frame on
    'content3_mc', I want to stop the instance from playing and start
    playing the instance, 'content3_mc', and so on until 'content4_mc'
    finishes playing. I have tried to use the tellTarget function
    without success and anyway, I believe this is now deprecated.
    Would anybody be able to provide me some guidance please as
    to how I can achieve the previous using the 'dot' notation?
    I have tried the using the code found at the bottom of this
    message in the final frame of the movie clip instance that I want
    to play first ('content1_mc'), however get a compiler error because
    of the preceding two full stops '..'
    Thank you in advance for any help I may receive with this
    query.

    Put a stop(); command at the first frame of each of the
    clips. On the last frame of the first clip put:
    stop();
    _parent.contentHold_mc.content2_mc.play();
    repeat as needed for each movie clip.
    Tell the first clip to play.

  • Use single realm for multiple web applciation in sharepoint 2013 and adfs 2.0

    Use single realm for multiple web applciation in sharepoint 2013 and adfs 2.0
    Please help!!

    I dont think you can do this, because you have to name/url of the web application in realm. You have to add new realm for each web application.here is script to add another realm.
    Add-PSSnapin "Microsoft.SharePoint.PowerShell"
    $sts = Get-SPTrustedIdentityTokenIssuer | where {$_.Name -eq "ADFS2.0"}
    $uri = new-object System.Uri("http://url/")
    $sts.ProviderRealms.Add($uri, "urn:sharepoint:Name")
    $sts.Update();
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

Maybe you are looking for

  • Collaboration  with vendor  via Portal?

    Hi everyone :    I meet a problem about collaboration with vendor. Our customer has lots of vendor ,and our customer expect that their vendor could query related R/3 report real-time via Portal on Internet .    I had done the SSO between Portal and R

  • Query  Of workflow Related to SE38

    I  have one Query , If User   Excecuted   any report through SE38  ,   mail automatically goes to ABAP user , so that he can view whcih report is excuted by which User , Is it  Possible  , If   Yes  how can  I   do this  using Workflow .? ASAP

  • How to set the target frame of a JSTree node ?

    Having a populated JSTree Webbean on my page, it uses a _self target for the opens and closes of the tree. But how do I point out to the control that a viewobject.jsp has to appear in the main window ? Thanks in advance for your help ! Andreas null

  • Why can't I install Photoshop Elements 11

    I had Photoshop Elements 11 installed on my Laptop using Windows 8 64 bit. I uninstalled it from the laptop so that I could install it on my new desktop. The new desktop also runs on Windows 8 64 bit. The Photoshop Elements 11 program disc doesn't ev

  • IWork apps won't launch

    I recently restored my system from a Carbon Copy Cloner backup and everything works fine again, except that my iWork apps will not launch.  I double click on the app (Keynote 6.2.2, Numbers 3.2.2, or Pages 5.2.2), and the icon in the dock bounces ind