I tend to do this within the flash movie...

if (_root.init == null) 
{       
        _root.init = true;
        
        //Split up the url this movie is coming from
        //so that we can work out the gateway and component path
        var aryServer = _root._url.split("/");
        NetServices.setDefaultGatewayUrl("http://"; + aryServer[2] +
"/flashservices/gateway");
        var gwCFServer = NetServices.createGatewayConnection();
        _root.CFServer = gwCFServer.getService("foo.bar", _root);
}


HTH



-----Original Message-----
From: Stacy Young [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 4, 2003 15:19
To: CF-Talk
Subject: Overriding Default Flash Gateway in Object tag


For the lif of me I can find the reference to where I saw this...isn't there
a specific variable u can set in the OBJECT tag of a flash movie to pass in
the flash gateway? (makes it easier to test across multiple
environments)

ThX!

Stace

AVIS IMPORTANT:
------------------------------- 
Les informations contenues dans le present document et ses pieces jointes
sont strictement confidentielles et reservees a l'usage de la (des)
personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez
avise que toute divulgation, distribution, copie, ou autre utilisation de
ces informations est strictement prohibee. Si vous avez recu ce document par
erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur
et detruire ce document sans en faire de copie sous quelque forme.

WARNING:
-------------------------------
The information contained in this document and attachments is confidential
and intended only for the person(s) named above. If you are not the intended
recipient you are hereby notified that any disclosure, copying,
distribution, or any other use of the information is strictly prohibited. If
you have received this document by mistake, please notify the sender
immediately and destroy this document and attachments without making any
copy of any kind.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to