Hi ,

How ur calling the actionscript file from your custom component...

Regards,
DineshKumar.T

On Mon, Oct 20, 2008 at 11:16 PM, rjoshicool <[EMAIL PROTECTED]> wrote:

>
> Hi,
> I tried making the methods public, but then also the problem persists
>
> On Oct 19, 4:39 pm, "Venkat Viswanathan" <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> >
> > You wont be able to access private methods from anywhere else other than
> the
> > class itself. To access the methods from the components, make the methods
> > public. It will then work.
> >
> > Regards,
> > Venkatwww.venkatv.com <http://venkatwww.venkatv.com/>
>  >
> > On Sun, Oct 19, 2008 at 4:04 PM, rjoshicool <[EMAIL PROTECTED]>
> wrote:
> >
> > > 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