methods are private and i have given the source of the as file in the
main mxml.

i have a form component in which i have applied validation check on
the change event of text inputs. this change event calls a validation
function in the as file.

On Oct 19, 2:00 pm, "Venkat Viswanathan" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> Two questions...
>
> - Are the methods in the .as file public?
> - How are you trying to access the methods from the component? It should
> work using parentDocument.
>
> Regards,
> Venkat
>
> On Sat, Oct 18, 2008 at 4:08 PM, rjoshicool <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > I have a flex project with Flex Main Application mxml file, one
> > component in mxml and an actionscript file.
> > I have specified the source of the as file in the main application.
> > The components in the main application are able to access the
> > functions in the as file but the components in custom component are
> > not. How can i access those functions in the as file from the flex
> > mxml component?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to