Hello Gordon,

Thanks for the hint. I will try this. I didn't know, that the 
parentDocument must be cast, because I use it also 
(parentDocument.currentState='') and there it works. I will try it and 
give you a feedback, if it solved my problem.

Best regards,

Pascal


Gordon Smith wrote:
>
> If you cast parentDocument to your application class, the compiler can 
> tell you whether you've constructed the right expression or not. For 
> example, if your app is MyApp.mxml, then do
>
>  
>
>     MyApp(parentDocument).filenet...
>
>  
>
> Without the cast, it can't typecheck anything because parentDocument 
> is a generic Object on which you can access anything dynamically, 
> including things that don't exist.
>
>  
>
> - Gordon
>



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to