RE: [Flashcoders] Flash IE OCX error
I get the same thing from time to time, but it is very random and I have not been able to narrow it down. It is a rather rare occurrence for me, so I have just been living with it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arindam Dhar Sent: Wednesday, January 24, 2007 4:37 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flash IE OCX error yes, i did reinstall numerous times, not helping :-( Geoff Stearns [EMAIL PROTECTED] wrote: have you tried uninstalling the plugin (using the adobe uninstaller) and then reinstalling it? On Jan 22, 2007, at 3:36 AM, Arindam Dhar wrote: hi, I have encountered flash ocx error many times which just appears without any hint after which I have no other option but to close the relevent browser. This is what exactly i get in the error popup, Internet explorer encountered a problem with addon and needs to close. The following add-on running when this problem occured file : Flash9.ocx company : adobe systems incorporated Description : Adobe flash player 9 Has anyone faced this or has any explanation and solution? thanks, Arindam - Real people. Real questions. Real answers. Share what you know. ___ 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 ___ 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 - Yahoo! Movies - Search movie info and celeb profiles and photos. ___ 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 ___ 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 Problems
Does it make a difference if you preface the domain with www? www.carolinaradiology.com vs carolinaradiology.com You could run into problems that way if you are using a crossdomain.xml file I believe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Thompson Sent: Wednesday, December 06, 2006 4:50 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Remoting Problems Has anyone had problems with remoting working on some machines but not others? I had friends pull up the site (http://carolinaradiology.com) in different cities and it worked on some but not others. The site worked fine during testing but when I pointed the DNS I started having problems. I had to change the path to the remoting gateway and to my cfc¹s but I¹ve triple checked my changes. And again, it¹s works on some machines but not others. The site loads a bunch of movies so I¹ll just include the code and path to one of Œem. Http://carolinaradiology.com/doctorsText.swf stop(); import mx.remoting.*; import mx.remoting.debug.NetDebug; NetDebug.initialize(); if (initialized == null) { var initialized = true; NetServices.setDefaultGatewayUrl(http://carolinaradiology.com/flashservices /gateway); var gw = NetServices.createGatewayConnection(); var doctors = gw.getService(getDocs, this); trace (connected); } function getTheText_Result(result) { //trace (result.getItemAt(0).thetext); //trace (result.getLength()); _root.mainText.text = result.getItemAt(0).thetext; this.onStatus = function(error) { trace(Error : + error.description); status.text = Error : + error.description; } } function getFopDetails_Result(result) { var practice_title:String = result.getItemAt(0).emptitle; var practice_description:String = result.getItemAt(0).empdesc; _root.docCard.docName.text = result.getItemAt(0).emptitle; _root.docCard.contentMain.docDetailTxt.htmlText = practice_description; trace (practice_description); } function getDocDetails_Result(result) { var doctor:String = result.getItemAt(0).doctorsname; var Medical:String = result.getItemAt(0).Medical; var Residency:String = result.getItemAt(0).Residency; var Fellowship:String = result.getItemAt(0).Fellowship; var BoardCert:String = result.getItemAt(0).BoardCertification; var Extra1:String = result.getItemAt(0).Extra1; var Extra2:String = result.getItemAt(0).Extra2; var Extra3:String = result.getItemAt(0).Extra3; var Extra1title:String = result.getItemAt(0).Extra1title; var Extra2title:String = result.getItemAt(0).Extra2title; var Extra3title:String = result.getItemAt(0).Extra3title; if (docCard._visible == false){ docCard._visible = true; } //Set Doctor's Name text _root.docCard.docName.text = result.getItemAt(0).doctorsname; //Set Doctor Details if (Medical != ) { Medical = font color='#142F60' weight='bold'Medical: /font + Medical + br; } if (Residency != ) { Residency = font color='#142F60' weight='bold'Residency: /font + Residency + br; } if (Fellowship != ) { Fellowship = font color='#142F60' weight='bold'Fellowship: /font + Fellowship + br; } if (BoardCert != ) { BoardCert = font color='#142F60' weight='bold'Board Certifications: /font + BoardCert + br } if (Extra1 != ) { Extra1 = font color='#142F60' weight='bold' + Extra1title + /font + font color='#142F60' weight='bold': /font + Extra1 + br; } if (Extra2 != ) { Extra2 = Extra2title + : + Extra2 + br; } if (Extra3 != ) { Extra3 = Extra3title + : + Extra3 + br; } var docDetails:String = Medical + Residency + Fellowship + BoardCert + Extra1 + Extra2 + Extra3; _root.docCard.contentMain.docDetailTxt.htmlText = docDetails; //trace (docDetails); //trace (result.getItemAt(0).Residency); //trace (result.length); } var docTreeListener:Object = new Object(); docTreeListener.change = function(evt:Object) { var node = docTreeMC.docTree.selectedItem; ///trace(selected node is: +evt.target.selectedNode); fopID = node.attributes.fopID; docID = node.attributes.docID; doctors.getDocDetails(docID); if (fopID != undefined) { docCard._visible = true; doctors.getFopDetails(fopID); trace(fopID); } /*if (docID == undefined) { docCard._visible = false; } else { docCard._visible = true; }*/ } docTreeMC.docTree.addEventListener(change, docTreeListener); //doctors.getDocDetails(54); docCard._visible = false; _root.doctors.getTheText(12); ___ 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
RE: [Flashcoders] Remoting Problems
Didn't scroll down and see that you had sample code... I'd bet money that it is because you don't have www in your gatway URL. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Thompson Sent: Wednesday, December 06, 2006 4:50 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Remoting Problems Has anyone had problems with remoting working on some machines but not others? I had friends pull up the site (http://carolinaradiology.com) in different cities and it worked on some but not others. The site worked fine during testing but when I pointed the DNS I started having problems. I had to change the path to the remoting gateway and to my cfc¹s but I¹ve triple checked my changes. And again, it¹s works on some machines but not others. The site loads a bunch of movies so I¹ll just include the code and path to one of Œem. Http://carolinaradiology.com/doctorsText.swf stop(); import mx.remoting.*; import mx.remoting.debug.NetDebug; NetDebug.initialize(); if (initialized == null) { var initialized = true; NetServices.setDefaultGatewayUrl(http://carolinaradiology.com/flashservices /gateway); var gw = NetServices.createGatewayConnection(); var doctors = gw.getService(getDocs, this); trace (connected); } function getTheText_Result(result) { //trace (result.getItemAt(0).thetext); //trace (result.getLength()); _root.mainText.text = result.getItemAt(0).thetext; this.onStatus = function(error) { trace(Error : + error.description); status.text = Error : + error.description; } } function getFopDetails_Result(result) { var practice_title:String = result.getItemAt(0).emptitle; var practice_description:String = result.getItemAt(0).empdesc; _root.docCard.docName.text = result.getItemAt(0).emptitle; _root.docCard.contentMain.docDetailTxt.htmlText = practice_description; trace (practice_description); } function getDocDetails_Result(result) { var doctor:String = result.getItemAt(0).doctorsname; var Medical:String = result.getItemAt(0).Medical; var Residency:String = result.getItemAt(0).Residency; var Fellowship:String = result.getItemAt(0).Fellowship; var BoardCert:String = result.getItemAt(0).BoardCertification; var Extra1:String = result.getItemAt(0).Extra1; var Extra2:String = result.getItemAt(0).Extra2; var Extra3:String = result.getItemAt(0).Extra3; var Extra1title:String = result.getItemAt(0).Extra1title; var Extra2title:String = result.getItemAt(0).Extra2title; var Extra3title:String = result.getItemAt(0).Extra3title; if (docCard._visible == false){ docCard._visible = true; } //Set Doctor's Name text _root.docCard.docName.text = result.getItemAt(0).doctorsname; //Set Doctor Details if (Medical != ) { Medical = font color='#142F60' weight='bold'Medical: /font + Medical + br; } if (Residency != ) { Residency = font color='#142F60' weight='bold'Residency: /font + Residency + br; } if (Fellowship != ) { Fellowship = font color='#142F60' weight='bold'Fellowship: /font + Fellowship + br; } if (BoardCert != ) { BoardCert = font color='#142F60' weight='bold'Board Certifications: /font + BoardCert + br } if (Extra1 != ) { Extra1 = font color='#142F60' weight='bold' + Extra1title + /font + font color='#142F60' weight='bold': /font + Extra1 + br; } if (Extra2 != ) { Extra2 = Extra2title + : + Extra2 + br; } if (Extra3 != ) { Extra3 = Extra3title + : + Extra3 + br; } var docDetails:String = Medical + Residency + Fellowship + BoardCert + Extra1 + Extra2 + Extra3; _root.docCard.contentMain.docDetailTxt.htmlText = docDetails; //trace (docDetails); //trace (result.getItemAt(0).Residency); //trace (result.length); } var docTreeListener:Object = new Object(); docTreeListener.change = function(evt:Object) { var node = docTreeMC.docTree.selectedItem; ///trace(selected node is: +evt.target.selectedNode); fopID = node.attributes.fopID; docID = node.attributes.docID; doctors.getDocDetails(docID); if (fopID != undefined) { docCard._visible = true; doctors.getFopDetails(fopID); trace(fopID); } /*if (docID == undefined) { docCard._visible = false; } else { docCard._visible = true; }*/ } docTreeMC.docTree.addEventListener(change, docTreeListener); //doctors.getDocDetails(54); docCard._visible = false; _root.doctors.getTheText(12); ___ 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
RE: [Flashcoders] Remoting Connection fault?
You don't get a fault if the connection fails. You would only get a fault if you make a call and the call itself fails for some reason. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Diversity Sent: Monday, November 06, 2006 12:05 PM To: Flash Coders Subject: [Flashcoders] Remoting Connection fault? Why can I not receive a connection fault? According to the docs I should be able to receive a fault import mx.remoting.*; import mx.rpc.*; import mx.remoting.debug.NetDebug; NetDebug.initialize(); // incorrect path on purpose to cause a fault serv = new Service(http://localhost/amfphp/gateway.phpd;, null,IstRemote,null,new RelayResponder(this, success_Result, result_Fault)); var pc:PendingCall = serv.getData(Id); pc.responder = new RelayResponder(this, Data_Result, Data_Fault); function success_Result(){ trace(connected); } function result_Fault(fault){ trace(fault.fault.faultcode); trace(fault.fault.faultstring); trace(fault.fault.description); trace(fault.fault.detail); trace(fault.fault.type); trace(---); } I dont get a success or fault on connect and do not get a fault on the pc either. When the gateway path is correct everything works but as we all know things may not work all the time. ___ 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 ___ 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 Connection fault?
Don't think so. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Diversity Sent: Monday, November 06, 2006 2:09 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Remoting Connection fault? Would I get a fault if my connection didn't connect and a call was made? var pc:PendingCall = serv.getData(Id); pc.responder = new RelayResponder(this, Data_Result, Data_Fault); Robert Chyko wrote: You don't get a fault if the connection fails. You would only get a fault if you make a call and the call itself fails for some reason. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Diversity Sent: Monday, November 06, 2006 12:05 PM To: Flash Coders Subject: [Flashcoders] Remoting Connection fault? Why can I not receive a connection fault? According to the docs I should be able to receive a fault import mx.remoting.*; import mx.rpc.*; import mx.remoting.debug.NetDebug; NetDebug.initialize(); // incorrect path on purpose to cause a fault serv = new Service(http://localhost/amfphp/gateway.phpd;, null,IstRemote,null,new RelayResponder(this, success_Result, result_Fault)); var pc:PendingCall = serv.getData(Id); pc.responder = new RelayResponder(this, Data_Result, Data_Fault); function success_Result(){ trace(connected); } function result_Fault(fault){ trace(fault.fault.faultcode); trace(fault.fault.faultstring); trace(fault.fault.description); trace(fault.fault.detail); trace(fault.fault.type); trace(---); } I dont get a success or fault on connect and do not get a fault on the pc either. When the gateway path is correct everything works but as we all know things may not work all the time. ___ 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 ___ 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 ___ 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 ___ 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] TextArea and TextInput differences in creation, why?
Gotta have the components in the library -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Matthews Sent: Tuesday, September 12, 2006 11:24 AM To: Flashcoders mailing list Subject: [Flashcoders] TextArea and TextInput differences in creation, why? Hi, If I use this code below without having a TextArea TextInput component in my library the TextArea component creation fails. import mx.controls.TextArea; import mx.controls.TextInput; clip.createClassObject( TextInput, newname, depth ); clip.createClassObject( TextArea, newname2, depth2 ); However if I put a TextArea component into the library everything works fine. Surely they should work consistently? The ideal for me would be to just import the Classes for both of these in my Class and that's it. Please let me know if I am being stupid. Cheers =D. Steve ___ 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 ___ 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
[Flashcoders] Remove DataGrid sort icon?
Anyone know how to remove the sort icon from the header in a DataGrid? I am basically assigning a new dataprovider for the grid, but if it was sorted the up or down sorting icon remains. I've tried removingAllColumns(), etc, but have had no luck. Haven't tried reassigning the skin, but I was hoping to not have to go that far. Thanks, Bob Chyko ___ 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] getting my info into flash
And maybe change your name to something else... Sorry Flash Guru, but I laughed when I read that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alias Sent: Tuesday, August 22, 2006 1:52 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] getting my info into flash Hi Flash Guru, Try looking up amfphp/flash remoting. You could check out www.flashguru.co.uk for some tutorials on that type of thing. And maybe change your name to something else... Cheers, Alias On 8/22/06, Flash guru [EMAIL PROTECTED] wrote: Hey all, I have a project a that calls for a database to spit out results to a query and display it in flash. I'm using php and I've gotten to the point where I have the information I need but I don't know how to get full arrays back into flash. I've been searching for tutorials with no luck, can anyone point me in the right direction. thanks. ___ 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 ___ 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 ___ 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] RE: weather web service
Guess actually sending the link might help http://www.nws.noaa.gov/forecasts/xml/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Chyko Sent: Monday, August 21, 2006 10:05 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] RE: weather web service Haven't used it, but I remembered seeing this before. I'm assuming it is US only though... So may not be of any help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Monday, August 21, 2006 2:27 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] RE: weather web service Yes there definitely must be more. Even the yahoo weather widget shows the forecast for the next four days. So it must be using a different feed too (the yahoo feed just gives you the forecast for the next day). Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Monday, 21 August 2006 3:59 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] RE: weather web service I'm sure there are more. In firefox I use the accuweather extension that must be pulling its data from a feed also. What about those weather widgets on MAC, they'd be using another feed I guess. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Monday, 21 August 2006 3:27 PM To: Flashcoders mailing list Subject: [Flashcoders] RE: weather web service Thanks Bjorn, This one seems to be a bit better than the Yahoo feed. What I like about the yahoo feed though is that it returns you a weather code for each weather condition (e.g. 29 for cloudy). This is really handy if you want visualize the current weather condition. Well I guess you can't have it all... Cheers Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Monday, 21 August 2006 2:53 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] htacess and loaded SWFs Hey Robin, Try http://www.webservicex.net/WS/WSDetails.aspx?CATID=12WSID=56 I used ServiceCapture on Eric Dolecki's blog www.ericd.net and found it in the traffic logs Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Monday, 21 August 2006 2:37 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] htacess and loaded SWFs Hi there, Does anybody know if there is free weather forecast web-service? I went to the yahoo website but all I could find is an RSS feed, which seems to be a bit buggy. Plus it only gives you the forecast the next day. Thanks Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Haikal Saadh Sent: Monday, 21 August 2006 1:51 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] htacess and loaded SWFs This would be why: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=b06f1712 Currently the SWF format does not include HTTP referrer information when sending http requests. Macromedia is aware of this issue and is considering possible future solutions. Jay Bibby wrote: Hi folks, I've spent all evening trying to find an answer to this question, and I've just recently subscribed to this list, so I apologize in advance if this has already been covered. I have set up a directory to serve up SWFs from with an htaccess file that prevents direct access to the SWFs or from domains other than my own. This is working fine... when an HTML or PHP file on my domain is the file that is loading the SWF. However, when the same HTML or PHP file loads a SWF that then tries to load another SWF from the same directory, htaccess prevents it. I am using a MovieClipLoader to load the external SWF. How is loading a SWF from within a SWF different to Apache than loading the same SWF from an HTML or PHP file? I'm pulling my hair out here. Thanks in advance. Jay ___ 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 -- Haikal Saadh Applications Programmer ICT Resources, TALSS QUT Kelvin Grove ___ 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 ___ Flashcoders
RE: [Flashcoders] RE: weather web service
Haven't used it, but I remembered seeing this before. I'm assuming it is US only though... So may not be of any help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Monday, August 21, 2006 2:27 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] RE: weather web service Yes there definitely must be more. Even the yahoo weather widget shows the forecast for the next four days. So it must be using a different feed too (the yahoo feed just gives you the forecast for the next day). Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Monday, 21 August 2006 3:59 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] RE: weather web service I'm sure there are more. In firefox I use the accuweather extension that must be pulling its data from a feed also. What about those weather widgets on MAC, they'd be using another feed I guess. Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Monday, 21 August 2006 3:27 PM To: Flashcoders mailing list Subject: [Flashcoders] RE: weather web service Thanks Bjorn, This one seems to be a bit better than the Yahoo feed. What I like about the yahoo feed though is that it returns you a weather code for each weather condition (e.g. 29 for cloudy). This is really handy if you want visualize the current weather condition. Well I guess you can't have it all... Cheers Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Monday, 21 August 2006 2:53 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] htacess and loaded SWFs Hey Robin, Try http://www.webservicex.net/WS/WSDetails.aspx?CATID=12WSID=56 I used ServiceCapture on Eric Dolecki's blog www.ericd.net and found it in the traffic logs Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Monday, 21 August 2006 2:37 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] htacess and loaded SWFs Hi there, Does anybody know if there is free weather forecast web-service? I went to the yahoo website but all I could find is an RSS feed, which seems to be a bit buggy. Plus it only gives you the forecast the next day. Thanks Robin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Haikal Saadh Sent: Monday, 21 August 2006 1:51 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] htacess and loaded SWFs This would be why: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=b06f1712 Currently the SWF format does not include HTTP referrer information when sending http requests. Macromedia is aware of this issue and is considering possible future solutions. Jay Bibby wrote: Hi folks, I've spent all evening trying to find an answer to this question, and I've just recently subscribed to this list, so I apologize in advance if this has already been covered. I have set up a directory to serve up SWFs from with an htaccess file that prevents direct access to the SWFs or from domains other than my own. This is working fine... when an HTML or PHP file on my domain is the file that is loading the SWF. However, when the same HTML or PHP file loads a SWF that then tries to load another SWF from the same directory, htaccess prevents it. I am using a MovieClipLoader to load the external SWF. How is loading a SWF from within a SWF different to Apache than loading the same SWF from an HTML or PHP file? I'm pulling my hair out here. Thanks in advance. Jay ___ 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 -- Haikal Saadh Applications Programmer ICT Resources, TALSS QUT Kelvin Grove ___ 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 ___ 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 ___
[Flashcoders] ComboBox drop up
Any reasons why my ComboBox won't drop upwards even though I am running out of room? It is just getting cut off at the bottom of the movie. Hoping this is something stupid that I'm overlooking, but I'm kinda stuck so any ideas would be appreciated. Thanks, Bob Chyko ___ 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
[Flashcoders] Can ComboBox open upwards?
Anyone know if there is any easy way to make a ComboBox drop upwards (other than modifying the ComboBox class itself)? Thanks, Bob ___ 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] Flash 9 player is public?Whereto getFlash 8 codebase?
Yes, I had a similar experience, but with IE. It said it was installing 9, but when it finished it said I still had 8. So I uninstalled my flash players from both IE and FF, but then it wouldn't install in IE at all. I ended up going to weather.com at which point IE gave an ActiveX warning and asked if I wanted to install Flash Player 9 - I said yes, and then everything worked fine and I now have 9. I eventually realized that when I was installing 9 it said to close all other browsers.. Which I didn't, so I'm thinking that may have messed something up? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of neo binedell Sent: Wednesday, June 28, 2006 2:43 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Flash 9 player is public?Whereto getFlash 8 codebase? Yup I went through something similar (in FireFox, IE worked fine). Downloaded installer, closed FF, ran installer, says everythings ok. Load up FF, go to flashplayer/about and says You have fp 8.0.24 (cant remember exact version). Ran installer three times, still the same. Then installed Flash 9 IDE alpha preview and suddenly it was fine. Quite funny as my Mac was connected over the same connection as the PC and both had browsers open to same address and I got a Mac download page on the PC ;p ~neo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 28 June 2006 08:43 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Flash 9 player is public? Whereto getFlash 8 codebase? I updated about 6 hours ago so I'm sure it wasn't that. ~neo Well, good, :) then maybe you can explain why with IE when upgrading from Flash player 7, I clicked the download Flash 9 link, it installed Flash 8 and said I had Flash 7. Then when I did it again with Flash 8, it updated to Flash 9 successfully and THEN said I had Flash 8 installed. So then curious, with Flash 9 installed, I went in and clicked install once more for kicks, and only THEN it said I had Flash 9 installed... not going crazy, that really happened. :) Something screwy with the player detection? Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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 ___ 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 ___ 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] Junior Developer Flash/Flex Salary?
All depends on location -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tristan Sent: Tuesday, June 20, 2006 11:47 AM To: Flashcoders mailing list Subject: [Flashcoders] Junior Developer Flash/Flex Salary? Does 30-55K a year sound right with benefits for a junior developer? I have a college degree and an extensive IT background but, I'm just now getting into a professional job environment developing but, I have been using flash for some time now. 30K sounds wa too low, would you agree? If someone had 2-3 years experience, what should a flash/flex developer get? What should they start at? Thanks T ___ 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 ___ 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] Flash SWF Loading fine, but Remoting hangs...
Does ColdFusion have all available patches installed? There was a bug with the first Remoting call in CF7 which was fixed by the first updater. That is the first thing that comes to mind. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Friday, June 09, 2006 11:57 AM To: Flashcoders mailing list Subject: [Flashcoders] Flash SWF Loading fine, but Remoting hangs... Hello All, I have a very intense problem, that must be addressed ASAP - our users are getting really angry :( We have a typical AS 2.0 Flash Application to view maps - and we are using Remoting w/ColdFusion in order to send our data back and forth. For only like 5% of the users, the application starts and loads completely with all it's related controls. BUT when the time comes for the initial Remoting call to the server (which populates all the dropdowns, etc.) it just hangs indefinitely - and we just can't figure out what is going on. The other 95% of the user base is working perfect! We have had comments regarding security settings, etc. so I know some users may have problems there, and some have Corporate Firewall problems - but that type of issue has to be addressed with the Admin person. We are using the JavaScript document.write method to write out the Flash Object tags - in order to circumvent the Click to Activate this control problem. What issues are we not seeing, or taking into consideration, which would affect this 5% of the user base? Also, a quick note, we are running ColdFusion on Port 80 - so there are no other port issues that I am aware of (in case some users were blocking port 8500). I was confident that if we ran everything on Port 80, that this app would be friendly to all Firewalls. Thanks in advance, for any advice you can throw my way. Mike ___ 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 ___ 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] Littleloud: Flash Developer Position
I think it was the tone... That's online communication for ya. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Weekes Sent: Friday, June 09, 2006 2:54 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Littleloud: Flash Developer Position I dont see the problem with them keeping the job email short, and saying get more info from our website? Ettwein, Josh wrote: Heh.. That's exactly what I was just thinking. Wow...where do I sign up? :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 09, 2006 9:28 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Littleloud: Flash Developer Position but you really shouldn't have had any problem finding that out by looking at our website. And these are the nice people you want to work for. :) Jason Merrill Bank of America Learning Technology Solutions ___ 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 ___ 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 ___ 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] XML Parsing
I believe it used to be, but anymore the difference is negligible. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ash Warren Sent: Monday, June 05, 2006 10:56 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] XML Parsing I have heard also (have not tested myself) that parsing attributes is much quicker as well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler Sent: Monday, June 05, 2006 9:07 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] XML Parsing If it was up to me, I would redo the XML to be a bit more concise and more standard. layers layer name=LayerOne assets asset width=20 height=10 xPos=50 yPos=30 name=somename0.bmp / asset width=20 height=10 xPos=50 yPos=30 name=somename1.bmp/ /assets /layer layer name=LayerTwo assets asset width=20 height=10 xPos=50 yPos=30 name=somename2.bmp / /assets /layer /layers This will parse better. It is probably easier to create. You can parse this into a Layers Object which is a collection (array) of Layer objects. The Layer Object has a name (LayerOne) and a list of Asset Objects as propertie.s The Asset Object has properties which correspond to the XML attributes(width, height, etc.). The total layers is redundant since it is only the length of the Layers Object array of Layers. function getLayerCount(){return layersList.length;} If you are stuck with your existing XMl, you can still use the same object structure once you have parsed it but will have a more complicated parse since you have these LayerOne, LayerTwo trees which will have to be recognized in your parse. With XPath, this will be a PITA. If you write your own parse, you can probably make some assumptions about the tree structure which will avoid having to write a lot of code to deal with LayerOne, etc. By dynamic, we mean that you just store the whole XML string and parse it each time you want some information. If you can not fix your XML structure, dynamic parsing will likely be too expensive and you should parse the XML once into an object hierarchy and work with the objects. Ron Sajid Saiyed wrote: Hi, I have an XML like this: root totalLayers number5/number /totalLayers LayerOne asset namesomename0.bmp/name width20/width height10/height xPos50/xPos yPos30/yPos /asset asset namesomename1.bmp/name width20/width height10/height xPos50/xPos yPos30/yPos /asset /LayerOne Layertwo asset namesomename2.bmp/name width20/width height10/height xPos50/xPos yPos30/yPos /asset /LayerTwo /root I want to use XPATH or something similar to create dynamic arrays/string and store values respectivele like this: String: totalLayers = 5; LayerOne and LayerTwo will be a multidimentional array LayerOne[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xp os,y pos]]...] LayerTwo[[asset[name,width,height,xpos,ypos]][asset[name,width,height,xp os,y pos]]...] etc... Any hint or suggestion...? ___ 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 ___ 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 ___ 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 ___ 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] \r
Actually, \r is return I believe, \n is newline... But like you said... moot point. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derek Vadneau Sent: Monday, May 15, 2006 3:12 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] \r I don't mean to argue a moot point, but, newline is \r. I understood that the XML contains \ and r as text, which when displayed in his textfield showed \r, the text itself, instead of a newline. If you split out \\r and replace it with \r (or newline) it would replace the text \r with a real newline. Sorry for the confusion. Derek Vadneau - Original Message - From: Steven Sacks [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Monday, May 15, 2006 3:07 PM Subject: RE: [Flashcoders] \r I tested it before I posted it. The split works with just \r and the point is that he was having an issue with \r not resolving in his textfield as a newline so replacing it with a \r might not fix it but newline might. -Steven ___ 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 ___ 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] \r
Interesting -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derek Vadneau Sent: Monday, May 15, 2006 3:34 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] \r I think this was brought up here before, but: trace(newline == '\r'); // true trace(newline == '\n'); // false trace(newline === '\r'); // false trace(newline === '\n'); // true The bugger is using \n or newline in a string and setting the text of a textfield to that string converts \n to \r when you read the text again. It's why I never use \n or newline. Derek Vadneau - Original Message - From: Robert Chyko [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, May 15, 2006 3:16 PM Subject: RE: [Flashcoders] \r Actually, \r is return I believe, \n is newline... But like you said... moot point. ___ 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 ___ 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] Q:Flash 8 and memory leaks
There is a memory leak concerning BitMapData in Flash 8. Didn't try your app, but the word snapshot makes me think you might be using this. Although I don't think it was a big enough leak to crash the browswer immediately. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson Sent: Wednesday, May 03, 2006 10:40 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Q:Flash 8 and memory leaks My first guess is that it's a coding issue. I ran the movie a few times, and I didn't have any trouble till I clicked the shapshot button. Every time I clicked that button, Firefox crashed immediately. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 10:28 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Q:Flash 8 and memory leaks Hi I built a quick demo recently thats crashing my Firefox browser...:) www.bitstream.ca/flash8/ Is anyone aware of any memory leak issues as they pertain to flash 8? Is this a coding issue or simply a player/plugin issue? Any help appreciated! Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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 ___ 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 ___ 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] Drag DataGrid columns?
Yes, the Enhanced DataGrid handles draggable columns -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Webster Sent: Friday, March 24, 2006 11:10 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Drag DataGrid columns? Keith, I was just asked if it was possible to allow the user to switch DataGrid columns dynamically, like you can in Outlook or Access. I remember that the Java version of the ColdFusion Grid used to do this, but I've haven't used Flash DataGrid yet. IIRC there was a Developer Resource Kit that included an updated DataGrid component with drag-able columns. Of course, whether or not you can still get hold of it is another matter. Cheers, Steve -- Steve Webster Head of Development Featurecreep Ltd. http://www.featurecreep.com 14 Orchard Street, Bristol, BS1 5EH 0117 905 5047 ___ 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 ___ 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] System.Locale
Thanks Ian. This is pretty much what I need except actual Locale would be better (only because it doesn't differential en-us from en-uk). But apparently that is what they did away with in Flash Player 7, according to the docs: In Flash Player 6 on the Microsoft Windows platform, System.capabilities.language returns the User Locale, which controls settings for formatting dates, times, currency and large numbers. In Flash Player 7 on the Microsoft Windows platform, this property now returns the UI Language, which refers to the language used for all menus, dialog boxes, error messages and help files. Looks like I am 2 versions too late. I wonder why they got rid of the Locale? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Friday, March 24, 2006 12:54 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] System.Locale What you want is System.capabilities.language: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/w whelp.htm?context=LiveDocs_Partsfile=2061.html Sorry for the long URL - that's livedocs for you! HTH, Ian On 3/24/06, Robert Chyko [EMAIL PROTECTED] wrote: Regarding Internationalization - does the Flash Player have access to the language code or is it something that needs to be passed in to your movie? Bob ___ 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 ___ 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 ___ 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] System.Locale
Thank you for the information Fracis - I have submitted a Feature Request. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francis Cheng Sent: Friday, March 24, 2006 4:01 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] System.Locale We changed it as of Flash Player 7 because the locale isn't really a language setting, it only deals with formatting of dates, times, etc., so it was misleading to call it System.capabilities.language. Moreover, there was no way in Flash Player 6 to get information about the actual localized OS version. We thought it would be far more useful to get information about the actual language of the localized version of the OS, as opposed to the setting for dates, times, etc. == Flash Player 6 System.capabilities.language == Windows User Locale This is an excerpt from the Windows documentation for User Locale (http://www.microsoft.com/globaldev/reference/localetable.mspx): The user locale determines, which default settings a user wants to use for formatting dates, times, currency, and large numbers. Although it's presented as a language (some in a combination with a country), it's not a language setting. == Flash Player 7+ System.capabilities.language == Windows UI Language Another excerpt from the Windows docs: The system language is the language of the localized version that was used to setup Windows 2000. All menus, dialog, error messages, and help files are in this language, except on Windows 2000 Multilanguage Version, where the user can select a different language. If you would like a new System.capabilities.locale property added that gives you the user locale, I encourage you to file an enhancement request on our web page. We do actually tally the responses we get from those. http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform HTH, Francis -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Robert Chyko Sent: Friday, March 24, 2006 10:05 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] System.Locale Thanks Ian. This is pretty much what I need except actual Locale would be better (only because it doesn't differential en-us from en-uk). But apparently that is what they did away with in Flash Player 7, according to the docs: In Flash Player 6 on the Microsoft Windows platform, System.capabilities.language returns the User Locale, which controls settings for formatting dates, times, currency and large numbers. In Flash Player 7 on the Microsoft Windows platform, this property now returns the UI Language, which refers to the language used for all menus, dialog boxes, error messages and help files. Looks like I am 2 versions too late. I wonder why they got rid of the Locale? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Friday, March 24, 2006 12:54 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] System.Locale What you want is System.capabilities.language: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/w whelp.htm?context=LiveDocs_Partsfile=2061.html Sorry for the long URL - that's livedocs for you! HTH, Ian On 3/24/06, Robert Chyko [EMAIL PROTECTED] wrote: Regarding Internationalization - does the Flash Player have access to the language code or is it something that needs to be passed in to your movie? Bob ___ 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 ___ 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 ___ 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 ___ 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 ___ Flashcoders@chattyfig.figleaf.com To change your
RE: [Flashcoders] How soon do Flashvars become available ?
You can use them right away. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manuel Saint-Victor Sent: Wednesday, March 22, 2006 9:49 AM To: Flashcoders mailing list Subject: [Flashcoders] How soon do Flashvars become available ? When FlashVars are passed into a swf- how soon after the swf starts playing are they available? I am wondering if I can immediately grab my Flashvars and use them as init params or if there is the posibility of a delay? Mani ___ 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 ___ 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
[Flashcoders] I18N language code
New to I18N in Flash... My question is: Does the Flash Player have access to the language code or is it something that needs to be passed in? Just began looking at the Locale object and didn't see anyway of getting the language code, so I'm assuming it has to be passed into the swf. Also, if anyone has any good resources for Internationalization in Flash, please post - I would appreciate it. Thanks Bob Chyko Software Application Developer ___ 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] oop[s?]
Your: class rect { needs to be: class com.drawing.rect { And Either move: private var ref:Object = target_mc; To outside the drawRectangle() function or drop the word private from the declaration. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of murder design Sent: Friday, March 10, 2006 11:46 AM To: Flashcoders mailing list Subject: [Flashcoders] oop[s?] coming from a C/ASM background, and today is my first day trying to convert all of the hundreds upon hundreds of lines of code i use daily to a component/classes. i want to organize it, so i have my main file in the root directory (mysite.com) importing with: // begin code import com.drawing.rect; // end code my folder is setup as such... main directory (com), empty. several subfolders. inside the main folder is a folder named drawing. inside drawing is rect.as. here are the contents of rect.as: // begin code class rect { // - public var radius1:Number; public var radius2:Number; public var radius3:Number; public var radius4:Number; public var rWidth:Number; public var rHeight:Number; public var rColor:Number; public var rAlpha:Number; public function drawRectangle(target_mc:MovieClip) { private var ref:Object = target_mc; with(ref) { beginFill(rColor, rAlpha); moveTo(rRadius1, 0); lineTo(rWidth, 0); lineTo(rWidth, rHeight - rRadius2); curveTo(rWidth, rHeight, rWidth - rRadius2, rHeight); lineTo(rRadius3, rHeight); curveTo(0, rHeight, 0, rHeight - rRadius3); lineTo(0, rRadius4); curveTo(0, 0, oRadius4, 0); endFill(); } } } // end code error msg: **Error** G:\mysite.com\com\drawing\rect.as: Line 7: The class being compiled, 'rect', does not match the class that was imported, ' com.drawing.rect'. class rect { **Error** G:\mysite.com\com\drawing\rect.as: Line 18: Attribute used outside class. private var ref:Object = target_mc; Total ActionScript Errors: 2 Reported Errors: 2 what does this mean? ... -edward ___ 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 ___ 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] datagrid icon to delete a row.
If a DG row is highlighted it is just yourDg.selectedIndex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Guerra Sent: Friday, March 10, 2006 3:19 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] datagrid icon to delete a row. thanks spike, clint for the help. the dataProvider removeItemAt method works like a charm. i added the code below to get the grid row, but it's not working: var myListener = new Object(); myListener.cellFocusIn = function(eventObject) { var cell = eventObject.itemIndex ; trace(The cell row is + cell + has gained focus); }; myGrid.addEventListener(cellFocusIn, myListener); but it ONLY works if i have the property dg.editable set to true, and this property can't be true at this time. how can i get the dg row? regards, rodrigo - Original Message - From: Spike [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, March 10, 2006 4:01 PM Subject: Re: [Flashcoders] datagrid icon to delete a row. Not sure if this applies to the datagrid component in Flash, but to to this in Flex 1.5 you would do: myDataGrid.dataProvider.removeItemAt(someIndex); Spike On 3/10/06, Rodrigo Guerra [EMAIL PROTECTED] wrote: my grid dataprovider is a xml (created in flash). the only way i can think to refresh the datagrid is associate it (again) to the xml source (updated). like delete the node then myDG.dataProvider = myXml (updated) is this correct? - Original Message - From: Clint Tredway [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, March 10, 2006 2:19 PM Subject: RE: [Flashcoders] datagrid icon to delete a row. Basically what you will need to do is get the id of that row and remove it from the data populating the grid and then refresh the grid. (If I remember correctly) ;) HTH -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Guerra Sent: Friday, March 10, 2006 11:07 AM To: Flashcoders mailing list Subject: [Flashcoders] datagrid icon to delete a row. hi all, i'm using this example from phil, http://philflash.inway.fr/dgrenderer/dgiconrd.html to put a image inside a datagrid colum. (any other you can share would be appreciated) what i want is click in the image and delete the row. i thought the datagrid class would provide a easy method like removeRow(index).. but there isn't. what's the code to delete a row in the datagrid. thanks! ___ 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 ___ 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 -- Stephen Milligan Do you do the Badger? http://www.yellowbadger.com Do you cfeclipse? http://www.cfeclipse.org ___ 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 ___ 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 ___ 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] detect events on an embedded clip
http://www.senocular.com/flash/tutorials/buttoncapturing/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of elr Sent: Friday, March 03, 2006 4:08 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] detect events on an embedded clip Thx John, But if parent clips handlers always preempts child's one, I don't understand how can bubbling dispatching be implemented. I maybe missed something but I understood that bubbling mechanism was starting from subs subs...subs..clips and move up the parental chain... In my case of course I'd like my sub-clip to catch event and then dispatch it to all its parents..(my small sample is 2 level deep but my app is in fact deeper...) Any idea ? Eric At 2006-03-03 15:25, you wrote: since you have an onRelease in the main MovieClip no events will get called from the subclips. also shouldnt the following line of code be reffering to the 'A_mc' instance and not the myA instance. var myA:A=new A(); myA.init(); should be: var A_mc:A=new A(); A_mc.init(); From: elr [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] detect events on an embedded clip Date: Fri, 03 Mar 2006 15:15:44 -0500 Seems basic, but I can't find a way to easily catch events from a mc subclip which is in a a style='text-decoration: none; border-bottom: 3px double;' href=http://www.serverlogic3.com/lm/rtl3.asp?si=5k=movie%20clip; onmouseover=window.status='movie clip'; return true; onmouseout=window.status=''; return true;movie clip/a subclass (called A) I tried the following approach but wherever I click on A clip, only A.onRelease reacts..even when it's over clip mc...:-( Thank's for your help. Eric import mx.utils.Delegate; class A extends MovieClip{ var clip_mc:MovieClip; //...required to give access to embedded clip ... function init(){ ... clip_mc.onRelease=Delegate.create(this,clickOnMc); } function clickOnMc(){ //should catch click on sub clip trace(clickOnMc this=+targetPath(this) + clicked...); } function onRelease(){ //manage clicks on main clip trace(onRelease this=+targetPath(this) + clicked...); } } on frame 1: var myA:A=new A(); myA.init(); on Stage: A_mc(A symbol linked to A class) containing clip_mc (clip instance) ___ 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 _ Powerful Parental Controls Let your child discover the best the Internet has to offer. http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034S U=http://hotmail.com/encaHL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN(r) Premium right now and get the first two months FREE*. ___ 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 ___ 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 ___ 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] Tell me more about _global
Sure... Should have probably explained the curiousity more up front anyway... I guess I'm just looking at it from the other side of the fence - I currently work with a web-based application in which parts of the front-end are done in Flash (and getting the rest of the pieces over to Flash is part of my job). A few of the screens are fairly old and contain a lot of non-traditional coding practices, like _global and the like. Basically in my experience these have been - for me - harder to follow, debug, etc. - maintain in general. So I guess I kinda look at things like _global in a bad light because of the experience I've had with them - and I was just curious as to what end product you were making that you felt _global were useful. I think the biggest difference between what we do is that I've never had to pass my code of to a designer to make pretty - the few of us here that write the ActionScript also design the interfaces as well - so having some one else look at it and have no clue what is going on has never been an issue really. (And this really isn't a problem - cause we aren't doing anything too fancy e.g advertising) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Furtado Sent: Wednesday, February 01, 2006 3:24 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Tell me more about _global Fast ones :D 7/10 are interactive advertising, which means that I have usually 2 weeks(at best) to do something that doesn't relate and never had the time to make me own framework. Still I insist in a one frame architecture, and leave the all the item in the library for the designers. May I ask why the curiosity? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Chyko Sent: quarta-feira, 1 de Fevereiro de 2006 20:10 To: Flashcoders mailing list Subject: RE: [Flashcoders] Tell me more about _global I'm just curious to know what kind of projects these are that you are working on? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Furtado Sent: Wednesday, February 01, 2006 2:52 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Tell me more about _global Supported! I dare to add a few thoughts of me own. A good application is one that works, an excellent application is one that works fast. That said and with utra-tight deadlines together with designers having to open my fla so they can make it pretty while I make the next app, _global rules! This of course doesn't apply to frameworks and such, but still there's room for everything. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: quarta-feira, 1 de Fevereiro de 2006 19:43 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Tell me more about _global Let's make classes for everything. Let's make components out of everything. There are so many benefits to complicating things and we CAN do it so we SHOULD do it because it's so clever and smart to do it that way. Let's code everything in one frame when working closely with designers so we can make them feel stupid and helpless when they go into our application and can't find anything and we can feel so superior to them because it's so obvious and now we have to walk them through it and by doing so can show them how smart and clever we are. Let's stroke our egos to prove what smart coders we are and program job security into our applications by making it extremely difficult for our clients to hire anyone else to work on our code, especially considering we might not be available (busy, vacation, dead) to help walk anyone through the complicated messaging system we've put into place to do something as simple as storing global variables. It's such a clever way of doing things, don't you see? We've built a better mousetrap! Those people using a simple global namespace objects are suckers! I'm not saying variable watchers and events don't have their place, but we're talking about a global namespace to store variables available to the entire application, a replacement for _global and the conflicts that can arise from it, something that has been done longer than you've been coding. You're acting like a simple global namespace to store variables is only for noob coders and that really smart coders make their code super complicated. You guys are the reason Dreamweaver MX 2004, Photoshop 7, etc. take 10-20 seconds to start up instead of 1-3 like their predecessors. You guys are the reason many clients have bad tastes in their mouths from working with independent contractors. Why not apply your cleverness and creativity to planning your next DD campaign or go learn a real programming language like C and learn to program games if you're so smart. As far as debugging goes, I've never had trouble with standard debugging techniques. You know, like trace() and NetDebug.trace(). Quick
RE: [Flashcoders] dateField and Remoting problem
Did you try using the DateFormat() function? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adams, Matt Sent: Monday, January 30, 2006 8:57 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] dateField and Remoting problem I've tried posting this in the Adobe (Macromedia) forums with no luck. I'm hoping that someone here can help. Might be a newbie question, but I'm thinking I'd get better response here. Sorry for the cross-post and sorry if this is beneath the level of this list or OT. I'm trying to send a date from a dateField.selectedDate in Flash to a CFC. I'm using that date as a filter in the query. The query looks like this: cfquery name=get_classes datasource=#myDataSource# SELECT * FROM trainTrack WHERE classDate #Flash.Params[2]# ORDER BY className /cfquery I've tried using a cfm page as a test page and I know that the following format will filter the result appropriately: cfset date1 = CreateDateTime(2006, 02, 10, 4, 20, 20) cfset date2 = CreateDateTime(DatePart(, date1), DatePart(m, date1), DatePart(d, date1), 4, 20, 20) cfquery name=get_classes datasource=#myDataSource# SELECT * FROM trainTrack WHERE classDate = #date2# ORDER BY className /cfquery This works when used in the query, but whenever I try to do this with remoting it doesn't work. When I don't try to filter by date, the correct result of the query is returned so I'm fairly sure that the problem lies in the way that the date is formated when it hits the query. I've tried several ways to format the date, but I haven't had any luck. Oh, and I'm using Access as the DB (which might be some of my touble). I would really appreciate any insight! Thanks! Matt Adams --- ***National City made the following annotations --- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. === ___ 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] Window Error wont go away
Is this line: var newWindow = PopUpManager.createPopUp(this, Window, true); inside some other piece of code and the this refernce is incorrect? Just throwing a guess out there cause this should work fine... Otherwise its possessed -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin Sent: Friday, January 27, 2006 1:58 PM To: Flashcoders mailing list Subject: [Flashcoders] Window Error wont go away I am trying to make a window pop up. I take the code from flash docs (put a window component in the library) and put this code, then I get this error everytime. Can anyone tell me why i get it? CODE: import mx.managers.PopUpManager; import mx.containers.Window; var newWindow = PopUpManager.createPopUp(this, Window, true); ERROR: **Error** Scene=Scene 1, layer=Layer 2, frame=20:Line 9: Type mismatch. var newWindow = PopUpManager.createPopUp(this, Window, true); Total ActionScript Errors: 1 Reported Errors: 1 Cheers! ___ 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] Load testing Flash Remoting
Has anyone had any experience with stress/load testing Flash-based web apps? Trying to find information about automated testing for Flash Remoting - the only information I found was about Segue's SilkPerformer being able to load test AMF calls in Flex applications. Bob Chyko Software Application Developer DocFinity(r) by Optical Image Technology, Inc. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Maintaining HTML special char codes in aHTMLtextfield?
Yeah, just tried it real quick... This looks like it gives you the output you want (I think): function convertAmp(str1){ newStr = str1.split().join(amp;) return newStr; } var strOriginal = This - amp; - represents an ampersand.; var strConverted = convertAmp(strOriginal); ta1.text = strConverted; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Chyko Sent: Friday, January 20, 2006 2:23 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Maintaining HTML special char codes in aHTMLtextfield? If you wanted it to actually output amp; I'm assuming you could capture the amp; in the string and replace it with amp;amp; - which would theoretically output amp; - haven't actually tried this though. Which I guess more generically would boil down to you replacing all your with amp; - that would take care of it for all the cases (amp;, quot;, lt; etc). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Balkau Sent: Friday, January 20, 2006 1:22 PM To: flashcoders Subject: [Flashcoders] Maintaining HTML special char codes in a HTMLtextfield? Hi, does somebody know if it's somehow possible to get HTML special characters like amp;, quot;, lt; and gt; to be outputted in a Flash HTML enabled textfield without turning them into their conversions? I've tried various ways like using escape sequences with unicode etc. but the textfield still converts them. There is no way to turn this behavior off for a HTML textfield but I'm wondering if there is some magical method to preprocess the string so that the textfield wouldn't recognize the special char sequences. Otherwise can somebody confirm that there is absolutely no way to do that? In that case a textfield property to turn the conversion off would be a welcome feature in 8.5. Thanks for any hint! Sascha -- Flash Game Programming Wiki http://fgpwiki.corewatch.net/ H1DD3N.R350URC3 http://hiddenresource.corewatch.net/ ___ 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Automated interface testing
Anyone have any information on automated interface testing software that can work with Flash interfaces? As we transition more and more of our interface to Flash, our testing department is having a harder time writing their automated testing scripts. Apparently the only way they can currently work with Flash interfaces is to use mouse coordinates to automate a click. Anyone have any experience in this regards? Thanks Bob Chyko Software Application Developer DocFinity(r) by Optical Image Technology, Inc. 100 Oakwood Avenue Suite 700, State College, PA 16803 DISCLAIMER: This email may contain proprietary information, some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this email, please notify the author by replying to this email. If you are not the intended recipient, you may not use, disclose, distribute, copy, print, or rely on this email. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] List Components, matrix data, and object properties
I don't use the List component that much, but I'd imagine it is the same functionality as the DataGrid... Each row is an object with a bunch of properties, but only the properties that there are columns for get displayed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lance Massey Sent: Thursday, January 12, 2006 11:53 AM To: Flashcoders mailing list Subject: [Flashcoders] List Components, matrix data, and object properties I create a playlist which is an array of tracks. Each track has a title, an id, an artist, and a URL. Magically, when I set my List Component's dataProvider to playlist, it shows all the titles. But the real miracle is that when I click on a title all the track properties corresponding to that title are available. Does this means the List component holds 2D data (I thought is was a list only)? And is it safe to assume this is not anomalous behavior, but something I can count on for the future (because this *really* makes life much easier)? L GorillaPop - Connecting People Through Music http://www.gorillapop.com/ ___ 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] DataGrid scroll problem and Archive Access
Ran into this in the past... Here are 2 workarounds we received from our Macromedia (at the time) support rep. These workarounds fixed the issue in Flash Player 7, but I think they may have been broken by Player 8 - since I've received bug reports about this again since Player 8 has come out - just havent had time to test it properly with Player 8 yet. Please let me know what you find: Subject: Macromedia Product Support Ticket [8286652] Enhanced DataGrid Render issue I have a few cleaner solutions for you to try with the datagrid. The sizing logic for the data grid is inaccurate with dimensions of the datagrid when the datagrid is added to the stage dynamically resulting in duplicate rows. To work around this issue use one of the following lines: DataGrid Instance Name.setSize(500, (DataGrid Instance Name.rowHeight * DataGrid Instance Name.rowCount)+DataGrid Instance Name.rowCount); //or DataGrid Instance Name.rowCount = (DataGrid Instance Name.height - DataGrid Instance Name.headerHeight)/DataGrid Instance Name.rowHeight; Let me know if that works out for you. -Ken Kenneth J. Toley Flash Support Team Lead Flash ActionScript/Application Architecture Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Appelmans Sent: Thursday, December 22, 2005 3:09 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] DataGrid scroll problem and Archive Access Hi List: I tried searching archives but link from webpage is broken. I have a datagrid that is bound to a dataset where both properties of the binding are property = dataprovider when the datagrid displays the resource returned from a MySQL query via amfphp it displays the rows properly until I use the scroll bar of the datagrid. When scrolling, almost all of the rows are replaced with a copy of one of the rows. This happens in Firefox and IE and the Flash IDE when testing the movie. I am using Flash MX 2004 Pro ver 7.2 which I understand had fixed a datagrid dataset issue (Bug # 81829). Thanks in advance of any leads or suggestions. Also, how can I search the archives of Flashcoders? Nick ___ 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] flash and cfm
The Remoting Gateway is built into the ColdFusion application server. You use the Remoting components on the Flash side. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corban Baxter Sent: Tuesday, December 20, 2005 12:50 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] flash and cfm Is flash remoting a server side app I need like cfm or is it native in the flash player? Corban Baxter | rich media designer | www.funimation.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Lopes Sent: Tuesday, December 20, 2005 10:37 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] flash and cfm Hi Corban, If you're looking for books I recommend the following: 1) Flash Remoting - The definitive guide (Tom Muck) (oldie but goodie) 2) Flash MX Professional 2004 for Server Geeks (Nate Weiss) - Demystifies quite a lot of things Otherwise checkout the tutorials on these sites for more: http://www.flash-remoting.com/notablog/ http://www.flash-db.com Also, checkout MM's/Adobe site for some great tutorials HTH, /Johan On 12/20/05, Corban Baxter [EMAIL PROTECTED] wrote: Ok so if I know nothing about remoting but I could learn it fast what are some good resources to get on track and fast? Thanks! Corban Baxter |rich media designer |www.funimation.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Tuesday, December 20, 2005 9:39 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] flash and cfm You could try using flashVars instead of appending the parameters to the end of the URL. I don't think flashVars has a limit. May be less hassle than switching to Remoting. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_16417 Cheers, Ian On 12/19/05, Corban Baxter [EMAIL PROTECTED] wrote: What is the best practice for grabbing variables from a database using cfm and the using these inside of a flash movie? I am not a cfm developer but I have one here at work that has been helping me with a project I am currently working on. We are running into a problem that flash cannot interpret a query large string... What we are ending up with when trying to bring the variables into flash is a long string in the embed tag with delimiters for an array. Something like... Characters.swf?character1description1episoes1etc... All I can figure out is that there is a limit to the string length that flash is able to grab. Is this true? If so what's a work around? I hope all this makes sense! Thanks all! And I am looking forward to the in site! Thanks! Corban Baxter |rich media designer |www.funimation.com ___ 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 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] No consecutive onRelease() events?
I have run into something similar in the past. Try using something like: Selection.setFocus(myButton); At the end of your code that handles the click. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Friday, December 16, 2005 9:17 AM To: Flashcoders mailing list Subject: [Flashcoders] No consecutive onRelease() events? Hi list... I have a button and a clickable movie clip where their code only works if you move the mouse slightly before a second click. In other words, if you click them more than once while keeping the mouse stationary, the code only fires the first time, but if you move the mouse slightly after each click, the code fires each time. What is causing this? Thanks, - Michael M. ___ 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] No consecutive onRelease() events?
Are you using the Button component, or a button symbol? And that code is just being attached right to the button it seems.. Is that correct? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Friday, December 16, 2005 11:59 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] No consecutive onRelease() events? Thanks for the link, Lanny. However, unlike the article, in my situation, it's not a textField component keeping focus, but a comboBox. Adding Selection.setFocus(this) to the on(release) function of my button still isn't clearing out focus from the comboBox. Am I missing something? I'm trying the following code on the button, where a comboBox component is on the stage at the same time: on (release) { trace(hello + Math.random()); Selection.setFocus(this); } on (press, releaseOutside, rollOver, rollOut) { // just for fun, I'm adding this function, but it's not working either. Selection.setFocus(this); } Thanks, - MM ___ 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] Display same value in 3 fields
Or even just a function.. public function updateDisplay(str:String):Void{ Field1.text = str; Field2.text = str; Field3.text = str; } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin Sent: Thursday, December 08, 2005 12:05 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Display same value in 3 fields Will something like this work? Not the best solution im sure but it gets the job done! ;) for(i=1;itotalFields;i++){ this[Field+i].text = OK; } Mike Boutin Juicy Studios Pranav Negandhi wrote: Bit of a glitch. I need to display the same value in 3 different locations and was wondering if it's possible to do it in any way other than setting values in 3 text fields. What I'm doing right now - Field1.text = OK Field2.text = OK Field3.text = OK What I'd like to do - GlobalField.text = OK [change propogates to 3 instances of the movieclip] I played around a bit with static class variables and feel it might be the right way. Any pointers anyone? Regards, Pranav Negandhi Fractal | ink O: 91 22 5660 3682 M: 91 98211 73656 www.fractalink.com ___ 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Loading Different Size MovieClips depending on theResolution.
Without double checking... I believe System.capabilities returns the maximum resolution the machine is capable of displaying, not necessarily the resolution that is currently being used. Your best bet would probably be going with a JavaScript resolution detection script and then basing your code off of that. -Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boon Chew Sent: Friday, December 02, 2005 1:54 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Loading Different Size MovieClips depending on theResolution. You can use the System.capabilities object to determine the client display resolution and load your movieclip accordingly. http://www.macromedia.com/support/flash/action_scripts/actionscript_dict ionary/actionscript_dictionary705.html - boon Nicholas Chhabra [EMAIL PROTECTED] wrote: Hey Guys, I was just wondering what the ActionScript was for loading a different movie clip depending on the resolution fo the client. Is there a way tod o this (I'm sure there is!). Thanks Nchh ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders - Yahoo! Personals Skip the bars and set-ups and start using Yahoo! Personals for free ___ 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] Way to get URL of host page?
Haven't actually used this.. But it seemed pretty cool when I initially checked it out www.mochibot.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karthik Sent: Saturday, November 19, 2005 4:16 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Way to get URL of host page? I see. In that case, you should be able to get this done with a JS call that returns location.href etc. etc. hth -K On 19/11/05, Rajat Paharia [EMAIL PROTECTED] wrote: Thanks Karthik - I'm not trying to prevent it, I just want to log it for analysis purposes later. best, - rajat ___ 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