Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
_global functions are really _globals?

_global functions are really _globals?

2004-02-20       - By Doug Miller

 Back
Reply:     1     2     3     4     5  

Its possible it could be a security issue. I have had a problem
that _global variables in a desktop shell could not be read by
swf 's loaded from a remote domain.

If this is the problem you can get around this by explicitly
allowing the remote domain (I think it is
system.allowDomain( "http://www.domainname.com ") in the shell.



---- On Fri, 20 Feb 2004,
=?iso-8859-1?Q?Roberto_M._Bas=E1=F1ez_Gonz=E1lez?=
(rbasanez@(protected)) wrote:

> Hi all:
>
> I have a movie (engine.swf) made in Flash MX 2004 with a
global function as:
>
> _global.takeColor = function(eColor){
> .
> .
> .
> }
>
> That function is in the _root level of engine.swf.
>
>
> On the other hand I have thousands of SWFs (pageXX.swf) made
in Flash MX.
> Those pageXX.swf call takeColor functions as:
>
> myColor = takeColor( "textoResaltado ");
>
>
> My big problems is than SWFs pageXX.swf "not locate " the
_global.takeColor()
> function.
>
> There are some knew case in which a _global function in level0
can not be
> recognized for others swf loaded in higher levels?
>
>
> Thanks, Roberto.
>
>
>
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> 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:104869
>
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> To unsubscribe send a blank e-mail to:
> Normal Mode: flashcoders-unsubscribe@(protected)
> Digest Mode:
flashcoders-digest-unsubscrive@(protected)
>
>
>


__ ____ ____ ____ ____ ____ ____ ____ ____ _____
Get your own "800 " number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
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:104881
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)