Mask / Masking Using an image with transparent bg

Flash CS4
AS2
Okay - so I must be missing something here -but perhaps people here can help me.
I have a flash movie, and I want to apply a mask to it.  The mask I want to apply, or rather, the "shape" of the mask I want to apply is an external image that was made in photoshop.  The shape is an irregular one with a bunch of jagged edges.  the shape itself is solid, with a transparent background.  I've tried saving it as a PNG with transparent b/g, and I've tried importing the PSD file directly into Flash - however  - when I go to use this shape for a mask, the mask that is applied is an entire rectangle bounding the imported image - rather than along the edges. 
Hopefully you can see what I'm trying to do here, and perhaps offer some insight on how I can get this image into flash (let's stick with the idea that the jagged edged manner of the image is too difficult to recreate inside of flash)...
Thanks for your help!

okay...
so I did this now - and now there is no bounding box - there is no box at all - and it's done a reverse mask....
okay - so let me explain the movie.
The movie is a page peel - it peels from the bottom right corner, peels back, and up to the left across the whole page  -   So basically, I've taken this image of a corner peel - and using motion tween - made the peel larger and larger - and effectively what it does it looks like it's peeling from the corner this parchment paper with a jagged edge...  to reveal a blank parchment below it.  So I'm trying to set the parchment paper as a "mask" to hide the parts of the animated "peel" that aren't on the parchment - effectively it will make it look like a full page peel away... which is why I need the mask to be the parchment document, rather than the bounding box around it - because then it looks like it's peeling away a transparent square film that is laying on top of this parchment image...
okay... so with that more explained I'm hoping....
Now - I've used the setmask() as outlined in the adobe flash documentation - and now there is no bounding box - but instead wherever the peel is during the animation the parchment shows under that peel animation, and no where else - so it's done a reverse masking...  and if I reverse the parameters outlined in the documentation (which isn't right) the peel still shows, but now the parchment doesn't show at all...  ugh... either way I still see the full size peel which is now larger than any bounding box that was there before...

Similar Messages

  • Using images with Transparency in Photobooks

    I'm to a point where I would like to use images that utilize transparency in Aperture photo books. Is this possible? So far, PSD files that I've cropped with PS's lasso tools to have transparent areas surrounding their subject tend to change this area to white when dropped into a book.
    Does anyone know of a way or format to use to retain this transparency? I love the speed of Aperture's photobook tools, along with export and printing options, and would like to be able to layer images that bleed together, or have a cut-out subject on top of others, but I haven't noticed a way as of yet.
    Is this ability even available in Aperture yet?
    If not, is there a third party plugin that gives it to the user when making photo books?
    Please let me know soon, else i'm going to have to adjust my workflow back to photoshop only for page set layouts and the created PSD files on blank book pages- not fun.

    i have been trying different ways to make it work fine, and find several things to consider:
    Note: for the next ways i tried with images with transparency.
    1 searching images in the iPad with safari and saving it into Photo app
    then copying it with the popup and pasting it with the popup inside Pages or Keynote:
    work fine.
    2 using the saved images that worked fine in the first way but
    then inside Pages in my opened document, using the menu to import the image from the
    Photo app, to insert the same downloaded image used in the first case:
    does not work, the image appears with a white background.
    3 trying the first way (manually copying and pasting) but with the images i imported from
    my MacBook Pro using the normal way via iTunes(10.1.1 (4))
    does not work, some images appears with a black background, other images
    appears with a white background.
    4 trying with the images of the third way, but changing the method using the photo app
    menu from Pages
    does not work as in the third way
    i dont have problem using transparency images in the first complex way.
    my problem is when i try to use images with transparency in the other three normal ways.

  • Framing image with transparent background png frame

    hi,
    i'm trying to find a way to frame images with transparent background png frames...
    what i'm doing now is
    1-drawing my image on a panel
    2-creating a 2nd image using the frame's filename, stretching this 'frame-image' to a size slighlty larger than that of my main image and drawing the 'frame-image'
    the problems with this method are:
    1-depending on the width of the frame, the frame sometimes hides parts of the image (thick frame), and sometimes there is a gap between the frame and the image (thin frame).
    2-if the image file containing the frame is larger than the frame (Ex: The image is 300x300, the frame is centered in this image and is 200x200; as opposed to the image is 200x200 and the frame takes up all the space), when i position the 'frame-image' near the top left corner of the image i want to frame, the frame appears at the wrong place (shifted down and to the right). This is due to the fact that i'm placing the top corner of the created 'frame-image' and not the frame, who is not in the top corner of my 'frame-image'.
    Is there a way to do what i'm trying to do???
    My ideas (which i don't know how to achieve are)
    1-To 'analyse' my transparent background png file and
         1-only keep the frame,
         2-calculate the frame's thickness
    OR
    2-Let java do the analyzing for me and tell it to frame my image with the frame in the png file
    please feel free to ask for more explanations if my description/question is confusing,
    thanks.

    Have you looked into the Border interface? If what you really want to do
    is put a custom border on a component, you may be able to do it this way.
    Anyway, here is some code that stacks and centres 2 images. It's not hard to do.
    import java.awt.*;
    import java.awt.image.*;
    import java.io.*;
    import java.net.*;
    import javax.imageio.*;
    import javax.swing.*;
    public class Example extends JComponent {
        private BufferedImage backgroundImage;
        private BufferedImage foregroundImage;
        public Example(BufferedImage backgroundImage, BufferedImage foregroundImage) {
            this.backgroundImage = backgroundImage;
            this.foregroundImage = foregroundImage;
        public Dimension getPreferredSize() {
            int w = backgroundImage.getWidth();
            int h = backgroundImage.getHeight();
            return new Dimension(w, h); //assuming this is bigger
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            int w = getWidth();
            int h = getHeight();
            //paint both, centred
            int x0 = (w-backgroundImage.getWidth())/2, y0 = (h-backgroundImage.getHeight())/2;
            g.drawImage(backgroundImage, x0, y0, null);
            int x1 = (w-foregroundImage.getWidth())/2, y1 = (h-foregroundImage.getHeight())/2;
            g.drawImage(foregroundImage, x1, y1, null);
        public static void main(String[] args) throws IOException {
            URL url1 = new URL("http://weblogs.java.net/jag/Image54-large.jpeg");
            URL url2 = new URL("http://weblogs.java.net/jag/DukeSaltimbanqueSmall.jpeg");
            JComponent comp = new Example(ImageIO.read(url1), ImageIO.read(url2));
            final JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(comp);
            f.pack();
            SwingUtilities.invokeLater(new Runnable(){
                public void run() {
                    f.setLocationRelativeTo(null);
                    f.setVisible(true);
    }

  • Images with Transparency Cause Rendering Bug in Acrobat

    Try this at home: Export a file containing an image with transparency to PDF and open it in Acrobat (any platform, any recent version): the page containing the image will have all text rendered in what looks like bold or faux bold, depending on the font. The document looks fine in Preview and printed (even from Acrobat).
    Can anyone else reproduce this? I get this behavior consistently.

    Hi bdepaepe, I've had a look and I believe I have experienced the error you mean and solved it.
    The reason this occurs some of the time, but not always is because the source code is not the same each time, as the adverts change every refresh. The error only happens when two of the < div> tags of class 'banneritem' which are on top of each other have a height of 84px each as opposed to 80px (although even if this is the case the rendering issue doesn't always happen).
    The reason that some of the 'banneritem' < div> tags have a height of 84px is because inside them there is an <a> tag which contains an < img> tag, and the <a> tag has not been set to 'display: block;'. <a> tags are inline elements by default, so shouldn't be used to hold block level elements such as images unless the styles for the <a> tag include 'display: block;'.

  • Export a PDF to an image with transparency

    Hello,
    I'm trying to export a PDF (which contains a logo with 4 paths) as an image with transparency. In my case I use the PNG because it supports the transparency. As my logo is defined with paths it should be possible to create an image with transparency.
    Maybe this is a limitation and Acrobat cannot create image wich supports transparency.
    Anyone have an idea?
    Thanks in advance,
    Joe

    @Joe:
    That's a really pity.
    Have you found any other software which can do this job.
    I searched yesterday but didn't find anything.
    @Doc Maik
    b)
    I have a (lot) PDF containing a single image which has a transparent background.
    You can check that in Acrobat by menu: Edit - Preferences - Page Display - Show transparency grid
    I need to have a PNG or TIFF (these two formats allow transparency) of that image.
    That's all but as it seems to much for Acrobat to handle.
    "Save as ..." doesn't work in case of transparency!
    Thanks anyway.
    Best regards
    Norbert

  • Image with transparent background als foreground of a button

    I'd like to build an app with buttons using the phone's accent Color as Background and an Image with transparent Background as foreground of the button. It should look like the tiles on the start screen of WP8.1.
    The following code doesn't work (no foreground appears)
    <Button x:Name="myButton" Background="{ThemeResource PhoneAccentBrush}">
     <Button.Foreground>
         <ImageBrush ImageSource="/Assets/myImage.png"/>                    
     <Button.Foreground>
    </Button>
    Are there any ideas?
    Thanks
    Martin

    Hi mfv_technet,
    The Foreground property is used to get or set a brush that describes the foreground color. So we can not bind the Foreground to a image,
    if I do not misunderstand you, in my mind if we want to set the button look like the tiles on the start screen of WP8.1, maybe you can try to refer to the following xaml:
    <Button x:Name="myButton" Foreground="Red" Background="{ThemeResource PhoneAccentBrush}" Margin="116,136,0,363" Width="195" Height="141">
    <Button.Content>
    <StackPanel Orientation="Vertical">
    <Image Source="/Assets/myImage.png" Width="80" Height="80"></Image>
    <TextBlock Text="Button"></TextBlock>
    </StackPanel>
    </Button.Content>
    </Button>
    The result:
    If I have misunderstood you, please feel free to let me know.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • AI CS6, ScriptUI, and images with transparency

    ESTK for AI CS6 is already known to create problems (e.g. http://forums.adobe.com/message/4711851).
    It’s possible that, in dialogs created with ScriptUI, AI CS6 also fails to display images with transparency properly. On my (Mac) system at least, such images appear with an aliased edge.
    If this is true it’s doubly unfortunate, since with CS6 Adobe chose to make AI’s background interface colour adjustable—which makes interface images with transparency something of a requirement.
    One workaround, which sadly negates the whole business of variable interface background colour, is to create dialog images with a background colour instead of transparency, and then force the dialog to display with the same background colour. For this technique we’re indebted again to Peter Kahrel’s invaluable ScriptUI for Dummies (www.kahrel.plus.com/indesign/scriptui.html). Page 69 of that publication shows how to do this—for example:
    win.graphics.backgroundColor = win.graphics.newBrush(win.graphics.BrushType.SOLID_COLOR,[0.5,0.5,0.75]);
    The process is, to say the least, quirky: and, as Peter mentions, poorly documented by Adobe. But I hope it may be helpful to others trying to use ScriptUI.
    The more I see of AI CS6 the more I like CS4! Can anyone tell me if I’m likely to miss any features or run into problems if I develop scripts for CS6 using ESTK for CS4?

    Yes this is where things can quickly become very complex too… I for the most part script for a particular version… Im almost certain scriptUI arrived with CS3 so you will need to make checks for this… There are a couple of differences between how they look from one OS to another… Oh yes a test my script cloud… just floated past the window or was it a flying pig hard to tell… I have long thought purchasing a version of an app should qualify you access to previous versions but thats never going to happen… You may get this on some expensive developer program but not for part time scripters…
    BTW if you have an old G5 knocking about… Then you can now get CS2 FOC great thats the one I've got…

  • Printing Images with Transparent Background

    Sorry if this question has already been asked, but I couldn't find anything similar to it in a search through the archives.
    I have a couple of images with transparent backgrounds in a document, much like the shells and the blue flowers in the "Classic Brochure" template in Pages 2.0.1. These images show up perfect on the screen, and when printed as .pdf files, but when I print to either an hp color laserjet 4600 or an hp laserjet 1320, the images show up with a clear box around them; the colors under the box (where it should be transparent) are faded and slightly blurred. This happens both with my document, and the unaltered "Classic Brochure" template. I've tried moving various objects backwards and forwards, but it doen't seem to have any effect. It even happens with one of the text boxes I have in the document.
    Another odd thing is that the printed "box" isn't the same size as the box that appears when you click on the object in the document. It's a bit bigger. I've seen other posts about problems with hp printers, but I'm not sure it's related. Any insight would be appreciated.
    MAF
    iMac Intel Core Duo   Mac OS X (10.4.7)  

    http://indesignsecrets.com/eliminating-ydb-yucky-discolored-box-syndrome.php
    Bob

  • Basic Photoshop 101: I want to use an image with an outer glow in another Photoshop document. When I place the image, the outer glow has hard edges where the box of the image cut the glow off. Naturally, I want a soft feathered outer glow. How do I get th

    Basic Photoshop 101: I want to use an image with an outer glow in another Photoshop document. When I place the image, the outer glow has hard edges where the box of the image cut the glow off. Naturally, I want a soft feathered outer glow. How do I achieve that? Thank you.

    That should work out, maybe edit it to force updating in the new image.
    Could you please post a screenshot with the Layers Panel visible?

  • Photoshop image with transparent bg not transparent in FCP

    My psd images with transparent backgrounds (done correctly) are showing up with white backgrounds when I import them into FCP. How can this be remedied? please let me know!

    i have a .psd and a .tif file..how do i switch it to 8-bit? i think its grayscale mode right now and the option for 8bit is grayed out and not clickable

  • Seamless repeating pattern - using embedded images with clipping masks

    Hi forum,
    We struggle a bit creating a seemless repeating pattern that includes embedded images with clipping masks applied.
    Our pattern is a 550x550mm black square with various embedded inserted on top. All of these images have Clipping Masks applied to hide unwanted areas.
    These images are placed so they create a seamless repeating pattern and this includes areas that overlap the square.
    Once we create a swatch from this pattern the repeatable area becomes too big as it includes the unwanted areas hidden by the clipping masks.
    Because the repeatable area is now too big it's actually not repeatable.
    We tried various things in order to solve this issue. Pathfinder/crop to delete the unwanted areas in the images etc.
    None of them worked good enough.
    We though of just livetracing the images, but due to the complexity this is not an option.
    Do we really have to do our "cutting" in Photoshop or do you know any fancy tricks for issues like this?
    Appreaciate your insight
    Kenneth

    Kenneth,
    You may try the destructive deed, with the Clipping Mask selected:
    1) In the Transparency palette/panel dropdown list select anything but Normal (Multiply is fine),
    2) Object>Flatten Transparency, just keep the defaults including 100% Vector,
    3) Shudder.
    This should reduce the size to the Bounding Box of the Clipping Path.

  • Masking and clip art with transparent backgrounds

    I'm new to iWeb and am creating a travel blog. So far love the simplicity of it. However, when I try to add clip art type images or graphics with transparent backgrounds I always get a white border around them. I have tried to mask or crop the border out but no dice. Any help?!
    Also, if anyone can recommend a good source for travel or photo related clip art let me know. The iWeb "Roadtrip" template seems to have some cute items - maps, scissors, tape, etc. - but there is not much there.
    Thanks everyone.

    Welcome to the Apple Discussions. That's the default border for added image files. Go to the Inspector/Graphic pane and take off the frame/stroke that is added by default.
    Click to view full size
    Be sure to post a request to remove that default border at http://www.apple.com/feedback/iweb.html. The more complaints the better.
    OT

  • Images with transparent backgrounds in MDM

    I've got several images in MDM with transparent backgrounds, yet when i look at these in image manager (or thumbnails in data manager) they look terrible. The transparency is black for example, among other issues. These images are all okay in photoshop, they have been saved as .png and imported through the data manager.
    Has this import ruined these image files on the way in? When my search engines etc extract the images, what of the transparencies?

    Hi Adam,
    MDM makes use of Internet Explorer quite frequently. I can imagine that this engine is also used to display images in MDM. However, Internet Explorer in version 6 does not support transparency in PNG images. That is why the black background occurs.
    Since your images after upload are only saved in a binary object in the database, you should not encounter any data loss when using the same images. If you need to create variants, I would consider using Photoshop for the creation of those.
    I hope that helps you further.
    Best regards
    Christian

  • Image with transparent background changes surrounding fill color when PMS...

    Hello.
    I have a .PSD image I'm using in InDesign CS3. It's a greyscale image with a transparent background. When I bring it into InDesign and set the background color of the image box to a Pantone and then print it, the PMS color within the area of the .PSD image size changes color compared to the rest of the page. But, when the same document is printed, but with "All Spot to Process" via the Ink Manager, the page prints fine. I get the same results on a number of different Canon and Xerox proofing printers. I have uploaded a PDF to my web server showing an example of the results I'm getting the PDF can be found here:
    http://theboyk.net/temp/PMSvsCMYK.pdf
    The first page is the document printed normally. You can see the color change in the green (Pantone Green). The second page is the same document printed with "All Spot to Process" via Ink Manager.
    Does anyone know why this happens when I leave it as printing a spot color?
    Any advice would be appreciated!
    Thanks,
    Kristin.

    I totally forgot to put that in my post.  Yes, I am putting logos with transparent backgrounds in front of colored rectangles.  That's how I noticed that this one logo is showing up with a white background.  The weird thing is that the other two logos are fine.  I did find a different version of this logo and this one works fine.  The one that works fine is a JPG and the one that shows up with a white background is a JPG.

  • Images with Transparency

    I am wondering if anyone can tell me the best way to supply a designer with an image for Final Cut that will hold its transparent background when imported? The designer claims that the psd, tiff and jpg with alpha channels that I sent over will only import with a white background. How can we prevent the white background from happening?

    Welcome to the family.
    JPG doesn't support alpha so, umm, don't use that one.
    Test it before it leaves your shop. This simple operation saves lots of hassles with uptight Photoshop folks who have absolutely no clue what video is all about. Wait till she asks you for more dpi.
    There's no secret to exporting a still image with an alpha channel but there must be actual transparency and there must be no underlying layer in your sequence. What filter are you using to generate the key or matte? Is it rendered?
    From the information you have provided in your post, there's no way for us to know if your sequence is set up properly or that the element you are trying to export even has an alpha channel.
    bogiesan

Maybe you are looking for

  • Cleaning Imac memory and set up

    I want to give my imac g4 flat screen to my son. How can I reset it/ clean it back down to put him as admin and basically start again?

  • Ideapad K1 HDMI to VGA

    Has anybody tried converting HDMI output to VGA for use on VGA only PC Monitor for presentations ?  I have to lug around my old laptop just for this use

  • Reducing file size for YouTube's 2 gig limits

    Hello Using Premiere Pro CS4.   I also have the Matrox  CompressHD which has its own settings. I am dealing  with YouTube's 2 gig limit and I would like to know which of the  settings in the below screen capture I should adjust to help reduce file  s

  • Ora-00933 command not properly ended, txn_analysis_view== ()v

    Hi, I am new this forum, I hope all are doing well, Here my problem is I'd like to add a attribute1 column from mtl_system_items table in Report builder 6i SQL query, I am getting an error like : ora-00933 command not properly ended, txn_analysis_vie

  • Website not publishing

    I have made some changes to my portfolio website using iWeb 3.04 then optimized with Webcrusher 1.8. In Webcrusher I then select Export / Publish to iDisk and it does this which takes 10-15 mins. However there is no changes on the website. If I look