RE: [Flashcoders] Setting up loadVars onLoad handler within custom class
Hi Daniel, Don't you have this line in your code my_lv = new LoadVars(); ? If you don't have this, your loadvars will not work. Bye Daniel Portilla Heras ___ 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] IE6: javascript issues w. events calling:getURL/SWFAddress/Object
Hi Sebastián, why don't you put the window target in the getURL??? getURL("javascript:urchinTracker('"+__newURL.parameters.myURL+"')", "_self") This works fine for me. Bye Daniel Portilla Heras Dpto. Desarrollo Virtual Training TELECOR Tlfno: 915970193 Ext. 5864 (corp: 315 5864) [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
RE: [Flashcoders] Crossdomain problems
Hi Gert, two things about your crossdomain.xml, if you put secure="true" you gives access to files from another httpS://www.mydomain.com but NO from http://www.mydomain.com (If I'm not confused). And the other thing it's that I didn´t be able to give access to a localhost domain, I had to put my files in a test server (with a internet's domain) I hope it solve your problem. Bye Daniel Portilla Heras Dpto. Desarrollo Virtual Training TELECOR Tlfno: 915970193 Ext. 5864 (corp: 315 5864) [EMAIL PROTECTED] -Mensaje original- De: Gert-Jan van der Wel [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 30 de mayo de 2007 16:51 Para: flashcoders@chattyfig.figleaf.com Asunto: [Flashcoders] Crossdomain problems Hi list! I'm a developer on the Floorplanner team (check www.floorplanner.com) and I ran into some crossdomain issues. All the furniture elements are separate swf's which are loaded in one by one. For the sake of scalability we are thinking about moving all the furniture swf's to the Amazon S3 service. So I've uploaded all the swf's to Amazon S3 and I made a little test app to see how things worked. To be short, it didn't. You can load swf's, but no moving, scaling, changing color etc. So I made a new test app using another server of our own: www.floorplanner.nl (because I've more control over this one). Every furniture swf has an movieclip with the name "color". When you select a color in the Floorplanner, the color of this movieclip is changed. My test app checks if it can access that color movieclip. When I run it inside the Flash IDE there is no problem, but run it anywhere else and it will fail. Here is my little test app: http://www.floorplanner.com/assets/lab/crossdomaintest.swf http://www.floorplanner.com/assets/lab/crossdomaintest.fla I've set my crossdomain files to allow everything (for now): http://www.floorplanner.nl/crossdomain.xml http://www.floorplanner.com/crossdomain.xml Can anybody help me and tell me what I'm doing wrong? Bye! Gert-Jan ___ 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] dynamic text not wrapping
HI nik again, sorry but these code are of the help and I don't read it so much. These options are for a single-line textfield, that grows "infinitely". If you want to use multiline you must to set to "true" With the autosize you have to take care because, they are a lot of bugs about this property of the TextFields. I have to make my own function to autoadjust my textfield. It gets the width of the textfield, then It makes the autosize to "none", it sets the width, and sets the autosize to the param ("left" or "right") and it aligns the textfield again. // Begin code function autoadjustTXT(field:TextField, algnText:String){ var wtext:Number; wtext = field._width; field.autoSize = "none"; field._width = wtext field.autoSize = algnText; field.align = algnText; } // End code Daniel Portilla Heras Dpto. Desarrollo Virtual Training TELECOR Tlfno: 915970193 Ext. 5864 (corp: 315 5864) [EMAIL PROTECTED] -Mensaje original- De: nik crosina [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 30 de mayo de 2007 16:48 Para: flashcoders@chattyfig.figleaf.com Asunto: Re: [Flashcoders] dynamic text not wrapping HI, Danny, no I didn't set the wrap property explicitly in actionScript, but only selected multiline (NOT 'multiline no wrap') in the properties. I should mention that it is a dynamic textfield. Daniel, why do I have to create it multiline and wrap = false, only to set these properties to tru later on? Will do some tests, Thanks, Nik On 5/30/07, Daniel Portilla Heras <[EMAIL PROTECTED]> wrote: > Hi Nik, you must to use dynamic texts build on the fly with actionscript. > > // Begin Code > createTextField("my_txt", 1, 0, 0, 200, 20); > with (my_txt) { > border = true; > borderColor = 0x00; > multiline = false; > wordWrap = false; > autoSize = "none"; > text = "this is my first text created dynamically, it's too large and don't > wrap with my textfield"; > } > // End Code > > After this, if you can to set the width to 100px, you have to make it > multiline and wordWrapped, You'll have to set the height according to the > number of lines of scroll you have. > > This is only an idea, I supose that anyone can give you "another hand". > > Bye > > > Daniel Portilla Heras > Dpto. Desarrollo > Virtual Training > TELECOR > Tlfno: 915970193 Ext. 5864 (corp: 315 5864) > [EMAIL PROTECTED] > > > > -Mensaje original- > De: nik crosina [mailto:[EMAIL PROTECTED] > Enviado el: miércoles, 30 de mayo de 2007 13:29 > Para: Flashcoders mailing list > Asunto: [Flashcoders] dynamic text not wrapping > > HI guys, > > an easy one - I can't get a dynamic text filed to wrapp text around > that I am asigning to it with: > > ' messBox_txt.text = "display this really looong sentence ..."; ' > > Using Flash mx 2004 professional. > > Thanks! > > Nik > ___ > 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 > -- Nik C ___ 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] dynamic text not wrapping
Hi Nik, you must to use dynamic texts build on the fly with actionscript. // Begin Code createTextField("my_txt", 1, 0, 0, 200, 20); with (my_txt) { border = true; borderColor = 0x00; multiline = false; wordWrap = false; autoSize = "none"; text = "this is my first text created dynamically, it's too large and don't wrap with my textfield"; } // End Code After this, if you can to set the width to 100px, you have to make it multiline and wordWrapped, You'll have to set the height according to the number of lines of scroll you have. This is only an idea, I supose that anyone can give you "another hand". Bye Daniel Portilla Heras Dpto. Desarrollo Virtual Training TELECOR Tlfno: 915970193 Ext. 5864 (corp: 315 5864) [EMAIL PROTECTED] -Mensaje original- De: nik crosina [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 30 de mayo de 2007 13:29 Para: Flashcoders mailing list Asunto: [Flashcoders] dynamic text not wrapping HI guys, an easy one - I can't get a dynamic text filed to wrapp text around that I am asigning to it with: ' messBox_txt.text = "display this really looong sentence ..."; ' Using Flash mx 2004 professional. Thanks! Nik ___ 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] Reading GPS data into Flash on a Pocket PC?
Hi Phil, can you write files in your Pocket with .NET?? I think that you can read then with flash. Another idea it's to make some .NET webform that replys with the GPS data, Flash can make an getURL command that reads from the .NET web page in you Pocket, but I don´t know how you have to configure the pocket to works with an Internet Server. Daniel Portilla Heras Dpto. Desarrollo Virtual Training TELECOR Tlfno: 915970193 Ext. 5864 (corp: 315 5864) [EMAIL PROTECTED] -Mensaje original- De: Phil Bailey [mailto:[EMAIL PROTECTED] Enviado el: martes, 29 de mayo de 2007 21:39 Para: flashcoders@chattyfig.figleaf.com Asunto: [Flashcoders] Reading GPS data into Flash on a Pocket PC? Hello All -- I am desperately trying to figure out how to read GPS data into Flash on a Pocket PC. I have a bluetooth GPS unit and a Pocket PC running Windows Mobile 5.0. Here is what I've tried: 1. Found a couple of .NET Compact Framework .dlls for Windows Mobile. These have methods for connecting to GPS devices and reading location data. I installed .NET CF on the Pocket PC and I tried using Zinc 2.5 to connect to the .dlls but with no luck. Later I found out that Zinc for Pocket PC supports Windows Mobile 2003, but not later versions such as 5.0. 2. There is an article on the Adobe Flash developer's site about a GPS/Pocket PC project called "Invisible Ideas". The project was done by writing a C++ application that would read the GPS data from the serial port. It would communicate with Flash via an XMLSocket connection. Unfortunately, the article provides no information about the C++ side of things (not that it would help much as I am not a C++ or .NET developer). I am now trying to think of other methods for accomplishing my goal. Any ideas? Does anybody know of someone who has succesfully accomplished the same thing? Best Regards, -- Phil ___ 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] IE7/Flash Player Problem
Hi Jason and everyone, I'm from Spain and I'm new in FlashCoders (sorry my bad english). Have you seen the XML with the IE7 when you had the error? I say that because if the XML is dynamically generated, you can have problems with the encoding Type or special characters. Flash is very strict with the format of the files. Daniel Portilla Heras Dpto. Desarrollo Virtual Training TELECOR Tlfno: 915970193 Ext. 5864 (corp: 315 5864) [EMAIL PROTECTED] -Mensaje original- De: Jason Saelhof [mailto:[EMAIL PROTECTED] Enviado el: martes, 29 de mayo de 2007 1:31 Para: flashcoders@chattyfig.figleaf.com Asunto: [Flashcoders] IE7/Flash Player Problem Hi everyone, I'm currently experiencing a weird bug that only occurs on IE7 (I've tried flash player 8 and all revisions of 9). I'm using XML.sendAndLoad() to send XML to a server retrieve xml back as a response. This is code which has been running in production for years without problem until earlier this month. The problem occurs on the XML object's "onLoad" handler which gets a "success" parameter from the player indicating if the message succeeded or not. Periodically, the flash player reports the message failed (success is false) but my web debugger shows the message was retrieved successfully (I use Charles web debugger). This can happen on any message but generally happens quite randomly. 50 messages may work fine and then one will exhibit this "false negative" behavior from the flash player. Has anyone else experienced this kind of thing with IE7? If so, do you have any further information? Jason ___ 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