A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: viewState Problem

  1. #1
    Member
    Join Date
    Dec 2007
    Posts
    46

    Question viewState Problem

    Hi
    I need an answer for a little problem.
    I have to custom components. Main and Contact
    Main Component has two ViewStates.

    while, contact component has a button "Back" with code "currentState=''"

    I added contact component into Main component but the Button doesnt work
    I tried to add _parent and parent, but vain

    Please help me in this regard, How can i refer to base compoenent's viewState

    Thanks in advance.

  2. #2
    Junior Member
    Join Date
    Mar 2008
    Posts
    19
    If your "Back" button should change the viewState in the main application I think you will have to dispatch an event because the contact component doesnt have any knowledge about your main application.

  3. #3
    Member
    Join Date
    Dec 2007
    Posts
    46
    Thanks for The Reply.
    I add a custom event, Working fine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center