Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Flash General Questions > Flash 8 General Questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-10-2005, 05:58 PM   #1
meddlingwithfir
Senior Member
 
Join Date: Aug 2005
Location: Minnesota, USA
Posts: 209
Unhappy NetServices.as: File not found.

Before anyone jumps the gun, I have installed the Flash Remoting component from this page:

http://www.macromedia.com/software/f...nents/#flr_fl8

link to file:
http://download.macromedia.com/pub/f...nts_flash8.msi


Not sure if I did something wrong, or if the install file just doesn't like me

Closed my open Flash 8 window, and double clicked the .msi file. Install seemed to go fine, no big flashing red alerts there. But when I opened up one of my old Flash MX files that I wrote (which used Remoting), I get the:

**Error** Scene=Scene 1, layer=Action, frame=1:Line 1: Error opening include file NetServices.as: File not found.
#include "NetServices.as"

Total ActionScript Errors: 1 Reported Errors: 1

Error. I remember getting this in Flash MX 2004 as well, but at that time, I had forgotten to install the Remoting Component. I just installed Flash 8, and just installed the Remoting Component for Flash 8. I did a search on my hard-drive for NetServices.as, and did find two references to it:

C:\Documents and Settings\Steve\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Classes\mx\remoting

and

C:\Program Files\Macromedia\Flash 8\en\First Run\Classes\mx\remoting

They seem to belong to Flash 8, but for some reason Flash is not finding them? Any help here, please?
meddlingwithfir is offline   Reply With Quote
Old 10-10-2005, 06:02 PM   #2
meddlingwithfir
Senior Member
 
Join Date: Aug 2005
Location: Minnesota, USA
Posts: 209
Lightbulb of course...

And, of course, the minute after I post this, I find the solution. What a wonder google is.

Incase anyone else comes across this error, you can NOT use Actionscript 1.0 syntax to import the NetServices.as file.

So instead of:

#include "Netservices.as"

Use:

import mx.remoting.*;

Or:

import mx.remoting.NetServices;

Both of those worked for me
meddlingwithfir is offline   Reply With Quote
Old 10-11-2005, 02:05 PM   #3
ovydiu
Registered User
 
Join Date: Aug 2005
Posts: 91
Default

you're becoming a very useful forum member.. keep up the good work!

Last edited by ovydiu; 10-11-2005 at 02:12 PM..
ovydiu is offline   Reply With Quote
Old 10-11-2005, 11:13 PM   #4
meddlingwithfir
Senior Member
 
Join Date: Aug 2005
Location: Minnesota, USA
Posts: 209
Default

I try
meddlingwithfir is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:01 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.