Transition Logic

Well, im not having problems activating or inserting
transitions but i am having problems understanding some basic
concepts behind them. Ill try to formulate my questions in a way
that doesn't sound like I'm channeling crazy dead people.
When your create a state i assume you must have any children
you want to animate in your transition present in your targeted
state, that being said lets say i want to move a label left 100
pixels. Setting the transition to move the label from its current x
value to the new one that is 100 pixels less then the original
value works just fine, the animation is smooth and tasty but when
it finishes the label appears where it was before the animation
started :( Now if i set the label in the state itself to the
position i want it to end at when the transition finishes(makes
more sense) the animation also works but now i see the label in its
ending position for a split second before the transition begins and
using any sequential transitions would mean i would see it in its
ending position until the sequence occurs that animates it. Right
now im just using Parallel for everything but this can be real
clunky and still doesnt resolve the issue just kind of masks it :(
Now this is a little more complex, lets say i have 2 labels,
label01 and label02. In my targeted state I have both labels
visible but i would like my transition to sequentialy blur them in
from 100 blured to 0, first label01 then label02, my problem is
that if i use sequence like this:
<mx:Sequence>
<mx:Blur target="{label01}" blurXFrom="100" blurXTo="0"
blurYFrom="100" blurYTo="0" duration="1000"/>
<mx:Blur target="{label02}" blurXFrom="100" blurXTo="0"
blurYFrom="100" blurYTo="0" duration="1000"/>
</mx:Sequence>
label02 will be completly visible and not blured while
label01 blurs in.
I have considered that i may have to blur the labels in the
targeted state itself but then they will return to their blurred
effect state after the transition animation finishes :(
Am i supposed to create 2 states one that reflects how the
transition looks when starting and then when the transition ends
somehow move the state to a second that relfects what i want after
the transition ends? This seems wrong.. help!
leo

Hi Leo,
Take a look at <mx:SetPropertyAction>, and also perhaps
<mx:AddChildAction>,
<mx:RemoveChildAction>, <mx:SetStyleAction>.
These are specifically intended
to help with the kind of situation you are describing. They
let you control
the timing of certain parts of the transition relative to
certain parts of the
state change.
Mike Morearty
Developer, Flex Builder team
http://www.morearty.com/blog

Similar Messages

  • Transition logical to physical failover

    Can you change a logical failover to a physical failover using dataguard. I'm running Oracle 10.1.0.4 on Windows
    thanks.

    Hi,
    Do you mean you are running a logical standby and you need a physical failover?
    or do you need to change your configuration from logical to physical?

  • Navigator transition animation more like android default background animation

    Hi,
    I'm building an mobile Air app for my tablet.
    This app has multiple screens and the user will be navigating through them a lot.
    I'm using the navigator push and pop views to accomodate this.
    this works perfectly with all the default animations.
    My problem is that i would like the animation to be more like the default android background animation.
    and by that i mean that one you drag your finger over the screen the next 'view' already comes into the viewing area a little bit (and your current view disappears a little).
    If you release your finger to early the view snaps back, if you swipe through you go to the next view.
    With the current navigator transition it's an 'all or nothing' swipe, if i swipe i get the next (or previous) view but i don't have the option to drag my screen a little bit to see the first part of the screen i want to navigate to.
    Does anyone know of a way to accomplish this with the navigator?
    Or am i forced to abandon the navigator and write this transition logic by myself?
    I hope i made myself clear, any help is much appreciated.
    with kind regards,
    Peter Bierman

    AIR does not currently have an API to read this particular Android setting. To answer your question, Flex view transitions are independent of the Android system settings.
    Jason San Jose
    Software Engineer, Flex Mobile

  • CSS Transitions Fluid Grid Layout Dreamweaver Cs6 'stops working'

    I am unable to use the CSS Transisions panel at all in Fluid Grids Layout.
    I open the panel but when I select the + to add a transition, the program crashes.
    This is my second website, the same happened when building my first website, but I did without as I could not get a solution (about 18 months ago).
    I need it on this website.
    Some people in Adobe support have my files but can't seem to find a problem. I have Windows 8 on a powerful computer.
    We've tested CSS Transitions on a brand new Fluid Grid Layouts page and it works.
    But never for a page I have content in.
    I began seeking help on this about a month ago and now I'm really being held up.
    I'm disappointed and frustrated that Adobe isn't being more pro-active in finding the solution for their customer.
    I can't email customer service to flag my problem, I am reliant on people who don't get back to me in a timely manner.
    What can I do as this Adobe product has not been working for me and I am relying on it.
    Thank you

    Add a link to jQuery's Latest Library to your document <head> tags.
    <script src="http://code.jquery.com/jquery-latest.min.js"></script>
    Add the jQuery function code to <script> tags in your document. I typically put them right above the closing </body> tag.
    <script>
    $(document).ready(function () {
        $("#one").click(function () {
            $("#one-a").toggle('slow');
        $("#two").click(function () {
            $("#two-a").toggle('slow');
        $("#three").click(function () {
            $("#three-a").toggle('slow');
    </script>
    </body>
    As to why DW is closing you down, I don't know.  That's not an expected behavior. 
    Without seeing your code, I'm going to guess that your CSS transition logic is incorrect or you're attempting to add transitions to the FluidGridLayout.css which is never a good idea.  Always use a separate, external style sheet for your manually added content styles.  Changes to either boilerplate.css or the temperamental FluidGridLayout.css files can result in problems.
    Nancy O.

  • Creating new website with Fluid Grid Layout in CS6 - CS3 Transitions problem

    I am making my second website with Fluid Grid layout and as with my last one, it seems I can't use CS6 transitions. Each time I go to add a new transition, Dreamweaver stops working and shuts down. Should you be able to use the transitions function with CS6 transitions or not? In the end, what I want to do is create a behaviour where one image is swapped with another with a click (not a rollover as it won't work on mobiles, I believe).
    Thank you

    Add a link to jQuery's Latest Library to your document <head> tags.
    <script src="http://code.jquery.com/jquery-latest.min.js"></script>
    Add the jQuery function code to <script> tags in your document. I typically put them right above the closing </body> tag.
    <script>
    $(document).ready(function () {
        $("#one").click(function () {
            $("#one-a").toggle('slow');
        $("#two").click(function () {
            $("#two-a").toggle('slow');
        $("#three").click(function () {
            $("#three-a").toggle('slow');
    </script>
    </body>
    As to why DW is closing you down, I don't know.  That's not an expected behavior. 
    Without seeing your code, I'm going to guess that your CSS transition logic is incorrect or you're attempting to add transitions to the FluidGridLayout.css which is never a good idea.  Always use a separate, external style sheet for your manually added content styles.  Changes to either boilerplate.css or the temperamental FluidGridLayout.css files can result in problems.
    Nancy O.

  • Error within Workflow calling a form

    Hey,
    I have made a workflow with a form getting some values, transmited to a WF attribute, then i call another form which use this value.
    First i used a subprocess to call the form and i had this error:
    "com.waveset.util.WavesetException: Suspended case with no WorkItems!"
    Then i put the Call form activity in the original workflow and i still have the error while another form call in the same workflow works great.
    Do someone know about this error?
    Thanks,
    Adrien

    Check the transition logic in all the activities to make sure there are no infinite loops. You'd see this error messages if there are any infinite loops. Your subprocess may not be getting the variables used for transition. If you are referencing any WF variables inside the SP, declare them as external or pass them.

  • Skip to next frame

    Dear all
    how can I advance to a next frame in a sequence upon a condition
    becoming true in a previos frame? I am waiting for a response from a
    serial instrument. If the instrument does not respond, the program sits
    there forever. I would like to have some time-out condition, i.e. if no
    response for, say, 5 seconds- move to next frame. Something easy 2 do in
    a text based language- but how can I do it in labview?
    TIA
    YZ

    I must agree with joe, anytime I see a sequence a state machine comes to mind, this is a much more flexible solution since you can easily modify the order of a sequence, skip steps by just modifying the transition logic.  I made the change from sequence to state machined about 3-4 years age and havent looked back.  Finite automata is a very well studied and mature design pattern and is easily modeled and implemented in labview.  The only disadvantage to it is that it is a little bit  more conceptually difficult to grasp than a sequence structure. 
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Finite state machine using jsf ?

    I am building an online payment module and would like to implement it using a finite state machine. I am hoping that someone may give us advice on how to build it with jsf.
    Firstly, I am just beginning with jsf.
    Here is the example: Let's say that in the module there are 7 possible states that the user may be in, each represented by a jsp. I cannot decide where to manage state transitions. One option is to change states in the backer bean of every state, but that is dispersing transition logic across all my backer beans. The other option I can see is to have one single actionListener and have all action events pass through the 'processAction' method, keeping all the state management logic in one place.
    Please comment on either of these two approaches...or any alternatives :)
    Thanks in advance !
    Mark

    Sounds like a state machine in combination with a decorator on the ViewHandler might do the trick.
    Off the top of my head I'd suggest creating a managed bean in session scope that keeps track of the state in the user's session (the state machine). Check the bean from the ViewHandler decorator when a page is requested and direct the user to the correct page if they are trying to navigate to a page that conflicts with what is allowed for their current state.
    Your actionlisteners or action methods could change the user's state in the session as they process their actions.
    http://forum.java.sun.com/thread.jsp?forum=427&thread=502322
    The above thread discusses the use of a decorator to control navigation for authentication purposes, but it should be adaptable to this use.
    Is that plausable or am I smoking crack? :-)
    -jeff howard

  • VBAI: Triggering Inspections

    Just starting out with VBAI.
    I am an experienced Cognex In-Sight user and am very impressed with many of the VBAI capabilities. 
    Dumb question: Inspections will be triggered by a ControlLogix PLC via EtherNet/IP messages.
    Have I missed something, or do I need to build all the state transition logic for the ready/trigger/busy/done protocol, as well as heartbeats?
    On Cognex it happens automatically.  Putting in loops to poll the state of E/IP tags is not the most CPU-efficient approach, since the PC will also be running other software (HMI).
    For a discrete camera trigger I understand that the acquire image tool can wait for a trigger edge transition, but we try to stay away from discrete signals to keep the cables to the cameras simple (PoE).
    Thanks in advance!

    Brad:
    At the least, I think it would be a really good idea to have an Ethernet/IP template for ControlLogix PLCs as well as a template trigger protocol state diagram that customers can use as a starting point.  I am sure that is something that you gurus could throw togethere in no time and would save customers untold development hours and eliminate unnecessary troubleshooting for your many new customers who are not yet VBAI veterans.
    Cheers,
         Nelson

  • [svn:osmf:] 14019: Restore manual switch mode default to false.

    Revision: 14019
    Revision: 14019
    Author:   [email protected]
    Date:     2010-02-05 16:39:41 -0800 (Fri, 05 Feb 2010)
    Log Message:
    Restore manual switch mode default to false.  But always set it to true at the NetLoader level, so that the switching manager can handle the transition logic.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPNetStream.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingNetLoader.as

    Revision: 14019
    Revision: 14019
    Author:   [email protected]
    Date:     2010-02-05 16:39:41 -0800 (Fri, 05 Feb 2010)
    Log Message:
    Restore manual switch mode default to false.  But always set it to true at the NetLoader level, so that the switching manager can handle the transition logic.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPNetStream.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingNetLoader.as

  • Problems in Logic after transitioning from Snow Leopard to Mtn Lion

    I have recently transitioned into Mtn Lion from Snow Leopard using Logic 9.1.8.  Now every time I try to open a project created using the EXS24 Bosendorfer piano (Logic) plug in, Logic crashes. I also use (and mix together) Miroslav Philharmonik plug ins and am haviing no trouble loading them (after an initial glitch).  Logic also crashes when I try to load the EXS224 Bosendorfer piano (Logic) plug-in into a project.  Suggestions for a fix?   What am I issing?  Thanks for any help here.

    Hello alkhater.
    I did confirm that I am not using iCloud, so was able to cross that off the checklist.  I was able to resolve the issue by going into the Library folder and removing every file I could find that had "Address Book" in its name.  Then I rebooted the computer and started Contacts, which opened with the default Apple card and "User" card.  From there I was able to rebuild my Contacts, and it is now working normally.
    Thanks for the feedback and enjoy your day.

  • Transition to Logic Pro X from Protools

    I've been running PT8  HD 3/TDM for some time on a MacPro 2 x 2.4 Quad, Xeon, 8 GB RAM and have an ICON controller.   I just upgraded my Mac to Mountain Lion to optimize other software I am running.   PT crashed and I discovered that I now need to upgrade PT to 11.   This is going to be at least 6K and a headache.   I saw the news that Logic Pro X just went to market.  I am seriously considering transitioning to Logic and getting out of Protools.
    The following are critical issues for me and I wonder how Logic address them:
    1.   Delay compensation..  When I am overdubbing, mixing with plugins on some channels and outboard gear on other channels how does Logic handle this.    If I recall from years ago you had to manually adjust delay compensation when overdubbing, i.e. determine the number of samples that new tracks were off.
    2.   Setting up new tracks.     I recall using Logic previously and it was challenging and not very intuitive to set up new tracks or channels.    Had this improved.    I know that this issue is also personal preference and was perhaps my personal shortcoming.  
    3.   What about my 10s of thousands of dollars of plugins that I have already paid for.   I know that the TDM versons are out the window.  What about RTAS?   What type of plugins can I use with Logic Pro.
    4.   I like using an ICON controller.   I imagine that there are a bunch of good controllers out there that are specific to Logic Pro.    What are your preferences?

    Any personal experiences would be greatly appreciated.

  • Logic Pro 7 to Logic Studio 8 transition good or bad?

    Hi all,
    Just wondering what you have experienced going from Logic Pro 7 to Logic Studio 8?. I'm asking as I just bought the upgrade to Logic Studio and want to install it. I'm currently right in the middle of making an album in Logic Pro 7 and can't afford to lose anything. Is there anything I should be aware of? I haven't got any 3rd party plug in's running accept my Melotron plug in 'M'Tron'. Everything else including all FX's, I'm using Logic's built in plug in's. Also, I'm running Pro at full power with some songs and it still struggles at times. I'm using a Power Mac G5 dual 1.8ghz for the record. It's pre-Pentium dual core! Just worried about how well Studio 8 will run on my machine compared to Pro 7? Will Studio 8 require a lot more CPU usage?
    Many thanks,
    Nick.

    +I'm currently right in the middle of making an album in Logic Pro 7 and can't afford to lose anything. Is there anything I should be aware of?+
    Yes, me too. But after a week of testing L8, I've taken the plunge as I already like it better, although I had planned to complete all existing projects in LP7 first.
    1) Make extensive backups of everything, including all project assets, IRs, samples etc. which should all be in your existing project folders, before you install L8.
    2) Open copies of your projects and save them immediately in L8. As you probably know, installing L8 leaves LP7 untouched, so you can always go back if disaster strikes. I did some reconfiguring of stuff (not that you have to) such as changing old bus objects to auxes etc. just to make it more L8-like, reworking screensets etc.
    +I'm running Pro at full power with some songs and it still struggles at times. I'm using a Power Mac G5 dual 1.8ghz for the record....Just worried about how well Studio 8 will run on my machine compared to Pro 7? Will Studio 8 require a lot more CPU usage?+
    Actually, I've found that in general projects run more smoothly. I've had some weighty projects that were puffing a bit in LP7 which run much better in L8. Other threads in this forum contradict this, so either I'm lucky or because I keep my production machine very clean I didn't get any problems.
    Good luck.

  • Logical Standby Database in NOARCHIVE Mode

    Hi,
    I have configured a Logical Standby Database for Reporting purposes. A Physical Standby Database is running for MAA. i.e. in case of Role Transition (switch/Failover) the Physical Stdby Db will get the role of the Primary.
    The logical standby database is creating a lot of Archive Redologs files, nearly every minute. Redolog files are 50MB and there is no work done in db during the time. I'm NOT using Standby Redolog files.
    Is there a need for logical standby database to be in NOARCHIVELOG mode? The Primary is definatley in ARCHIVELOG mode.
    Thanks for any responses.
    regards
    Sahba

    hi,
    well there are two things to the above:-
    1. there was an archive file nearly every minute:
    this is due to a db recovery. for some reason, the db was in inconsistent state, after a sudden shutdownof the OS. I was on a test environment, on windows vista, unfortunately. unimportant ... a reboot solved it.
    2. Logical standby db in NOARCHIVE MODE when setup for the purpose of Reporting.
    As long as the MAA configured for the primary db, such as physical standby db, and a second, the logical standby db setup purely for the purpose of reporting, which then can run with NOARCHIVELOG mode, after converting the physical standby db to logical.
    logical standby db uses Streams architecture, so this method brings cost, time and performance advantages to the customer.
    regards
    Sahba

  • Logic 7 Songs all messed up in Logic 8

    Hi everyone,
    I've just upgraded to logic 8 from 7 and I'm having some problems with songs made in 7. They play back in Logic 8 but they are all over the place. Some Instruments, Loops and Audio files are said to be "not found", yet I can find them my self using spot light. Tempo of some tracks are also all over the place. I thought this transition would have been much easier.
    Any help or a point in the right direction would be much appreciated
    Thanks
    Pauli

    I had similar problems with some of my L7 projects. Lots were absolutely fine, even some quite complex ones. But a few just got completely messed up just like you describe: moving regions, lost files, lost tempo/key changes, levels all over the place. Some tracks with Logic plugins even sounded completely different (and I'm not talking about subtle compressor changes, I'm talking drastically changed).
    In the end I ended up exporting the midi and bouncing all of the individual audio tracks in Logic 7 for these projects, the putting them back together in a fresh project in L8. Not ideal, but better than wasting time wrestling with it.
    If there's a better solution then I would be keen to hear it. Would also be good to know what causes songs to get messed up in this way; like I said, many of mine were absolutely fine, and I couldn't spot anything consistently different about the ones that got corrupted.

Maybe you are looking for

  • Key Figure value in Cube showing with extra zeros

    Loaded data into the cube. When I display the result Key figure values are showing with 2 extra zeroes and Quantity value shaowing with 3 extra zeroes. Original value Price, Quantity, Sales Rev 2     1     2 3     2     6 When display value from cube

  • Mini display port to composite?

    I'm a video DJ and have gotten tired of lugging around 2 DVJs, 2 mixers, and a case of DVDs to my gigs, so I decided to get a MacBook and join the ranks of the laptop DJs.  I'm really starting to regret that decision.  After dropping almost 3 grand o

  • Excise duty recover account- urgent issue

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. > Dear All, After doing billing and it is released into accounting then in excise

  • Migrating from CUCM 8.6 to CUCM 10.0 - Do I have to upgrade presence as well?

    Hello Raees,  I've got a question regarding the Migration from CUCM 8.6 to 1.0, I went through the below "Ask the Expert" article. https://supportforums.cisco.com/discussion/12103966/ask-expert-cisco-unified-communications-manager-cucm-version-100 My

  • How to replicate customer fields in the  backend system.

    Hi All, I need to transfer PO customer fields that were created in the SRM system to backend SAP system. I am using Extended Classic Scenario in SRM and SRM Version is 5.0. I am able to replicate the data created in SRM system to the backend. How eve