One thing I've had to do recently - not using screens, but a similar situation - was to assign the current level to a _global property:

_global.rootObject = this;
function doFoo(){...}

then referenced it as:
rootObject.doFoo();

Might work in your situation.

Sebastian Porto 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?:

Thanks

Sebastian


--
Lindsay Evans, Interface Developer, Red Square Productions
http://redsquare.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