How do a film attached to slide with its parent company / not move independently.

Hi there, I was hoping that someone can help me.

I would like to fix a clip to a removable clip (with A3). I introduced a clip using startDrag() - all fine work. But I would like to be able to dynamically place a clip on the inside so that it drags too. I got it partly working - you can drag the original clip around and clip attached (using aadChild) moves too. But if I take the clip attached instead of the original item moves independently.

Is it possible to get a clip inside the adjustable clip and fixed in place and does not move when you try to drag it.

See you soon

View the code that you use to assign the activity slide as well as the addition of the child to the object that has the activity of drag are entrusted to him.  Looks like you might be assigned the startDrag the event.target instead the event.currentTarget.

Tags: Adobe Animate

Similar Questions

  • How to restore a shortcut to folder with its contents after the removal of the trash

    How to restore a shortcut to folder with its contents after the deletion of the Recycle Bin in vista

    Hello

    you deleted the shortcut, not the content; haven't you?

    This program recovers deleted data, etc.:

    http://www.Piriform.com/Recuva

    ___________________________________________

    Why not just make a new shortcut?

    http://www.ehow.com/how_5104544_create-desktop-shortcuts-Windows-Vista.html

    How to create Windows Vista desktop shortcuts

  • How to lock my iPhone 6's screen so it does not move between portrait and landscape?

    How to lock my iPhone 6's screen so it does not move between portrait and landscape?

    Select portrait orientation lock.

    Swipe the top of your home screen to access the control center and select the icon with a lock and an arc around him.

  • How to resize a textFrame, when resizing as its parent (a groupitem)?

    I am trying to find the smallest textframe within a group and then match that textframe font size to the minimum size allowed for printing. Everything works, except that I can't understand how to resize the textframe when resizing as its parent, the group.

    #target illustrator

    app.activeDocument = docRef;

    gpRef = docRef.groupItems [0];

    var gpHeight = gpRef.height;

    It's printing allowed minimum font size

    var minFntSize = 18;

    var garbLay;

    var txtFrmCount = gpRef.textFrames.length;

    var container = {};

    var i;

    put each prop textframe and height in json

    for (i = 0; i < txtFrmCount; i ++) {}

    container ["prop" + i] = {"gpTfHeight':gpRef.textFrames [i] .height / 72, 'gpTarget':gpRef.textFrames [i]"};

    }

    find the value prop textframe height min. I have the max in it too just in case I need it in the future

    var min = infinity;

    var max = - infinity;

    var x;

    for (x in container) {}

    If (container [x] ['gpTfHeight'] < min) {}

    min = container [x] ["gpTfHeight"];

    minTg = container [x] ["gpTarget"];

    }

    If (container [x] ['gpTfHeight'] > max) {}

    Max = container [x] ["gpTfHeight"];

    }

    }

    duplicate textframe, convert in way and get the actual height

    var txtFrmDup = minTg.duplicate ();

    txtFrmDup.position = [(minTg.position[0]-100), (minTg.position [1] - 100)];

    txtFrmDup.name = "garbage."

    var tOutline = txtFrmDup.createOutline ();

    tOutline.name = "garbage."

    var tLogHeight = Math.round (tOutline.height);

    garbLay = gpRef.groupItems.getByName ('garbage');

    This is the part where I need to convert it into percentage? tgSize is the size of the target and I thought I could get the different from the 2 and then use this amount to resize down...

    var tgSize = minFntSize - tLogHeight;

    var PERC = Math.round((tgSize/gpRef.height)*100);

    $.writeln (minFntSize);

    $.writeln (tLogHeight);

    $.writeln (tgSize);

    $.writeln (perc);

    resize gp so that font textframe min size meets minFntSize

    if(tLogHeight < minFntSize) {}

    gpRef.resize (perc, perc);

    $.writeln ('smaller');

    garbLay.remove ();

    } else if(tLogHeight > minFntSize) {}

    gpRef.resize (perc, perc);

    $.writeln ('bigger');

    garbLay.remove ();

    } else if(tLogHeight == minFntSize) {}

    $.writeln ('equal');

    }

    I do not know if I go about it the right way. Hoping a new set of eyes can take a look and see what I'm doing wrong or not done? Thank you!

    check this out, I changed it a bit

    // scale grouped text Frames to a minimum font size
    // http://forums.adobe.com/thread/1323065?tstart=0
    // carlos canto
    
    #target illustrator
    
    var docRef = app.activeDocument;
    var gpRef = docRef.groupItems[0];
    
    //this is the minimum print font size allowed
    var minFntSize = 18;
    
    var txtFrmCount = gpRef.textFrames.length;
    
    // make the first frame the one with the minimum font size
    var idx = 0;
    var minFrameFontSize = gpRef.textFrames[idx].textRange.characterAttributes.size;
    
    // see if the other frames have smaller font size than the first
    for(i = 1; i < txtFrmCount; i++) {
        var itext = gpRef.textFrames[i];
        var fontSize = itext.textRange.characterAttributes.size;
        if (fontSize		   
  • How to set the text to align with their base line, not their bounding box?

    Untitled.png

    Left: ' vertical align text to bottom'ed with black outline box

    Right: manually move the text with a smart guide to align with its base line. (what I want to achieve)

    As you can see in the left, text has its baseline under him, and his rectangle encompassing does not correspond to its base line. When I use align, it does not align with its base line but his rectangle encompassing.

    How can I make the text line up easily using their base line?

    You can actually get align text, but the method to make some features using the majority of people do not know:

    1. Select type > effect > path > describe the object
    2. in the preferences to put a brake on the front of the preview limits use

  • How to compare 1 value of slider with multiple values

    Please look at the code below.

    Here I want to if extracted value of qurey1 is in any value retrieved by query 2 production.

    Example of
    c_r1 is fetching value 1 and 2
    c_r2 is also fetching 1 and 2

    Problem: If the two are fecthing even value it must not block error.
    While in my code coz locked loop c_r1 STI comparison 1 c_r2 1 and c_r2 2. That's why giving the error

    Someone you will suggest the alternative way to solve the problem statement.


    Open C_R1 for ' select distinct name of nameclass where nametype = 7 and namesubtype <>0 and id_number IN('||) ID1 | «, » || ID2. «, » || ID3 | «, » || ID4 |') by name ';
    LOOP
    EXTRACT the C_R1 IN R1_name;
    EXIT WHEN C_R1% NOTFOUND OR C_R1% NOTFOUND, NULL;
    Open C_R2 for ' select distinct name of nameclass where nametype = 7 and namesubtype <>0 and = id_number' | ID | "order by n.name;
    LOOP
    EXTRACT the C_R2 IN R2_name;
    EXIT WHEN C_R2% NOTFOUND OR C_R2% NOTFOUND, NULL;

    If (R1_name <>R2_name) then
    dbms_output.put_line (' error on == > Id :'||) (ID);
    End If;
    END LOOP;
    Close C_R2;
    END LOOP;
    Close C_R1;

    Published by: user8807316 on 22 Sep, 2010 03:39

    What about...

    SQL> ed
    Wrote file afiedt.buf
    
      1  with names_tab as (select 1 as id, 'Fred' as nm from dual union all
      2                     select 1, 'Bob' from dual union all
      3                     select 2, 'Bob' from dual union all
      4                     select 2, 'Jim' from dual union all
      5                     select 2, 'Fred' from dual)
      6  --
      7  --
      8  --
      9  select case when count(*) = 0 then 'All Match' else 'Mismatch' end as match
     10  from (
     11        select nm from names_tab where id = 1
     12        minus
     13        select nm from names_tab where id = 2
     14*      )
    SQL> /
    
    MATCH
    ---------
    All Match
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  with names_tab as (select 1 as id, 'Fred' as nm from dual union all
      2                     select 1, 'Sally' from dual union all
      3                     select 2, 'Bob' from dual union all
      4                     select 2, 'Jim' from dual union all
      5                     select 2, 'Fred' from dual)
      6  --
      7  --
      8  --
      9  select case when count(*) = 0 then 'All Match' else 'Mismatch' end as match
     10  from (
     11        select nm from names_tab where id = 1
     12        minus
     13        select nm from names_tab where id = 2
     14*      )
    SQL> /
    
    MATCH
    ---------
    Mismatch
    
    SQL>
    
  • How I show a photo or image with information/inscription alongside, not underneath, in a Windows Livemail email to be sent to the recipients

    How can I / display a photo or an image with information/inscription beside or below the picture.

    using a Windows Livemail email or a hotmail.co.uk email which will be sent to the recipients.

    This would serve to inform the beneficiaries of a concert or opera.

    I received emails showing a photo or a logo with details of concert placed next to the logo.

    James Ward 1939

    Please ask Windows Live Mail in Windows Live Mail Portalsolutions Center.  Hotmail questions belong in the Portal of Hotmail.

  • How apps, downloads and slips are included with the DPS company?

    How many unique applications, folios (not entirely sure that I understand multifolios vs folios) and app downloads are included with DPS company each year?

    Ah, sorry! My mistake completely. We have updated our pricing model, and you are quoted is based on the new model. Your sales representative is to give you accurate information and is the right person to ask these questions to.

    Neil

  • How do I uninstall macafee, windows 8 with touch screen, can not find it on 'start' menu tiles

    I was told I had to download adobe to look at a document, Macafee crawled with it. I have a laptop HP with Windows 8 and touchscreen. the closest thing I find a start menu is tiles, and there is no way to uninstall McAfee from this screen - it's not even a tile of macafee. But in any case I found the icon, if I click right, hold left click, or whatever it is, there is no option to uninstall

    and I can't find "my computer".

    Help! Thank you very much

    Hello Elle3000,

    On the start screen for Windows 8 If you just start typing control anywhere on the screen, you will find the control panel option appears in the results of research on the right of the screen.

    On the desktop, if you right click on the Start button (windows low icon to the left of the screen), you should get a menu drop-down. You will find the Control Panel on this menu.

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer: www.winuser.co.uk | vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

  • How to restore the MS 'Lines' game with its extension of correction so I can play the game?

    Cannot find the file C:\WEP\Lines.EXE

    If you mean the one where you hold the colored balls in the rows, which was part of the old Ms Entertainment Pack.

    A number of copycat versions were in the years that have improved on the original.
    Here is a beautiful and it's free.
    It is for Vista, but should work fine. VP Tech Services

  • How do I get recommendations sql query manually, its possible or not?

    I'm new dba oracle and my company gives me sql optimize, if research on google and knowledge, addm can give recommendations of sql query

    but I sql query and in addm can not give recommendations,

    I then how sql query performance increase... ?

    and the sql script to get the recommendations?

    Thanks in advance

    1. upgrade to oracle 11

    2. (take the topgun)

    Select / * + RESULT_CACHE * / a.empid, empname from

    (select empid, empname from india_emp

    where deptno <> 10 and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)

    Union of all the

    Select empid, empname from us_emp

    where deptno <> 10 and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)

    Union of all the

    Select empid, empname from uk_emp

    where deptno <> 10 and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)

    Union of all the

    Select empid, empname from uae_emp

    where deptno <> 10 and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)

    Union of all the

    Select empid, empname from brazl_emp

    where deptno <> 10 and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)

    Union of all the

    Select empid, empname from chine_emp

    where deptno <> 10 and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)

    Union of all the

    Select empid, empname from jpn_emp

    where deptno in (54,256,362,9879,24,46) and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)

    ) a

    order by 2;

    3. run the query 3 times.

    The query will be lightning fast from the 3rd time

    4. read the full performance tuning guide

    http://docs.Oracle.com/CD/E11882_01/server.112/e41573/TOC.htm

  • Iframe on board with 100% width - do not move with the size of the browser...

    So, as with any thing when tell you him to be a width of 100%, expect the width to fit the width of broswers but this seems not to work on board here is my code:

    var container = sym.$('#Stage_Iframe');

    " var frame = ' < div class = 'Frame' id = 'Frame' > < iframe width ="100% "height ="600"src =" http://www.YouTube.com/embed/OH5tkj0W0fc "frameborder ="0"allowfullscreen > < / iframe > < / div >" "

    Container.html (Frame);

    When I resize my broswer that the width of the iframe is not resize with her same thing happens when I drop my resolution of computer screens half the iframe is missing and does not 'cutting' 100%...

    any idea?

    "" Edit: my "Iframe" symbol has is the width set to 100% width = ' "+ container.width () +" ' does not...

    the scene is also 100% width.

    Resolved instead to put the code in creationComplete

    I placed it in the compositionReady Stadium, and then it worked.

  • How to open an attachment. Ink

    How to open an attachment that ends with. Ink on a macBook using El Capitan 10.11.1?

    A .lnk is a link to a file or document. If someone it will sent as an attachment to e-mail e-mail they sent a link to a file and not the file itself. Ask them to send you the file. the .lnk files are usually associated with Windows users.

  • How to open an attachment with you. OXPS with windows xp

    How to open an attachment with you. OXPS with windows xp

    Thank you WB.

    The 'solution' that worked for me was to go back to the source and ask the file will be re-created in PDF format.
  • How can I convert an email outlook with an attachment in pdf format

    How can I convert an email outlook with an attachment in pdf format? I want a pdf with enamel and fasteners. Not a portfolio

    Hello

    Please go to the Adobe PDF option in the Outlook Ribbon. Choose Change Conversion settings and uncheck "output Adobe PDF portfolio when creating a new PDF file" to create a normal PDF. Attached snapshot.

    Kind regards

    Basma

Maybe you are looking for