Title: StartupCommand can't see view component Post by: vladakg85 on July 09, 2009, 07:50:00 Sometime happens that I try to register new component (mxml) with mediator in PrepViewCommand, and when I type app. there is no my component, what could be reason for this?
cmpPizzaOrderWindow is the problem... public class PrepViewCommand extends SimpleCommand implements ICommand <?xml version="1.0" encoding="utf-8"?> Title: Re: StartupCommand can't see view component Post by: Jason MacDonald on July 09, 2009, 08:22:50 Where are you calling init() from? You should be calling it on the ApplicationComplete event so that you can ensure Flex has finished it's creation sequence. My guess is you are sometimes beating out Flex and starting the PMVC apperatus too early.
Title: Re: StartupCommand can't see view component Post by: vladakg85 on July 09, 2009, 11:21:19 Where are you calling init() from? You should be calling it on the ApplicationComplete event so that you can ensure Flex has finished it's creation sequence. My guess is you are sometimes beating out Flex and starting the PMVC apperatus too early.Thanks man, init() was my problem :) |