SV: [Flashcoders] Input field bug in firefox when embedding swfwithWMODE as transparent og opaque
Hi John, Thanks for your reply. I have looked at mozilla.org but didn't find much. It's really not that fancy - just Windows XP and Firefox (v 2.0.0.4) and since Firefox represents more than 33% of the users these days its a browser i'm afraid we can't just ignore. (http://www.w3schools.com/browsers/browsers_stats.asp ) Unfortunately it was an issue I didn't see coming upfront and since we agreed with our client to suppport Firefox we need to find a way around this. Thanks again. Cheers Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af John Dowdell Sendt: 18. juni 2007 15:33 Til: flashcoders@chattyfig.figleaf.com; Flashcoders mailing list Emne: RE: [Flashcoders] Input field bug in firefox when embedding swfwithWMODE as transparent og opaque Re: Some version of Firefox apparently stops ALT-key characters entered in SWF textfields when WMODE is used. That might be true. First step would be the Firefox documentation -- check OS browser version against known issues, and either ask your audience to upgrade or just stopping trying to be so fancy in the frail and varied browsers. It's also possible that this particular content triggers an odd failure in a particular browser brand/OS/version combo -- making a very simple HTML file, as well as a barebones SWF, and testing it on different machines with different keyboards would be the fastest way to detect this. jd ___ 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] Input field bug in firefox when embedding swf with WMODE as transparent og opaque
Hi, I just finished creating af website where various swf files is embedded transparently. This is done in order to be able to place javscript popup wondows on top of the flash. Unfortunately I discovered that this causes a weird bug in firefox. Apparently no special characters (produces by the Alt Gr key) works in the input fields when running the flash in firefox which makes it hard for the user to type in their email adress for instance. When I set the WMODE to normal everything worls fine again, but then my javascript popups don't work properly. Anyone knows how to fix this and still use the transparent option? Cheers Martin hennelund ___ 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 issue with attached movieclip
Hi, I attach a movieclip from library which includes a instance of ComboBox. After attachment I wait 3 frames then I populate the Combo in a for loop by calling the addItem() method. Problem is that I can't activate/open the combobox onClick. I can see that the title of the ComboBox is proper filled out and checking on the length of it says it contains the elements that it should, but it just won't open What is wrong? Simple Code ex: // cbAlder.addItem( 18, 18); for (i=18 ; i=50 ; i++) { cbAlder.addItem(i, i); } //. Thanks a lot in advance Martin ___ 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] How to generate a swf and convert it to a downloadable screensaver serverside?
Hi all, Hope someone has a solution to this issue. I client of mine wants a 'create screensaver' feature on their flash website. Based on some default flash template the user should be able to customize it and finally download it as a personal screensaver. In the old days I would use Generator to create and export the customized swf - but it has been deprecated for since flash 6!? After that step I would then need to convert the generated swf to a screensaver/exe file on the server which finally can be downloaded by the user. The question is if that is possible at all and if so which setup/software would I need. BTW I'm on a .Net platform if that matters. Thanks a lot Martin Hennelund ___ 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
SV: [Flashcoders] Movieclip To BitmapData won't work with .flv
Ok thanks a lot I guess I saw this one coming :( /Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af John Grden Sendt: 26. september 2006 06:44 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Movieclip To BitmapData won't work with .flv it won't work at all with an flv streaming over RTMP - you can't use bitmapData with it at all. Yeah I know, it sucks. On 9/26/06, John VanHorn [EMAIL PROTECTED] wrote: first thing that comes to mind is a cross domain issue. are you loading the flv from another domain? if so, bitmapdata.draw will not work. On 9/25/06, Martin Baltzer Hennelund [EMAIL PROTECTED] wrote: Hi all, I'm using the BitmapData Object to take a snapshot of the pages in my flash app and it works fine on movieclips without a flv video player inside. But on of the pages has an movieclip inside it which is playing (streaming) a flv file and when I try to take a snapshot of this page movieclip the bitmap objects returns empty (It is created but is blank). When I remove the movieplayer mc the bitmapdata is created correctly! What am I doing wrong or is this flash bug? Cheers Martin Heres my code //-- public function toBitmapData(mContent:MovieClip):BitmapData{ var width:Number = Math.min( Math.ceil(mContent._width), 2880); var height:Number = Math.min(Math.ceil(mContent._height), 2880); var oBmp:BitmapData = new BitmapData(width,height, true, 0x55ff); oBmp.draw( mContent ); //debugging var m:MovieClip = _level0.createEmptyMovieClip(mcTest, 9); m.attachBitmap(oBmp, 1); return oBmp; } //-- -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] På vegne af Josh Santangelo Sendt: 25. september 2006 11:09 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Mute Flash Application, mac. There is a bug which you could potentially exploit for this. http://www.adobe.com/cfusion/webforums/forum/messageview.cfm? catid=184threadid=1000550enterthread=y Note the last post. If MIDI is not set to 44.1, Flash can't output any audio. -josh On Sep 22, 2006, at 10:27a, aaron smith wrote: Does anyone know of an application that can mute flash or browsers for a mac? or maybe a way to do it through the terminal? 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 -- John Van Horn [EMAIL PROTECTED] ___ 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 -- [ JPG ] ___ 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] Movieclip To BitmapData won't work with .flv
Hi all, I'm using the BitmapData Object to take a snapshot of the pages in my flash app and it works fine on movieclips without a flv video player inside. But on of the pages has an movieclip inside it which is playing (streaming) a flv file and when I try to take a snapshot of this page movieclip the bitmap objects returns empty (It is created but is blank). When I remove the movieplayer mc the bitmapdata is created correctly! What am I doing wrong or is this flash bug? Cheers Martin Heres my code //-- public function toBitmapData(mContent:MovieClip):BitmapData{ var width:Number = Math.min( Math.ceil(mContent._width), 2880); var height:Number = Math.min(Math.ceil(mContent._height), 2880); var oBmp:BitmapData = new BitmapData(width,height, true, 0x55ff); oBmp.draw( mContent ); //debugging var m:MovieClip = _level0.createEmptyMovieClip(mcTest, 9); m.attachBitmap(oBmp, 1); return oBmp; } //-- -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Josh Santangelo Sendt: 25. september 2006 11:09 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Mute Flash Application, mac. There is a bug which you could potentially exploit for this. http://www.adobe.com/cfusion/webforums/forum/messageview.cfm? catid=184threadid=1000550enterthread=y Note the last post. If MIDI is not set to 44.1, Flash can't output any audio. -josh On Sep 22, 2006, at 10:27a, aaron smith wrote: Does anyone know of an application that can mute flash or browsers for a mac? or maybe a way to do it through the terminal? 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
SV: [Flashcoders] Problem with parsing Webservice result correctly!
Hi, Hmm... I thought I was sure of that since I'm getting the reply back in my serviceCall.onResult() method. Are you saying that I can't be sure that data is loaded correctly at that time? Actually the problem is being narrowed down to the ArrayOfString return type. I receive undefined on all the array positions and as I see it it is out of my hands...Maybe this I srealted to .NET since a former project runs just fine Thanks a lot Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Merrill, Jason Sendt: 1. september 2006 13:38 Til: Flashcoders mailing list Emne: RE: [Flashcoders] Problem with parsing Webservice result correctly! Be sure you wait for the result from the webservice and then try to access the data. I had the same problem in a recent thread (C# .NET and Webservices) and realized I needed to be sure I not only waited for the method to load, but also waited for the webservice method to finish. Was a duh moment for me. Then I could use the result as an object in Flash, even a very complex one: var thisEffect:String = Obj.Content.Topics[i].Images[n].Effect; So it definitely is supported and works, you may just not have waited long enough for the result? Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Martin Baltzer Hennelund Sent: Friday, September 01, 2006 5:27 AM To: Flashcoders mailing list Subject: [Flashcoders] Problem with parsing Webservice result correctly! Hi, Flash apparently fails to correctly parse a webservice function that returns a class/Object/Struct (Using Csharp to create the webservice). The following is returned from the service when hitting it in IE and is perfectly fine. ?xml version=1.0 encoding=utf-8 ? WsReply xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://XXX/; typeArrayOfString/type ArrayOfString stringfeild1/string stringfeild2/string /ArrayOfString /WsReply The reply is equal to a class/Object with the name WsReply with two public fields one called type which is of type string and the second ArrayOfString which is an array of strings. But when the reply is parsed by Flash (mx.services.WebService) it looses the values inside the array even though the array is correctly populated with two fields (And it is a real array). When I do a for...in trace on the onResult object I get the following ArrayOfString: undefined,undefined type: ArrayOfString Anyone know why this is happening? When I read the Webservice documentation it seems like flash should support classes/Objects as a webservice return type??? Thanks a lot in advance Martin Baltzer Heres my very simple code for reference:) / import mx.services.Log; import mx.services.WebService; class dk.xxx.test.TestWS { public function TestWS() { var wsLog:Log = new Log(Log.NONE); wsLog.onLog = function(txt) { trace(wsLog: + txt); }; var myService:WebService = new WebService(http://.com/Service.asmx?WSDL;, wsLog); myService.onFault = function(fault) { // Your code here. var s: String = ; for (var x:String in fault){ s += \n + x +: + fault[x]; } trace(fault: + s); }; var serviceCall = myService.getTest(); serviceCall.onResult = function(result:Object) { var s: String = ; for (var x:String in result){ s += \n + x + : + result[x]; } trace(s); }; } } ___ 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
SV: [Flashcoders] Problem with parsing Webservice result correctly!
Hi Thanks for your effort but I don't think that this could help all though its really interesting :-) Cheers Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Merrill, Jason Sendt: 1. september 2006 13:50 Til: Flashcoders mailing list Emne: RE: [Flashcoders] Problem with parsing Webservice result correctly! Also, if this helps: http://www.sephiroth.it/tutorials/flashPHP/webServiceConnector/ Here is the WSDL is uses: http://www.xmethods.net/sd/2001/BabelFishService.wsdl Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, September 01, 2006 7:38 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Problem with parsing Webservice result correctly! Be sure you wait for the result from the webservice and then try to access the data. I had the same problem in a recent thread (C# .NET and Webservices) and realized I needed to be sure I not only waited for the method to load, but also waited for the webservice method to finish. Was a duh moment for me. Then I could use the result as an object in Flash, even a very complex one: var thisEffect:String = Obj.Content.Topics[i].Images[n].Effect; So it definitely is supported and works, you may just not have waited long enough for the result? Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Martin Baltzer Hennelund Sent: Friday, September 01, 2006 5:27 AM To: Flashcoders mailing list Subject: [Flashcoders] Problem with parsing Webservice result correctly! Hi, Flash apparently fails to correctly parse a webservice function that returns a class/Object/Struct (Using Csharp to create the webservice). The following is returned from the service when hitting it in IE and is perfectly fine. ?xml version=1.0 encoding=utf-8 ? WsReply xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://XXX/; typeArrayOfString/type ArrayOfString stringfeild1/string stringfeild2/string /ArrayOfString /WsReply The reply is equal to a class/Object with the name WsReply with two public fields one called type which is of type string and the second ArrayOfString which is an array of strings. But when the reply is parsed by Flash (mx.services.WebService) it looses the values inside the array even though the array is correctly populated with two fields (And it is a real array). When I do a for...in trace on the onResult object I get the following ArrayOfString: undefined,undefined type: ArrayOfString Anyone know why this is happening? When I read the Webservice documentation it seems like flash should support classes/Objects as a webservice return type??? Thanks a lot in advance Martin Baltzer Heres my very simple code for reference:) / import mx.services.Log; import mx.services.WebService; class dk.xxx.test.TestWS { public function TestWS() { var wsLog:Log = new Log(Log.NONE); wsLog.onLog = function(txt) { trace(wsLog: + txt); }; var myService:WebService = new WebService(http://.com/Service.asmx?WSDL;, wsLog); myService.onFault = function(fault) { // Your code here. var s: String = ; for (var x:String in fault){ s += \n + x +: + fault[x]; } trace(fault: + s); }; var serviceCall = myService.getTest(); serviceCall.onResult = function(result:Object) { var s: String = ; for (var x:String in result){ s += \n + x + : + result[x]; } trace(s); }; } } ___ 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] Problem with parsing Webservice result correctly!
Hi, Flash apparently fails to correctly parse a webservice function that returns a class/Object/Struct (Using Csharp to create the webservice). The following is returned from the service when hitting it in IE and is perfectly fine. ?xml version=1.0 encoding=utf-8 ? WsReply xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://XXX/; typeArrayOfString/type ArrayOfString stringfeild1/string stringfeild2/string /ArrayOfString /WsReply The reply is equal to a class/Object with the name WsReply with two public fields one called type which is of type string and the second ArrayOfString which is an array of strings. But when the reply is parsed by Flash (mx.services.WebService) it looses the values inside the array even though the array is correctly populated with two fields (And it is a real array). When I do a for...in trace on the onResult object I get the following ArrayOfString: undefined,undefined type: ArrayOfString Anyone know why this is happening? When I read the Webservice documentation it seems like flash should support classes/Objects as a webservice return type??? Thanks a lot in advance Martin Baltzer Heres my very simple code for reference:) / import mx.services.Log; import mx.services.WebService; class dk.xxx.test.TestWS { public function TestWS() { var wsLog:Log = new Log(Log.NONE); wsLog.onLog = function(txt) { trace(wsLog: + txt); }; var myService:WebService = new WebService(http://.com/Service.asmx?WSDL;, wsLog); myService.onFault = function(fault) { // Your code here. var s: String = ; for (var x:String in fault){ s += \n + x +: + fault[x]; } trace(fault: + s); }; var serviceCall = myService.getTest(); serviceCall.onResult = function(result:Object) { var s: String = ; for (var x:String in result){ s += \n + x + : + result[x]; } trace(s); }; } } ___ 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] test - please ignore
Just need to see if I can write to the list. Sorry for the inconvenience, ___ 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] Howto randomize the elements of an array?
Hi, I have an array with up to 1 elements. These elements are sorted of some kind and I need to reorganize the elements so that their positions becomes absolutely random. I guess my best approach would be to assign my own sort function to the Array.sort() method which did nothing but return -1,0 or 1 randomly, but I guess it would be necessary to sort the array many times in order to make it truly random and that would take a lot of CPU power with that many elements. Is there a better way to do this from a performance point of view? Thanks in advance. Martin Baltzer ___ 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
SV: [Flashcoders] Howto randomize the elements of an array? [Closed]
Hi all, Thanks a lot for your help! While Mikko came with probably the fewest lines of code to solve this I found out that this method posted by iv here http://proto.layer51.com/d.aspx?f=893 (Read msg3) is far superior when it comes to speed ;-) I believe it's the use of local variables that does the trick. Cheers Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af GregoryN Sendt: 18. april 2006 14:15 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Howto randomize the elements of an array? Martin, Have you looked at http://proto.layer51.com/l.aspx?p=3 There are about 10 custom methods of shuffle-like. I haven't tested them for performance though :-). -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. From: Martin Baltzer [EMAIL PROTECTED] Subject: [Flashcoders] Howto randomize the elements of an array? To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Hi, I have an array with up to 1 elements. These elements are sorted of some kind and I need to reorganize the elements so that their positions becomes absolutely random. I guess my best approach would be to assign my own sort function to the Array.sort() method which did nothing but return -1,0 or 1 randomly, but I guess it would be necessary to sort the array many times in order to make it truly random and that would take a lot of CPU power with that many elements. Is there a better way to do this from a performance point of view? Thanks in advance. Martin Baltzer -- ___ 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
SV: [Flashcoders] CSS with input text
Hi Danny, I don't know if this will help you at all, but the TextField.Stylesheet class has a transform() method which will convert _one_ of your style objects from the Stylesheet (ie. The one you maybe assigned for the a or the p element or your_own_custom element) into a TextFormat object which you can then apply to your TextField with setNewTextFormat. It is also possible to transform several style objects into the same TextFormat object, but doing this the other way around is a lot more complicated but I gues it could be solved by writing a your own parser to rewrite the HTML that flash generates - maybe its already out there ;-) ? I hope this is helpful otherwise throw it away ;-) Cheers Martin Baltzer -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Danny Kodicek Sendt: 20. marts 2006 12:12 Til: Flashcoders mailing list Emne: Re: [Flashcoders] CSS with input text Is not possible at all. When flash parses a CSS styled html, it simply replaces all the tags with the corresponding formatting code (textformat, font, etc). Ugh, ugly. Thanks. Danny ___ 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
SV: [Flashcoders] Fav XML editor
XMLSpy actually comes in a free edition and its really great the only thing you need to do is to register freely in order to get a licence code. It also exists as a plugin for Eclipse which many of us probably use already and its really cool too: http://www.altova.com/support_freexmlspyhome.asp Register here to get free licence http://www.altova.com/download_spy_home.html (choose Download XMLSpy® 2006 Home Edition Setup now) http://www.altova.com/components_eclipse.html Free XmlSpy plugin for eclipse Hope this is useful Cheers Martin Baltzer -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Brett Errington Sendt: 27. januar 2006 03:39 Til: 'Flashcoders mailing list' Emne: RE: [Flashcoders] Fav XML editor Hi XMLSpy is good but unless you're always using XML extensively it seems a little expensive to me If you're after something small and lightweight (and free) then have a look at Cooktop XML Editor, which I've used a number of times. It has a few annoyances but it does let you test XML StyleSheets easily, and it also has the ability to switch XSLT engines. http://www.xmlcooktop.com/ Also just thought I'd throw in that Visual Studio 2005 is pretty good if you've already got it lying around :) and if not the express versions might be good enough (which are currently free). http://msdn.microsoft.com/vstudio/express/vwd/features/xml/default.aspx http://msdn.microsoft.com/vstudio/express/vb/features/xml/default.aspx http://msdn.microsoft.com/vstudio/express/visualcsharp/features/xml/default. aspx Cheers, Brett -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Tayag Sent: Friday, 27 January 2006 9:37 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Fav XML editor While I was reading this, there was this google add for a free xml: http://www.freexmleditor.com/?gclid=CKWPy4XS6YICFTRiDgod3Qv4cg Might as well try it! On 1/27/06, eric dolecki [EMAIL PROTECTED] wrote: I am starting to have to create more and more complex XML by hand on the PC... which is your favorite XML editor for authoring/editing XML files for Flash? I have tried oXygen and am now about to try XMLSpy 2006 EE... No one mention DW please ;) - edolecki ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Ramon Miguel M. Tayag ___ 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
SV: SV: [Flashcoders] certificate
Oh yes and it is actually a bit har d to tell you where exactly things may fall apart:) 1. make sure that the crossdomain file responds on both http and https. Makes sure that the secure attribute is set to false allow-access-from domain=domainA secure=false / 2. If you have a swf on http loading in a swf or service on https you must declare System.security.allowInsecureDomain() inside the http swf ewven though its on the same domain (flash does not treat http://domain.com and https://domain.com equally) 3. Did you install your self signed certicate in the browser? If you hit any https page on the server do you get an alert the first time in the session? If so flash don't like that and you need to install the certificate first if possible. Another solution is to hit any https page on the server before launching your flash app because the alert only happens the first time in the session. /Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af PR Durand Sendt: 12. januar 2006 10:11 Til: Flashcoders mailing list Emne: Re: SV: [Flashcoders] certificate Thanks a lot for all your answers, Martin, Grant and Campbell, So I got a additional step: I have a domain problem now... the response.setHeader didn't change anything at the beginning, but may help to go further. the proxy, we tried to build one yesterday, but not enough time...so thanks for the link I got my service working on the 8443 port by uploading the swf on the same server where the service is located. Why isn't it possible to reach it from another domain? I put the crossdomain.xml on the server, is there another security rule? PR Martin Baltzer a écrit : Yes flash in Internet Explorer has serious problems with self signed or 3. party ssl certificates. If the certificate is a valid one (by Verisign) there are no issues. The problem is actually that when flash makes the request through IE the browser thinks the https page is already expired when it receives it and therefore it won't return it to flash. This is only an issue in Internet Explorer but it can be fixed if proper cache headers are being set on the serverside. In JAVA/JSP the following extra cache headers solved the problem for me :) response.setHeader(Cache-Control, no-store); response.setHeader(Pragma, no-store); Hope that works Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af [EMAIL PROTECTED] Sendt: 11. januar 2006 21:38 Til: flashcoders@chattyfig.figleaf.com Emne: Re: [Flashcoders] certificate I have had some issue's with certificates and flash. I use charles which is an http proxy to intercept the requests between the browser and the server to figure out what the issue was. 1st test is really to create an html page and call your webservice using a form post and make sure the certificates are working within the browser and the webserver BEFORE you try and use the service from flash. There is cheap http proxy thats better than charles but I forget who created it. ah, here is the link http://kevinlangdon.com/serviceCapture/ Grant. - Original Message - From: PR Durand [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/11/06 3:08 PM Subject: [Flashcoders] certificate Hi List It seems that I found antoher point to explain my difficulties to obtain a result in connecting my WS. The server has a Double-side certificate. I installed the certificate on firefox, so I can call correctly the https webservice via the browser, on the 8448 port without any problem, but maybe flash can't communicate correctly? I thought that the browser holding the swf was the only concerned by the certificate, as flash isn't seen by the servers, but only the webpage holding it... am I wrong? Can Flash have problems with the certificate? thanks a lot PR ___ 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
SV: SV: [Flashcoders] flash 8 security hint
You did try without the ' around always...should have been: param name=allowScriptAccess value=allways You probably already noticed that :) That would be my guess but your right in your assumptions though. What about creating a basic sample does that work for you? How are you loading swfB into swf A? Is it a relative url on https or so? Cheers Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Cédric Muller Sendt: 12. januar 2006 09:19 Til: Flashcoders mailing list Emne: Re: SV: [Flashcoders] flash 8 security hint Hi Martin! I tried and nothing new ... (spent the whole evening trying to understand) actually, all of these are on the same domain, so NO security restriction should arise ... then this works when published to flash player 6 format, hence meaning this is some funky 7 and/or 8 constraints ... then I read both technical papers (40 pages!!) and nothing I have been doing crossdomain.xml + other security things (even https) for more than 4 years now ... and I am all lost ;) all I know is that A.swf loads in B.swf which in turn calls a method on A.swf .. Cedric What about your object tag? Does it contain the following param element ? param name=allowScriptAccess value='allways' /Martin Fra: [EMAIL PROTECTED] på vegne af Cédric Muller Sendt: on 11-01-2006 15:51 Til: Flashcoders@chattyfig.figleaf.com Emne: [Flashcoders] flash 8 security hint Could anyone tell me why A.swf can load B.swf, but B.swf cannot call scripts (php) ? all of these (A.swf, B.swf and scripts.php) are sitting on http://www.mydomain.com/anyDir/ and are Flash 8 swfs (though it is also failing with Flash 7 swfs. Works with Flash 6) I know about local OR network access, but as these files are all residing on the same URL, I am wondering what is fail the B.swf scripts execution ? ? Cedric ___ 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
SV: SV: SV: [Flashcoders] certificate
Because changing protocol, port or server makes flash thinks its crossing domains :) So you still have a crossdomain issue and need to be aware of possible inSecuredomain issues! 1.Go back and try http to http on different servers! If it works crossdomain issues should be ok 2. If step 1 works then try to switch vack to load from https and see what happens. /Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af PR Durand Sendt: 12. januar 2006 14:05 Til: Flashcoders mailing list Emne: Re: SV: SV: [Flashcoders] certificate Thanks a lot, Martin! I don't call a swf from antoher, I will have a project on a http:1024 server and will call webservices on another server, on https:8443. The next version will have a Flash Media Server between the 2 others. We've finally found the problem !! it works now but there's still something not very clear. There were 2 problems : the developper by the customer had told me that he had put the crossdomain.xml in the root folder, but he did in the project root folder, not the server one... 2 days to find this out ... argh !! The ohter thing is the strange one : to make it run, my html page holding the calling swf has to be also on a https:8443 server also !! Even if it's antoher server, ohter domain, etc... if I change the port or let it without https, I doesn't work why? PR Martin Baltzer a écrit : Oh yes and it is actually a bit har d to tell you where exactly things may fall apart:) 1. make sure that the crossdomain file responds on both http and https. Makes sure that the secure attribute is set to false allow-access-from domain=domainA secure=false / 2. If you have a swf on http loading in a swf or service on https you must declare System.security.allowInsecureDomain() inside the http swf ewven though its on the same domain (flash does not treat http://domain.com and https://domain.com equally) 3. Did you install your self signed certicate in the browser? If you hit any https page on the server do you get an alert the first time in the session? If so flash don't like that and you need to install the certificate first if possible. Another solution is to hit any https page on the server before launching your flash app because the alert only happens the first time in the session. /Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af PR Durand Sendt: 12. januar 2006 10:11 Til: Flashcoders mailing list Emne: Re: SV: [Flashcoders] certificate Thanks a lot for all your answers, Martin, Grant and Campbell, So I got a additional step: I have a domain problem now... the response.setHeader didn't change anything at the beginning, but may help to go further. the proxy, we tried to build one yesterday, but not enough time...so thanks for the link I got my service working on the 8443 port by uploading the swf on the same server where the service is located. Why isn't it possible to reach it from another domain? I put the crossdomain.xml on the server, is there another security rule? PR Martin Baltzer a écrit : Yes flash in Internet Explorer has serious problems with self signed or 3. party ssl certificates. If the certificate is a valid one (by Verisign) there are no issues. The problem is actually that when flash makes the request through IE the browser thinks the https page is already expired when it receives it and therefore it won't return it to flash. This is only an issue in Internet Explorer but it can be fixed if proper cache headers are being set on the serverside. In JAVA/JSP the following extra cache headers solved the problem for me :) response.setHeader(Cache-Control, no-store); response.setHeader(Pragma, no-store); Hope that works Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af [EMAIL PROTECTED] Sendt: 11. januar 2006 21:38 Til: flashcoders@chattyfig.figleaf.com Emne: Re: [Flashcoders] certificate I have had some issue's with certificates and flash. I use charles which is an http proxy to intercept the requests between the browser and the server to figure out what the issue was. 1st test is really to create an html page and call your webservice using a form post and make sure the certificates are working within the browser and the webserver BEFORE you try and use the service from flash. There is cheap http proxy thats better than charles but I forget who created it. ah, here is the link http://kevinlangdon.com/serviceCapture/ Grant. - Original Message - From: PR Durand [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/11/06 3:08 PM Subject: [Flashcoders] certificate Hi List It seems that I found antoher point to explain my difficulties to obtain a result in connecting my WS. The server has a Double-side certificate. I installed the certificate on firefox, so I can call
SV: SV: SV: SV: [Flashcoders] certificate
Yes exactly -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af PR Durand Sendt: 12. januar 2006 14:25 Til: Flashcoders mailing list Emne: Re: SV: SV: SV: [Flashcoders] certificate Ok, thank you very much Martin Baltzer We will have first to connect the application to the webservices as ths ws calls run, and after this we'll try your method. I just didn't understand why you set the allow-access-from tag to false? it concerns the caller? Will this false value allow the secured domain to accept requests from unsecured ones? Thx once more, PR Martin Baltzer a écrit : Because changing protocol, port or server makes flash thinks its crossing domains :) So you still have a crossdomain issue and need to be aware of possible inSecuredomain issues! 1.Go back and try http to http on different servers! If it works crossdomain issues should be ok 2. If step 1 works then try to switch vack to load from https and see what happens. /Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af PR Durand Sendt: 12. januar 2006 14:05 Til: Flashcoders mailing list Emne: Re: SV: SV: [Flashcoders] certificate Thanks a lot, Martin! I don't call a swf from antoher, I will have a project on a http:1024 server and will call webservices on another server, on https:8443. The next version will have a Flash Media Server between the 2 others. We've finally found the problem !! it works now but there's still something not very clear. There were 2 problems : the developper by the customer had told me that he had put the crossdomain.xml in the root folder, but he did in the project root folder, not the server one... 2 days to find this out ... argh !! The ohter thing is the strange one : to make it run, my html page holding the calling swf has to be also on a https:8443 server also !! Even if it's antoher server, ohter domain, etc... if I change the port or let it without https, I doesn't work why? PR Martin Baltzer a écrit : Oh yes and it is actually a bit har d to tell you where exactly things may fall apart:) 1. make sure that the crossdomain file responds on both http and https. Makes sure that the secure attribute is set to false allow-access-from domain=domainA secure=false / 2. If you have a swf on http loading in a swf or service on https you must declare System.security.allowInsecureDomain() inside the http swf ewven though its on the same domain (flash does not treat http://domain.com and https://domain.com equally) 3. Did you install your self signed certicate in the browser? If you hit any https page on the server do you get an alert the first time in the session? If so flash don't like that and you need to install the certificate first if possible. Another solution is to hit any https page on the server before launching your flash app because the alert only happens the first time in the session. /Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af PR Durand Sendt: 12. januar 2006 10:11 Til: Flashcoders mailing list Emne: Re: SV: [Flashcoders] certificate Thanks a lot for all your answers, Martin, Grant and Campbell, So I got a additional step: I have a domain problem now... the response.setHeader didn't change anything at the beginning, but may help to go further. the proxy, we tried to build one yesterday, but not enough time...so thanks for the link I got my service working on the 8443 port by uploading the swf on the same server where the service is located. Why isn't it possible to reach it from another domain? I put the crossdomain.xml on the server, is there another security rule? PR Martin Baltzer a écrit : Yes flash in Internet Explorer has serious problems with self signed or 3. party ssl certificates. If the certificate is a valid one (by Verisign) there are no issues. The problem is actually that when flash makes the request through IE the browser thinks the https page is already expired when it receives it and therefore it won't return it to flash. This is only an issue in Internet Explorer but it can be fixed if proper cache headers are being set on the serverside. In JAVA/JSP the following extra cache headers solved the problem for me :) response.setHeader(Cache-Control, no-store); response.setHeader(Pragma, no-store); Hope that works Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af [EMAIL PROTECTED] Sendt: 11. januar 2006 21:38 Til: flashcoders@chattyfig.figleaf.com Emne: Re: [Flashcoders] certificate I have had some issue's with certificates and flash. I use charles which is an http proxy to intercept the requests between the browser and the server to figure out what the issue was. 1st test is really to create an html page and call your webservice using a form post and make sure the certificates are working within
SV: [Flashcoders] MM Scrollpane issue/constraint
Problem solved :) ! /Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Martin Baltzer Sendt: 11. januar 2006 08:56 Til: Flashcoders mailing list Emne: SV: [Flashcoders] MM Scrollpane issue/constraint Thanks alot that actually works :-) And I didn't need to change anything in the mx classes. The only issue is that it scrolls about 20 px to much vertically if the browserwindow is to small to begin with and the scrollpane thus starts with scrollbars on. But as soon as I do a resize on the browser window myself it works fine. Horisontally there are no problems I have tried to execute my stage listener as soon as the swf content are loaded into the scrollpane in hope of that would fix it but and I also placed a dummy fill mc of 1024*585 in the content swf but sofar it does not help! It seems like it needs a real stage resize event before it adjusts properly. Any ideas? Cheers Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Yehia Shouman Sendt: 11. januar 2006 02:35 Til: Flashcoders mailing list Emne: Re: [Flashcoders] MM Scrollpane issue/constraint Hi Martin try using myScrollPane_sp.setScrollProperties(1024,1,585,1); you might have to make that method public if it was private, check the ScrollPane.as class in your c:\documents and settings\[userName]\local settings\application data\macromedia\flash 8\en\configuration\classes\mx\containers its conceptual, but I think it could work ! try it good luck, Yehia Shouman http://www45.brinkster.com/chaoschaos/ On 1/10/06, Martin Baltzer [EMAIL PROTECTED] wrote: Hi, I am using the Scrollpane component in a flash 8 movie and it works fine. My scrollpane size is set equal to the Stage size everytime its being resized. If stage size gets below 1020*585 I've set it up to show the scrollbars because I know for sure that my content requires that minimum size. My question is: Event though the visible content area is 1020*585 the content itself may be way larger due bigger material that have been masked off etc, and then the scrollpane detect that size and scrolls way to much. When the scrollbars are turned on I only want to scroll up to max 1020*585 even if my content is 10 times that size. Is this possible and if not does anyone knows of another way to handle this without spending many days on building a new scrollpane component? Thanks in advance /Martin ___ 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
SV: [Flashcoders] flash 8 security hint
What about your object tag? Does it contain the following param element ? param name=allowScriptAccess value='allways' /Martin Fra: [EMAIL PROTECTED] på vegne af Cédric Muller Sendt: on 11-01-2006 15:51 Til: Flashcoders@chattyfig.figleaf.com Emne: [Flashcoders] flash 8 security hint Could anyone tell me why A.swf can load B.swf, but B.swf cannot call scripts (php) ? all of these (A.swf, B.swf and scripts.php) are sitting on http://www.mydomain.com/anyDir/ and are Flash 8 swfs (though it is also failing with Flash 7 swfs. Works with Flash 6) I know about local OR network access, but as these files are all residing on the same URL, I am wondering what is fail the B.swf scripts execution ? ? Cedric ___ 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
SV: [Flashcoders] certificate
Yes flash in Internet Explorer has serious problems with self signed or 3. party ssl certificates. If the certificate is a valid one (by Verisign) there are no issues. The problem is actually that when flash makes the request through IE the browser thinks the https page is already expired when it receives it and therefore it won't return it to flash. This is only an issue in Internet Explorer but it can be fixed if proper cache headers are being set on the serverside. In JAVA/JSP the following extra cache headers solved the problem for me :) response.setHeader(Cache-Control, no-store); response.setHeader(Pragma, no-store); Hope that works Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af [EMAIL PROTECTED] Sendt: 11. januar 2006 21:38 Til: flashcoders@chattyfig.figleaf.com Emne: Re: [Flashcoders] certificate I have had some issue's with certificates and flash. I use charles which is an http proxy to intercept the requests between the browser and the server to figure out what the issue was. 1st test is really to create an html page and call your webservice using a form post and make sure the certificates are working within the browser and the webserver BEFORE you try and use the service from flash. There is cheap http proxy thats better than charles but I forget who created it. ah, here is the link http://kevinlangdon.com/serviceCapture/ Grant. - Original Message - From: PR Durand [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/11/06 3:08 PM Subject: [Flashcoders] certificate Hi List It seems that I found antoher point to explain my difficulties to obtain a result in connecting my WS. The server has a Double-side certificate. I installed the certificate on firefox, so I can call correctly the https webservice via the browser, on the 8448 port without any problem, but maybe flash can't communicate correctly? I thought that the browser holding the swf was the only concerned by the certificate, as flash isn't seen by the servers, but only the webpage holding it... am I wrong? Can Flash have problems with the certificate? thanks a lot PR ___ 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] MM Scrollpane issue/constraint
Hi, I am using the Scrollpane component in a flash 8 movie and it works fine. My scrollpane size is set equal to the Stage size everytime its being resized. If stage size gets below 1020*585 I've set it up to show the scrollbars because I know for sure that my content requires that minimum size. My question is: Event though the visible content area is 1020*585 the content itself may be way larger due bigger material that have been masked off etc, and then the scrollpane detect that size and scrolls way to much. When the scrollbars are turned on I only want to scroll up to max 1020*585 even if my content is 10 times that size. Is this possible and if not does anyone knows of another way to handle this without spending many days on building a new scrollpane component? Thanks in advance /Martin ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
SV: [Flashcoders] MM Scrollpane issue/constraint
Thanks alot that actually works :-) And I didn't need to change anything in the mx classes. The only issue is that it scrolls about 20 px to much vertically if the browserwindow is to small to begin with and the scrollpane thus starts with scrollbars on. But as soon as I do a resize on the browser window myself it works fine. Horisontally there are no problems I have tried to execute my stage listener as soon as the swf content are loaded into the scrollpane in hope of that would fix it but and I also placed a dummy fill mc of 1024*585 in the content swf but sofar it does not help! It seems like it needs a real stage resize event before it adjusts properly. Any ideas? Cheers Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Yehia Shouman Sendt: 11. januar 2006 02:35 Til: Flashcoders mailing list Emne: Re: [Flashcoders] MM Scrollpane issue/constraint Hi Martin try using myScrollPane_sp.setScrollProperties(1024,1,585,1); you might have to make that method public if it was private, check the ScrollPane.as class in your c:\documents and settings\[userName]\local settings\application data\macromedia\flash 8\en\configuration\classes\mx\containers its conceptual, but I think it could work ! try it good luck, Yehia Shouman http://www45.brinkster.com/chaoschaos/ On 1/10/06, Martin Baltzer [EMAIL PROTECTED] wrote: Hi, I am using the Scrollpane component in a flash 8 movie and it works fine. My scrollpane size is set equal to the Stage size everytime its being resized. If stage size gets below 1020*585 I've set it up to show the scrollbars because I know for sure that my content requires that minimum size. My question is: Event though the visible content area is 1020*585 the content itself may be way larger due bigger material that have been masked off etc, and then the scrollpane detect that size and scrolls way to much. When the scrollbars are turned on I only want to scroll up to max 1020*585 even if my content is 10 times that size. Is this possible and if not does anyone knows of another way to handle this without spending many days on building a new scrollpane component? Thanks in advance /Martin ___ 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] Bug in Macromedia's flash detection code when installed player is either 6.0.22, 6.0.23 and 6.0.29 ?
Hi, I'm having a serious detection issue with macromedias own flash detection code which you all probably know can be auto generated along with the html file under publish settings in the Flash8 editor or can be found in their detection kit which contains it as well. The problem is related to the activeX plugin detection more precisely inside the VBScript function below. When the shockwave object is created it asks for the version string: swVersion = swControl.GetVariable($version) and if any of the plugins above is installed it crashes with an error message saying an error happened in Flash player 6.0.xx.ocx. and the browser window shuts down. No errors with plugins lower or higher than that. Has anyone seen this before and knows what to do? Since I'm not the great VBScript shark I'm pretty stuck here and just detecting the clean version number is not enough when you need 6.0.65 to use the new auto install procesdure. !-- // Visual basic helper required to detect Flash Player ActiveX control version information Function VBGetSwfVer(i) on error resume next Dim swControl, swVersion swVersion = 0 set swControl = CreateObject(ShockwaveFlash.ShockwaveFlash. + CStr(i)) if (IsObject(swControl)) then swVersion = swControl.GetVariable($version) //Here it crashes end If VBGetSwfVer = swVersion End Function ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
SV: [Flashcoders] REPOST Bug in Macromedia's flash detectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ?
I would really appreciate that this tread is not taken over by another problem;-) Anyone knows of a solution to the first question? Thanks alot Martin Fra: [EMAIL PROTECTED] på vegne af Tom Rhodes Sendt: fr 06-01-2006 16:17 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Bug in Macromedia's flash detectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? yup, their browser was set to not execute js/vb. and yes i'd set up a bit of text along the lines of, sorry, your settings are such that we cannot find out if you have the latest flash player, if you know you have 8 click here to view, if not click here to get it kind of thing... but the client just didn't like the idea of closing browsers, going to other sites etc. etc. all the stuff you've heard a million times. i hadn't heard it for a while though! shame, because, the express install thing is sweet in ie, with the redirection and everything it's very painless. not much you can do when they have their browser set up by a corporate IT security nazi ;) i suggested doing something server side to see if they had flash, but the express install requires r65 to work and AFAIK you can't get the player version with PHP. please someone tell me i'm wrong - Original Message - From: Matt Muller [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:57 PM Subject: Re: [Flashcoders] Bug in Macromedia's flash detection codewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Tom, could you elaborate a bit more on what security scenario would cause the no script? Do they have js / vb script disabled in their browsers? Wouldnt the no script just open a page with a link to upgrade? MaTT On 1/6/06, Tom Rhodes [EMAIL PROTECTED] wrote: i just had a client refuse content in 8, because of their security settings rendering the nice smooth express install i had set up useless. they got the noscript instead. so now i'm redoing everything for player 6 (pain the the you know what) :( - Original Message - From: Martin Baltzer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:36 PM Subject: [Flashcoders] Bug in Macromedia's flash detection code wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Hi, I'm having a serious detection issue with macromedias own flash detection code which you all probably know can be auto generated along with the html file under publish settings in the Flash8 editor or can be found in their detection kit which contains it as well. The problem is related to the activeX plugin detection more precisely inside the VBScript function below. When the shockwave object is created it asks for the version string: swVersion = swControl.GetVariable($version) and if any of the plugins above is installed it crashes with an error message saying an error happened in Flash player 6.0.xx.ocx. and the browser window shuts down. No errors with plugins lower or higher than that. Has anyone seen this before and knows what to do? Since I'm not the great VBScript shark I'm pretty stuck here and just detecting the clean version number is not enough when you need 6.0.65 to use the new auto install procesdure. !-- // Visual basic helper required to detect Flash Player ActiveX control version information Function VBGetSwfVer(i) on error resume next Dim swControl, swVersion swVersion = 0 set swControl = CreateObject(ShockwaveFlash.ShockwaveFlash. + CStr(i)) if (IsObject(swControl)) then swVersion = swControl.GetVariable($version) //Here it crashes end If VBGetSwfVer = swVersion End Function ___ 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
SV: [Flashcoders] REPOST Bug in Macromedia's flashdetectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ?
I tried it on two different machines at work both pc's with windows XP and IE. No problems with the javascript detection in firefox only the vbscript one for the activeX one. I havent' change anything and the error occurs when I have installed on of the 3 player versions above (using Flash Plugin Switcher for this ) and goes through the Macromedia flash detection code on the html page. It seems like these 3 player versions somehow is incompatible with the following line in the VBScript swControl.GetVariable($version) When I comment it out the error stops but then I don't get the full version of course which I need. Cheers Martin Fra: [EMAIL PROTECTED] på vegne af Matt Muller Sendt: fr 06-01-2006 16:35 Til: Flashcoders mailing list Emne: Re: [Flashcoders] REPOST Bug in Macromedia's flashdetectioncodewheninstalled player is either 6.0.22,6.0.23 and 6.0.29 ? hmm, ive never experienced that martin, you have obviously tried it with different swfs and are sure VB is crashing your browser? It sounds to me like its the FP crashing ad ot the script, have you edited the standard output code at all? Have you tried it on different machines? What player are you upgrading from? MaTT On 1/6/06, Martin Baltzer [EMAIL PROTECTED] wrote: I would really appreciate that this tread is not taken over by another problem;-) Anyone knows of a solution to the first question? Thanks alot Martin Fra: [EMAIL PROTECTED] på vegne af Tom Rhodes Sendt: fr 06-01-2006 16:17 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Bug in Macromedia's flash detectioncodewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? yup, their browser was set to not execute js/vb. and yes i'd set up a bit of text along the lines of, sorry, your settings are such that we cannot find out if you have the latest flash player, if you know you have 8 click here to view, if not click here to get it kind of thing... but the client just didn't like the idea of closing browsers, going to other sites etc. etc. all the stuff you've heard a million times. i hadn't heard it for a while though! shame, because, the express install thing is sweet in ie, with the redirection and everything it's very painless. not much you can do when they have their browser set up by a corporate IT security nazi ;) i suggested doing something server side to see if they had flash, but the express install requires r65 to work and AFAIK you can't get the player version with PHP. please someone tell me i'm wrong - Original Message - From: Matt Muller [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:57 PM Subject: Re: [Flashcoders] Bug in Macromedia's flash detection codewheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Tom, could you elaborate a bit more on what security scenario would cause the no script? Do they have js / vb script disabled in their browsers? Wouldnt the no script just open a page with a link to upgrade? MaTT On 1/6/06, Tom Rhodes [EMAIL PROTECTED] wrote: i just had a client refuse content in 8, because of their security settings rendering the nice smooth express install i had set up useless. they got the noscript instead. so now i'm redoing everything for player 6 (pain the the you know what) :( - Original Message - From: Martin Baltzer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, January 06, 2006 3:36 PM Subject: [Flashcoders] Bug in Macromedia's flash detection code wheninstalled player is either 6.0.22, 6.0.23 and 6.0.29 ? Hi, I'm having a serious detection issue with macromedias own flash detection code which you all probably know can be auto generated along with the html file under publish settings in the Flash8 editor or can be found in their detection kit which contains it as well. The problem is related to the activeX plugin detection more precisely inside the VBScript function below. When the shockwave object is created it asks for the version string: swVersion = swControl.GetVariable($version) and if any of the plugins above is installed it crashes with an error message saying an error happened in Flash player 6.0.xx.ocx. and the browser window shuts down. No errors with plugins lower or higher than that. Has anyone seen this before and knows what to do? Since I'm not the great VBScript shark I'm pretty stuck here and just detecting the clean version number is not enough when you need 6.0.65 to use the new auto install procesdure. !-- // Visual basic helper required to detect Flash Player ActiveX control version information Function VBGetSwfVer(i) on error resume next Dim swControl, swVersion swVersion = 0 set swControl = CreateObject
SV: [Flashcoders] Split String
This is true but beware of a bug in 7.0.14 player which causes a replace at the very end of the string to fail when doing it this way. The bug is related to a different behaviour in thesplit method which fails to divide the string into ie. two pieces when the phrase is at the very end of the string. I solved it by allways add an extra unique char sequence to every string that I wanted to do a replaceon. Below is my bullet proof version:-) /** Searches a sTxt for sFind and replaces sFind with sReplace */ public static function replace(sTxt:String,sFind:String,sReplace:String, b:Boolean) { //Fix bug in fp 7.0.14 by adding a random char sequence in the end //of the string and then remove it again before returning sTxt += |?*; var sChanged:String = sTxt.split(sFind).join(sReplace); return sChanged.substr(0, sChanged.length - 3); } If you don't support player 7 you don't need to worry ;-) /Martin Baltzer Fra: [EMAIL PROTECTED] på vegne af JesterXL Sendt: lø 03-12-2005 20:12 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Split String str = hello/this is a new line/and so is this; str = str.split(/).join(\n); - Original Message - From: [EMAIL PROTECTED] To: Flashcoders@chattyfig.figleaf.com Sent: Saturday, December 03, 2005 2:15 PM Subject: [Flashcoders] Split String Can anyone point me in the right direction on how to split a string using a special character(/). this is my first line / this is my second line / etc... Thanks! ___ 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
SV: [Flashcoders] Disabling Buttons / Actions - FLASH 6
One easy solution is to add a transparent movieclip (cover) at a depth between between Clip A and Clip B which is big enough to cover clip B fully . Give the cover clip an onRelease handler and clip B is no longer clickable. Finally set the handCursor to false to remove it ;-) /Martin Baltzer Fra: [EMAIL PROTECTED] på vegne af Jay Lepore Sendt: lø 03-12-2005 19:26 Til: 'Flashcoders Mailing List' Emne: [Flashcoders] Disabling Buttons / Actions - FLASH 6 Hello, Here is my need. I have a rectangular clip (clipA) on the stage that does not move. I have a scrollable mc (clipB) that lays underneath clipA but is much longer and scrolls up and down underneath clipA. When someone clicks on clipA, I do not want ANY button or mc actions beneath it to be activated. However, if they click on clipB outside the clipA bounds, such actions should occur. I have tried many combinations of enable=false, fake shields beneath and so on to no avail. Anybody got a good suggestion on this? What sayeth the group? Jay FlashBOMB.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
SV: [Flashcoders] Split String
Yes...but just ignore the boolean arg which has no purpose at all - somekind of leftover ;-) Fra: [EMAIL PROTECTED] på vegne af JesterXL Sendt: lø 03-12-2005 20:28 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Split String Nice! I forgot all about that, but remember getting bitten. Cool function! - Original Message - From: Martin Baltzer [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com; Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Saturday, December 03, 2005 2:25 PM Subject: SV: [Flashcoders] Split String This is true but beware of a bug in 7.0.14 player which causes a replace at the very end of the string to fail when doing it this way. The bug is related to a different behaviour in thesplit method which fails to divide the string into ie. two pieces when the phrase is at the very end of the string. I solved it by allways add an extra unique char sequence to every string that I wanted to do a replaceon. Below is my bullet proof version:-) /** Searches a sTxt for sFind and replaces sFind with sReplace */ public static function replace(sTxt:String,sFind:String,sReplace:String, b:Boolean) { //Fix bug in fp 7.0.14 by adding a random char sequence in the end //of the string and then remove it again before returning sTxt += |?*; var sChanged:String = sTxt.split(sFind).join(sReplace); return sChanged.substr(0, sChanged.length - 3); } If you don't support player 7 you don't need to worry ;-) /Martin Baltzer Fra: [EMAIL PROTECTED] på vegne af JesterXL Sendt: lø 03-12-2005 20:12 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Split String str = hello/this is a new line/and so is this; str = str.split(/).join(\n); - Original Message - From: [EMAIL PROTECTED] To: Flashcoders@chattyfig.figleaf.com Sent: Saturday, December 03, 2005 2:15 PM Subject: [Flashcoders] Split String Can anyone point me in the right direction on how to split a string using a special character(/). this is my first line / this is my second line / etc... Thanks! ___ 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
SV: [Flashcoders] get, setTextFormat(), shared fonts and dynamic text fields
Hi All, I tried to get trough the translated version of www.zarate.tv and I didn't understand that much :) But as far as I understood the following issues where unsolved - correct? - It cannot have in the film created text fields from the IDE (not even static) with the same source that the one that is going away to load... - It is not possible to use Bold or Italic styles I just wonder since I have just found the solution for those issues...so I guess the question is if this is common knowledge or do people still think its unsolveable? If anyone is interested in the solution just say so and I'll explain:) Cheers Martin Baltzer Fra: [EMAIL PROTECTED] på vegne af Zárate Sendt: ti 15-11-2005 14:47 Til: Flashcoders mailing list Emne: Re: [Flashcoders] get, setTextFormat(),shared fonts and dynamic text fields Hi! Thanks Cedric! I've to say that Martin Klasson has found some problems with the hack of one single file per font[1], and i haven't had time enough to check it. Hope i will soon. Anyway, i think it still can be usefull. Bye! [1] - http://chattyfig.figleaf.com/pipermail/flashcoders/2005-November/153136.html On 11/15/05, Cedric Muller [EMAIL PROTECTED] wrote: take a look here mind the wrap! (this is babelfish translated from spanish to english, so please be imaginative) http://babelfish.altavista.com/babelfish/trurl_pagecontent? lp=es_enurl=http%3A%2F%2Fwww.zarate.tv%2Farticulos%2Fshared_fonts%2Find ex.php read the small text and look at the ZIP file Description: You can share fonts (or other assets) through SWFs *without* ever linking anything in the FLAs This is the solution Macromedia should have come up with! Funny thing is that it is already here, even Macromedia didn't think of it ;) Thanks again to Zarate! Cedrci Hi guys, I'm trying to solve the shared library, dynamic fonts thing. I have a shared library with some fonts contained in MovieClips. Everything has instance names. Everything is set with linkage identifiers and set to export. In my other FLA I bring the shared library in and access the text format of the text brought in. I then create a text field dynamically and try to set the format gained earlier onto the new field. But guess what - it does not work. Any ideas? (It works if you use the shared library 'properly' eg using File Import Open External Library, but I do not want to do that - I only want to bring in the fonts as and when required.) The text has the rough format apart from the font is incorrect. =( Here's my code. (I've left in all my other attempts) I've tried to embed and not to embed Regards Steve /// CODE // // import a .swf containing movie clips with dynamic text fields in them with embedded fonts // the mcs in the Library are set to have; // - linkage identifiers // - export for runtime sharing selected // - export in first frame seleced // BASIC LOADING OF EXTERNAL .swf FONT CONTAINING FILE / var container:MovieClip = createEmptyMovieClip(container, getNextHighestDepth()); var mcLoader:MovieClipLoader = new MovieClipLoader(); mcLoader.addListener(this); mcLoader.loadClip(designer_fonts.swf, container); function onLoadInit(mc:MovieClip) { trace(onLoadInit: + mc); // wait - just in case it's as not fully loaded timing issue makeText_INT = setInterval(maketext, 1000) changethetext(); } END OF LOADING / / the guts of it function maketext(){ clearInterval(makeText_INT); //_level0.attachMovie(ag_medium, newtext, 150 ); //trace( newtext1 = + _level0.newtext1 ); _level0.createTextField(newtext, 1, 150, 150, 200, 200 ); // tf = new TextFormat(); // get the format off of the shared text fields //var tf:TextFormat = container.ag_book.book.getTextFormat(); var tf:TextFormat = container.ag_book.book.getTextFormat(); tf.size = 50; //tf.font = AvantGarde Bk BT; trace(tf.font = +tf.font); // set the format saved onto the 'vv' text // newtext.setTextFormat(tf); newtext.autoSize = true; newtext.text = a dynamic field; //newtext.embedFonts = true; newtext.setTextFormat(tf); //newtext.setNewTextFormat(tf); for ( var props in tf ) { trace( props + = + tf[props]); }; } /* this is the trace onLoadInit: _level0.container tf.font = AvantGarde Bk BT letterSpacing = 0 kerning = false display = block bullet = false tabStops = blockIndent = 0 leading = 2 indent = 0 rightMargin = 0 leftMargin = 0 align = left underline = false italic = false bold = false target = url = color = 0 size = 50 font