Resetting the component States

Hi - I'm almost finished with a Project Gallery, done in CF CS5, but the component States cannot be reset correctly.

I did the first State, placed a multi-state component, define the status of component in the timeline according to the tutorials and answers here *, confirmed that it worked and then duplicated State. Of the following States, I deleted the component and placed new components and define the reports component in the panel mounting. But these don't work.

I'm so close to finished - did anyone know what I need to do? You can see the project here:

http://cactapus.NET/test/AAU/StudyAbroad/main.swf

(the html code of the catalyst is broken, but that's another topic)

Go to student reviews > Cindy, click around and back to all profiles of students, then back to Cindy. You can see that he restore the State 1.

If you go to another profile, they do not return to State 1. they stay where you left them.

The work file is here:

http://cactapus.NET/test/AAU/StudyAbroad/6-4.FXP

I thank very you much for any help.

* resources:

http://flashcats.NET/2010/06/15/statefulness/

http://forums.Adobe.com/message/2899317#2899317

http://forums.Adobe.com/message/2804975#2804975

Hello

You're definitely on the right track. If you take a look at your timelines, the ones you should look at is:

Cindy > choose

Kirah > choose

Malorie > choose and

Liz > choose

In Liz and Kirah transitions, you're reset CC_Malorie state1, not CC_Liz and CC_Kirah, respectively.

-Bear

Tags: Flash Catalyst

Similar Questions

  • How can I associate with the component States custom content scroll buttons?

    Hi, I need help I have a deadline to meet in the next few weeks and im stuck!

    Basically, what I did is I made a content scrolling lists, containing about 10 products in each of them, my plan was to make a button for each product so that users could click on this product and bring them to a new page containing more detailed information on this product. When they have finished looking at this product they can click a button to return to the list that they were previously. However I can't do just a State nine for each product there is a limit to 20 States, and I'll need about 50 of them.

    So, what I read, I will need to create custom components. the only problem with that is that I can't link to the component on a different State personal main scenario (I get no option to link to the custom component States).

    If I put the image of the product detailed in the scroll pane, that I can't make a link to it, however, he's inside the scrolling content and it just scrolls autour and stuff that is not what I want. as it gives an appearance of disorder.

    -Basically, I need from the buttons in the drop-down list, a link to a more detailed page for this product. Then be able to go back to the list button.

    If anyone has any input on how to do this, please help me. Start panic now, as this must be finished before September: s

    BTW, I'm happy to share my .fxp which helps produce.

    Thank you, hoping for some useful answers on this topic

    -Tom

    Hi Tom,

    Add this back here to share my wire with the community.

    Brought together a quick .fxp based on the section "product" of your project.

    Take a look at how the product lists are linking in the pages of detail of product within their custom components.

    Using this model, you should be able to expand outside the States of infinite product details.  If a particular area has more than the maximum allowed States, just start a new custom component (part 2 of this section of product).

    Let me know if you have any questions. Hope that it affects you on a path to get your complete project.  It is looking nice.

    Tanya

  • Reset the accordion State when the Page refreshes

    I read a few posts online of people who have encountered the same problem, however I have not yet met any soloution to it.

    If you have an accordion menu and the page is refreshed that the accordion retains its last State rather than reloading to its first State. Is there anyway to stop it from doing this?

    Thank you
    Katy

    "katychapman85" wrote in message
    News:g77ca5$9C$1@forums. Macromedia.com...
    > I read a few posts online of people who met the same
    > problem.
    > However, I have not met any soloution to it.
    >
    > If you have an accordion menu and the page is refreshed on the accordion
    > canned
    > It is the last State rather than reloading to its first State. Is there anyway
    > to
    > don't let him do that?

    Disable history management.

  • Flex 4: model component: STATES: Null problem

    Hello

    I have created a model based on the following link component

    http://help.Adobe.com/en_US/Flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-79c3.html

    My component uses STATES, and my code assign a new runtime component in daze. When I run the code, I get "cannot access a property or a method of a null object reference." Error.

    Help, please

    Code in the main file

         <local:TemplateComp>
              <local:Edit>
                   <s:RichEditableText/>
              </local:Edit>
         </local:TemplateComp>
    

    Model component Code

    <?xml version="1.0" encoding="utf-8"?>
    <s:VGroup xmlns:fx="http://ns.adobe.com/mxml/2009" 
               xmlns:s="library://ns.adobe.com/flex/spark" 
               xmlns:mx="library://ns.adobe.com/flex/mx"
               verticalAlign="middle" horizontalAlign="center"
               width="400" height="300" initialize="vgroup1_initializeHandler(event)"> 
         
         <s:states>
              <s:State name="State1"/>
              <s:State name="SECOND"/>
         </s:states>
    
         <fx:Script>
              <![CDATA[
                   import mx.core.UIComponent;
                   import mx.events.FlexEvent;               
                   public var Edit:UIComponent;
    
                   protected function vgroup1_initializeHandler(event:FlexEvent):void
                   {
                        BaseArea.addElement(Edit);
                   }
    
              ]]>
         </fx:Script>
         
         <s:Label text="First View" includeIn="State1"/>
         <s:VGroup id="BaseArea" includeIn="SECOND" width="200" height="200"/>
    </s:VGroup>
    
     
    

    Hello

    When you use the component States are word instantiated until they are displayed if you add the 'immediate' components = itemCreationPolicy property, you must reference until the status is shown he will solve your reference error

    David

  • Error code 0 x 800737712: refers to the component store corrupt, the component store is in an inconsistent state.

    Error code 0 x 800737712: I can't use Windows Update, I can't update Vista SP1, System Update Readiness Tool does not work, the error msg refers to the component store corrupt, the component store is in an inconsistent state. You are looking for a solution please.

    Hi BobJohnson08735,

    You can first try to use Fixit for Windows Update by following the link

    How to reset Windows Update components?

    http://support.Microsoft.com/kb/971058

    If you get a Error Code 80073712 0 x, then try the steps as a result of the KB article:

    Error message when you try to install updates on the Microsoft Update or Windows Update Web site: "0 x 80073712".

    http://support.Microsoft.com/kb/957310

    Hope this information is useful.

    Jeremy K.
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Taskflow dynamic array and reset the user interface States

    Hi team.

    I use JDeveloper 11.1.2.4.

    I have a nice flow dynamic bounded task that has a view main activity.  Links to view activity change as part of the workflow.  The workflow is initialized with a navigation event.  The display shows just a table of data corresponding to the navigation event.  The table is sortable.  It all works very well.

    The challenge that I meet is that users do not want details of the sort on the table has persisted between navigation events.  So they select NavA, the query executes against ViewA.  They select NavA, they query executes against ViewB.  The table and the activity of the view are the same.  And, during the navigation, in the framework of task flow not related, the display does not actually change in the region.  It is updated with the appropriate data, but the genre are also persisted.  It feels like the client stores the State of the table that I'm not able to remove the sorting criteria of the Rich Table via a managed bean.  Certainly, it feels like what must be launched from the client instead of a managed bean. I don't want to add buttons to view activity to do the reset, because users want this to be triggered by the navigation event.

    If I spend a dynamic unrelated workflow and to return to the dynamic workflow, so details are reset beautifully.  However, this is not an option for the users.

    Any suggestions on the approach would be appreciated.

    Thank you


    BradW

    OK, so I had to add this feature to my menu:

      public void setResetMainRegion(String regionName){
        if (regionName != null && !"".equals(regionName)){
          UIComponent mainRegion = JSFUtils.findComponentInRoot(regionName);
          RichTable table = (RichTable)JSFUtils.findComponent(mainRegion, "DynamicCodeTablesTab");
          if (table != null){
            List sc = new ArrayList() ;
            table.setSortCriteria(sc);
            AdfFacesContext ctx = AdfFacesContext.getCurrentInstance();
            ctx.addPartialTarget(table);
          }
    
        }
    

    The thing is that we must find the component, as it is extremely difficult to work with PageFlowScoped managed beans that have been created to support tables.  Such a simple fix, it took you a while to understand where the issue should be resolved.  It seems that some of these issues have to keep longer appears outside the BTF.  Not ideal because this introduces too many dependencies.  Trying to minimize as much as we can.

    BradW

  • restore the component to the default state?

    I'll build a Web site that has several pages and these pages are image galleries. I used components customized to the galleries, so I end up not with an amount going on the main pages. (15 pages containg image up to 7 galleries) The problem is when you leave a page and then return to this page, the custom component remains in the State, he was left, obviously you would like an image gallery of always go back to the first image. (this is also the case with the FLV files) Is it possible to make a component to return to a particular State? I really didn't have skills to do in builder or anything unless it's very simple.

    Thank you!

    Hi lucky_p,

    There's an excellent post on the FlashCats blog which explains how to get the components to reset after a state change; I think that this can answer your question:

    How to reset after the change in status of the Flash Catalyst components?

    Hope that helps.

    Kind regards

    Kim

  • Reset the custom component

    Hello!

    I have an application with some States.

    Each State shows a different custom component.

    My problem is that if someone types something in one of the States then changes state and returns then the text will always be there.

    Is there a way to reintitialize the custom on each display state component or do I have to create functions to reset everything myself?

    Thank you!

    Hello Mashup,

    You must manually reset all fields in your component to make the component reset...

    To clear the textInputs you must explicitly set the text property to empty to reset their and so...

    Thank you

    Jean Claude

  • Reset the PID.vi only once on the State transition

    Hello

    I'm controlling a fatigue gear using LabVIEW test bed and I use the PID.vi to control the hydraulic circuit. During the transition from the start as a test State, I need once the PID (the integrated error) values to be reset during the transition. The current configuration constantly resets the PID causing the hydraulic output voltage to be lower than the set value. I can't understand how to be set to Boolean false to pass true during the transition from the State and then back to false to prevent resets of the other by default. I have attached the current revision of my code.

    Thank you very much for your help!

    Trace

    It's a good idea, but it is not necessary to select blocks with the true and false as inputs, just equality by different and use the output directly to reset.

    Also, I see that you have PID blocks in two separate cases. Note that those will act independently from each other - if you reset into a State, then move to another State, it will not be reset. Maybe it's what you want, and maybe it isn't, but be sure to put multiple instances of the PID block that control the same in different cases. You can also see weird integral questions when you place in case, if a long time share when you run the same instance.

  • upgrade the component of security for windows media player 12 tried all the proposed solutions always not able to reset or use drm

    Hello all, I tried all the solutions advocated for the update to install drm security or for the upgrade button to not be gray, but I've tried every solution that includes the deletion, rename the file drm in the data of the program, the whole kit and the shebang and nothing worked or helped upgrade the drm from windows media player. I am subject to end here, because the upgrade of the drm is the only thing that will allow me to use my digital copies of movies that I bought and who have a digital copy of the film included with the purchase. Honestly, I don't know what else to do to reset the drm or use security update site Web component. I even tried to delete the drm registry entries and I get a failed to remove the error message. If someone could help me get the upgrade of the safety component, I would be very happy.

    I realized what it was.  the upgrade of the windows security component is not I repeat is not compatible with the preview of consumer of windows 8.  I had to reinstall windows 7 to work.

  • How to reset the State of package variables in all sessions connected (without requiring a disconnection and a connect) if they are reset in one of connected sessions.


    Hi people,
    Need help, the example requires that the value of packet data 'g_var' must be updated in the session/s connected everywhere without the session/s to be disconnected and reconnected.
    Here's the scenario:

    I created a table my_table having the pair name / value.
    A variable with global package "g_var' in his body and a get accessor method to access g_var variable from the outside world.
    This variable g_var is initialized within the block of the entry into force of the package and retrieves the current value of the variable from my_table.
    When I update the value in the table a trigger on my_table would reset the State of the package and therefore g_var to the most recent value in the same session
    All is well so far since the change in value is reflected in the current session, but if I've already connected session/s
    and I'm trying to retrieve the value of "g_var", it is not updated in already connected sessions and remains the same before the update.
    Can U help please how can I update this value in a session/s connected without having to disconnect and reconnect.
    because if I disconnect and reconect the existing sessions, it seems to show the updated value.

    Thanks in advance.

    Kind regards
    Gaurav Rajput

    Here are the Scripts:


    drop table my_table;
    create table my_table
    (
    my_variable_name varchar2 (100),
    number of my_variable_value
    );

    create or replace package my_package as
    Function get_g_var return number;
    end my_package;
    /

    create or replace package body my_package as
    number of g_var;

    Function get_g_var return number is
    Start
    Return g_var;
    exception
    while others then
    lift;
    end get_g_var;

    procedure init (my_passed_name varchar2) is
    Start
    Select my_variable_value in the g_var from my_table where my_variable_name = my_passed_name;
    exception
    while others then
    raise_application_error (-20004, "I got an error during Init");
    end init;

    Start
    init ('$'); -This is a call to time when the package is loaded into the memory of session
    exception
    while others then
    raise_application_error (-20003, 'Error in my_package');
    end my_pACkage;

    /
    create or replace TRIGGER my_trigger
    BEFORE DELETE OR UPDATE
    ON my_table
    FOR EACH LINE
    declare
    number of my_ret;
    Start
    DBMS_SESSION.modify_package_state (DBMS_SESSION. RESET);
    exception
    while others then
    lift;
    end my_trigger;

    /

    -It is initially set to null
    insert into my_table values ('DOLLAR', 62);
    commit;

    -test value for first time to package loading (62 views)
    Select * from my_table;

    Set serveroutput on

    declare
    my_variable varchar2 (100);
    BEGIN
    my_variable: = my_package.get_g_var;
    dbms_output.put_line ($my_var);
    END;

    -run the same block of end to start in another session it shows 62. All is well so far
    -check if the value after the update in the same session (shows 38), also check in another before the connected session as well (shows 62 and not 38)
    Update my_table set my_variable_value = 38 where my_variable_name = "DOLLAR";
    commit;

    Select * from my_table;

    Set serveroutput on

    -It displays 38 in this session, but there in an already connected session 62 and only after you log out shows 38
    declare
    my_variable varchar2 (100);
    BEGIN
    -my_variable: = my_package.g_var;
    my_variable: = my_package.get_g_var;
    dbms_output.put_line ($my_var);
    END;

    Package variables are stored in the private memory (PGA). The value is not visible in the session. A package variable is therefore not approach appropriate to your problem. You can look at in the context of the Application, as Solomon has said.

    http://docs.Oracle.com/CD/B28359_01/network.111/B28531/app_context.htm#CIHFJHCG

  • The customer States AR indicate Page numbers Reset based on the number of customer

    Hello

    In the customer statements AR report, if I ran the report for several clients, page number must be reset for each customer...


    Group on the way as below,


    <? for-each-group: G_STATEMENT; STATEMENT_DATE? > <? for-each - group:current-group(); SEND_TO_ADDRESS_ID? >




    Hi Valerie,.

    I got the answer by using the @section command.

    Here's the complete syntax in my case.

    Xml tag - field form

    If the found data.

    Group G_SETUP-

    Group G_STATEMENT-

    Its work for me.

    Let me know if you need more information.

    Kind regards

    National Stadium

  • Pls hlp! How to reset the State back to a page...

    I have implemented a multi page doc and have created beween navigation pages via a button at home.

    step 1 click the icon home and step 2 that a wheel appears with a choice of pages to go then.

    Everything works fine the 1st time I go to each page, but the back for the 2nd time that the wheel is always in the center of the page. I want that this reset whenever I go to each page.

    See below link to my example – hope that all makes sense.

    https://www.dropbox.com/s/td6274sm8t74955/test%20wheel_v.indd

    Thank you very much

    Claire

    The first action the button must be going to the State 1. Who clog the DSO as it appears that the first State is empty. Ok.

    For the second action use go to url and use the navto command to access the article/page you need.

  • How to reset back to the importing State mass it?

    How to reset a selection of photos back to the importing State mass it?  Or better yet how to cancel a series of changes autosync?  (ctrl-Z does not always).

    I don't know how many times I ruined hundreds of photos because the Lightroom deselect does not work as in Windows.  Selection is more persistent and must be deselected manually.  In windows, clicking on any file désélectionnera all but one.  I went for an hour thinking that I was working on a photo!

    If it is too late to use Ctrl-Z (i.e. you've restarted LR inbetween), select images all affected grid (you possibly can use a smart collection containing "Change Date" to identify them) and press Ctrl-Shift-R (or Menu Photo, develop settings, Reset).

    Gossweiler beat

    Switzerland

  • Error: Could not resolve &lt; s: states &gt; for an implementation of the component.

    So I try to the installation States in a Flex application, I am building, but it does not compile. I get this error:

    ./build.sh $

    Loading file configuration/Applications/Adobe Flash Builder 4/sdks/4.1.0/frameworks/flex-config.xml

    Uploader.MXML (24): error: < s: states > could not resolve to a component implementation.

    < s: states >

    Here's my build command nothing special...
    $ cat./build.sh
    #! / bin/bash
    mxmlc-bin/uploader.swf CBC/uploader.mxml of output
    I have a class that extends the application of the spark as follows...
    package com.uploader.controllers
    {
    Import spark.components.Application;
    Dynamics/public class FlashUploader extends Application
    {
    ...
    }
    }
    Then in my main application mxml file I use it like this...
    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx c:FlashUploader ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx".
    xmlns:v = "com. Uploader.View ".
    xmlns:c = "com. "Uploader.Controllers.."
    minWidth = minHeight "709" = "400".
    skinClass = "com.uploader.skins.UploaderApplicationSkin" > "
    < fx:Style source = "styles.css" / > "
    <! - States - >
    < s: states >
    < name s: State = "default" / >
    < name s: State = "dΘmarrage" / >
    < name s: State = "submit" / >
    < name s: State = "normal" / >
    < / s: states >
    ....
    < / c:FlashUploader >
    Now when I try to compile, I get the error States. I found several examples and even made a dummy application just by using the application of spark and it compiles properly. Not sure if I'm doing something weird here, but a few other flex devs I know don't seem to see anything wrong with what I'm doing which could cause this.

    When you define an object using namespace, you will need to use the same namespace for its properties, so you will want to use "" instead of "" in this case.

Maybe you are looking for