[Flashcoders] blank flash movie (what is this)
I have recently produced a simple movie that appears not to work. The movie is : http://www.stairclimber-uk.com/images/movie.html http://www.stairclimber-uk.com/images/movie.swf http://www.stairclimber-uk.com/images/movie.fla When I try to see that movie on my localhost - it looks fine. When I look at it on the above server, it is blank. Do you think that I have done something wrong with the flash? Or is it possible that it is the (Windows) server? -- Gavin Lilley. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] blank flash movie (what is this)
Hi there Adrian, Yes, I have uploaded this file. Im thinking that it is some permissions problem or relative path problem. -- Gavin Lilley. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] looking for some .NET to Flash tools
I do not fully understand what you mean by .net database? if this is an online project with a budget and php is an option then I recomend amfphp. or remoting for .net is good. if this is an offline project then it is possible to connect to .net facilities via the ExternalInterface. -- Gavin Lilley. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] remoting.net with mssql
I think that my (alck of) .net skills are the problem. this code is fine... code %@ Page language=C#% %@ Import Namespace=System.Data % %@ Import Namespace=System.Data.OleDb % %@ Register TagPrefix=MM Namespace=FlashGateway Assembly=flashgateway % script langauge=C# runat=server void Page_Load(Object sender, EventArgs e){ // build a connection string string cnnString = Provider=SQLOLEDB.1;Data Source=xyz ; Initial Catalog=xyz;User ID=xyz;Password=xyz; Network Library =dbmssocn; // connect to the server OleDbConnection sqlCnn = new OleDbConnection(cnnString); string sqlQuery=SELECT * FROM TABLE'; OleDbDataAdapter sqlData = new OleDbDataAdapter(sqlQuery,sqlCnn); // fill the DataSet DataSet myDataSet = new DataSet(); sqlData.Fill(myDataSet,productList); // set the dataSource property to the resulting table myFlash.DataSource = myDataSet.Tables[0]; // bind the data to the Flash Control myFlash.DataBind(); } /script MM:Flash id='myFlash' runat=server/ /code when i try to adapt to use sp with the following... code %@ Page language=C#% %@ Import Namespace=System.Data % %@ Import Namespace=System.Data.OleDb % %@ Register TagPrefix=MM Namespace=FlashGateway Assembly=flashgateway % script langauge=VB runat=server Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) // build a connection string Set objConnection = Server.CreateObject(ADODB.Connection) Set objCommand = Server.CreateObject(ADODB.Command) Set objRecordset= Server.CreateObject(ADODB.Recordset) with objCommand .ActiveConnection = Provider=SQLOLEDB.1;Data Source=xyz ; Initial Catalog=xyz;User ID=xyz;Password=xyz; Network Library =dbmssocn; .CommandText = spgetstarfromtable .CommandType = 4 .Parameters.refresh() .Parameters(@paramID).value = star .Execute end with objRecordset.Cursorlocation = 3 objRecordset.Open objCommand, , 3 myFlash.Result = objRecordset.RecordCount myFlash.DataBind() end sub /script MM:Flash id='myFlash' runat=server/ /code this is currently where I am at, if anyone can hint me in the right direct then I am all ears! -- Gavin Lilley. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] NetConnection Debugger not working in Flash 8? - SOLVED
Thanks Grant, I think that many developers installed flash 8 early on, before the remoting files for version 8 were released and so copied the files manually in the way that you describe. I will try to copy the files in the way you describe - there seems to be a lot of duplicate files on my system, but I will work it out. -- Gavin Lilley. On 1/24/06, Grant Cox [EMAIL PROTECTED] wrote: I have found the solution to this problem. If I replace the mx.remoting.debug.* classes from the Flash 8 remoting with those from Flash MX2004, then the Netconnection Debugger works from Flash 8. Doing a diff shows that the new Flash 8 classes only include definition of the available debug functions, whereas the MX2004 classes included the actual implementation. I am not sure why so few people appear to be affected by this, and since you can't download the MX2004 trial any more it may be a problem for anyone who doesn't already have it installed... If anyone does need these files and cannot source them elsewhere feel free to email me. Regards, Grant Cox ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] NetConnection Debugger not working in Flash 8? - SOLVED
This solution works now and my remoting debugger now displays information for my old programs, for example if i run a precomiled swf (from mx 2004) i am able to see the information. but if i load the fla into flash 8 and comile - the swf will function without a problem but the netconnection debugger will not dispaly information. am i forgetting to include a file? this... import mx.remoting.NetServices; import mx.remoting.DataGlue; import mx.remoting.debug.NetDebug; also, this is the same problem... import mx.remoting.*; can anyone shed light on this??? -- Gavin Lilley. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] remoting.net with mssql
After a few years of php, I am (re)learning asp.net and have started to convert php to asp as I find that working with my own code is a great help (although it is a gif and a curse at times)! I am unable to connect to a MSSQL2000 database in order to either call a stored procedure or inline sql code and I have searched everywhere to find some examples. Can anyone please help me? Regards, -- Gavin Lilley. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] NetConnection Debugger not working in Flash 8?
I have exactly the same problem. I have installed a fresh version of 8 and then remoting and components. Do you have Flash 7 and Flash 8 on the same pc? Im wondering if it is possible to install 7 first and then install 8 'over the top of 7' to solve this problem. I read about copying old library files across but as far as I can see I am missing nothing. -- Gavin Lilley. On 1/20/06, Grant Cox [EMAIL PROTECTED] wrote: I have just upgraded my workflow to Flash 8 and the latest MTASC today, and found that while my Remoting calls were working, nothing was printing in the NetConnection Debugger. After some debugging I have found that I cannot get anything to print to the NetConnection Debugger even from within the Flash 8 IDE, and this is with a clean reinstall of Flash 8 (no previous version of Flash installed) and the Remoting components. I have set the Flash 8 security settings to Always Allow, and to trust anything in C:\. The follow code, when applied to the first frame of an empty movie with just the RemotingConnector Component on the stage, works in Flash 7, but does not work in Flash 8. The log messages work fine (and the remoting connection is created and works), but nothing appears in the NetConnection Debugger. Can anyone see a problem with this, or even replicate the error? Regards, Grant Cox /// import mx.remoting.Service; import mx.services.Log; import mx.remoting.debug.NetDebug; NetDebug.initialize(); var myLogger:Log = new Log(Log.DEBUG, logger1); myLogger.onLog = function(message:String) { trace(NetConnection LOG: + message); }; var gatewayURL:String = http://localhost/myproject/gateway.php;; var userService:Service = new Service ( gatewayURL, myLogger, Users, null, null ); trace(gateway at: + gatewayURL + user service: + userService ); NetDebug.trace(testing testing testing); stop(); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] amfphp, flash 8 and netdebug
Did anyone solve this problem? I ask as I have the same problem following an upgrade to Flash 8. :-( I seem to have 3 isntances of classes installed at various locations on my hard drive, but nothing is repsonding and the ncd is vital to troubleshooting - but how do I trouble shoot the ncd?!? cheers, -- Gavin Lilley On 12/2/05, Alfonso Florio [EMAIL PROTECTED] wrote: hi to all i'm trying to use the remoting with amfphp in flash 8 i'm trying to use also the netdebug with the netconnection debugger... here's the syntax I use to import the classes import mx.remoting.NetServices import mx.remoting.debug.NetDebug; NetDebug.initialize(); if I just import Netservices remoting works with two errors... no way to see the events into the netconnection debugger if I open a pre-compiled swf in flash 8 i can see events in netconnection debugger!! here's all my code and the errors I get any help would be appreciated!!! import mx.remoting.NetServices; import mx.remoting.debug.NetDebug; NetDebug.initialize(); listDir_Result = function (message) { for (i=0; imessage.nomefile.length; i++) { trace(i+ +message.nomefile[i]); } }; listDir_Status = function (message) { trace(STATUS); }; var conn = NetServices.createGatewayConnection(http://xxx/aulavirtuale/gateway.php;) ; var myService = conn.getService(formToText, this); myService.listDir(./); **Error** C:\Documents and Settings\fonzie admin\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Classes\mx\remoting\NetServiceProxy.as: Line 62: Type mismatch. arguments.unshift(new NetServiceProxyResponder(this, methodName)); **Error** C:\Documents and Settings\fonzie admin\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Classes\mx\remoting\NetServiceProxy.as: Line 67: Type mismatch. arguments.unshift(new NetServiceProxyResponder(this, methodName)); Total ActionScript Errors: 2 Reported Errors: 2 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] remoting v service
javascript:setIrrelevant(1573074); Due to changes beyond my control, I am now working on a M$ .NET/MSSQL server and need to migrate my old php/mysql code over. The php code includes AMFPHP Remoting classes. I am looking at either porting the classes into ASP Remoting or creating a set of wsdl Web services. Can anyone give me any insight into why they would use one technology over the other please? I have read that the two technologies combined work well, I dont understand this as I see a web service as an alternative to remoting - am I missing something here? -- Gavin Lilley ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] blank text bug in v2 components ?
I seem to have a problem with v2 components, and I cannot get to the bottom of the problem. I have a medium sized app with Datagrid, TextArea and ComboBox components poulated by PHPAMF data. Certain sequences of events, eg. click on this1_mc and then this2_mc will make the TextArea and ComboBox components blank. I can select and copy/paste the etxt, edit the text but I cannot see the text. If I apply a colour to the backgorund eg. 'myText.setStyle(backgroundColor, 0xFF);' I can see that the text is visible and the backgorund appears to be positioned in front of the text. I have reinstalled Flash with the latest components. I have recreated the movie from scratch and all is fine at first and then the bug seems to rear its ugly head. I have searched extensivly to find out about this problem and it seems that it shoudl have been fixed in 7.2 and again in 8. I have also tried solutions related toi masks (I have no masks in my movie) and embedded fonts (this makes to differance). Teh only workaround I can find is a cheat which appears to work. ' myText.depthChild0._alpha=0;' But I would prefer to try to understand this problem and if I am going wrong. Has anyone experienced simlar problems? Am I missing something? -- Gavin Lilley Technical Consultant CrISPUK.NET Limited t. +44 (0) 1905 779112 f. +44 (0) 1905 797666 e. [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders