  | |  | _global functions are really _globals? | _global functions are really _globals?
2004-02-23 - By Rocchi Cesare
Back Roberto M. Basáñez González wrote:
> Hi all:
>
> I have a movie (engine.swf) made in Flash MX 2004 with a global function as:
>
> _global.takeColor = function(eColor){
> .
I had problems with _global even when I didn 't have loeded movies.
I solved my problems by both declaring and calling my global functions
with the global suffix so:
//declaration
_global.myfunc = function (msg) {
trace(msg);
}
// call
_global.myfunc( "test ");
I would talk about bug ...
and you?
HTH,
-c.
--
+-- ---- ---- ---- ---- ---- ---- ------+
Cesare Rocchi
ITC-IRST Povo I-38050 (TRENTO) ITALY
http://tcc.itc.it/people/rocchi.html
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104955
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |