Flash Masks with multiple objects

hey i was wondering if anyone knows whats with flash and
masking an item to multiple graphics within a graphic
IE i have a bunch of squares. they are each individual
graphic objects. there are about 40 of these squares in another
graphic called squareContainer
im trying to mask a bitmap across squareContainer but when i
do it it will only mask against one of the 40 or so squares - how
do i get it to mask against all?
-Carl

I would also like to do this, any ideas?

Similar Messages

  • AS3 Masking with multiple objects bug

    Hi again.
    I have simplified my script to tell more about the problem.
    I'm creating Sprite which holds other Sprites with graphics. The whole Sprite is used to mask MovieClip.
    When I don't apply it as a mask, it shows, that objects are rendered correctly. But when I add it as a mask, flash fails to draw a mask where those Sprite objects overlap each other. You can see an example here:
    With no masking applied: http://imageshack.us/photo/my-images/29/screenshot20110914at432.png/
    With masking applied: http://imageshack.us/photo/my-images/233/screenshot20110914at433.png/
    As i've seen, this bug doesn't occur everytime mask overlaps.
    What could be the problem?

    bump...

  • List with multiple objects

    Hi,
    Is it possible can we have a List with multiple Object (CustomerVO, OrderVO and AddressVO) in a single List? If so how we will define the generics for that List?
    Please clarify.
    Thanks.

    797836 wrote:
    Guys, am I correct? Please clarify.If it works, it is correct. So try it.
    I was more thinking along the line of this though according to what you described in your initial post:
    Class ParentVO{
    private CustomerVO customer;
    private OrderVO order;
    private AddressVO address;
    // with getters and setters
    }That way you don't need any list at all, if you only want to have access to these three objects. Just slap them in a ParentVO and use that.
    Looking at it again I wonder if the ParentVO is needed even, there is a strong relationship between these three objects. An order has a customer and a customer has an address / an order has a billing/shipping address...

  • Spiral/Vortex with Multiple Objects

    Hi, all
    I'm trying to replicate this image from Shutterstock with multiple objects to create this spiral vortex.
    http://image.shutterstock.com/display_pic_with_logo/849265/101051014/stock-vector-card-sui t-hearts-diamonds-spades-and-clubs-playing-cards-op-art-vector-illustration-101051014.jpg
    I looked up tutorials like this: http://vectorguru.com/tutorials/how-to-distribute-objects-along-spiral.html
    Where I can put say the hearts on one spiral.
    But, the image seems to be multiple spirals in a uniform and equidistant manner. I would like to know how to go about making a "vortex" with multiple objects very similar if not the same to this fashion.
    Please advise.
    Thanks!

    Hi lotrismylife,
    I was able to get a similar effect using the following steps:
    Create a pattern brush of the 4 symbols next to each other (that way you can distribute them easily around the circle).
    Start with the outermost circle, and apply the new pattern brush to it's stroke.
    Expand the circle
    Object > Transform > Transform Each (CTRL + ALT + SHIFT + D)
    Set the horizontal & vertical scale to be smaller than 100% (you must experiment with this, depending on how big the gaps between circles must be)
    Set the rotation angle (depending on how much each circle must rotate)
    Click on Copy
    Now continually press CTRL D - this will continue to create a copy of the outermost circle that is x % smaller, and x degrees rotated.
    End result:

  • PC-UI: F4 with multiple object selection

    Hi!
    I implemented a F4-application with multiple object selection.
    Now I want to give back some data to the application that called the f4 or I'd like to call a method of this class. How can I find the correct instance of this class?
    Thanks in advance!
    Jörn

    Hi!
    I used a DDIC table to exchange data. I forwarded the object_key and the F4-help application inserted the multiple objects with that key in that table.
    The application which called the F4-help looked to the table (after pressing a button), grabbed the data and deleted the data in the DDIC table afterwards.
    I hope that helps.
    Jörn

  • Problem with Multiple Objects

    Greetings,
    I've been experiencing a strange issue when I have multiple objects in a single document.
    From time to time, Pages deletes an image and then replaces it with a duplicate of another image in the document. The first image disappears, and I end up with two instances of the second image.
    The event seems to occur when I close and save. The problem is intermittent. However, I have been able to reproduce it while scrutinizing my design process to make sure that I'm not responsible for the error. I am very sure that this is a software issue.
    I usually work in Word Processing mode, with tiff images inserted as floating objects in a two column format.
    Has anyone else had this problem? Any ideas about how to fix it?
    Thanks!

    Christopher
    The immediate problem I can see is that several of your images have exactly the same name:
    image1.png
    How have you distinguished these on import and kept them apart in Finder?
    I think this is a case of User Error, where you have mixed up identically named files.
    To correct this, gather up all your images and rename them to, preferably, what they are.
    There is however a problem in OSX. It tenaciously hangs onto the original file's name to track it even after you move it.
    So open each file in turn in Preview, make a very slight edit like a small crop and rename it.
    I suggest using 2 naming conventions:
    Example: 01.03 xxxxx.png
    Where that is page 01 image 03 and xxxxxx = the psalm name.
    This way you can easily differentiate the images and place them in order in the file.
    Peter

  • Mask with an objects (different behaviour)

    Did you see that MASK is not work correctly when we will apply it to the OBJECT type of event?
    We know how to work with masks. But when we try to add an mask to an type of "object" (circle, box etc) there is no mask, then we only got a second 'object'.
    Did you realize that? Hot to work as usually when I want to add a mask to an object?

    I think you are trying to draw a mask on a shape layer. If that is the case and you are using AE CS6 or later then look carefully at the tool bar. You will see a little pair of icons. One is a star the other is a little rectangle:
    Click on the little rectangle to the right of the star and the tool will then create a mask on a shape layer. In earlier versions the icon's are differentlittle different. They are only visible when the shape tools are selected.

  • Custom scrolller - issue with multiple objects....

    Hi,
    I'm developing a very simple custom scroller as a proof of concept. The idea is to have a background image(content_mc), lay multiple objects(myContent[i]) on top of the image, and scroll them all as a cohesive unit. However, I can not scroll myContent[i] appropriately; each object has a unique position and when I try to scroll them, they all assume one position(in which everything overlaps), move to that position and then scroll(see the ### comment below). Does anyone know how to accomplish this?(or does any of this not make the slightest bit of sense?)
    Thx for any help,
    Chipleh
    var rect:Rectangle;var scrollerMinY:Number = scrollbar_mc.scroller_mc.y;
    var contentMaxY:Number = content_mc.y;
    var padding:Number = 40;
    scrollbar_mc.scroller_mc.buttonMode = true;
    scrollbar_mc.scroller_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragIt);
    function dragIt(e:MouseEvent):void {
        rect = new Rectangle(4, 3, 0, 180);
        scrollbar_mc.scroller_mc.startDrag(false, rect);
        stage.addEventListener(MouseEvent.MOUSE_UP, dropIt);
        scrollbar_mc.scroller_mc.addEventListener(Event.ENTER_FRAME, scrollIt);
    function dropIt(e:MouseEvent):void {
        scrollbar_mc.scroller_mc.stopDrag();
        scrollbar_mc.scroller_mc.removeEventListener(Event.ENTER_FRAME, scrollIt);
    function scrollIt(e:Event):void
        var scrollerRange:Number = rect.height;
        var contentRange:Number = content_mc.height - mask_mc.height + padding;
        var percentage:Number = (scrollbar_mc.scroller_mc.y - scrollerMinY) / scrollerRange;
        var targetY:Number = contentMaxY - percentage * contentRange;
        content_mc.y = targetY;
        //###Herein lies the problem; I can not get multiple clips to align consistently like content_mc
        for(var i:int = 0;i<myContentArray.length;i++)
            var myContent:Object = MovieClip(root).getChildByName(myContentArray[i]);
            myContent.y = targetY - myContent.y;   

    Hiyas moccamaximum,
    Thx for the reply. Below are the screenshots, where the "align consistently" issue is apparent. When I instantiate the objects, the objects align per the "Before scrolling" screenshot. As soon as I start to scroll, the objects all align to one position(targetY)i.e.: "After scrolling" screenshot. I understand why that is happening, what i don't understand is how to maintain the layout of the objects while scrolling, per:
    for(var i:int = 0;i<myContentArray.length;i++)
            var myContent:Object = MovieClip(root).getChildByName(myContentArray[i]);
            myContent.y = targetY;   
    Before scrolling:
    During scrolling:

  • Masking with an object

    Hi
    I've been doing some masking with the clipping tool, but is there a way I can import 2 pngs and use the top one as a mask while the other animates underneath? I can't find anyway of doing this, so wondered if it was possible?
    Thanks
    Wayne

    Hi kingmonkey,
    I fear that the constraint is rectangular mask : http://forums.adobe.com/thread/1285275?tstart=0
    If you accept the pink area to be a rectangle : convert it to a symbol, setting its overflow property to hidden.
    If you then move the wave animation inside that new symbol, you have the effect of the animation being clipped by the rectangle.
    But sadly, this only works for a rectangle.
    Gil

  • (new) flash cdfrid with multiple choices

    My cfgrid allows the user to select several options.  What I need to know is how to capture those selections.  Here's the grid code:
    <cfgrid name='art_grid' format='flash' selectOnLode='no' selectMode='edit' query='GetArticles'>
         <cfgridcolumn name='ArticleIndex' select='yes' values='1' type='boolean' display='yes'>
         <cfgridcolumn name='ArticleName' select='no'>
    </cfgrid>
    I've tried a cfselect and a cfset (both with selectedItem and selectedIndex); both receiving the same error:  You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members.
    I created a structure to hold the responses and then tried to populate it with:
    <cfloop collection='#art_grid.selectedItem# item='i'>
         <cfset ArtStruct[i]='#art_grid.selectedItem.ArticleName[i]#'>
    </cfloop>
    What should I use instead?  (Yes, I googled the error message and this is where I got the structure idea.)

    Kind of a weird dump using <cfdump var='#art_grid#'>    (The form.art_grid was undefined...)
    <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" height="320" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" rsl="/CFIDE/scripts/cfform.swc" width="580"> <mx:Script><![CDATA[ import mx.core.UIObject; var errorpopup; function compareNumeric(a,b) { var a1 = parseFloat(a); var b1 = parseFloat(b); if( a1.toString() == 'NaN' ) a1 = 0; if( b1.toString() == 'NaN' ) b1 = 0; if( a1 < b1 ) return -1; if( a1 == b1 ) return 0; return 1; } function compareCurrency(a,b) { var a1 = new mx.formatters.NumberBase().parseNumberString( a ); var b1 = new mx.formatters.NumberBase().parseNumberString( b ); var a1 = parseFloat(a1); var b1 = parseFloat(b1); if( a1.toString() == 'NaN' ) a1 = 0; if( b1.toString() == 'NaN' ) b1 = 0; if( a1 < b1 ) return -1; if( a1 == b1 ) return 0; return 1; } function compareTextNoCase(a,b) { var a1 = a.toLowerCase(); var b1 = b.toLowerCase(); if( a1 < b1 ) return -1; if( a1 == b1 ) return 0; return 1; } var __art_grid_cacheid = "0"; var __art_grid_editedFields = new Object(); var __art_grid; ]]></mx:Script> <mx:Model id="CFForm_1"> <__CFGRID__CFForm_1__art_grid>{__art_grid}</__CFGRID__CFForm_1__art_grid> </mx:Model> <mx:Style> .artgridHeader { textAlign: Left; } </mx:Style> <mx:Form heightFlex="1" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" widthFlex="1"> <mx:DataGrid editable="true" fontFamily="tahoma" fontSize="12" hGridLines="true" headerStyle="artgridHeader" height="320" id="art_grid" initialize="GridData.initGrid(true, __art_grid_cacheid, art_grid, this, 'CFForm_1', '__CFGRID__CFForm_1__art_grid', remoteObject_art_grid)" textAlign="left" vGridLines="true" width="580"> <mx:columns> <mx:Array> <mx:DataGridColumn columnName="CFGRIDROWINDEX" editable="false" headerText="" resizable="false" sortable="true" width="0"/> <mx:DataGridColumn cellRenderer="{CheckCellRenderer}" columnName="ArticleIndex" editable="false" headerText="Select" resizable="true" sortable="true" width="50"/> <mx:DataGridColumn columnName="ArticleName" editable="false" headerText="Article" resizable="true" sortable="true" width="530"/> </mx:Array> </mx:columns> </mx:DataGrid> </mx:Form> <mx:RemoteObject concurrency="multiple" endpoint="@ContextRoot()/CFFormGateway/" id="remoteObject_art_grid" showBusyCursor="true" source="coldfusion.flash.adapter.CFFormAdapter"/> </mx:Application>
    Interesting, but I don't understand it.

  • Access list with multiple object groups

    Hello Everyone,
    I am using a cisco ASA 5525 with 8.6 code.  I am trying to setup access list for oubound access meaning hosts accessing the internet.  I have created an access list called outbound_access and did "access-groupc outbound_access in interface inside "
    I am trying to use object-groups where ever i can.  Here is an example.
    object-group service obj_Meraki_outbound
    service-object tcp destination eq 443
    service-object tcp destination eq 80
    service-object tcp destination eq 7734
    service-object tcp destination eq 7752
    service-object udp destination eq 7351
    object-group network obj_Meraki_lan
    network-object 10.2.11.0 255.255.255.240
    network-object 10.5.11.0 255.255.225.240
    object-group network obj_Meraki_pub
    des This group lists all hosts associated with Meraki. 
      network-object host 64.156.192.154
      network-object host 64.62.142.12
      network-object host 64.62.142.2
      network-object host 74.50.51.16
      network-object host 74.50.56.218
    object-group service obj_Meraki_outbound
    service-object tcp destination eq 443
    service-object tcp destination eq 80
    service-object tcp destination eq 7734
    service-object tcp destination eq 7752
    service-object udp destination eq 7351
    object-group network obj_Meraki_lan
    network-object 10.x.x.x 255.255.255.240
    network-object 10.x.x.x 255.255.225.240
    object-group network obj_Meraki_pub
    des This group lists all hosts associated with Meraki. 
      network-object host 64.156.192.154
      network-object host 64.62.142.12
      network-object host 64.62.142.2
      network-object host 74.50.51.16
      network-object host 74.50.56.218
    I have tried tying all these groups together in multiple ways but cannot figure out how to do this.  This what i think it should be "access-list outbound_access extended permit object-group obj_Meraki_outbound object-group obj_Meraki_lan object-group obj_Meraki_pub"
    What i want is the use the service objects and the source network would be obj_Meraki_lan and destination would be obj_Meraki_pub.   It seems the rules completely change when you use object groups.  Can someone explain this maybe with a few examples.  I am already using object groups in many acls but not for every element.
    Thanks

    Hi,
    Seems to work on my test ASA
    Attached it to my current LAN interface.
    ASA(config)# packet-tracer input LAN tcp 10.2.11.1 12345 64.156.192.154 80
    Phase: 1
    Type: ROUTE-LOOKUP
    Subtype: input
    Result: ALLOW
    Config:
    Additional Information:
    in   0.0.0.0         0.0.0.0         WAN
    Phase: 2
    Type: ACCESS-LIST
    Subtype: log
    Result: ALLOW
    Config:
    access-group outbound_access in interface LAN
    access-list outbound_access extended permit object-group obj_Meraki_outbound object-group obj_Meraki_lan object-group obj_Meraki_pub
    object-group service obj_Meraki_outbound
    service-object tcp destination eq https
    service-object tcp destination eq www
    service-object tcp destination eq 7734
    service-object tcp destination eq 7752
    service-object udp destination eq 7351
    object-group network obj_Meraki_lan
    network-object 10.2.11.0 255.255.255.240
    network-object 10.5.11.0 255.255.255.240
    object-group network obj_Meraki_pub
    description: This group lists all hosts associated with Meraki.
    network-object host 64.156.192.154
    network-object host 64.62.142.12
    network-object host 64.62.142.2
    network-object host 74.50.51.16
    network-object host 74.50.56.218
    Additional Information:
    access-list outbound_access line 1 extended permit tcp 10.2.11.0 255.255.255.240 host 64.156.192.154 eq www (hitcnt=1) 0x4d812691
    Also have used such configuration in some special cases where the customer has insisted on allow specific TCP/UDP ports between multiple networks. And nothing is stopping from adding ICMP into the "object-group service" also.
    - Jouni

  • Trouble with multiple object animation

    I'm new to Flash Basic 8, and am getting very frustrated
    trying to make an animated gif to use as a background on my
    website.
    1. Do you really need to create a separate layer and motion
    guide for each object? I wanted to have some 20 or so stars falling
    along separate paths, maybe 2 or 3 per path, but it seems you can't
    have more than one object per path, and only one path per layer.
    2. It's okay if I have to create 20 regular layers and 20
    motion guide layers, however, after 3 layers I noticed the gif
    slows down on the website. I published the fla to an animated, loop
    continuously gif. I then set the background of my asp.net website
    to the gif. It starts out with the stars falling normally, but they
    start slowing down half way down. By the time the last ones reach
    the bottom they're barely moving at all. When the first ones begin
    again at the top, they speed back up to normal and begin slowing
    down again.
    Any help greatly appreciated - or I'm not buying this
    thing!

    LianaEnt;
    There are a number of ways an animation such as you describe
    could be
    approached--some primarily scripted, some using tweening or
    frame by frame
    animation. It's difficult to be more specific without more
    information. You
    might take a look at some of the flash help sites such as
    flashkit.com to
    see if you can find something similar you can study. The more
    things that
    are moving onscreen simultaneously and the larger the pixel
    size of the
    animation --the more likely it is that the animation can slow
    down both in
    gif and swf format. Adding a small silent streaming sound to
    your animation
    can cause the flash player to drop animation frames to allow
    the movie to
    appear to run faster, but this will only help if the final
    output is swf
    (not gif) of course... -Tom Unger

  • List with multiple objects using Comparator

    Hi,
    I have a comparator to sort the fields of 2 objects. I have a resultlist which contains the CustomerAddressVO which contains the properties of both
    Customer and Address entities List resultList<CustomerAddressVO>.
    This CustomerAddressVO.java in turn have
    private long id
    private Customer customer;
    private Address address;
    Where Customer.java
    will have properties of customer
    Where Address.java
    will have properties of address
    Now i need to use the comparator for customer.getName() asc and address.id() desc, as i have mentioned the resultList doesn't directly contain this object as it contains CustomerAddressVO which in turn have those two object Customer and Address. Hence unless you iterate the list and retrieve the respective objects (customer, address) you cannot do the sorting through comparator. In such case how we can go about it. If you iterate the list also how we can pass the respective object to the compare() ? And more importantly we need to sort the columns of 2 different entites? Please clarify how we can go about it?
    Thanks.

    You can still do the sorting through a Comparator
    The compare method should take
    public int compare(CustomerAddressVO o1, CustomerAddressVO o2) { //..so you can then do
    01.getCustomer().getName();
    //and
    o1.getAddress().getId() together with relevant null checks

  • Hittest with multiple objects...

    Ok I need some help!
    I'm trying to make a room with a little guy and he moves around the issue is that HE CAN WALK THE WALL it's like Spiderman...
    I want to only have to use one object with the same root name, but I want it to be a hittest so it's like a wall here's my code...
      "if (_root.char.hittest(_root.wall)) {
            startX = startX+1;
            startY = endYstartY+1;
    I dont want to have to hard code like 20 walls for eace "wall" if you know what I mean...
    Oh and almost forgot char is a MC on the root also.
    -Java

    if you have walls named _root.wall1,_root.wall2, etc
      for(var i=0;i<wallNum;i++){
      if (_root.char.hittest(_root["wall"+i])) {
            startX = startX+1;
            startY = endYstartY+1;
    break;

  • How do I create a flash website with multiple urls?

    I am not great at flash and am making a website that has a few different tabs for different pages.  How do I make different urls for each page?  I want to track each page seperately.
    Thank you.

    use getURL() (as2) or navigateToURL()  (as3).

Maybe you are looking for

  • Got action sequence to "loop" but it shows in all states - conditional statement to fix it?

    Using Flash Catalyst & Notepad (to open and alter the code in the "Main" MXML file) I'm able to "loop" an action sequence on the home state for my swf by changing the code as follows: ORIGINAL CODE <s:Parallel id="Sequence3"> ALTERED CODE <s:Parallel

  • Cost Center: Statistical key figure reports

    We have a business content cube 0CCA_C03 and is loaded with data but when we try to use the associated Business content query with the proper parameters it says there is no data available. What could be potential problem and solutions? Thanks

  • Extended Receiver Determination problem

    Hi, I am making use of extended receiver determination to send 1 source to multiple target systems. When I was testing so that the interface would just send to 1 target system while still making use of the extended receiver determination, I got the f

  • DPM 2012 SP1 - ID 2033 Details: The system cannot find the path specified 0x80070003.

    Seeing a very strange issue on one of servers. Three of the drives are failing the consistency checks with the same type of error. DPM encountered an error while performing an operation for \\?\Volume (ID 2033 Details: The system cannot find the path

  • Can't import my mp3 file on my computer at work

    can't import my mp3 file on my computer at work but the same format will successfully import on my computer at home.  Only difference is that work runs win 7 32 bit and home win7 64 bit. can anyone help on this regards, Aron