PDA

View Full Version : Flash Classes


felipe_chs
08-01-2006, 01:54 PM
1 - Is it possible to program in object oriented view, creating classes in flash scripts?

2 - How do I declare a global value in flash scripts to be called anywhere I want?

3 - In the same way of question 2, how do I declare a function to be called anywhere I want?

Thanks
Felipe

mooska
08-01-2006, 02:07 PM
1 - Is it possible to program in object oriented view, creating classes in flash scripts?

2 - How do I declare a global value in flash scripts to be called anywhere I want?

3 - In the same way of question 2, how do I declare a function to be called anywhere I want?

Thanks
Felipe
1 - it is ...
2 - _global.myvar
3 - _global.myfunction = function(){}