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.
Shared Runtime & Flash Remoting?

Shared Runtime & Flash Remoting?

2004-02-19       - By Doklovic, Jonathan

 Back
Reply:     1     2     3  

Hopefully this is simple and my brain 's just not clicking.

We need to use flash remoting to connect to a lot of services.
We recently did a server upgrade and our servlet context changed.
This meant that every flash app that had:
NetServices.setDefaultGatewayUrl( "http://myserver/mycontext/gateway ");
Had to be updated and recompiled. Yuck.

What I 'd like to do is just compile a swf with the NetServices libraries and
the above line, and then just include them from a web URL in our flash
movies. This way if we need to change context again, we just have to
recompile 1 swf.

I 've tried doing this and setting: _global.gatewayConnection =
NetServices.createGatewayConnection();
In the connector swf, but I can 't get a handle to _global.gatewayConnection
in the calling app.

I 've tried using a runtime shared library and simply doing a loadMovie() but
neither seem to work.

Does anyone know how I can make this (or something similar) work??

Thanks!

jonathanDoklovic
seniorProgrammerAnalyst
limitedBrandsTechnologyServices
http://www.victoriassecret.com


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