Because variables declared outside a function are global.

The same with your more complex example, because the function scope is
global to any functions declared in the function's scope.


Chris
-- 
Chris Velevitch
Manager - Sydney Flash Developers Group
www.flashdev.org.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