Mask not working on loaded jpg

Hi,
I have a blank movie called "shell" on a frame, which is
where I load the jpg. - shell.loadMovie("1.jpg");
Above that the frame that contains the shell movie, I have a
mask layer. Once the jpg is loaded, I have a shape animation on the
mask layer that reveals the jpg.... but for some reason it doesn't
work. If I take away the mask layer it displays properly.
*UPDATE*
The mask stops working when the shape tween starts. Initialy
the masks works when there is no tween on the mask layer.

Thanks - your example worked for me. Not sure why I couldn't get it to work before. I think it was because the mask and the item were the same exact size as well. I created another example and posted below which is what I was going for.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Canvas width="300" height="30" horizontalCenter="0" verticalCenter="0">
        <mx:ProgressBar
            id="prog"
            label="1234"
            width="300"
            height="30"
            indeterminate="true"
            labelPlacement="center"
            mask="{maskCanvas}"/>
        <mx:Canvas
            id="maskCanvas"
            width="295"
            height="20"
            backgroundColor="#000000"
            borderColor="#000000"
            borderStyle="solid"
            cornerRadius="10" horizontalCenter="0" verticalCenter="0"/>
    </mx:Canvas>
</mx:Application>

Similar Messages

  • Dynamic mask not working once loaded

    I have a movie that has a dynamic mask in it. Once I load
    that file into my other movie, it no longer works.
    I am not even sure to start to look. It makes no sense to me.
    Any ideas?
    Thanks a lot!

    re-assign the mask after loading is complete.

  • The app store is not working or loading on my Macbook Pro, iphone and ipad

    The app store is not working or loading on my Macbook Pro, iphone and ipad
    Today When I tried to open the app store on my ipad I found out that's the store is not working,,, It's giving me the loading screen like for ever without any error message. So I tried my Macbook and my iphone and it was the same,,,, I thought it was from the connection so I tried several different connections and It was the same.
    Any Idea what is going on with the app store ?

    The App Store app on your iPhone in your iPad is a different App Store than the app store app on your Mac. You use the same account for both app stores. So I would guess that the real issue is perhaps something to do with your Home Network. You might try rebooting your modem/router. Also, turn off any antiviral software, firewalls or apps such as Little Snitch.

  • I re- start my ipad2 into a new one,to update into i0s7, why it is not working of loading?

    I re- start my ipad2 into a new one,to update into i0s7, why it is not working of loading? please help!!!

    The [c:set|http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html] tag is used to set a scoped attribute not request parameter. So when you write
    <sql:param value="${param.userid}" />You get null as there is no parameter named userid in the request. Try this
    <sql:param value="${userid}" />I would recommend you not to do database connectivity stuff in JSP, JSPs are the view layer of an application and they aren't supposed to be for doing business logic. Also since you are using a random userid, you might end up with multiple users with the same ID and IDs are generally supposed to be unique...

  • Mask not working correctly?

    Hi every one!
    I have this problem with my mask not working properly, i have an image, and it has an red fruit sitting on a table,
    i have to make the picture sepia using an adjustment layer ( my lecturer says it MUST be done that way)
    but leaving the fruit as red as possible. So when i do this i MUST use the layer mask provided by the
    adjustment layer, but what is happening is the orange is going a very faded red ( but not quite sepia), the table BG does go sepia..
    so its KIND OF working but not really.
    Cheers
    Bunny Face

    Check your mask by OPTION CLICKING on the mask icon on the specific layer. This will show you a greyscale mask. BLACK hides, WHITE REVEALS. SO obviously grey does half of each! So if you dont want the apple to be affected by the layer mask you  must paint it BLACK in the mask of that adjustment layer.

  • Font not working after loading snow leopard.

    My font named Smash is not working after loading snow leopard.  Is there any way to fix this?

    I suspect you're talking about a free font called Smash. Read Kurt Lang's paper on font management
    <http://www.jklstudios.com/misc/osxfonts.html>
    and especially his strictures on free Windows fonts. The free Smash is a good example of what his talking about. It's a bad, poorly made font. Trash it ASAP.
    If you want to check it with Font Book, use  File > Validate File…, then locate smash.ttf and proceed. You cannot use File > Valide Font, because that command works only with installed, 'working' fonts.
    For the real font, go to
    <http://www.cool-fonts.com/>

  • (three-way color corrector) secondary color correction masks not working?

    Hi I'm using PP 2014 on Yosemite. Anyone notice (three-way color corrector) secondary color correction masks not working?

    strange. same stats here but im getting intermittent.... sometimes i can use the mask and the effect is only limited to the masked area. most of the time the masked area is ignored and the effect is applied to the whole image

  • Quicktime not working after loading Lion. It is in Applications folder. It is dark when trying to play. Audio is there, no video. Is something set wrong?

    Quicktime not working after loading Lion. It is in Applications folder. It is dark when trying to play. Audio is there, no video. Is something set wrong?

    It is supposed to be dark.
    Is it all videos that don't display or just some. You may have installed something like Perian or Flip for Mac that translates the video codecs for Quicktime. They may need updating.

  • Help - Simple mask not working in Flash CS4

    Hi everyone,
    Thanks for taking a minute to read my post.
    I am creating a very simple mask using motion tweening. I created some text on a layer and made it a masked layer. Then I created a mask layer which consists of a circle that will span across the text. When I play the movie the circle does not show up at all in the frames the mask layer spans (it's purple on a black background) and the circle does not move across the text like I told it to with the motion tweening. I don't know why it's not working. For some reason the circle isn't showing on the stage at all and it's not moving across the text. I don't know if I have it set up wrong on the timeline or what. Here's the steps I followed to create the mask:
    1.insert a new layer in which I named it mask and click frame 1 on this layer
    2. select the oval tools on the tools panel and set the stroke to none
    3. set the fill color to purple
    4. draw a circle and click the selection tool and drag a marquee around the circle to select it.
    5. click insert on the menu bar, click motion tween then click ok in dialog box about converting it to a symbol to be tweened
    6. click the last frame in the mask layer and drag the circle to the end of the line of text
    7.click mask on the timeline to select the mask layer, click modify on the menu bar, point to timeline then click layer properties
    8. verify the show check box is selected in the name section, click the lock check box to select it, click the mask option button in he type section, then click ok.
    9. play the movie in which the circle object covers the text on the masked layer as it moves across the stage
    Thanks for your help!
    ashmic19

    Update 8-2-10: In play mode the text was still visible when it shouldn't be but once I tested the movie the mask worked correctly with the text. So problem solved
    -ashmic19
    Thanks for all who viewed this. I finally figured out why it wasn't working. I had the mask layer locked. But now the circle is moving across the text but the text is viewable when it shouldn't be until the circle moves across it. How come it's doing this?
    ashmic19
    Message was edited by: ashmic19
    Message was edited by: ashmic19

  • Mask not working correctly in swf

    Hai Friends,
    I am trying to do a simple masking which works correctly in
    fla but when viewed in swf the text which is masked is not
    seen..What i did is first i wrote some text converted it to
    movieclip then in another layer i did draw a rectangle with some
    color and right clicked the rectangle and masked it When viewed in
    fla the masked text is viewable but when converted to swf the text
    is not seen Is it some problem with Flash Can you please help me...

    Text is not able to be masked in Flash by default.
    You CAN do this IF you embed your text (or simply break it
    apart into vectors if it doesn't need to be dynamic).
    To break apart - select your text and hit Ctrl+B twice (Cmd+B
    on Mac). This will make the text vectors, thus negating the
    problem.
    Otherwise, you need to embed the fonts in 2 ways. First, if
    you like, you can click the "Embed fonts" button in the properties
    panel, and select what to embed. OR, you can go to the Library's
    drop-menu and select "New Font" - choose your font, and click OK.
    Either of these methods embeds your font. BUT, there is one more
    step. You need to give your text box an instanceName, go to the
    actions panel, and enter the following:
    myTextBox.embedFonts = true;
    This will finish the embed process to allow the masking (and
    alpha changes) to work for the text.

  • Inverted layer mask not working

    I havent used PS much of late but in CS6 when layer masking the technique I used to use doesnt seem to work anymore.  I would have two layers.  The top layer I would put a layer mask.  Then I would select all and delete hit the delete button so the mask would turn black and invert.  Then instead of painting black over white to reveal the bottom layer I would paint white over black to bring my top layer back.  I liked doing it like this.   But its not working now.   When I paint with white on the black mask nothing happens?? I tried inverting in the properties but makes no diff.   What am I doing wrong?

    Check the blending mode on your brush.  It may be set to darken or some other blend mode than normal.  As a side note, you can invert a layer mask be making sure it's selected and press ctrl/cmd-i. You can also create a mask where everything is hidden by pressing alt/opt then clicking on the add layer mask icon in the layers pallet.

  • CS5 Layer Mask not working. Hide all not hiding

    I need some help here. CS5 on win 7 64 bit. Duplicate layer and apply a layer mask (alt click) and it does not hide the layer. Just applying a mask and painting with black also does not hide. If I hide the background layer then the mask appears as the white and grey checkerboard pattern, no solid color. Am I missing something simple?
    Thanks, Dave

    The checkerboard indicates places where your entire document is transparent through and through.
    I suspect your mask is working as it's supposed to, and that when the background layer is visible you're just seeing through to the duplicate layer below - which by definition will not look any different on your display.
    Try this:
    Add a brightly colored solid color fill layer just below the layer you're masking.  Now see what the mask does to the upper layer.
    -Noel

  • Properties panel for masks not working

    The apply, disable and delete buttons on the properties panel for masks does not work in PSD CC. Is this a bug or do I have some setting not set correctly? If I want to apply a layer mask I have to drag it to the trash in the layers panel then make a choice on a popup menu. They worked in CS6.

    I don't know exactly what is going on with your friend's system, but the instance you mentioned of Applying layers masks, was actually a safety error trap.  i.e. Do you really want to trash this layer mask or do you want to Apply it before deleting it.
    In CC the Adjustment layer, and Masks share the same Properties panel, so you have to have a mask selected to view the masks panel.  It all works sensibly IME.  As I said above, you were coming at something a bit left field.  That's not necessarily wrong.  Whatever workflow works best for you is best for you, but there might be better ways to do things.
    A lot of us rail innitially at changes to apps we have used in a certain way for many years, but IME they always turn out to be for the better once you get used to them.

  • Lens Distortion correction not working on tonemapped jpg files

    I have a series of photos exported from Lightroom 2 that I HDR tonemapped in Photomatix.  Unfortunately after a disk failure I do not have the original RAW files and only have the 100% jpg saved tonemapped files from photomatix.
    Now that Lightroom 3 is out I wanted to try some lens distortion correction on them.  I imported them and immediately noticed after enabling the lens profile corrections and choosing my lens that although chromatic arberration and vignetting works there is no effect at all with the distortion correction!  Even when I slide the slider from one side to the other absolutely nothing changes.
    I tried it on other raw files and it works fines.  I tried it on jpgs that I have that have not been combined and tonemapped in photomatix and they work fine.  It is only the jpgs created from photomatix.
    Is there something about the exif data that I am not considering or any other explanation as to why the photomatix jpgs won't take any distortion correction?  thanks

    If it's working for other jpg's, (and I though it didn't work on jpgs, so who knows?) then it does sound like the photomatrix program is wiping out the exif information that is needed.
    Did you try using a viewer to look at the exif info, both before and after, to compare?  Maybe there is a setting (in photomatrix) that you are missing when you save data?
    Sorry, don't know photomatrix, so just offering generic ideas in the hopes it sheds light..
    Cheers!

  • TypeKit does not work - infinite loading

    Hi folks,
    my Adobe TypeKit does not work: If i launch the cc application and click on "Fonts" (DE: Schriften) the loading bar appears. But the loading never ends. I tried to deactivate Firewall, Anti-virus-program, reinstall Creative Cloud Application, reinstall InDesign. But nothing helps.
    All updates are made. My system is a Windows 8.1 PC (64bit).
    This is how it looks:
    Has anybody an idea to fix it?
    Greetings

    Hi Peter,
    I would take a look at this article: http://helpx.adobe.com/creative-cloud/kb/unknown-server-error-launching-cc.html and see if that solves the issue.
    Other related forum threads:
    http://forums.adobe.com/message/5468864 (spinning blue wheel)
    http://forums.adobe.com/message/5469306
    I hope this helps. If you're still running into issues, feel free to drop us a line here: [email protected]
    Cheers,
    Benjamin

Maybe you are looking for