Error Opening Include File Netservices As
Integration I have installed Studio 8 and this errors are permanently showed. Ihave ColdFusion 7 and flash remoting also installed. Some one knows what`s going on? Thank`s **Error** Scene=usuario, layer=C?digo, frame=1:Line 46: Error opening include file NetServices.as: File not found. #include "NetServices.as" **Error** Scene=administrador, layer=C?digo, frame=1:Line 35: Error opening include file NetServices.as: File not found. #include "NetServices.as" Total ActionScript Errors: 2 Reported Errors: 2... Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode January 20th,05:14 PM #1 #include "NetServices.as" I have installed Studio 8 and this errors are permanently showed. Ihave ColdFusion 7 and flash remoting also installed. Some one knows what`s going on? Thank`s **Error** Scene=usuario, layer=C?digo, frame=1:Line 46: Error opening include file NetServices.as: File not found. #include "NetServices.as" **Error** Scene=administrador, layer=C?digo, frame=1:Line 35: Error opening include file NetServices.as: File not found. #include "NetServices.as" Total ActionScript Errors: 2 Reported Errors: 2 ChicoBuffalo Guest January 23rd,08:49 PM #2 Re: #include "NetServices.as" I believe Flash 8 requires AS 2.0. You can download it [url]http://www.macromedia.com/software/flashremoting/downloads/components/#flr_fl8[/url]. You need to change the syntax too in your fla file. Instead of... #include "NetServices.as" #include "NetServices.as" You use... import mx.remoting.*; import mx.remoting.debug.NetDebug; NetDebug.initialize(); Make sure to change the publishing settings to be 2.0 as well. File -> Publish Settings... -> Actionscript Version hth BSterner Guest « enhancing datefield input type | Flash Remoting ideas for count down timer » Similar Threads include" file" vs. "virtual" in .asp By eb-go in forum Macromedia Dynamic HTML Replies: 2 Last Post: October 6th, 08:26 PM #24053 [Com]: include issues spurious "stream" warning that clut
using your existing account on the new forums, check out this thread. Register Help Remember Me? Forum Today's Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links View Forum Leaders What's New? Advanced Search Forum Flash ActionScript 2 (and Earlier) Quick Help - Include NetServices/NetDebug problem... Results 1 to 2 of 2 Thread: Quick Help - Include NetServices/NetDebug problem... http://www.justskins.com/forums/include-netservices-as-20165.html Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode April 28th, 2006,03:17 AM #1 zicemaster View Profile View Forum Posts 56 posts Registered User Quick Help - Include NetServices/NetDebug problem... This doesn't seem to https://www.kirupa.com/forum/showthread.php?217658-Quick-Help-Include-NetServices-NetDebug-problem work... I installed the remoting components off the macromedia site. I placed the remotingclasses and remotingdebugclasses in the library of the movieclip, and they are set to export for actionscript. What gives? Code: The code: #include "NetServices.as" #include "NetDebug.as" The errors: **Error** Scene=Scene 1, layer=actions, frame=1:Line 1: Error opening include file NetServices.as: File not found. #include "NetServices.as" **Error** Scene=Scene 1, layer=actions, frame=1:Line 2: Error opening include file NetDebug.as: File not found. #include "NetDebug.as" I notice others seem to have this problem... And tried this too, no go! Hmm... Code: import mx.remoting.NetServices; import mx.remoting.debug.NetDebug; NetDebug.initialize(); Last edited by zicemaster; April 28th, 2006 at 03:29 AM. Reply With Quote April 28th, 2006,03:48 AM #2 zicemaster View Profile View Forum Posts 56 posts Registered User To anybody who had this problem... Make sure your flash file is set to actionscript 2.0 and use this... Code: import mx.remoting.*; import mx.remoting.debug.NetDebug; NetDebug.initi
im trying to do. First of all I am using ASP.NET with Flash Remoting and using Flash Pro 2004. I want to try to get an ASP.NET page to return a datareader object or dataset object to flash that can be http://www.verycomputer.com/344_c30486b2ac27d06d_1.htm used to build a custom menu. When I try to run the flash movie in "test" https://webservices.thesba.com/forum/index.php?topic=25249.0 mode i get the following errors in the output window ( i also get the same errors for the supplied examples, although when run through a web browser the examples work fine.) **Error** Scene=Scene 1, layer=Actions, frame=1:Line 1: Error opening include file NetServices.as: File not found. **Error** Scene=Scene 1, layer=Actions, frame=1:Line 3: Error opening include file NetDebug.as: File not found. #include "NetDebug.as" error opening my Actionscript is as follows and is located on the first frame of the movie: #include "NetServices.as" #include "NetDebug.as" function init() { if (this.inited != undefined) { // * TRAP: if this function has already been invoked, break out, and continue return; } else error opening include { // * Execute the following script if the function has not run. The following initializes // * the connection to the Flash Remoting MX server this.inited = true; NetServices.setDefaultGatewayUrl("http://localhost/aps/flashNav.aspx"); gatewayConnnection = NetServices.createGatewayConnection(); // * Set the name of the namespace where your ASP.NET files will be called from, // * then open the connection under the instance name "flashService". defaultService = "aps"; flashService = gatewayConnnection.getService(defaultService, this); } } function getCategories(myCategoryTable, myCategoryAtt) { flashService.flashNav(myCategoryTable, myCategoryAtt); } function flashNav_Result(result) { myResult.text = result; } getCategories("products", "prod"); My location of the application is "http://localhost/aps/" and the aspx page is "http://localhost/aps/flashNav.aspx" The code for the apsx page is as follows Inherits="aps.flashNav"%> Assembly="flashgateway"%>
#include "NetDebug.as"
#include "NetServices.as"
if (inited == null)
{
// do this code only once
inited = true;
NetServices.setDefaultGatewayUrl("http://localhost/flashservices/gateway");
gateway_conn = NetServices.createGatewayConnection();
myWebService = gateway_conn.getService("Virtual_Domain_Name.Component.TestCFCs", this);
trace("Connected");
// CALL Web service: Do initial Data load for DropDown List
myWebService.getMyData();
trace("sent request");
}
// :::: DEFAULT RESPONDERS ::::
function getMyData_Result(result) {
trace("server responded: Records: " + result.getLength());
trace("setting the Drop Down");
// This function will be invoked by the server when it has finished processing
cb_dropdownName.setDataProvider(result);
cb_dropdownName.addItemAt(0, "Sel