Weird bugs when using transitions

I am using a transition to a simple collapse/uncollapse of a component and I get weird questions. The main problem is that whenever the animation ends, it restores the coordinates he began to reason any and I can't figure out how to make it stop. Here is the code I use to animate. Just for reference, the current values of the _openY is - 73 and _closedY is - 13. So once the animation is completed each time he ends up back at-13 for some reason any.

<s:states>
     <s:State name="closed"/>
     <s:State name="open"/>
</s:states>
     
<s:transitions>
          
     <!-- Transitions from the closed to open state, animating it shrinking and the icon rotating to point downwards -->
     <s:Transition fromState="*" toState="open">
          <s:Parallel duration="300">
            <s:Move yFrom="{_closedY}" yTo="{_openY}" target="{this}" />
          </s:Parallel>
     </s:Transition>
          
     <!-- Transitions from the open to closed state, animating it growing and the icon rotating to point upwards -->
     <s:Transition fromState="*" toState="closed">
          <s:Parallel duration="300">
               <s:Move yFrom="{_openY}" yTo="{_closedY}" target="{this}"/>
          </s:Parallel>
     </s:Transition>
          
</s:transitions>

If someone an idea how to solve this problem? I hope there's something simple I'm missing here.

You should not use side-making values such as yFrom/yTo in your transitions, but rather to define these positions in the State values and let the transitions understand them automatically.

See http://forums.adobe.com/message/3130755#3130755 for an example

Tags: Flex

Similar Questions

  • ManagedDataAccess bug when using mixed comments (reopened)

    Hello

    There is a bug when the sql text uses two types of comment (/ * / and -) together and also there is a comment at the beginning of sql. The unmanaged client with same sql works very well.

    Simple code to reproduce the bug:

    using (OracleConnection connection = new OracleConnection (connectionString))

    {

    connection. Open();

    string sqlCommandtext = @"" / * Hello * / select * from the double ";"      This works.

    string sqlCommandtext = @"" / * Hello * / select * from double / * Hello * / ";"      /this. work

    string sqlCommandtext = @"" select * from double - Hello '; "                     /this. work

    String sqlCommandtext = @"" / * Hello * / select * from the double - Hello ";"           //This doesn't work

    string sqlCommandtext = @"/ * Hello * / select * of the double / *-Hello * / "; "     //This doesn't work either.

    using (OracleCommand command = connection. CreateCommand())

    {

    cmd.CommandText = sqlCommandtext;

    using (IDataReader reader is cmd. ExecuteReader())

    {

    while (player. Read / / < < < without exception, the drive appears to be empty. Use of dataadapter issues the same behavior (buggy).

    {

    Console.WriteLine (reader. GetString (0));

    }

    }

    }

    }

    Can you confirm this bug?

    Thank you.

    This is a known bug (Bug 21811441). A fix is available in 12.1.0.2 Patch 11 and thereafter.

  • Image masking when using transitions

    Hello

    I just create a staggered transition, see code below, which hides an image however when I run the swf file it doesn't work and just displays the entire image without the mask.

    Fl.transitions import. *; Fl.transitions.easing import. *; var myTM:TransitionManager = new TransitionManager (slide); myTM.startTransition ({type: wipe, direction: Transition.IN, duration: 3, easing:Strong.easeOut, startPoint:6});})

    Any help would be great,

    Thank you

    the wipe effect is probably already using a mask, and you cannot assign more than one mask per displayobject.  to get around it, like slide and add your slide master of parent.

  • [Weird bug] Error using the Qt objects

    It says on the documentation as QtCore (QString, Qlist, etc.) is supported in the NDK Core project.

    I have created a new project in the IDE from QNX, choose Project-> empty project

    Creates a new file main.cpp as follows:

    #include 
    #include 
    
    using namespace std;
    
    int main(int argc, char **argv) {
        QString string = new QString("TEST");
    
        cout << string;
    }
    

    Running the above error fatal error messages: QtCore/qchar.h

    If I add the libriary qt4 project by right clicking on the project file-> set up, same error message

    If I #include after the addition of the library, errors becomes fatalError: QtCore/qglobal.h

    If I create a waterfall project instead, everything works well... I need to use contactService in Core NDK but it returns a QList, without doing the same work of QString, I can't move on

    So after days of search I found a solution in stackoverflow

    Solution

  • Lut created in Photoshop turns images into a weird mess when used with Lumetri

    Why is this happening? This is how my lut that I created in Photoshop looks when imported into the Lumetri.Ashley Angel v3.00_00_55_03.Still003.jpg

    OK, I found the reason being that I duplicated the base layer in Photoshop, so once I got that down, it works better. He works in the Creation of Lumetri (not import!) section and works very well.

  • AF:inputListOfValues sets the value of the first item in the result set when using enter key or tab and component value autosubmit = true

    I use JDev 11.1.1.6 and when I type in a value in an af:inputListOfValues element and press enter or the tab key, it will replace the value I entered with the first element in the set of results LOV. If enter a value, simply click on the component af:inputListOfValues it works correctly. If I use the popup and find a value it works properly as well. I have a programmatic view object that contains a single transitional attribute (this is the view object that is used to create the list of the components of the value of) and then I have another object from view based on entities which defines one of its attributes in a list of the attribute value. I tried to use a base object view of entity to create the LOV to and everything works as expected, so I don't know if this is a bug when using programmatic view objects or if I need more code in the VOImpl. In addition, it seems after that first of the value being replaced by the first value in the result set that it will work correctly as well. Here are some excerpts of important code.

    Also, it seems that this does not work only if the text entered in the component af:inputListOfValues would have only a single game, returned in the result set. For example, given the result defined in code: Brad, Adam, Aaron, Fred, Charles, Charlie, Jimmy

    If we get into Cha, the component works as expected

    If we register A, the component works as expected

    If we get Jimmy, the component does not work as expected, and returns the first value of results IE. Brad

    If we get Fred, the component does not work as expected, and returns the first value of results IE. Brad

    I also checked that I get the same behavior in JDev 11.1.1.7

    UsersVOImpl (programmatic view with 1 transitional attribute object)

    import java.sql.ResultSet;
    
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    
    import oracle.adf.share.logging.ADFLogger;
    
    import oracle.jbo.JboException;
    import oracle.jbo.server.ViewObjectImpl;
    import oracle.jbo.server.ViewRowImpl;
    import oracle.jbo.server.ViewRowSetImpl;
    
    // ---------------------------------------------------------------------
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Wed Sep 18 15:59:44 CDT 2013
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    // ---------------------------------------------------------------------
    
    public class UsersVOImpl extends ViewObjectImpl {
    
        private static ADFLogger LOGGER = ADFLogger.createADFLogger(UsersVOImpl.class);
        private long hitCount = 0;
    
        /**
         * This is the default constructor (do not remove).
         */
        public UsersVOImpl () {
        }
    
        /**
         * executeQueryForCollection - overridden for custom java data source support.
         */
        protected void executeQueryForCollection (Object qc, Object[] params, int noUserParams) {
    
             List<String> usersList = new ArrayList<String>();
             usersList.add("Brad");
             usersList.add("Adam");
             usersList.add("Aaron");
             usersList.add("Fred");
             usersList.add("Charles");
             usersList.add("Charlie");
             usersList.add("Jimmy");
    
             Iterator usersIterator = usersList.iterator();
             setUserDataForCollection(qc, usersIterator);
             hitCount = usersList.size();
             super.executeQueryForCollection(qc, params, noUserParams);
    
        } // end executeQueryForCollection
    
        /**
         * hasNextForCollection - overridden for custom java data source support.
         */
        protected boolean hasNextForCollection (Object qc) {
    
             Iterator usersListIterator = (Iterator)getUserDataForCollection(qc);
             if (usersListIterator.hasNext()) {
         
                 return true;
    
             } else {
    
                 setFetchCompleteForCollection(qc, true);
                 return false;
    
             } // end if
    
        } // end hasNextForCollection
    
        /**
         * createRowFromResultSet - overridden for custom java data source support.
         */
        protected ViewRowImpl createRowFromResultSet (Object qc, ResultSet resultSet) {
    
             Iterator usersListIterator = (Iterator)getUserDataForCollection(qc);
             String user = (String)usersListIterator.next();
             ViewRowImpl viewRowImpl = createNewRowForCollection(qc);
    
             try {
    
                 populateAttributeForRow(viewRowImpl, 0, user.toString());
    
             } catch (Exception e) {
    
                 LOGGER.severe("Error Initializing Data", e);
                 throw new JboException(e);
    
             } // end try/catch
    
             return viewRowImpl;
    
        } // end createRowFromResultSet
    
        /**
         * getQueryHitCount - overridden for custom java data source support.
         */
        public long getQueryHitCount (ViewRowSetImpl viewRowSet) {
             return hitCount;
        } // end getQueryHitCount
    
        @Override
        protected void create () {
    
             getViewDef().setQuery(null);
             getViewDef().setSelectClause(null);
             setQuery(null);
    
        } // end create
    
        @Override
        protected void releaseUserDataForCollection (Object qc, Object rs) {
    
             Iterator usersListIterator = (Iterator)getUserDataForCollection(qc);
             usersListIterator = null;
             super.releaseUserDataForCollection(qc, rs);
    
        } // end releaseUserDataForCollection
    
    } // end class
    
    

    <af:inputListOfValues id="userName" popupTitle="Search and Select: #{bindings.UserName.hints.label}" value="#{bindings.UserName.inputValue}"
                                                  label="#{bindings.UserName.hints.label}" model="#{bindings.UserName.listOfValuesModel}" required="#{bindings.UserName.hints.mandatory}"
                                                  columns="#{bindings.UserName.hints.displayWidth}" shortDesc="#{bindings.UserName.hints.tooltip}" autoSubmit="true"
                                                  searchDesc="#{bindings.UserName.hints.tooltip}"                                           
                                                  simple="true">
                              <f:validator binding="#{bindings.UserName.validator}"/>                       
    </af:inputListOfValues>
    
    
    
    

    I found a solution to this problem. It seems that, when using a view object programmatic that has a transient as its primary key attribute, you need to override the methods in the ViewObjectImpl so that he knows how to locate the line related to the primary key when the view object records are not in the cache. That's why it would work properly sometimes, but not always. Here are the additional methods that you must override. The logic you use in the retrieveByKey would be on a view view object database object and would be different if you had a primary key consisting of multiple attributes.

    @Override
    protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, Key key, int i) {
        return retrieveByKey(viewRowSetImpl, null, key, i, false);
    }
    
    @Override
    protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, String string, Key key, int i, boolean b) {
    
        RowSetIterator usersRowSetIterator = this.createRowSet(null);
        Row[] userRows = usersRowSetIterator.getFilteredRows("UserId", key.getAttribute(this.getAttributeIndexOf("UserId")));
        usersRowSetIterator.closeRowSetIterator();
        return userRows;
    
    }
    
    @Override
    protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, Key key, int i, boolean b) {
        return retrieveByKey(viewRowSetImpl, null, key, i, b);
    }
    
  • Having a problem with artifacts when using Dip to black transition

    I use Adobe first Pro CC on a Dell XPS 8900 with a NVIDIA® GeForce® GTX 745 4 GB of DDR3 memory. Both in the Editor (with all the rendering) and the final video (which I tried to export in several ways), I get artifacts when using the two Dip to black and chained transitions. I did check the sequence settings to match the original film, as I originally had two cameras (ARRI and XDCAM) images. I get the problem on two types of sequences. I tried to convert the original film in .mp4 using a HD video converter and then re-import it. The problem remains. Then I tried to download sequences of archives on the Adobe site and imported. And I still have the problem. I think that it has something to do with my computer as before to get the XPS 8900 I had used an older Dell model (without graphics acceleration or upgrade) and had not not this problem. You can see artifacts in the video below. Strangely, I don't see any artifacts when I used transitions on the titles of lower third or in transitions from outset between title sequences. It is only when transitions are used on real images (and, again, I tried to use other types of sequences and had the same problem). Any thoughts on how to solve this problem would be greatly appreciated.

    I am simply not see something weird.  The transition is quite fast, however.

    Give that DNxHD export/upload to try.  See if you like better.

  • Weird bug of Xperia Mobile transfer and e-mail after update 5.1

    Since the 5.1 update, I got a few days ago, I had a weird bug. SOMETIMES exit after sending messages with the default Sony Messaging App, I'll get a very quick overview)<0.5s) og="" a="" message imforming="" me="" about="" the="" xperia="" transfer="">

    Steps to reproduce when it occurs:

    (1) open a conversation and send a message

    (2) quickly, press the back button to return to the home screen

    (3) between the specific conversation window and display the list of all conversations, this image appears for a brief second

    (4) in this case approximately 75% of the time, never seen before the 5.1 update and restart, forcing the farm or actually install the Xperia transfer Mobile App allows.

    I tried to quickly type "No thanks" as it appears, but it does not seem to register.

    I appreciate the support, thank you!

    So I fixed him and everything, but before that I could test if it solved, I scrolled to the bottom of my conversations accidentally. At the bottom, I saw the message that popped up when I tried to go back, basically just posting here - enough random actually. Try to scroll all the way to the bottom of your conversations and see if he's there.

  • Change in 2013 Excel formatting Options are not visible when using high Windows - why contrast themes?

    I am currently using the theme of white high contrast Win 7.  However, in Excel 2013, many formatting options do NOT work, when using this theme:

    1. Fill color
    2. Font color
    3. Conditional formatting
    4. Colors tab

    To reproduce this problem, using Excel 2013 with a Windows high-contrast theme, whatever we have to do is:

    1. Select a cell and try to change the fill color.  It does not work.
    2. Type the text in the cell, and then try to change the color of the font.  It does not work.
    3. To implement conditional formatting for this cell.  It does not work.
    4. Try changing the color of the tab the active tab at the bottom of the worksheet.  It does not work.

    It would seem that, if the high contrast themes have been made to ease of use for those who have poor vision, whereas they should be able to change the options in shape in Excel to make things more visible within their own documents.

    I understand very well that changes in the end formatting options will appear if the user switches to another theme of Windows, but who certainly defeated the purpose of using a theme of contrast in the first place.  Why should they play this user switch to a different theme of Windows just to see the changes he made, using the Windows high contrast theme?  Why the user does NOT agree to see the changes that he or she has filed in formatting options in Excel 2013, when you use a high-contrast theme?

    The user with special vision must assets concerns of colors.  Excel will meet your needs for a higher contrast (black and white pure) at all costs in order to ensure the highest possible contrast.

    Microsoft do not escalate this, it works as expected.

    I don't think you are right to say that this is normal.  When you use OneNote in high contrast black it allows indeed to the colors of different fonts, it is just an oversight or a bug of Microsoft on not supporting the themes of their office software.

  • My web site have a blank space in the right side when using chrome

    It seems perfectly on Safari, desktop and mobile, but in my android phone, I use chrome and nothing when I get this white ditch on the right. I even test in resizer to google to check it out and it seems fine. I only get this problem when using chrome. Has it to do with the fact that I'm the test catalyst for business?

    I think it's a bug. because when I delete some items, it works well and everything seems to be good.

    Please help me!

    Here is the link to the site

    http://bufeteostos02.BusinessCatalyst.com/index.html

    Thanks for sharing the file with me.

    You have created a black rectangle in the home page to give it a black background. This rectangle is the origin of the problem.

    I tried now to get rid of the question.

    1 remove the black rectangle of the homepage.

    2. go in the master page and fill color of the browser set to black.

    3 publish the file and it works perfectly.

    I am also you send the file with my changes.

    Kind regards

    Vivek

  • Failback when using Etherchannel and FCoE

    I have an environment that I am able to dig in for the purposes of learning, but I can't it.  Since I can't make any changes to the environment and experience, I wanted to ask a few questions here.  I'm trying to figure out what that the failback option of virtual exchanges must be defined on when using FCoE and etherchannel.

    The environment consists of:

    • FCoE
    • 2 cards of CNA
    • EtherChannel
    • vPLEX
    • Cluster of metro
    • Nexus 5000


    Each host connects to a single vDS and each portgroup is configured to use:

    • Load balance policy: route based on the hash of the IP
    • Active uplinks: two 10 GbE CNAs
    • Eve & uplinks used: no
    • Physical switch is configured for etherchannel.


    The vSphere networking 5.5 guide says the following for failback on vDS trade option:


    Failback Select Yes or no to disable or enable failback. This option determines how a physical card is returned to active duty after recovering from a failure. If failback is set to Yes (the default), the adapter is returned to active duty as soon as their recovery, moving the daughtercard, which resumed its accommodation, as appropriate. If failback is set to no, an adapter failing has been idle even after the recovery until another active adapter fails, requiring a replacement.


    This evokes the assets & Eve links and since using etherchannel requires that all active links with no standby connection, this means that the restore option does not apply to etherchannel configurations?  Or applies to the way in which the load is re -distributed when a link comes back after having been conducted? 


    For example, that we have a portgroup with two uplinks (uplink1 & uplink2), load balancing policy, the hash value of the IP and physical switch ports are in an etherchannel configuration.  During the normal operation of the IP of the hash calculations (http://blogs.vmware.com/kb/2013/03/troubleshooting-network-teaming-problems-with-ip-hash.html) are made and the load is distributed across the two uplinks.  Let's say the physical switch that connects uplink2 in goes down.  The ESXi hosts connected to that vDS immediately come into uplink2 equation which means uplink1 would only result in the calculation of hash IP?  What is the impact of the automatic restore option when uplink2 is back?  If failback is set to no, uplink2 still wouldn't be in the equation?  If so, how you would get it back in the equation?  Or when the link is up is immediately shot down there regardless of the restore option?  It feels like I'm missing something here. 

    Also, I read that attributing no failback is recommended when using IP storage, because it can lead to port heartbeat that can cause performance issues with the storage.  But I also read that traffic to an etherchannel appears as a single MAC/connection address.  This recommendation apply in an etherchannel configuration?  Are port and MAC stir the same thing?  Or is beating port just at the moment where the link goes up and down and MAC beat is when the MAC's switch between two ports?

    Sorry if these are fundamental questions, but not being a networking guy and not being is not able to experiment makes it hard.  Thanks for any help.

    The Member State of the binding not arise unless the link is established on both sides.

    I agree with the statement portfast. All the links go to an ESXi server do not participate in spanning tree protocols. The goal is to transition to a State of transfer immediately on the link turning upward. This must be paid regardless of the use of an OFFSET.

    LACP will dynamically build the GAL and validate the configuration on both sides is correct. I prefer LACP (dynamic LAG) on any static sort of LAG, but this requires a switch on the side of vSphere distributed. If you have the VDS, using LACP. However, LACP does not solve the problem of covering tree (you still want to avoid using tree covering weight on the SHIFT going the ESXi host).

  • just upgraded to ch 2014, when using contact sheets and by adjusting the results of font sizes in the spacing between the images bigger and bigger while the size of police remains the same. See you soon,.

    upgrade to ch 2014, when using contact sheets and by adjusting the results of FontSize to spacing between the images grows while the font remains the same size.

    Someone at - it ideas on why this is happening.

    See you soon,.

    PAul

    Hi Paul,.

    There is a bug in the script that affects text attributes. We are now studying.

    In the meantime, xbytor updated the plug contact to work around the problem. You can find it here: ContactSheetX 2.1 released

    Kind regards

    Steve

  • MSO + PDF v23 produce a bug in page transition

    Hello

    I have worked over the past two days on an update of a single folio content, taking advantage of the version v23 content viewer that allows one version of a page layout to display on the first iPads and in HD on the third.

    There seems to be a problem when using MSO in folios PDF v23. I had the case with several type of MSO, simple slideshows to pop ups with nested buttons, etc.

    The following occurs:

    When an MSO is used on a page, swipe to the next page is blocked on the first attempt to do so. At the moment you scan, the page you are on seems to oscillate and back in place. On the second attempt to go to the next page, it works well, most of the time...

    If ASM has not been activated (no switching between phases) on the page, does not occur this problem of transition.

    I checked to see if the problem occurs in earlier versions of the content viewer, and I get these issues on the versions of 22 and 21 as well.

    I will continue to work on workarounds and troubleshooting, but if it is a question that can be addressed, it would be more useful.

    Thank you.

    It is a known problem in the v23 Viewer. To solve it re - build your viewer with 'Activate PDF zoom' disabled (it's in the section advanced application settings page options).

    Neil

  • A problem when using Flash files with a browser

    Hello

    I have this weird problem when it comes to the use of flash in dreamweaver, whenever I use a flash file & after I test it on Both Firefox & IE browser), I get this weird border whenever I click on it, and here's a photo shows u what I mean...Flash_Border.jpg

    If all goes well. I'll take a few answers:

    Thanks in advance.

    Try adding the following (in red) to the style of the web page and see if it helps...

  • System crash when use underscore

    Hello.

    He seems to have a bug in the creation of TextLine when use the pointed out...

    Quick glance:

    for ()var iIndex:int = 0; iIndex < 10000; iIndex ++)

    {

         var strTest: String = « ' < flow: TextFlow paddingTop = "3" paddingLeft = "3" whiteSpaceCollapse = "preserve" xmlns:flow = "http://ns.adobe.com/textLayout/2008" > < flow: p > < textDecoration flow: duration = "highlight" > a < / flow: duration of > <: duration of flow > < / flow: duration > < / flow: p > < / flow: TextFlow > ' » ;

         var oTextFlow: TextFlow = TextFilter.importToFlow (strTest, TextFilter.TEXT_LAYOUT_FORMAT);

         var arTextLine: Array = new Array();

         var oTextLineHandler: function = function (oTextLine: TextLine): Sub {arTextLine.push (oTextLine) ;};

    TextLineFactory.createTextLinesFromTextFlow (oTextLineHandler, oTextFlow,

    new Rectangle (0, 0, 200, 200));

    }

    When you try this, PLANE crash. (Flex Builder 3).

    THS code is just one example of bug... I know its useless

    Its very strange that, if you do not create the TextFlow in the loop, it's ok...

    var strTest: String = « ' < flow: TextFlow paddingTop = "3" paddingLeft = "3" whiteSpaceCollapse = "preserve" xmlns:flow = "http://ns.adobe.com/textLayout/2008" > < flow: p > < textDecoration flow: duration = "highlight" > a < / flow: duration of > <: duration of flow > < / flow: duration > < / flow: p > < / flow: TextFlow > ' » ;

    var oTextFlow: TextFlow = TextFilter.importToFlow (strTest, TextFilter.TEXT_LAYOUT_FORMAT);

    for ()var iIndex:int = 0; iIndex < 10000; iIndex ++)

    {

         var arTextLine: Array = new Array();

         var oTextLineHandler: function = function (oTextLine: TextLine): Sub {arTextLine.push (oTextLine) ;};

    TextLineFactory.createTextLinesFromTextFlow (oTextLineHandler, oTextFlow,

    new Rectangle (0, 0, 200, 200));

    }

    What can I do? just wait for a beta version or is there a process to sync, I'm bored?

    PS: Sorry for my English...

    Interesting to note that the problem is specific AIR. I'll take an AIR project to see if I can reproduce.

    You can try this test on a newer version of TLF? The new CFC is available here: http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/libs/

Maybe you are looking for

  • Message cannot send sms to contacts

    Hello I had problems with iMessage for centuries, but this time he makes me crazy. I have a few contacts where I can not simply opt to send the message in the form of SMS, only iMessage. Received SMS messages are carefully updated in iMessage, I can

  • Can I add a third monitor to my p6230y?

    Is it possible to add a third monitor to my HP Pavilion p6230y? I currently have two monitors connected to the computer via the ATI Radeon HD 4200 integrated display adapter that came with the computer, but I would like to add a third monitor to exte

  • Response on Email

    Since the update to El Captain version 10.11.2 I have the following problem with emails On eilther by clicking on the button 'reply to sender' e-mail or choosing it from the menu button, I receive a blank email windowin which I can't do anything with

  • Try to move the content from the old profile to the new profile of corrupt, but do not know what are the permissions to use

    I already followed the procedure to copy the files from the old profile to the new up to a certain point, but the "destination folder access denied" message for 9 elements.  When I go to change the permissions, I don't know which ones to use.  Any he

  • Failure to update 8007317C need a fix code

    Update fails error 8007317C need trouble code