Oppose multiple positions and colors - how to keep the chosen position even when the color change?

I have a makeover game where you can change the position of the hands of my model and also the color of the skin. In a clip with a skin color, there are a all hands possible positions. But when you click to change the color in the hands of the jumps to the first keyframe position, just not to the position previously selected. How can I handle this, so that regardless of the color of skin chosen, in the hands of the post to be selected and the movieclip jumps to the first keyframe with the first position of hands? Or y at - it another way to tie the color of the skin and the multiple positions of the hands, but in such a way that they are not affected by the other?

I think I understand what you did and what is the problem.  Whenever you change the movieclip of hands to be a different color, you must change the hands.hands movieclip to be on the same image as in the other color.  Keep track of which hands.hands set the framework you're and assign this anythime you change color...

_root. Doll.Hands.gotoAndStop (1); 2, 3, etc.

_root. Doll.Hands.Hands.gotoAndStop (positionFrame);

Other approaches to this.

If you use matte colors for hands, one-way ticket would use the code only to recolor the hands instead of using movieclips/frames in this way, you don't have to change the movieclip of hands for different colors, which means that you don't need that to a movieclip for positions... you essentially just recolor the hands positioned mc.

Another approach would be to have all your main color mc in the same framework and control their visibility.  Whenever you change the position of the hand, you change all.  When you change the color, do you first all the mc color is invisible, followed immediately by the visibility of the mc of the selected color.

Tags: Adobe Animate

Similar Questions

  • How to keep the Macbook pro screen and cin on position?

    How to keep the Macbook pro screen and computer in position 'on '.  I don't want the computer shuts down or cut unless I ask him to...

    If you talk to keep your machine to fall asleep, take a look at the caffeine.

  • How to keep the Safari in full screen, when it opens instead of small rectangle I enlarge them with green button and how to keep the presentation of upper task bar without always having to lower

    How to open safari in its entirety in a small rectangle and then having to enlarge.  It started to happen.

    How to keep the top toolbar in view rather than having to lower whenever necessary

    Drag the bottom right and left corners of the window to enlarge it to fit the screen.

  • I made my largest site and how can keep the same size for all other sites?

    I did the 2 larger site and how to keep the same size for all pages when I re - open the web browser?

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • my monitor suddenly lost color and black and white, how to restore the color

    my monitor suddenly lost color and black and white, how to restore the color?

    Hello

    ·          What version of the operating system is running on your computer?

    ·          When the issue started?

    If you use windows 7, try the steps in the following article:

    http://Windows.Microsoft.com/en-us/Windows7/why-is-my-screen-black-when-i-start-Windows-7

  • How to keep the cursor in short to a TLF in ScrollPane?

    How to keep the cursor in short to a TLF in ScrollPane? Consider this:

    textFlow.addEventListener (UpdateCompleteEvent.UPDATE_COMPLETE, tlfUpdtHandler, false, 0, true);


    private void tlfUpdtHandler(e:Event):void {}
    textFlow var = e.currentTarget;
    var containerController = textFlow.flowComposer.getControllerAt (0) as ContainerController;
    var contentBounds:Rectangle = containerController.getContentBounds ();
    var tlf_mc = containerController.container;
    containerController.setCompositionSize (containerController.compositionWidth, contentBounds.height);
    var sp:ScrollPane = tlf_mc.parent.parent;
    TPI Update();
    trace (Math.ceil (SP.verticalScrollPosition), Math.ceil (sp.maxVerticalScrollPosition), sp.verticalScrollPosition, sp.maxVerticalScrollPosition);

    sp.verticalScrollPosition = sp.maxVerticalScrollPosition;

    }

    I can't do this as the scroll position will always be in the last line. I would like the scrollpane to scroll to the line where the content is typed.

    Kindly help out me with pointers.

    Thank you.

    Sabine

    Thanks I understand now.  I'm not familiar with the fl classes but here goes.

    (1) using the NaN being the height of composition that tlfUpdateHandler keeps the cursor in view.  It worked with a few simple tests - there may be a few missing details.  I call sp.update so that it catches the total height changes?

    private void tlfUpdtHandler(e:UpdateCompleteEvent):void
    {
    find the current activePosition
    var activePos:int = e.textFlow.interactionManager.activePosition;
    If (activePos == - 1).
    return;
               
    var tfl:TextFlowLine = e.textFlow.flowComposer.getLineAt (e.textFlow.flowComposer.findLineIndexAtPosition (os activeP));
               
    If his view not to scroll into view
    If (sp.verticalScrollPosition > tfl.y: sp.verticalScrollPosition + sp.height)<>
    sp.verticalScrollPosition = tfl.y - 20;    just a number for him give a certain margin above
    }

    (2) If you do not use NaN as the height of the composition (less accurate but works better) I don't think that you will be able to use ScrollPane.  TLF automatically scrolls the lines inside the Sprite using the limits of composition.  Instead, you need to instantiate a control ScrollBar and synchronize the contentBounds with maximum heights and also synchronize the scroll positions.  TLF generates a "scroll" event every time it scrolls the content.  ContainerController has a r/w for verticalScrollPosition properties.

    Hope that helps

    Richard

  • How to keep the Safari line at the top of my screen to disappear?

    How to keep the Safari line at the top of my screen to disappear?

    See the toolbar of Safari mode full screen?

    Launch Safari.

    Click on the Green navigation button to enter full screen mode.

    Move the mouse to the top of the screen.

    When the menu bar and the toolbar drop-down, click on 'View' in the menu bar of Safari.

    In the drop-down menu choose «Always see the toolbar in full screen»

  • How to keep the HTML text (i.e. Peragraph) according to the proportions?

    How to keep the HTML text (i.e. Peragraph) according to the proportions?

    Do not disturb (coming down / up) even a letter / word

    Do not disturb (coming down / up) even a letter / word

    Due to levels of zoom browser and personal user settings, there is no possible way to ensure an alignment of text on the web, unless you use images of the text.  Of course, this isn't an option because images of text cannot be indexed by search engines, screen readers or translators of language.

    Nancy O.

  • How to put a foot in a scrolling page, keep it visible site even when scrolling, using PC

    How to put a foot in a scrolling page, keep it visible site even when scrolling, using PC

    Hello

    Please select the footer items and pin them on the bottom like the screenshot below.

    Concerning

    Vivek

  • How to keep the environment setting

    We need to set disable javascript.

    But,

    after update, it turns to activate.

    You please show me

    How to keep the environment-setting before and after the update of Adobe reader.

    Thank you

    JavaScript is enabled by default in the browsers. Turn off (disable) is a manual process, which must be done by the end user.

    JavaScript must be enabled in order to use the Adobe Download Manager.

    You can download the Installer http://get.adobe.com/reader/enterprise/ offline without having to activate javascript. But there IS NO Adobe Reader (or Adobe Updater) affecting control javascript in browsers, or disable it automatically afer a download.

  • How to keep the metadata after Correct camera distortion filter?

    Hello

    Anyone know how to keep the metadata information after you have used the Correct camera distortion filter?

    In other words:

    When I need to correct the photo with good camera distortion to the menu Filter option I can't keep the metadata to the final table.

    After correction, I cut the useful part with the rectangular selection tool, and then I chose the file, new, Image to the Clipboard.

    Either the format file that I choose to save the metadata information has disappeared.

    I tried to export the metadata from File, FileInfo, information, and then import the metadata (XMP file) but no result.

    Someone at - it an idea to solve this issue

    Thank you

    This is probably because your using the Clipboard that discards the data.

    Try to crop your photo and recording. You can always cancel the harvest after saving if you want to do something in the photo.

  • How to keep the current, when line rollback AM

    Hello
    When I restore the AM, the current line of the VO ALL was lost, how to keep the line being ALL VO?

    who can help me? Thank you very much!

    Hello

    See [this post | http://forums.oracle.com/forums/thread.jspa?forumID=83&threadID=953872] and the last response to me has the answer to your question

    Jean Lou

  • How to keep the macbook awake when the lid is closed?

    I want to keep my macbook awake even when the lid is closed. Free preferably.

    Use your Mac laptop to view closed with an external display - Apple Support

    http://Mac-how-to.WonderHowTo.com/how-to/keep-your-MacBook-awake-with-display-CL No.-0158152.

  • With multi tabs open I'm going to close Firefox 5.0 and it will not keep the tabs closes all tabs

    With multi tabs open I'm going to close Firefox 5.0 and it will not keep the tabs it closes all tabs so when I restart I have to reopen the tabs. I was using firefox 3.6 and had the opportunity to close, but keep the tabs so they would open when I restarted firefox.

    upgrade your browser Firefox 8 and check

  • How to keep the input value after click on the back button being the ADF

    Hi expert,

    I have a case currently the adf:

    1. I put 'value' in the Label 1

    2. I click on the next button

    3. I click on the "back" button

    4. the 'value' went from 1 label.

    How to keep the 'value' of 1 tag after I click back, do you have any suggestions?

    Kind regards

    Ricky

    Hello

    Where you store the value? Try to store it in a variable pageFlowScope or a property of the pageFlowScope bean.

    value = "#{pageFlowScope.testVar} '"

    value = "#{pageFlowScope.testBean.testVar} '"

    Kind regards

    Ruben.

  • Does anyone know how to keep the name of an image embebed in Illustrator v?

    Does anyone know how to keep the name of an image embebed in Illustrator v?

    Add the file name as a Note in the Panel. From a built-in file is just a raster image in GOT it, there is no links to follow.

Maybe you are looking for