-TH
--- In [email protected], Ethan Miller <[EMAIL PROTECTED]> wrote:
>
>
> On May 23, 2006, at 12:22 PM, Tim Hoff wrote:
>
> > You could access the parent's currentState by using the
following:
> >
> > <mx:Button label="back"
click="outerDocument.currentState='step1'"/>
>
> Tried that, didn't work (though as I understand it outerDocument
is
> for breakig nout of scope set by a Component tag (with the same
mxml
> document).
>
> Also tried parentDocument, which is what I thought would work...
> Here, btw, is the error generated when trying that:
>
> ArgumentError: Undefined state 'parentDocument.touchOptions'.
> at mx.core::UIComponent/::getState()
> at mx.core::UIComponent/::findCommonBaseState()
> at mx.core::UIComponent/::commitCurrentState()
> at mx.core::UIComponent/setCurrentState()
> at mx.core::UIComponent/set currentState()
> at Assets.Components::SendTouchPlans/___Button1_click()
>
> cheers, ethan
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

