Thanks Chris 
That's a great idea but the next problem is that
I'm using screenweaver to do a lot of stuff. When I put some
screenweaver code in a class the compiler will tell that there is no
method such and such (the screenweaver methods). Any ideas on how to
deal with this? 

Sebastian

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:bounce-fugli-
> [EMAIL PROTECTED] On Behalf Of Chris Velevitch
> Sent: Wednesday, 22 September 2004 4:40 PM
> To: Flash Developers List
> Subject: [fugli] Re: Referencing functions in root screen
> 
> On Wed, 22 Sep 2004 08:57:54 +1000, "Sebastian Porto"
> <[EMAIL PROTECTED]> wrote:
> 
> >Hi All
> >
> >I am doing my first flash application based on screens. I am trying
to
> >put all my functions in the root of the application and the call
those
> >functions from within my screens.  But I can't find the way to
reference
> >the functions directly. Something like _parent._parent.myFunction()
will
> >work but it is messy.  _root or _level0 won't work.
> >
> >How do I go about this?:
> 
> One idea is to put all your functions in a class in separate file, say
> C1.as, and then import the class and use the functions eg
> C1.myFunction().
> 
> 
> Chris
> 
> ---
> You are currently subscribed to fugli as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/



---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to