How to Mask a Tween

Hello Script goeroe's,
I have a mask:
var mask_playzone:Sprite = new Sprite();
    mask_playzone.graphics.beginFill(0xFF0000);
    mask_playzone.graphics.drawRect(30, 30, 770, 570);
I have an instance (mc) on stage:
var Elements:Container            =    new Container;
    Elements.width                =    800;
   Elements.height               = 600
    Elements.x                    =    0;    // 44 pix is het extra stukje vlees dat we nodig hebben om het persepctief te laten zien
    Elements.y                    =    0;
Elements.mask     = mask_playzone;
I have a tween:
var Tween_Elements:Tween    = new Tween(Elements, "x", Strong.easeIn, Elements.x, Elements.x - 1024, 1.2, true);
Obviously the Maks moves along with the tween. How can i fix it for the mask to stay in place?
Should i consider nesting?
Regards,
Peter

You can't be showing all of your code.  I don't see where the mask will move with the Elements.  I don't even see where you have added the mask to the display, nor the Elements object.  How is the Elements object on the stage?  What is the Elements object such that you can assign it a width and height property?

Similar Messages

  • How to mask data in oracle 11g database release 1

    how to mask data in oracle 11g database release 1
    my environment is
    Database: 11g release 1
    os: AIX 6 (64 bit)
    GC:10g release 1

    DBA-009 wrote:
    thx but how i can mask data with above give environment?What does "mask data" mean to you and what is the environment you are referring to?
    Telling us that you are using 11.1 helps. But it is far from a complete description of the environment. What edition of the database are you using? What options are installed? What Enterprise Manager packs are licensed? Is any of this changable? Could you license another option for the database or another pack for Enterprise Manager if that was necessary?
    What does it mean to you to "mask data"? Do you want to store the data on disk and then mask the data in the presentation layer when certain people query it (i.e. store the patient's social security number in the database but only present ***-**- and the last 4 digits to certain sets of employees)? Do you want to hide entire fields from certain people? Do you want to change the data stored in the database when you are refreshing a lower environment with production data? If so, do you need and/or want this process to be either determinisitic or reversable or both?
    Justin

  • How to mask an object like we do in  flash

    how to mask an object like we do in  flash

    Hi sandeepsingh211.
    There are many similar discussions around this topic on this forum. Use search to look for these.
    Thanks,
    Preran

  • How to mask the parts list on export

    I have the following question: I can retrieve drawing from our R&D department created with Pro/eng. Everything is working fine. But you understand that this kind of drawing is very confidential when it concerns high-tech research instruments.
    I have noticed that when I export (in u3d), then import to a FrameMaker application, then export in PDF, all the parts are totally exported and listed in the 3D figure. How to mask the internal parts: removing the parts list ?

    Hi,
    I would like to know if there is any feature or a 3D Acrobat version is
    available in the market.
    With Regards,
    Sergius Millet
    Manager-Business Development
    7th Floor, Alpha Plaza, KP Vallon Road
    Kadavanthra, Cochin 682020
    Kerala State, INDIA
    Tel : +91 484 2317961, 2320280 Fax: +91 484 2321448
    Mob: +91 90613 65011
    E-mail : [email protected]
    web : www.intercadsys.com
    Give it all you've got because you never know if there's going to be a next
    time

  • How to mask important data which will be exported?

    Hi experts,
    I have a request from a customer on how to  mask important data, when the data are exported. and how to mask important field according to the predefined conditions?
    Could you please give me some ideas how to implement them? or give me some documents?
    Thank you very much.
    Quentin

    Hi Rossi,
    Actually, these questions come from one client, and we do response offshore. I dont know what transactions are related for them. They just give me the questions like that. So Could you please help me ?
    Quentin

  • Mask motion tween with a black background

    Hello Everyone,
    I am new to Flash with only two simple animations to my name.  I have searched the Adobe help documentation and the Forums for an answer to my question, but I have not found anything.  The closest answer I found was in reference to CS3, but I wasn't sure if that was still applicable to CS5.
    I am trying to setup a simple mask as a test.  I want to have an oval shape as the mask moving around a black background revealing white underneath.  At the end of its tween, it lands on a stick figure.  (This is like the end of the James Bond opening sequence: the gun barrel fades away to leave a white circle amidst a black background.  The white circle then moves to reveal part of the opening scene.)  I have tried creating a black fill, on a separate layer, as a background, but that didn't work.  (Putting the black layer above the mask just covered the whole mask tween; putting it below the mask just revealed the black as part of the mask.  Obviously.)
    Does anyone know how I can make the hidden part of the mask black instead of white?  Is this even possible?  I know it is annoying when beginners ask simple questions, but this is driving me crazy, and I'd like to find out how to do it because it does seem so simple.  Can anyone help me stop being a noob?

    create a black shape in your bottom-most layer.  above that layer create a while shape that covers you black shape.  above that layer create your oval and tween it.  finally right click the oval containing layer and click mask.  test.

  • How to mask values in the payload

    Hi 
    I have a requirement where I have to mask the values in the payload so that it does not appear in the Monitoring transactions.
    Example credit card numbers
    If anyone has an idea how to achieve it please let me know.
    Regards
    Nikhil

    Hi Nikhil,
    You can encrypt message payloads within XI and then your target system can decrypt it. For this you can use some Function Module like this one(FIEB_PASSWORD_ENCRYPT). It encrypts a given string. You may use this to create your own, as per requirement. You may find some other code samples on SDN.
    Please also have a look on the following document for Message Level Security
    [http://help.sap.com/saphelp_nw04s/helpdata/en/a8/882a40ce93185de10000000a1550b0/frameset.htm]
    Regards,
    Jitender

  • How to mask a Symbol

    Hi,
    Can anyone help me on this…
    I have a symbol in my stage. He is masked by a circle.
    I want that when I click on the Symbols, the mask expands  and reveals what is behind it. Like this :
    I followed the threat “I want to know how masking objects or image.“ where redesign gave a sample with a mask.
    When I try to do the same thing,  is like the mask is always at position 0 0 and not over my symbol that is placed in the stage at position 795 570. Giving a mask-position doesn’t change anything. My symbol is invisible.
    Hope I make myself clear ...
    Thanks a lot for any hints.
    s.

    Unfortunately I do not recommend using masking as in the file sample you mention as FF still does not support it!
    Hoeever you could use an image with a transparent circle and then expand that image. I will post a sample in a few.

  • How to Mask URL in Smart forms

    Hi,
    i wanted to mask the URL in my smartform so that it is concise and readable, like suppose url is like this http://www.myurl.com/pages/abcd&attr=19093  i wanted to create text which is something like click here  on clicking click here it should take me to the desired page which the above mentioned URL ( http://www.myurl.com/pages/abcd&attr=19093 ) actually navigates.
    How can i achieve this Smart forms??
    Please suggest
    Edited by: kranthi kumar on Oct 29, 2010 12:56 PM
    Edited by: kranthi kumar on Oct 29, 2010 12:59 PM

    Hi Aidan,
    Thanks for your answer, Just got an alternative solution, when i got XSF output from smartform function Module, the same XSF  output (me->sf_job_output-xmloutput-trfresult-content) i used in below method to convert to string.
    CALL METHOD cl_hrrcf_cs_sf=>convert_xsf_html_to_txtstring
            EXPORTING
              content     = me->sf_job_output-xmloutput-trfresult-content
            IMPORTING
              html_string = me->doc_properties-output_c
              html_tab    = me->doc_properties-output_c_tab.
    later i realised that URLs in the smartform has got corresponding HTML code as below in the (me->doc_properties-output_c_tab).
    <a href="https://www.google.com">
    <span>
    https://www.google.com
    </span>
    </a>
    when i changed the link in the debugger  https://www.google.com  which was inside
    <span> </span>
    to "Click Me", the output was as i expected in the E-Mail which showed me Click Me and when i click that it took me to google web site.
    so i decided that i would change this table(me->doc_properties-output_c_tab.) for every URL in code, though it did not seem like right solution, as suggested in this forum there is no straight solution for this, i have no other option.
    Please comment.
    Thanks,
    Kranthi.
    Edited by: kranthi kumar on Oct 29, 2010 9:43 PM
    Edited by: kranthi kumar on Oct 29, 2010 9:44 PM

  • How to code a "tween" object moving like in Flash?

    As you may know in Flash the user can easily implement movements (including rotations) of objects by so called "tweens".
    The developer defines e.g. the start and end position of a picture and how many rotations should
    be applied and Flash generates the moving itself automatically. Thats nifty.
    How can I implement this in Flex?
    Peter

    hi,
       you can do tweening in flex programatically using mx.effects.Tween class.Serveral Different kinds of tweens are also available in mx.effects package.
        here is quick start for adding tween effects in flex  http://www.adobe.com/devnet/flex/quickstart/adding_effects/
        here is the mx.effects package details   http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/mx/effects/package-detail.ht ml

  • How to Mask Multiple Paths?

    I need to apply a single gradient mask to two or more path
    layers (which are filled with a color) but I don't see an easy way.
    In Photoshop you can apply a layer mask to a folder but that
    doesn't work in FW.
    I tried grouping the two path layers and applying the mask.
    That works but if I want to edit the paths later I have to ungroup
    everything and then I lose my mask. How to put it all back together
    again without actually redoing the mask eludes me.
    Is there an easy way to apply a gradient mask to two or more
    path/vector layers?
    Dave

    DaveCon wrote:
    > I need to apply a single gradient mask to two or more
    path layers (which are
    > filled with a color) but I don't see an easy way. In
    Photoshop you can apply a
    > layer mask to a folder but that doesn't work in FW.
    >
    > I tried grouping the two path layers and applying the
    mask. That works but if
    > I want to edit the paths later I have to ungroup
    everything and then I lose my
    > mask. How to put it all back together again without
    actually redoing the mask
    > eludes me.
    >
    > Is there an easy way to apply a gradient mask to two or
    more path/vector
    > layers?
    >
    > Dave
    >
    What might help is Aaron Beall's Object panel:
    http://fireworks.abeall.com/extensions/panels/
    Jim Babbage - .:Community MX:. & .:Adobe Community
    Expert:.
    http://www.communityMX.com/
    CommunityMX - Free Resources:
    http://www.communitymx.com/free.cfm
    .:Adobe Community Expert for Fireworks:.
    Adobe Community Expert
    http://tinyurl.com/2a7dyp
    See my work on Flickr
    http://www.flickr.com/photos/jim_babbage/

  • How to mask SSN number in Identification Number field in BP?

    Hello Gurus,
    We have a requirement to mask the initial 5 digits of SSN number when displayed in the Identification Number field in the Identification tab of BP transaction. What is the best way to go ahead with this enhancement?
    We do not want to encrypt the data at the database level. Just encrypt at while displaying SSN Number on BP transaction.
    If anyone has carried out such enhancement, would appreciate if you can share how you did it?
    Thanks to all in advance,
    Shyamak

    Shyamak,
    This is for CRM -
    Go the PBO of the screen that has identification details. In a suitable PBO module, you can implement and implicit enhancement point and change the data in internal table.
    In my system it is function group BUD0. It would be same in yours as well. Screen is 1520 for me, it may be something else for you. I would have done in module - 'pbo_1520'. Do it at the end of this module. Internal table name GT_BUT0ID
    You need to so something similar in ECC
    Cheers
    Niraj

  • How to mask the shape of an eye ?

    Hi there,
    I am attempting to do werewolf effects, I want to make my nephew's eyes change color from blue to green to red .... while he is screaming shaking his head.
    I reckon I have to do rotoscoping & mask the out the shape of his eye, and move (& adjust) the mask for every frame.
    The problem is, how do I mask the odd shape of an eye ?
    Thanks

    RyanManUtd wrote:
    .. The problem is, how do I mask the odd shape of an eye ?
    .. when I made the, for Daddys mandatory StarWars movie with my son, I rotoscoped/keyframed an overlay to create the lightsabre .. hundreds of keyframes.. painstaking!
    in your case it is quite more complicated - not just a stick (=my son hold a wooden stick as 'guideline' for my drawings), but a 3D-distorted circle .. .-ish shape.
    I assume, using the Perspective/Basic 3D filter is way too much time-consuming (=to twist some grafical overlay...)
    I would:
    • export the sequence as 'Image sequence'
    • use any paint app to color the eyes in each frame
    • use QTpro to re-create a mov file for FCE..
    give feedback next year, how it come out!

  • How to mask Fields on CC&B Maintainance Pages

    Hi,
    I need to mask the fields in the Maintainance pages in Oracle CC&B.
    For Example: I don't want to use the Management Group field on Order and Account pages. Please suggest how can I make the field invisible.
    Thanks in advance.
    Akriti

    Hi,
    Create a jsp user exit for the Account main Page/Order Page.
    in the jsp user exit page, override the extPostOnWindowLoad function and include the code like below
    var mgntFld = document.getElementById("ACCT_MGMT_GRP_CD");
    mgntFld.style.display='none';
    the same way u can hide the "Management Group" label and Search option as well.....

  • How to masking like this?

    as you can see at the picture, whenever the arrow move at the object, we can see what is inside . how to do like that? please help. iam sorry if this is in a wrong section.

    on mouseover, move a mask to the 'inside' object that you want to reveal.
    eg, over bigbird is redshirted person image that is masked by a displayobject that is not over the redshirted person until there's a mouseover.  on mouseout, move the mask off the redshirted person.

Maybe you are looking for

  • Regarding Message Pool In web Dynpro

    Hi I have created the InputForm application for error handling.... In that i have created the Message Pool. A class IMessage<ComponentName> has been genrated automatically. Inside this class whether i have to write the code for create CONSTANT keys o

  • Creating hyperlink to a network file?

    Hello All, I am having issues with Adobe Acrobat and hyperlink to a network file.  I am using Acrobat XI and I have successfully created a link to a text that "Open a File" located on our network share.  It works great, when others are executing the

  • New Error - Unable to Create Any Backups (com.adobe.versioncue.boot - Failed to start com.adobe.vers

    A new error just started showing up in my Vc logs: com.adobe.versioncue.boot - Failed to start com.adobe.versioncue.backup.schedule. Since the report of this error, I am unable to create any kind of Version Cue backups. Has anyone else seen this erro

  • Copy Express distorting data

    Hello We have used Copy Express to copy one database into another. This has led to several data corruption : - loss of tax account in the tax settings - change of item group code number (without a proper renumbering of data) - copy of one user table

  • SE11 Table Field Validation

    Hi Frnds,     I have validated the table field through an  event ' 05 ' -value created from se54. If validation fails Error message will display. The thing is only key fields are in input enabled and the rest gets input disabled while error occurs. H