[svn] 3694: Fix masking for Group

Revision: 3694
Author: [email protected]
Date: 2008-10-16 14:23:02 -0700 (Thu, 16 Oct 2008)
Log Message:
Fix masking for Group
SDK-17365 Masking broken for Group
Moved the call to super.commitProperties to occur after we initialize our items. When we do the init, we remove all of the display objects and then reattach them. Because this was called after we added the mask, the mask was getting removed.
Bug: SDK-17365
QA: yes
Doc: No
Review: Evtim
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-17365
http://bugs.adobe.com/jira/browse/SDK-17365
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as

Similar Messages

  • [svn] 3697: Fix masking for Group.

    Revision: 3697
    Author: [email protected]
    Date: 2008-10-16 14:39:42 -0700 (Thu, 16 Oct 2008)
    Log Message:
    Fix masking for Group. Forgot to checkin the base class.
    SDK-17365 Masking broken for Group
    Moved the call to super.commitProperties to occur after we initialize our items. When we do the init, we remove all of the display objects and then reattach them. Because this was called after we added the mask, the mask was getting removed.
    Bug: SDK-17365
    QA: yes
    Doc: No
    Review: Evtim
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17365
    http://bugs.adobe.com/jira/browse/SDK-17365
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as

  • [svn] 3727: Fix masking for GraphicElements

    Revision: 3727
    Author: [email protected]
    Date: 2008-10-17 15:34:12 -0700 (Fri, 17 Oct 2008)
    Log Message:
    Fix masking for GraphicElements
    SDK-17337 Masking broken for GraphicElements
    We no longer attach the mask to the GraphicElement's parent. Because the mask can not be a child of the maskee, we create a new drawnDisplayObject and attach it and the mask to the displayObject property.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17337
    Reviewer: Glenn
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17337
    http://bugs.adobe.com/jira/browse/SDK-17337
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElement.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElementHost.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s

  • Clipping Masks for Groups in PS6

    Hi,
    I followed a tutorial for creating a clipping mask for a group. I made a group of several layers, place another layer on top of this group and, holding the 'alt' key clicked between them. The thumbnail of the top image showed it had now been clipped but no clipping had actually happened. I've tried this a couple of times with different images in the layers but to no avail. I'm using Creative Cloud's latest version of Photoshop.
    Any tips or advice would be greatly appreciated.
    Thanks,
    Peter

    Screenshots and sample movies are often very useful in showing exactly what you're seeing, and can thus make getting an answer faster and easier. FAQ: How do I capture and post a screen shot or video?

  • [svn] 4283: PARB Review changes for Group and DataGroup.

    Revision: 4283
    Author: [email protected]
    Date: 2008-12-10 14:34:18 -0800 (Wed, 10 Dec 2008)
    Log Message:
    PARB Review changes for Group and DataGroup. The main API changes are:
    - content property on Group and FxContainer renamed to mxmlContent.
    - contentFactory property on FxContainer renamed to mxmlContentFactory
    - New names for DataGroup methods: getRendererForItemAt(index:int):IVisualElement and getItemIndexForRenderer(renderer:IVisualElement):int. These are now in the mxml_internal namespace (not public anymore)
    - registerRenderer and unregisterRenderer are private methods (not public)
    Also, I made a minor fix to ITransformable.
    QE Notes: Steve's changing the mustella tests for me and will be checking in shortly.
    Doc Notes: None
    Bugs: SDK-18042
    Reviewer: Hans
    tests: checkintests, Steve ran mustella tests for all of gumbo and states
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18042
    Modified Paths:
    flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/CircularScrollBarSkin.mxml
    flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/CircularScrollBarTrackSkin.mx ml
    flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/MyScrollBarTrackSkin.mxml
    flex/sdk/trunk/development/eclipse/flex/flex4test/src/skins/MyVScrollBarSkin.mxml
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButtonBar.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxListBase.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDefaultComplexItemRenderer. mxml
    flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/ITransformable.as
    flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxDefaultComplexItemRenderer.m xml
    flex/sdk/trunk/frameworks/projects/wireframe/src/wireframe/FxDefaultItemRenderer.mxml

    Dear friend,
    Check table: V_503_ALL 
    V_T512Z and V_511_B are the tables for assigment of Permissibility based on ESG and PSA
    After creating new EG/ESG (grouping also).
    Please note that when we update Employee Group/Subgroup of position in PP01, it is not effective to PF in master data which was maintained with that position & old Employee group/supgroup.
    So you should check:
    - Position
    - PFs with old EG/ESG.
    Regards
    Edited by: tungph on Oct 19, 2011 11:14 AM
    Edited by: tungph on Oct 19, 2011 11:17 AM

  • How to create a clip mask for a group?

    I have created a hue/saturation adjust that I want to use as clip mask for a group of layers. How do I do that? I can create a single layer clip mask of hue/saturation but not a whole group of layers.

    You can nest it with its adjustment layer in another group and set that group to normal (instead of pass through). But setting the second group to normal may affect any blending you have going on in the first group.

  • [svn:fx-i11] 5489: i11 branch: Fix SDK-20148 Group bounds do not update after moving a child UIComponent

    Revision: 5489
    Author: [email protected]
    Date: 2009-03-23 10:04:25 -0700 (Mon, 23 Mar 2009)
    Log Message:
    i11 branch: Fix SDK-20148 Group bounds do not update after moving a child UIComponent
    Fix: add a method in GroupBase that's called whenever child x,y changes in UIComponent. GroupBase invalidates layout when autoLayout is true.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-20148
    Reviewer: Deepa
    tests: checkintests, mustella
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-20148
    http://bugs.adobe.com/jira/browse/SDK-20148
    Modified Paths:
    flex/sdk/branches/i11/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.a s
    flex/sdk/branches/i11/frameworks/projects/framework/src/mx/core/UIComponent.as

    FYI - This regression has been filed here: http://bugs.adobe.com/jira/browse/SDK-31989

  • [svn:osmf:] 15607: Partial fix #2 for FM-719.

    Revision: 15607
    Revision: 15607
    Author:   [email protected]
    Date:     2010-04-20 12:37:41 -0700 (Tue, 20 Apr 2010)
    Log Message:
    Partial fix #2 for FM-719.  This fix ensures that when seeking in and out of the child of a parallel element, that the play state is updated according to the play state of the composition.  For example, if there are two parallel children of duration 10 and 20 seconds, and the parallel element is playing, and you seek from 15 to 5, then the shorter child should resume playback.  (And similar for when paused.)  Bug detected when verifying the (soon to be checked in) fix for FM-719, and seeking in and out of the section of video where the image should be displayed.  Added unit tests for these cases as well.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-719
        http://bugs.adobe.com/jira/browse/FM-719
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/compositeClasses/ParallelSeekTrait.as
        osmf/trunk/framework/OSMFTest/org/osmf/elements/TestParallelElementWithSeekTrait.as

  • [svn:cairngorm3:] 16766: fix build for Flex 3

    Revision: 16766
    Revision: 16766
    Author:   [email protected]
    Date:     2010-07-01 04:42:16 -0700 (Thu, 01 Jul 2010)
    Log Message:
    fix build for Flex 3
    Modified Paths:
        cairngorm3/trunk/build-parent/pom.xml
        cairngorm3/trunk/libraries/lib-parent/pom.xml

    Hi, those technologies are so cool but I failed to run the sample:
    - I am using Maven 3.0.2.
    Runnung mvn build from the latest source code from trunk "....cairngorm3\samples\todo>mvn install". I got the error relating to "unable to transacoding"
    D:\Java\workspaces\misc\cairngorm3\samples\todo\todo_flex\todo_flex_shell\src\ma
    in\flex\com\adobe\txi\todo\shell\skins\ApplicationHeaderSkin.mxml: Error: unable
    to resolve '/assets/todoLogo_big.png' for transcoding
    D:\Java\workspaces\misc\cairngorm3\samples\todo\todo_flex\todo_flex_shell\src\ma
    in\flex\com\adobe\txi\todo\shell\skins\ApplicationHeaderSkin.mxml: Error: Unable
    to transcode /assets/todoLogo_big.png.
    I shift the assets folder to src/main/flex. It got compiled then I can deploy succesfully into Tomcat 6. But I still get empty screen.
    Do I have to do something else like "run db script", "create DB schema" ?
    Note: my adt.jar is from flex_sdk_4.5.0.17855
    Thanks

  • [svn:fx-trunk] 10339: Fix BrowserManager for IE8.

    Revision: 10339
    Author:   [email protected]
    Date:     2009-09-16 22:08:06 -0700 (Wed, 16 Sep 2009)
    Log Message:
    Fix BrowserManager for IE8.  Also upgrade SWFObject with some changes from their code base
    QE Notes: Last BrowserManagerTest test case fails in IE8.  Updated version sent to Joann.
    Doc Notes: None
    Bugs: SDK-22941
    Reviewer: Corey
    API Change: No
    Is noteworthy for integration: No
    tests: checkintests mustella/browser/DeepLinking
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22941
    Modified Paths:
        flex/sdk/trunk/templates/swfobject/history/history.js
        flex/sdk/trunk/templates/swfobject/swfobject.js

  • [svn:fx-3.x] 5698: Fix masking when renderers are components and get individually masked

    Revision: 5698
    Author: [email protected]
    Date: 2009-03-27 22:18:52 -0700 (Fri, 27 Mar 2009)
    Log Message:
    Fix masking when renderers are components and get individually masked
    QE Notes: None
    Doc Notes: None
    Bugs: sdk-19377
    Reviewer: ryan
    tests: checkintests, mustella/datagrid
    Ticket Links:
    http://bugs.adobe.com/jira/browse/sdk-19377
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataG ridBase.as
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/listClasses/ListBase. as

    Revision: 5698
    Author: [email protected]
    Date: 2009-03-27 22:18:52 -0700 (Fri, 27 Mar 2009)
    Log Message:
    Fix masking when renderers are components and get individually masked
    QE Notes: None
    Doc Notes: None
    Bugs: sdk-19377
    Reviewer: ryan
    tests: checkintests, mustella/datagrid
    Ticket Links:
    http://bugs.adobe.com/jira/browse/sdk-19377
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataG ridBase.as
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/listClasses/ListBase. as

  • How do i create a mask for an application?

    Hello.
    I pulled out an flex app out of Flash catalyst, and it has several "fx:designLayer"s containing images that slide off the stage.
    I'd like to hide the images going outside the stage borders with a mask.
    I tried:   
    <s:mask>
        <s:Group id="mask">
            <s:Rect width = "100" height="100">
                <s:fill>
                    <s:SolidColor color="#FF0000"/>
                </s:fill>
            </s:Rect>
        </s:Group>
    </s:mask>
    but all I see is blank.
    I tried to set mask = "{mask}" inside the <s:Application > tag and removing the <mask> tags, which works, but it gives me a warning that bindings to mask cannot be detected.
    How do I get the mask for the app with no warnings?
    And just for the sake of understanding Flex, how could I fix either one of those approaches?

    Defining a Group as the mask doesn't seem to work because the Group is never
    put on the display list so it doesn't draw its content.  Other examples I
    saw were using FXG will compiles down into Sprites that draw automatically.
    I don't normally do masking like this, I just draw a filled Sprite and
    assign it as the mask.
    One way I found that worked was this:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="800"
    minHeight="600"
                   backgroundColor="#66DDFF"
                    >
        <fx:Declarations>
        </fx:Declarations>
        <s:Group id="mask" includeInLayout="false" visible="false" >
            <s:Rect x="300" y="10" width="600" height="200">
                <s:fill>
                    <s:SolidColor color="#FF0000"/>
                </s:fill>
            </s:Rect>
        </s:Group>
        <s:Rect height="341" id="myRandomThing" width="800" x="79.5" y="86.5" >
            <s:fill>
                <s:LinearGradient rotation="270" scaleX="341" x="115.5" y="341">
                    <s:GradientEntry color="#222222" ratio="0"/>
                    <s:GradientEntry color="#FFFFFF" ratio="1"/>
                </s:LinearGradient>
            </s:fill>
            <s:stroke>
                <s:SolidColorStroke  color="#333333"  weight="10"/>
            </s:stroke>
        </s:Rect>
    </s:Application

  • How to set a fixed width for a box

    Hi there,
    Struggling here.... must admit. 
    I need a solution whereby I can set a fixed width for a box that is grouping two buttons.  I suppose generally, I want to know how to set a fixed width for anything element.
    See the picture below.  I want the two buttons to stay the same distance apart, and I want the grouped buttons to stay the same distance from the right edge of the window, even as a user resizes the window.
    This is what happens when you reduce the size of the window .....
    I would like to stop this from happening.
    I can't figure out how accomplish keeping the parent div a fixed width, and a fixed position from the right side of the window, so the buttons won't overlap.
    Perhaps I'm doing the whole thing wrong. 
    I mean, is there a way to accomplish this without grouping the buttons?  That is, make the buttons fixed width, fixed distance apart from each other, and fixed distance from the right side of the window, even as the user resizes the page?
    I am trying to accomplish this using the Min/Max width settings, but given that there are so many different units to choose from, and the fact that when I place a button or box on the screen, it seems to be creating that button or box with a percentage-based width, I don't know how many pixels to set it to.... sigh....
    Many thanks in advance for your help.
    Sam

    Okay after much futzing I figured out at least part of the solution I need, but if someone knows of a more efficent way to do this please let me know. 
    I set a fixed minimum width in pixels for both of the buttons at 156px.
    I then made the left button float left and the right button float right.
    I then made the parent div for the buttons float right.
    That made the buttons stay the same size.
    The only thing I need to figure out how to do now is make the parent div stay a consistent distance in pixels from the right.  I tried setting a right margin but that didn't work.  As you size the window down, the div gets closer to the edge, until it passes it.  

  • Fixed ratio for crop tool

    I do a lot of photo cropping. Is it possible to set a fixed
    ratio for
    the crop tool? It can be done with the marquee tool, why not
    the crop tool.
    I know about Shift-Drag to constrain crop marquee.
    Thanks for any help,
    Martin

    Interesting, I'm getting the same thing over here. So you're
    not alone
    Marty. (FWs8 on winxp-home)
    You could use a mask if the crop is relatively small?
    Peter
    "marty" <[email protected]> wrote in message
    news:elg7ua$7mb$[email protected]..
    | Thomas Unger wrote:
    | > marty:
    | > I've never experienced that symptom (fw8 on
    winxp-pro). In fact I've
    used
    | > this method for several versions of fireworks on
    several platforms (mac
    and
    | > win) without seeing that, so I'm not sure what to
    suggest. Could be a
    | > keyboard shortcut conflict--unless it happens with the
    mouse as
    well... -Tom
    | > Unger
    |
    | I have fw8 on winxp-pro as well. It's a new installation of
    fireworks; I
    | have not changed any keyboard shortcuts from the default
    set.
    |
    | It happens with both the mouse and keyboard shortcut (C).

  • How to create a non-destructive luminosity/b&w mask for (de)saturation?

    Someone asked me this question: CG renders (created in Modo, Max, Blender, Maya, Vray, Octane, etc) can be made to look more realistic by desaturating the colours in the highlights. It was also requested that this move would be done in 32bpc as well (something that is often required in a CG compositing workflow).
    This is easy enough to do: create a selection based on luminosity (or a black and white version of the image), and use that as a layer mask in the Hue/Saturation adjustment layer, and turn down the saturation.
    However, this is a destructive action: suppose we want to import an external file as a smart object, and then we need the option to have the file automatically update with any change we make to the original artwork.
    In that case we would have to recreate that luminosity mask again and again as well.
    Ideally, an update of the external file will result in an automatic update of the entire layer stack.
    Now, in Photoline this is easy to do:
    Since layer masks behave like regular layers in PL, and layers can be virtually cloned (not unlike smart objects), it is a mere case of cloning the original external file layer twice, and adding adjustment layers. Finally, that one instanced layer is used as a layer mask for the adjustment layer that controls the saturation. Done.
    Replacing or editing the original source will then automatically update and cascade the changes through the entire layer stack.
    This is a very handy technique to have! Since I teach Photoshop classes, I thought this would also be handy to know how to do in Photoshop, and I tried several methods (clipping masks included), but I cannot seem to achieve the same non-destructive result. Clipping masks do not work with adjustment layers. Groups cannot be used as clipping masks. Layer masks cannot reference a smart object.
    I have a feeling there ought to be a reasonably straightforward method to achieve this, but how?
    Would anyone have a suggestion how to solve this in Photoshop in a non-destructive way?

    csuebele wrote:
    I'm still not seeing it. Your example does not have a pixel based layer clipped to the group which is causing my problem. I hope I can explain this. See below. the layers in the group create the "mask". In this case a b&w adjustment layer was added to control how the "mask" is converted to b&w. You can see what these layers look like in the mid section top section of the image. any color showing though is from the very bottom layer, as the group has a blend if on it allowing the shadows to come through. The top image has a curve layer with no adjustment, while the bottom image has a curve layer to clip more of the shadows. You can see this change in the upper right corner of both images. The curves are allowing more of the image to be clipped in the area is masked out on layer "Layer 0 copy 1", as more of the color of the base layer is showing though. However, that b&w areas are suppose to be just the mask and you should see the b&w, just color as seen in the bottom image. However, the curves are not changing the transparency in the areas that have the layer to return the color.
    I don’t get it – what good is the pixel Layer ("Layer 0 copy 2") clipped to the Group supposed to do? Don’t you want to use the Mask on an Adjustment?
    Edit: Maybe this can help clarify how I suppose the issue would be approached.

Maybe you are looking for

  • Freezing Nokia Software Updater

    i have got a problem with the nokia software updater. anytime i launch it to update my n70 to the latest software it just freezes. i havent been able to load the latest firmware on my n70. any help will be greatly apprieciated.

  • How to find the buffer around a single polygon data..

    hi , this query about oracle spatial... please tell me how to create a buffer around a single polygon data.. by passing single polygon co-ordinates as a parameter.. ex: for a point the following works.. select * from TEMIS where SDO_INSIDE(TEMIS.GEOM

  • Workflow gets hanged

    Hi All, I have a problem in workflow where it gets hanged at some cases . It gets hanged in a user decision step. When i checked the log, comparing with the correctly executed workflow, i found in the step history tab the executed action - Result pro

  • ERROR (SBL-BPR-00183): In WorkFlow SubProcess Step

    Hi....Friends I have created one workflow named as "Test Opty Name WF" that insert a record in detail applet (Opportunity Contact List Applet), when Opportunity Name = "CONTACT" in parent Applet(Opportunity List Applet). its working good. So i deploy

  • Using loaded fonts in child swf

    Hello, I have an ad container that loads a handful of resources of which some are fonts and some are swfs. My problem is that the font is loaded from an url, is registered and works fine embedding it to the textfields created in the ad container. The