PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.flash > flash remoting
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
flash remoting

Réponse
 
LinkBack Outils de la discussion
Vieux 27/05/2008, 21h09   #1
JFB
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut flash remoting

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


  Réponse avec citation
Vieux 27/05/2008, 23h04   #2
DMennenoh **AdobeCommunityExpert**
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: flash remoting

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/


  Réponse avec citation
Vieux 29/05/2008, 20h33   #3
JFB
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: flash remoting

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/
>



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h07.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10521 seconds with 11 queries