|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi all,
i have an old flash app using flash remoting, I got the new CS3 and I have to keep my publishing for flash 8 because I have so much code to change. But the problem is that my flash remoting connection is not working displaying this error: There is no class or package with the name 'mx.remoting' found in package 'mx'. Here is my code that I'm using: import mx.remoting.NetServices; import mx.remoting.NetDebug; mx.remoting.debug.NetDebug.initialize(); import mx.controls.Alert; import mx.controls.gridclasses.DataGridColumn; import BubbleMovieClip; import com.Msgs; // Set up variables for the URL and service paths var myURL = "http://localhost/flashservices/gateway"; var servicePath = "com.myDomain.myApp"; // Connection hasn't been initialized; create connection and service objects if (initialized == null) { initialized = true; NetServices.setDefaultGatewayUrl(myURL); var myConnection_conn = NetServices.createGatewayConnection(); var myService = myConnection_conn.getService(servicePath, this); } How can I upgrade this code to make it work again? Thanks Johnny |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
I do this:
import mx.remoting.*; import mx.rpc.*; and have no problems in CS3. But did you install the remoting components in CS3? http://www.adobe.com/products/flashr...ds/components/ -- Dave - www.offroadfire.com Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Yes I did... but in the wrong folder.
Got it now. Thanks Johnny "DMennenoh **AdobeCommunityExpert**" <dave@blurredistinction.com> wrote in message news:g1i0kn$5f3$1@forums.macromedia.com... >I do this: > > import mx.remoting.*; > import mx.rpc.*; > > and have no problems in CS3. But did you install the remoting components > in CS3? > > http://www.adobe.com/products/flashr...ds/components/ > > > > -- > Dave - > www.offroadfire.com > Head Developer > http://www.blurredistinction.com > Adobe Community Expert > http://www.adobe.com/communities/experts/ > |
|
![]() |
| Outils de la discussion | |
|
|