RE: [Flashcoders] url encoding in flash?
var encoded_str = escape(decoded_str); var decoded_str = unescape(encoded_str); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of rob costello Sent: Tuesday, May 16, 2006 6:39 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] url encoding in flash? hello all Is there a method / function to URL encode a query string from inside flash - or do we have to do that manually? I have a situation where I need to do an XML sendAndLoad to an external php file I want to do this as GET and pass a parameter to the query string of the php file The parameter is itself a URL with a complex query string (contains characters such as and =) Not surprisingly, this breaks how php reads in the query string - causes it to think there are extra name / value pairs in the url So I'm thinking if there was a URL encoding routine in Flash I could pass the parameter safely, and get php to deencode Any help appreciated Rob Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education Training. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] \r
Remove an empty string from the second statement. Is it also expected? Well, it seems inconsistant, but it's not really unexpected. Without the empty string both hard returns are appended to the end of the previous line, which isn't technically correct, but makes sense in context. With the empty string there is an empty line (your new line), so a line feed is used to go to the next line. Hard return ends a span of text by breaking to the next line. Line feed passes over an empty line without moving the cursor, which is why a hard return (a.k.a. a carriage return) is needed at the end of a span of text. It's old-school logic based on how it would render on paper. If you used a line feed without a carriage return, the proper way to render it would be to move down one line without moving to the first column. Without the empty string, though, there is no new line to pass over, so the html kluge is to simply hard return again. ryanm ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash 8 Debugger Crashes
Dan and John, Thanks for your help. I took a look at the Xray video tutorials. It seems like a great data inspection / manipulation tool, and I will definitely use it on future projects. Nice work John. It doesn't have all of the functionality that I require from an interactive debugger, though, so I can't really use it as a substitute for the Flash debugger. There is no way to set a breakpoint or pause code execution, so there is really no way to use it, for example, to debug issues during object model initialization; examine the transaction data of a transient data set returned from a web service; or trace the flow of control through a series of object instances. Most of the Flash I work with tends to have these characteristics. I have been working on a different set of classes within my same project today, and was able to successfully use the Flash 8 debugger without a crash. That indicates to me that there is a specific bug in the Flash 8 debugger that is triggered by specific code within my project, because when I'm working in this other area of my code I see reproducible crashes. Now to figure out precisely what triggers this bug. I'll report here if I determine the cause. Thanks again. AJ Canepa Runtime Logic www.runtimelogic.com On May 15, 2006, at 6:13 PM, John Grden wrote: when trying xray, be sure to check out the basic videos on how to use it. It's very simple, but the videos can really get you going very quickly http://labs.blitzagency.com/wp-content/xray/videos/tutorials/ indexFlash.html if you have questions, don't hesitate to ask ;) JG On 5/15/06, Dan Efergan [EMAIL PROTECTED] wrote: I haven't had the debugger crashing, but it tends to hang on the evil beach ball (Mac) for what seems like infinity, if trying to do any kind of intensive repetitive tasks (decompiling large amounts of XML is always a killer). Probably not that useful, as the exact same thing happened in 2004 as well. I usually tend to give up on the debugger for large projects and start using too many traces. You tried http://osflash.org/xray . Not much experience with it, but might be a different way of getting in there. Dan On 15 May 2006, at 23:09, AJ Canepa wrote: Has anyone experienced similar issues with debugger stability under Flash 8? Dan Efergan [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 -- John Grden - Blitz ___ 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] url encoding in flash?
Just a tip: you should not use a GET to make any kind of changes on the server, only to request information from the server. Use POST to make changes on the server. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of rob costello Sent: Monday, May 15, 2006 9:39 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] url encoding in flash? hello all Is there a method / function to URL encode a query string from inside flash - or do we have to do that manually? I have a situation where I need to do an XML sendAndLoad to an external php file I want to do this as GET and pass a parameter to the query string of the php file The parameter is itself a URL with a complex query string (contains characters such as and =) Not surprisingly, this breaks how php reads in the query string - causes it to think there are extra name / value pairs in the url So I'm thinking if there was a URL encoding routine in Flash I could pass the parameter safely, and get php to deencode Any help appreciated Rob Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education Training. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] \r
Interesting. How about the following statements, which don't include any empty strings: // Frame action in the main timeline var my0_str:String = newline; my0_str += newline; var my1_str:String = newline+newline; // [Debug] [List Variables]: Variable _level0.my0_str = \n\n Variable _level0.my1_str = \r\r Flash 8.0/Mac OS X.4.6 _ ryanm wrote: Well, it seems inconsistant, but it's not really unexpected. Without the empty string both hard returns are appended to the end of the previous line, which isn't technically correct, but makes sense in context. With the empty string there is an empty line (your new line), so a line feed is used to go to the next line. Hard return ends a span of text by breaking to the next line. Line feed passes over an empty line without moving the cursor, which is why a hard return (a.k.a. a carriage return) is needed at the end of a span of text. It's old-school logic based on how it would render on paper. If you used a line feed without a carriage return, the proper way to render it would be to move down one line without moving to the first column. Without the empty string, though, there is no new line to pass over, so the html kluge is to simply hard return again. Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] \r
No way! They cut corners with their string object handling in Flash? I don't believe it! ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fumio Nonaka Sent: Tuesday, May 16, 2006 2:20 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] \r Interesting. How about the following statements, which don't include any empty strings: // Frame action in the main timeline var my0_str:String = newline; my0_str += newline; var my1_str:String = newline+newline; // [Debug] [List Variables]: Variable _level0.my0_str = \n\n Variable _level0.my1_str = \r\r Flash 8.0/Mac OS X.4.6 _ ryanm wrote: Well, it seems inconsistant, but it's not really unexpected. Without the empty string both hard returns are appended to the end of the previous line, which isn't technically correct, but makes sense in context. With the empty string there is an empty line (your new line), so a line feed is used to go to the next line. Hard return ends a span of text by breaking to the next line. Line feed passes over an empty line without moving the cursor, which is why a hard return (a.k.a. a carriage return) is needed at the end of a span of text. It's old-school logic based on how it would render on paper. If you used a line feed without a carriage return, the proper way to render it would be to move down one line without moving to the first column. Without the empty string, though, there is no new line to pass over, so the html kluge is to simply hard return again. Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] video card suggestions: tearing animations
Are all the LCD's showing the same content? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: 15 May 2006 22:18 To: Flashcoders mailing list Subject: [Flashcoders] video card suggestions: tearing animations Hey all - I've got an application I'm building that is using a digital signage system as an animated menu system, using 2 cards for a 3 LCD output. I'm seeing some TERRIBLE tearing during the animations. At first I thought it was the LCD screen; but swapping in a CRT and I still see the problem. The two cards an Nvidia GeforceFX 540 and an Nvidia Geforce FX5200. I've read recently in a review aobut the 5200: For the long period of its development and short life, the GeForce FX 5200 has changed the recommended clock speeds for the core and memory at least 10 times. The problem is the first tests of pre-production samples demonstrated a performance so astonishingly low that it would be out of the question and even fatal to launch video cards in such a bad condition on to the market. So my question is: I need 3 outputs -- PCI slots -- to drive 3 lcds at 1280x768. Any suggestions? ___ 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] video card suggestions: tearing animations
SLI -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: terça-feira, 16 de Maio de 2006 11:16 To: Flashcoders mailing list Subject: RE: [Flashcoders] video card suggestions: tearing animations Are all the LCD's showing the same content? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: 15 May 2006 22:18 To: Flashcoders mailing list Subject: [Flashcoders] video card suggestions: tearing animations Hey all - I've got an application I'm building that is using a digital signage system as an animated menu system, using 2 cards for a 3 LCD output. I'm seeing some TERRIBLE tearing during the animations. At first I thought it was the LCD screen; but swapping in a CRT and I still see the problem. The two cards an Nvidia GeforceFX 540 and an Nvidia Geforce FX5200. I've read recently in a review aobut the 5200: For the long period of its development and short life, the GeForce FX 5200 has changed the recommended clock speeds for the core and memory at least 10 times. The problem is the first tests of pre-production samples demonstrated a performance so astonishingly low that it would be out of the question and even fatal to launch video cards in such a bad condition on to the market. So my question is: I need 3 outputs -- PCI slots -- to drive 3 lcds at 1280x768. Any suggestions? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] video card suggestions: tearing animations
http://www.matrox.com/graphics/offhome/th2go/home.cfm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Furtado Sent: 16 May 2006 11:54 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] video card suggestions: tearing animations SLI -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: terça-feira, 16 de Maio de 2006 11:16 To: Flashcoders mailing list Subject: RE: [Flashcoders] video card suggestions: tearing animations Are all the LCD's showing the same content? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: 15 May 2006 22:18 To: Flashcoders mailing list Subject: [Flashcoders] video card suggestions: tearing animations Hey all - I've got an application I'm building that is using a digital signage system as an animated menu system, using 2 cards for a 3 LCD output. I'm seeing some TERRIBLE tearing during the animations. At first I thought it was the LCD screen; but swapping in a CRT and I still see the problem. The two cards an Nvidia GeforceFX 540 and an Nvidia Geforce FX5200. I've read recently in a review aobut the 5200: For the long period of its development and short life, the GeForce FX 5200 has changed the recommended clock speeds for the core and memory at least 10 times. The problem is the first tests of pre-production samples demonstrated a performance so astonishingly low that it would be out of the question and even fatal to launch video cards in such a bad condition on to the market. So my question is: I need 3 outputs -- PCI slots -- to drive 3 lcds at 1280x768. Any suggestions? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] obfuscation swf !
Hi Gregory, sorry for the late reply. I have tried SWF Encrypt from Amayeta. I can really recommend it for swf encryption but as I wrote before, it breaks v2 components. Kind Regards, Andy On 5/11/06, GregoryN [EMAIL PROTECTED] wrote: Andy, What kind of encryption have you tried? I use bytecode manipulations (Flare+manually). Some tricks, indeed, break the component (v.2), but others work OK. I don't think it depends on what your component does, rather the encrypting technique itself. -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. - Andy Bueler wrote: Hi, is there a way to protect flash components? Unfortunalty encrypting breaks the components, but is there a tool to at least obfuscation them? Kind Regards, Andy ___ 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] video card suggestions: tearing animations
White space is not allowed before an XML processing Instruction though i have used proper syntax, i get this error whats the solution? - Why was V. Sehwag warned by the BCCI? Share your knowledge on Yahoo! Answers India Send instant messages to your online friends - NOW ___ 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] video card suggestions: tearing animations
White space is not allowed before an XML processing Instruction though i have used proper syntax, i get this error whats the solution? Mike Mountain [EMAIL PROTECTED] wrote: Are all the LCD's showing the same content? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: 15 May 2006 22:18 To: Flashcoders mailing list Subject: [Flashcoders] video card suggestions: tearing animations Hey all - I've got an application I'm building that is using a digital signage system as an animated menu system, using 2 cards for a 3 LCD output. I'm seeing some TERRIBLE tearing during the animations. At first I thought it was the LCD screen; but swapping in a CRT and I still see the problem. The two cards an Nvidia GeforceFX 540 and an Nvidia Geforce FX5200. I've read recently in a review aobut the 5200: For the long period of its development and short life, the GeForce FX 5200 has changed the recommended clock speeds for the core and memory at least 10 times. The problem is the first tests of pre-production samples demonstrated a performance so astonishingly low that it would be out of the question and even fatal to launch video cards in such a bad condition on to the market. So my question is: I need 3 outputs -- PCI slots -- to drive 3 lcds at 1280x768. Any suggestions? ___ 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 - Why was V. Sehwag warned by the BCCI? Share your knowledge on Yahoo! Answers India Send instant messages to your online friends - NOW - Why was V. Sehwag warned by the BCCI? Share your knowledge on Yahoo! Answers India Send instant messages to your online friends - NOW ___ 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] sprouts data structure
I have been in contact with the authoir of Aunt beast. While he isn't offering source code, he has given methe resources he maintains are everything needed to write the game. A paper discussing a previous ly written computer opponent http://citeseer.ist.psu.edu/applegate91computer.html and a paper on a linear programming approach to graph printing http://i11www.ira.uka.de/research/geonet/publications/pdf/n-admm-05d.pdf Unfortunately, I won't get to reading these for a couple of weeks. The end of the semester crush is upon me. On 5/15/06, Bernard Poulin [EMAIL PROTECTED] wrote: more googling... This one seems to link to a word document with some high-level explanation. http://www.pa.uky.edu/~sorokin/stuff/cs650/sprout/sprout.html B. 2006/5/15, Bernard Poulin [EMAIL PROTECTED]: http://mathforum.org/kb/message.jspa?messageID=1091009tstart=0 http://www.pa.uky.edu/~sorokin/stuff/cs650/sprout/SPROUT.CC Somebody did a program called auntbeast which seems to be quite good. I can't find a copy of it nor their source. Might be worth sending an email to them. http://www.geocities.com/chessdp/ *World* *Game* *Of* *Sprouts* * Association* 2006/5/11, Weldon MacDonald [EMAIL PROTECTED]: I have a request for a game called sprouts. The game starts with a few randomly distributed dots. There is one move and 2 restrictions. Move: draw a line for a dot to itself (a loop) or to another dot. Any line drawn has a new dot on it. Restriction 1: no more than 3 lines from any dot. Restriction 2: no lines can cross. Simple game, but the data structure to keep track of the game and in particular to handle restriction 2 is a bear. How do you tell when a dot has been encircled by a line? The game is, of course based on graph theory, and you can represent a graph in several ways, but how to determine that it remains planar? I haen't begun to think about the visual part of this, if I don't have a reasonable data structure I can't teach a computer to play the game. Any ideas? Hints? Wildly improbable ideas? -- Weldon MacDonald ___ 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 -- Weldon MacDonald ___ 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] Open source legal framework
A little off topic but I know that many of us are interested in open source. http://conservancy.softwarefreedom.org/ This is an organization set up to help open source projects with the legal side of things. Providing limited liability, tax exempt status, etc Ron ___ 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] Open source legal framework
Very interesting Ron, thanks for sharing! - Marcelo. On 5/16/06, Ron Wheeler [EMAIL PROTECTED] wrote: A little off topic but I know that many of us are interested in open source. http://conservancy.softwarefreedom.org/ This is an organization set up to help open source projects with the legal side of things. Providing limited liability, tax exempt status, etc Ron ___ 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] HashMap?
Bernard Poulin wrote: If you can not tune a HashMap it will be worse than an ordinary array. It will take more space and more processing time. This will of course depend on the size and usage - it *may* be more efficient with hashmaps. Do you really think we can generalize being it worse all the time? I will not be far wrong. If your primary allocation is to small, many array keys hash to the same spot and you have to search a long linked list. It is is too big, you waste a lot of space. It is not trivial to increase the size of the allocation dynamically since you must rehash all of the entries. Keeping an array ordered to be able to do binary searches can statistically cost a lot of copying at insertion time. You are only adjusting links unless you want a balanced tree. Binary searches may involves a lot more string comparison. In a binary search comparing the string hash value is of no use to know if the value is greater or lower (to decide for the next search direction). In hashmaps, the lookup in the chain after the hash jump can, most of the time, skip a string entry without even looking at the characters by comparing the 32bit integer hashes. String hashes are only useful for looking up a specific value. It is unlikely that the hashes are even stored since once you store the key/value you no longer have any need for the hash since the position in the main table is known and you can follow the links in the overflow back to the main table(usually). If you are hashed into the overflow, you have to examine each key since the hashes are identical for everyone in the list (otherwise they would not be in the list - they would be in another list of collided hashes). About Arrays (this is more than slightly OT) :-) I still believe Arrays are implemented as associative arrays. But this is just pure belief since I have no proof and it could easily change from one version of the VM to the other. Associative array is not a physical description of the implementation. It describes the logical way that an Actionscript programmer finds the value associated with a key. The implementation of Array probably involves a fairly simple linked list of key objects that point to value objects. Whether the keys are linked as a tree structure to speed up access is an interesting question which was raised earlier. var a:Array; a[0] = 'abc'; a[123456789] = 'high index value'; a[this is text] = 'non-integer index'; trace(a.length); /// should output 123456790 Sidenote: I often use this feature of Arrays to make an ordered associative array in one single object. This may look a bit like a hack - but it is perfectly valid. I can both traverse the keys in a fixed custom order and lookup one item with its key directly. Also you can retrieve quickly how many items there are using length. For example, when inserting a new entry, I do something like: a[key] = value; a[a.length] = key; I would really like to have insights into the flash VM implementation so I could do better choices regarding maps and arrays. Agreed regards, B. (--snip--rest of previous mail removed to keep it shorter---snip---) ___ 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] RowHeight of DataGrid or CellRenderer
Hi list, I didnt do anything with DataGrid or CellRenderer till now, so i need little help I make DataGrid, parse XML data and display them in DG. but in description column, i got text, which can be short or longer is it possible to change row height of given row for datagrid to write whole description to row (for longer description there must be 2 rows for that item (hopefully it's clear), or it must be CellRenderer? Till now, i can change only rowHeight for all rows from DataGrid 2nd problem - I need print this DataGrid, I can do this with PrintJob class, but in a case that that list is longer 2 or more pages, i want print it in a way - header list footer - header list footer - etc... must i create own Movieclip for each page, or does it exists easier solution? Thank for your help - Franto http://blog.franto.com http://www.flashcoders.sk ___ 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] OT: Multi-skilled developer needed.
Multi-skilled developer needed for leading Desktop Notifications Company Skinkers is an exciting, rapidly growing, profitable, privately owned UK push-technology software company founded in 2001. Clients include BBC, Wall Street Journal, Cisco, Virgin Atlantic, HSBC, Manchester United and Sky. Skinkers has gained a leading position in the space of desktop alerts and notification in the UK and it is quickly expanding in Italy, Germany, Ireland, Australia, South Africa and the United States of America. As part of our planned expansion, Skinkers now seeks a creative and talented developer, potentially with web application technology/Macromedia Flash programming experience, to join the Professional Services team, leading technical development on client projects. This is a senior role and comes with the responsibility of becoming an integral, communicative member of a team of designers and developers. Candidates need to show an aptitude for rapidly learning new skills, while demonstrating experience in developing using web technologies or Macromedia Flash. Successful candidates will have a good working knowledge of Flash 7+, and also demonstrate a proper understanding of Action Script as a programming language. Experience in Object Orientated AS 2.0 development would be preferable. Demonstrable experience in the following is desirable: * XML/Flash integration * Desktop applications built using an exe wrapper * Complex dynamic data driven sites integrating with any server side technology / database * Complex games requiring involved Action Script programming Plus an understanding of some or all of the following: * ASP * ASP.NET * PHP * RDBMS (SQL, mySQL, PostgreSQL) As part of a dynamic Professional Services team within a growing technology company, candidates will have excellent interpersonal, communication and team working skills, while also being able to work alone on a range of challenging projects. Key responsibilities will be to build bespoke enhancements for a pre-existing application using a proprietary mark-up language, but also leveraging other technologies and platforms to satisfy varied client briefs with integrated solutions. Customer contact will be an integral part of the role, working with clients from the inception through to delivery of projects. Minimum criteria are as follows: * Being a lateral and self motivated thinker * The ability to multi-task and fit into a varied and challenging role * 3 years industry experience of in a development role * 1 year experience in a client-facing role This role represents excellent long-term prospects within a company that has aggressive strategic plans for growth. Location: Central London Salary: £NEG based on experience If you're interested, please mail tim.heyes(at)skinkers.com Cheers, -- Adam Maloney Skinkers Limited +44 (0) 207 579 8368 --- 28-30 Kirby Street | London EC1N 8TE | United Kingdom Tel: +44 (0) 207 579 8350 | Fax: +44 (0) 207 579 8351 Email: [EMAIL PROTECTED] Visit our website @ www.skinkers.com --- This e-mail message and any files transmitted with it may contain confidential information. If you are not the intended recipient, any use, dissemination, distribution or copying of this e-mail message and associated files is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this message from your computer, thank-you. --- ___ 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] How to serialize key events?
What kind of object do you need to save? The nice thing about this approach is that you can create any object that you need and put it in the queue. If you only need a list of buttons pressed, you can have a very simple object. If you need to include internally generated events, you may need an object with more properties. You do not even have store the same type of object each time as long as you can figure out what object is being returned when you ask for the next one. Ron black59mga wrote: Ron, Thanks very much for your response. You asked What is wrong with this?. Probably nothing.. Just lack of experience on my part. The class is now actionscript. I'm trying to figure out what's the right kind of Object to pass to the insert(obj:Object) method. Thoughts? Thanks! The class: class Mailbox { private var numMessages:Number = 0; private var mailbox:Array = new Array(); public function insert(obj:Object):Void { trace(Mailbox:: Insert) mailbox.addElement(obj); numMessages++; // notify(); } public function remove() { while (numMessages == 0) { try { //wait(); } catch (e:Error) { } } var obj:Object = mailbox.firstElement(); mailbox.removeElementAt(0); numMessages--; return obj; } public function numobj():Number { return numMessages; } public function flush():Array { var array:Array = null; if (numMessages 0) array = new Array(); while (numMessages 0) { var obj:Object = mailbox.firstElement(); array.addElement(obj); mailbox.removeElementAt(0); numMessages--; } return array; } } Ron Wheeler [EMAIL PROTECTED] wrote: The code is pretty simple. Have you tried to code and test it under ActionScript? It looks like you add objects to a list and take the first one off the list. It provides a function to find out if there are any objects in the queue. What is wrong with this? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] OT: Multi-skilled developer needed.
There is a script error on your homepage. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Maloney Sent: 16 May 2006 14:08 To: Flashcoders mailing list Subject: [Flashcoders] OT: Multi-skilled developer needed. Multi-skilled developer needed for leading Desktop Notifications Company Skinkers is an exciting, rapidly growing, profitable, privately owned UK push-technology software company founded in 2001. Clients include BBC, Wall Street Journal, Cisco, Virgin Atlantic, HSBC, Manchester United and Sky. Skinkers has gained a leading position in the space of desktop alerts and notification in the UK and it is quickly expanding in Italy, Germany, Ireland, Australia, South Africa and the United States of America. As part of our planned expansion, Skinkers now seeks a creative and talented developer, potentially with web application technology/Macromedia Flash programming experience, to join the Professional Services team, leading technical development on client projects. This is a senior role and comes with the responsibility of becoming an integral, communicative member of a team of designers and developers. Candidates need to show an aptitude for rapidly learning new skills, while demonstrating experience in developing using web technologies or Macromedia Flash. Successful candidates will have a good working knowledge of Flash 7+, and also demonstrate a proper understanding of Action Script as a programming language. Experience in Object Orientated AS 2.0 development would be preferable. Demonstrable experience in the following is desirable: * XML/Flash integration * Desktop applications built using an exe wrapper * Complex dynamic data driven sites integrating with any server side technology / database * Complex games requiring involved Action Script programming Plus an understanding of some or all of the following: * ASP * ASP.NET * PHP * RDBMS (SQL, mySQL, PostgreSQL) As part of a dynamic Professional Services team within a growing technology company, candidates will have excellent interpersonal, communication and team working skills, while also being able to work alone on a range of challenging projects. Key responsibilities will be to build bespoke enhancements for a pre-existing application using a proprietary mark-up language, but also leveraging other technologies and platforms to satisfy varied client briefs with integrated solutions. Customer contact will be an integral part of the role, working with clients from the inception through to delivery of projects. Minimum criteria are as follows: * Being a lateral and self motivated thinker * The ability to multi-task and fit into a varied and challenging role * 3 years industry experience of in a development role * 1 year experience in a client-facing role This role represents excellent long-term prospects within a company that has aggressive strategic plans for growth. Location: Central London Salary: £NEG based on experience If you're interested, please mail tim.heyes(at)skinkers.com Cheers, -- Adam Maloney Skinkers Limited +44 (0) 207 579 8368 --- 28-30 Kirby Street | London EC1N 8TE | United Kingdom Tel: +44 (0) 207 579 8350 | Fax: +44 (0) 207 579 8351 Email: [EMAIL PROTECTED] Visit our website @ www.skinkers.com --- This e-mail message and any files transmitted with it may contain confidential information. If you are not the intended recipient, any use, dissemination, distribution or copying of this e-mail message and associated files is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this message from your computer, thank-you. --- ___ 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] OT: Multi-skilled developer needed.
In fact there are errors popping on every page your halo case study pdf is missing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Maloney Sent: 16 May 2006 14:08 To: Flashcoders mailing list Subject: [Flashcoders] OT: Multi-skilled developer needed. Multi-skilled developer needed for leading Desktop Notifications Company Skinkers is an exciting, rapidly growing, profitable, privately owned UK push-technology software company founded in 2001. Clients include BBC, Wall Street Journal, Cisco, Virgin Atlantic, HSBC, Manchester United and Sky. Skinkers has gained a leading position in the space of desktop alerts and notification in the UK and it is quickly expanding in Italy, Germany, Ireland, Australia, South Africa and the United States of America. As part of our planned expansion, Skinkers now seeks a creative and talented developer, potentially with web application technology/Macromedia Flash programming experience, to join the Professional Services team, leading technical development on client projects. This is a senior role and comes with the responsibility of becoming an integral, communicative member of a team of designers and developers. Candidates need to show an aptitude for rapidly learning new skills, while demonstrating experience in developing using web technologies or Macromedia Flash. Successful candidates will have a good working knowledge of Flash 7+, and also demonstrate a proper understanding of Action Script as a programming language. Experience in Object Orientated AS 2.0 development would be preferable. Demonstrable experience in the following is desirable: * XML/Flash integration * Desktop applications built using an exe wrapper * Complex dynamic data driven sites integrating with any server side technology / database * Complex games requiring involved Action Script programming Plus an understanding of some or all of the following: * ASP * ASP.NET * PHP * RDBMS (SQL, mySQL, PostgreSQL) As part of a dynamic Professional Services team within a growing technology company, candidates will have excellent interpersonal, communication and team working skills, while also being able to work alone on a range of challenging projects. Key responsibilities will be to build bespoke enhancements for a pre-existing application using a proprietary mark-up language, but also leveraging other technologies and platforms to satisfy varied client briefs with integrated solutions. Customer contact will be an integral part of the role, working with clients from the inception through to delivery of projects. Minimum criteria are as follows: * Being a lateral and self motivated thinker * The ability to multi-task and fit into a varied and challenging role * 3 years industry experience of in a development role * 1 year experience in a client-facing role This role represents excellent long-term prospects within a company that has aggressive strategic plans for growth. Location: Central London Salary: £NEG based on experience If you're interested, please mail tim.heyes(at)skinkers.com Cheers, -- Adam Maloney Skinkers Limited +44 (0) 207 579 8368 --- 28-30 Kirby Street | London EC1N 8TE | United Kingdom Tel: +44 (0) 207 579 8350 | Fax: +44 (0) 207 579 8351 Email: [EMAIL PROTECTED] Visit our website @ www.skinkers.com --- This e-mail message and any files transmitted with it may contain confidential information. If you are not the intended recipient, any use, dissemination, distribution or copying of this e-mail message and associated files is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this message from your computer, thank-you. --- ___ 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] NetStream.play() crashes flash if the flv is not found.
has anyone had this experience also. If i call netstream.play('sdf.flv') and the flv isnt found. it crashes both the ide and the player. does it only happen locally? I know there is a NetStream.Play.StreamNotFound event, but that doesnt work. it crashes before that even calls. ___ 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] Are the security differenes in a windowSWF and a swf in Flash Testing?
I am trying to figure out why a call made in a WindowSWF that works while testing with CTRL-Enter ( in Flash) would Fail in the panel. It is a windowSWF that is definitely using local data s well as remoting but it has no problem, executing the call the first time but gets no response the second time. Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash 8 Debugger Crashes
well, while it can't pause the player for breakpoints, it CAN On 5/16/06, AJ Canepa [EMAIL PROTECTED] wrote: Dan and John, Thanks for your help. I took a look at the Xray video tutorials. It seems like a great data inspection / manipulation tool, and I will definitely use it on future projects. Nice work John. It doesn't have all of the functionality that I require from an interactive debugger, though, so I can't really use it as a substitute for the Flash debugger. There is no way to set a breakpoint or pause code execution, so there is really no way to use it, for example, to debug issues during object model initialization; examine the transaction data of a transient data set returned from a web service; or trace the flow of control through a series of object instances. Most of the Flash I work with tends to have these characteristics. I have been working on a different set of classes within my same project today, and was able to successfully use the Flash 8 debugger without a crash. That indicates to me that there is a specific bug in the Flash 8 debugger that is triggered by specific code within my project, because when I'm working in this other area of my code I see reproducible crashes. Now to figure out precisely what triggers this bug. I'll report here if I determine the cause. Thanks again. AJ Canepa Runtime Logic www.runtimelogic.com On May 15, 2006, at 6:13 PM, John Grden wrote: when trying xray, be sure to check out the basic videos on how to use it. It's very simple, but the videos can really get you going very quickly http://labs.blitzagency.com/wp-content/xray/videos/tutorials/ indexFlash.html if you have questions, don't hesitate to ask ;) JG On 5/15/06, Dan Efergan [EMAIL PROTECTED] wrote: I haven't had the debugger crashing, but it tends to hang on the evil beach ball (Mac) for what seems like infinity, if trying to do any kind of intensive repetitive tasks (decompiling large amounts of XML is always a killer). Probably not that useful, as the exact same thing happened in 2004 as well. I usually tend to give up on the debugger for large projects and start using too many traces. You tried http://osflash.org/xray . Not much experience with it, but might be a different way of getting in there. Dan On 15 May 2006, at 23:09, AJ Canepa wrote: Has anyone experienced similar issues with debugger stability under Flash 8? Dan Efergan [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 -- John Grden - Blitz ___ 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 Grden - Blitz ___ 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] vectorshapes to pdf?
blazePDF will do this -- and has been used to do similar Flash vector graphics to PDF art apps (in fact, one app just won an award). www.blazepdf.com is the site, and the free version should be more than enough to get you going. hth :-) g. On 5/15/06, eugen pflüger [EMAIL PROTECTED] wrote: hello, i am just wondering if anybody knowsis there a way to print vectorshapes into a pdf document? i know on mac there was this trick to fire the print function to an virtual laser printer that saved a postscript file. then you could open that document in illustrator. i wonder if now or in as 3.0 (and/or flex) there is a good solution to get vectors. does anybody know? just saw this on flickr. its done with processing. would be great if this would work in flash. http://www.flickr.com/photos/watz/146861875/in/photostream/ tia eugen -- weblog: broadcast.artificialcolors.com blazePDF: www.blazepdf.com band: www.cutratebox.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] Shared object not saving off cd-rom?
Hi list, Does anyone know if there are any gotchas when trying to save a shared object from a flash application running off the cd-rom? I have developed a large e-learning application that runs off the cd-rom and uses a shared object to automatically store all the player info and state. It's already been done and dusted, or so I thought... And I tested the SO saving over and over, both from the hard drive and off the cd-rom. The client has sent this cd-rom to a number of reviewers, and one of them has reported that the player's data isn't being saved. When they leave the game and go back to select a player, they don't have any saved players in the select player section. Nobody else has reported this problem, but these reviewers are not using anything special. Their reported system stats are: Windows XP SP2 w/all current patches, 3 GHz Pentium 4, 1 GB RAM The CD-Rom was developed using Flash MX2004, using a standard Flash projector for the executable. Any ideas? Karina ___ 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] Runtime error
Hello all, I googled this, but could not find anything that would be of help. I am trying to fix this MP3 player that I put up here recently, but now I am getting a runtime error: The application has requested the runtime to terminate in an unusual way. What in the world is this? If you need me to post the code, I will, but just wondered if it was something that you may have heard of. Thanks in advance for any tips/directions to help. -- Jonathan Berry, M.A. IT Consultant 619.306.1712(m) [EMAIL PROTECTED] www.mindarc.com --- This E-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521 and is legally privileged. This information is confidential information and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash 8 Debugger Crashes
gotta love gmail ;) here's the rest of the email... while, it doesn't pause the player (only the flash debugger with the debug player can do this btw), it DOES do everything else the flash debugger does and a ton more. You can look at any complex object at runtime, you can send that object to Xray's trace ( _global.tt() ) and it will recursively trace out the entire object. Likewise, you can inspect any object in the property inspector AND change it's properties at runtime. If that wasn't enough, you can run actionscript using the execute/trace window - actionscript not compiled with the swf, but that you write and run using xray at runtime. Since I can't pause the player and do debugging the way you've specified, I've basically abandoned that way completely and found other ways (using xray) that work prefectly well. In fact, I've never felt at a loss not being able to use break points - though, if I had that ability, I'm sure I'd enjoy using them. With xray's trace and runtime tools, I've never felt handicapped at all. I do wish they'd open up the ability to use breakpoints with external debuggers. I wish Xray could be the tool that met your needs the way YOUR used to debugging. Who knows, maybe they will with Flash 9 - we can only hope ;) JG On 5/16/06, AJ Canepa [EMAIL PROTECTED] wrote: Dan and John, Thanks for your help. I took a look at the Xray video tutorials. It seems like a great data inspection / manipulation tool, and I will definitely use it on future projects. Nice work John. It doesn't have all of the functionality that I require from an interactive debugger, though, so I can't really use it as a substitute for the Flash debugger. There is no way to set a breakpoint or pause code execution, so there is really no way to use it, for example, to debug issues during object model initialization; examine the transaction data of a transient data set returned from a web service; or trace the flow of control through a series of object instances. Most of the Flash I work with tends to have these characteristics. I have been working on a different set of classes within my same project today, and was able to successfully use the Flash 8 debugger without a crash. That indicates to me that there is a specific bug in the Flash 8 debugger that is triggered by specific code within my project, because when I'm working in this other area of my code I see reproducible crashes. Now to figure out precisely what triggers this bug. I'll report here if I determine the cause. Thanks again. AJ Canepa Runtime Logic www.runtimelogic.com On May 15, 2006, at 6:13 PM, John Grden wrote: when trying xray, be sure to check out the basic videos on how to use it. It's very simple, but the videos can really get you going very quickly http://labs.blitzagency.com/wp-content/xray/videos/tutorials/ indexFlash.html if you have questions, don't hesitate to ask ;) JG On 5/15/06, Dan Efergan [EMAIL PROTECTED] wrote: I haven't had the debugger crashing, but it tends to hang on the evil beach ball (Mac) for what seems like infinity, if trying to do any kind of intensive repetitive tasks (decompiling large amounts of XML is always a killer). Probably not that useful, as the exact same thing happened in 2004 as well. I usually tend to give up on the debugger for large projects and start using too many traces. You tried http://osflash.org/xray . Not much experience with it, but might be a different way of getting in there. Dan On 15 May 2006, at 23:09, AJ Canepa wrote: Has anyone experienced similar issues with debugger stability under Flash 8? Dan Efergan [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 -- John Grden - Blitz ___ 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 Grden - Blitz ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software
Re: [Flashcoders] Runtime error
Nothing I've heard of, but that's not saying much. Why don't you post the code? At 09:10 AM 5/16/2006, you wrote: Hello all, I googled this, but could not find anything that would be of help. I am trying to fix this MP3 player that I put up here recently, but now I am getting a runtime error: The application has requested the runtime to terminate in an unusual way. What in the world is this? If you need me to post the code, I will, but just wondered if it was something that you may have heard of. Thanks in advance for any tips/directions to help. -- Jonathan Berry, M.A. IT Consultant 619.306.1712(m) [EMAIL PROTECTED] www.mindarc.com --- This E-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521 and is legally privileged. This information is confidential information and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- ___ 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 ---asai ___ 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] Runtime error
Thanks, Asai. We just tried to test in another copy of Flash and still got that crash. Here's my code. Something may have changed that we can't see: System.security.allowDomain(http://216.235.91.30;); //System.security.allowDomain(http://www.live365.com/;); var up:Boolean = false; var reloadInt:Number; function createLoaderText(output){ _root.createEmptyMovieClip(loader_mc,1000); loader_mc.createTextField(p_txt,1100,60,6,160,20); loader_mc.p_txt.text = output; var loadingFmt:TextFormat = new TextFormat(); loadingFmt.font = My Font; loadingFmt.color = 0xFF9900; loadingFmt.bold = true; loader_mc.p_txt.embedFonts = true; loader_mc.p_txt.setTextFormat(loadingFmt); loader_mc.onEnterFrame = function(){ if(up == false){ this.p_txt._alpha -= 5; if(this.p_txt._alpha = 0){ up = true; } }else{ this.p_txt._alpha += 5; if(this.p_txt._alpha = 100){ up = false; } } } } var radio:Sound = new Sound(); var volume:Number = 50; var marker:MovieClip = volume_mc.slider_mc; var volTrackFactor = volume_mc.track_mc._width/100; var stopped:Boolean = false; var trackLoaded:Boolean; vumeter_mc.stop(); function playRadio(){ radio.stop(); delete radio; if(!loader_mc){ createLoaderText(loading); } mute_mc.gotoAndStop(1); volume_mc.slider_mc._x = volume_mc.track_mc._x + volume_mc.track_mc._width/2 - 10; stopped = false; radio = new Sound(); radio.setVolume(volume); radio.loadSound(http://216.235.91.30:80,true);//http://216.235.91.30:80 OR http://www.live365.com/play/signonsandiego/pro stop1_btn.enabled = true; stop1_btn._alpha = 100; play1_btn.enabled = false; play1_btn._alpha = 30; var lastPosition = 0; vumeter_mc.onEnterFrame = function(){ if(radio.position 1 stopped==false radio.position lastPosition){ lastPosition = radio.position; clearInterval(reloadInt); loader_mc.removeMovieClip(); vumeter_mc.play(); }else{ if(!loader_mc){ createLoaderText(buffering); } vumeter_mc.gotoAndStop(1); } } reload(); } function stopPlay(){ delete vumeter_mc.onEnterFrame; clearInterval(reloadInt); loader_mc.removeMovieClip(); mute_mc.gotoAndStop(1); vumeter_mc.gotoAndStop(1); stopped = true; radio.stop(); play1_btn.enabled = true; play1_btn._alpha = 100; stop1_btn.enabled = false; stop1_btn._alpha = 30; } play1_btn.onRelease = playRadio; stop1_btn.onRelease = stopPlay; marker.onPress = function ():Void { this.startDrag(false, 0, this._y, volume_mc.track_mc._width-10, this._y); this.onMouseMove = function():Void { mute_mc.gotoAndStop(1); volume = Math.floor(this._x/volTrackFactor); radio.setVolume(volume); updateAfterEvent(); } } marker.onRollOver = function(){ marker.gotoAndStop(2); } marker.onRollOut = function(){ marker.gotoAndStop(1); } marker.onRelease = marker.onReleaseOutside = function():Void { this.stopDrag(); delete this.onMouseMove; } var mute:Boolean = false; mute_mc.onRollOver = function(){ mute_mc.gotoAndStop(2); } mute_mc.onRollOut = function(){ if(mute){ mute_mc.gotoAndPlay(3); }else{ mute_mc.gotoAndStop(1); } } mute_mc.onRelease = function(){ if(mute==true){ mute_mc.gotoAndStop(1); mute = false; marker._x = volume_mc.track_mc._x + (volume_mc.track_mc._width/(100/volume)); radio.setVolume(volume); }else{ mute_mc.gotoAndPlay(3); mute = true; radio.setVolume(0); marker._x = volume_mc.track_mc._x; } } playRadio(); function reload(){ reloadInt = setInterval(function(){if(radio.position 1){stopPlay(); playRadio();}},6000); } stop(); On 6/16/06, Asai [EMAIL PROTECTED] wrote: Nothing I've heard of, but that's not saying much. Why don't you post the code? ___ 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] Multiple FLVPlayback problem
Originally posted on OSFlash.org list, sorry to double post, sent to wrong list. Hi all, I am working on several projects that have very large videos (1-2 hours) that need to be delivered on CD-Rom Intranet. After trying to use one large video file I realized there is a large problem when seeking to any point in the video in that It has to buffer itself up to the point you wish to play on these large videos that can take quite some time. This led me to chop the video up into 2 min chunks write a segmented video player so they play as one video. This is working great on most machines but on the occasional Windows 98 machine it is crashing when initially grabbing the flv's. I think the problem is that when initializing the component it is trying to load all the flv's at once. Does anyone have any insight into this? Is there another segmented video player about? Here is the class: /*** * @author - James Tann * * FILE :: SegmentedFLVPlayback.as * PACKAGE :: com.codesortium.video.SegmentedFLVPlayback * AUTHOR:: James Tann * AUTHOR SITE :: http://www.avtgroup.com * CREATED :: 10/04/2006 * DESCRIPTION :: / // ** AUTO-UI IMPORT STATEMENTS ** // ** END AUTO-UI IMPORT STATEMENTS ** import mx.video.FLVPlayback; import mx.utils.Delegate; import mx.events.EventDispatcher; class com.codesortium.video.SegmentedFLVPlayback extends MovieClip { // Constants: public static var CLASS_REF :Function = com.codesortium.video.SegmentedFLVPlayback; public static var LINKAGE_ID:String = SegmentedFLVPlayback; public static var SymbolLinked :Boolean= Object.registerClass(LINKAGE_ID, CLASS_REF); // Public Properties: public var addEventListener :Function; public var removeEventListener :Function; public var autoPlay :Boolean = false; public var bufferTime :Number = 0.1; public var playheadTime :Number = 0; public var playheadUpdateInterval :Number = 250; public var progressInterval :Number = 250; public var state:String = ; public var totalTime:Number = 0; public var stateResponsive :Boolean = false; public var buffering:Boolean = false; // Private Properties: private var dispatchEvent :Function; private var _arrFLVPlayback :Array; private var _activeFlvPlayback :FLVPlayback; private var _totalLength:Number = 0; private var _position :Number = 0; private var _volume :Number = 100; private var _arrCuePoints :Array; // UI Elements: // ** AUTO-UI ELEMENTS ** private var mcBackground:MovieClip; // ** END AUTO-UI ELEMENTS ** // Initialization: private function SegmentedFLVPlayback() { EventDispatcher.initialize(this); _arrFLVPlayback = new Array(); _arrCuePoints = new Array(); } private function onLoad():Void { configUI(); } // Public Methods: public function toString() : String { return com.codesortium.video.SegmentedFLVPlayback; } public function get width():Number{ return _width; } public function set width(intSet:Number):Void{ _width = intSet; } public function get height():Number{ return _height; } public function set height(intSet:Number):Void{ _height = intSet; } public function get length():Number{ return _totalLength; } public function get playing():Boolean{ return _activeFlvPlayback.playing; } public function get volume():Number{ return _volume; } public function set volume(intSet:Number):Void{ _volume = intSet; for(var i:Number=0; i_arrFLVPlayback.length; i++){ FLVPlayback(_arrFLVPlayback[i]).volume = _volume; } } public function addFLV(strURI:String):Void{ var newFLVPlayback :FLVPlayback; newFLVPlayback = FLVPlayback(this.attachMovie(FLVPlayback,FLVPlayback + _arrFLVPlayback.length, this.getNextHighestDepth()));
[Flashcoders] Scrollpane Movement
I'm knocking up a quick scrollpane(needs to be small filesize) and I'm having a '20 minutes till home time moment'... To work out the amount to move the content I have it as: ratio = contentHeight - trackHeight; theContent._y += pixelsMoved * ratio; Where track is the slot the scroll bar moves up and down in and content is the MC I'm putting in the scroll pane. What haven't I thought of or what am I doing wrong. Right now the content shoots off screen. I'm still debugging but I thought I'd put this out there incase someone has the equation needed to hand. Thanks. Adrian Lynch ___ 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] Scrollpane Movement
Don't you want... ratio = contentHeight/trackHeight Or am I missing something too? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch Sent: Tuesday, May 16, 2006 12:43 PM To: Flashcoders Subject: [Flashcoders] Scrollpane Movement I'm knocking up a quick scrollpane(needs to be small filesize) and I'm having a '20 minutes till home time moment'... To work out the amount to move the content I have it as: ratio = contentHeight - trackHeight; theContent._y += pixelsMoved * ratio; Where track is the slot the scroll bar moves up and down in and content is the MC I'm putting in the scroll pane. What haven't I thought of or what am I doing wrong. Right now the content shoots off screen. I'm still debugging but I thought I'd put this out there incase someone has the equation needed to hand. Thanks. Adrian Lynch ___ 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] Runtime error
It seems the problem is that where you're using this code: radio.loadSound(http://216.235.91.30:80,true); is what is crashing it. You've got to be more specific about what it is you're wanting to load, like http://216.235.91.30:80/yourSound.mp3 Flash can't load an entire IP. ;-) At 09:22 AM 5/16/2006, you wrote: Thanks, Asai. We just tried to test in another copy of Flash and still got that crash. Here's my code. Something may have changed that we can't see: System.security.allowDomain(http://216.235.91.30;); //System.security.allowDomain(http://www.live365.com/;); var up:Boolean = false; var reloadInt:Number; function createLoaderText(output){ _root.createEmptyMovieClip(loader_mc,1000); loader_mc.createTextField(p_txt,1100,60,6,160,20); loader_mc.p_txt.text = output; var loadingFmt:TextFormat = new TextFormat(); loadingFmt.font = My Font; loadingFmt.color = 0xFF9900; loadingFmt.bold = true; loader_mc.p_txt.embedFonts = true; loader_mc.p_txt.setTextFormat(loadingFmt); loader_mc.onEnterFrame = function(){ if(up == false){ this.p_txt._alpha -= 5; if(this.p_txt._alpha = 0){ up = true; } }else{ this.p_txt._alpha += 5; if(this.p_txt._alpha = 100){ up = false; } } } } var radio:Sound = new Sound(); var volume:Number = 50; var marker:MovieClip = volume_mc.slider_mc; var volTrackFactor = volume_mc.track_mc._width/100; var stopped:Boolean = false; var trackLoaded:Boolean; vumeter_mc.stop(); function playRadio(){ radio.stop(); delete radio; if(!loader_mc){ createLoaderText(loading); } mute_mc.gotoAndStop(1); volume_mc.slider_mc._x = volume_mc.track_mc._x + volume_mc.track_mc._width/2 - 10; stopped = false; radio = new Sound(); radio.setVolume(volume); radio.loadSound(http://216.235.91.30:80,true);//http://216.235.91.30:80 OR http://www.live365.com/play/signonsandiego/pro stop1_btn.enabled = true; stop1_btn._alpha = 100; play1_btn.enabled = false; play1_btn._alpha = 30; var lastPosition = 0; vumeter_mc.onEnterFrame = function(){ if(radio.position 1 stopped==false radio.position lastPosition){ lastPosition = radio.position; clearInterval(reloadInt); loader_mc.removeMovieClip(); vumeter_mc.play(); }else{ if(!loader_mc){ createLoaderText(buffering); } vumeter_mc.gotoAndStop(1); } } reload(); } function stopPlay(){ delete vumeter_mc.onEnterFrame; clearInterval(reloadInt); loader_mc.removeMovieClip(); mute_mc.gotoAndStop(1); vumeter_mc.gotoAndStop(1); stopped = true; radio.stop(); play1_btn.enabled = true; play1_btn._alpha = 100; stop1_btn.enabled = false; stop1_btn._alpha = 30; } play1_btn.onRelease = playRadio; stop1_btn.onRelease = stopPlay; marker.onPress = function ():Void { this.startDrag(false, 0, this._y, volume_mc.track_mc._width-10, this._y); this.onMouseMove = function():Void { mute_mc.gotoAndStop(1); volume = Math.floor(this._x/volTrackFactor); radio.setVolume(volume); updateAfterEvent(); } } marker.onRollOver = function(){ marker.gotoAndStop(2); } marker.onRollOut = function(){ marker.gotoAndStop(1); } marker.onRelease = marker.onReleaseOutside = function():Void { this.stopDrag(); delete this.onMouseMove; } var mute:Boolean = false; mute_mc.onRollOver = function(){ mute_mc.gotoAndStop(2); } mute_mc.onRollOut = function(){ if(mute){ mute_mc.gotoAndPlay(3); }else{ mute_mc.gotoAndStop(1); } } mute_mc.onRelease = function(){ if(mute==true){ mute_mc.gotoAndStop(1); mute = false; marker._x = volume_mc.track_mc._x + (volume_mc.track_mc._width/(100/volume)); radio.setVolume(volume); }else{ mute_mc.gotoAndPlay(3); mute = true; radio.setVolume(0); marker._x = volume_mc.track_mc._x; } } playRadio(); function reload(){ reloadInt = setInterval(function(){if(radio.position 1){stopPlay(); playRadio();}},6000); } stop(); On 6/16/06, Asai [EMAIL PROTECTED] wrote: Nothing I've heard of, but that's not saying much. Why don't you post the code? ___ 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 ---asai ___ 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] Scrollpane Movement
ratio = contentHeight - trackHeight; should have been: ratio = contentHeight / trackHeight; Thanks for reading :O) Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Adrian Lynch Sent: 16 May 2006 17:43 To: Flashcoders Subject: [Flashcoders] Scrollpane Movement I'm knocking up a quick scrollpane(needs to be small filesize) and I'm having a '20 minutes till home time moment'... To work out the amount to move the content I have it as: ratio = contentHeight - trackHeight; theContent._y += pixelsMoved * ratio; Where track is the slot the scroll bar moves up and down in and content is the MC I'm putting in the scroll pane. What haven't I thought of or what am I doing wrong. Right now the content shoots off screen. I'm still debugging but I thought I'd put this out there incase someone has the equation needed to hand. Thanks. Adrian Lynch ___ 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] Scrollpane Movement
Nope, that was it, cheers. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jim Robson Sent: 16 May 2006 17:48 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Scrollpane Movement Don't you want... ratio = contentHeight/trackHeight Or am I missing something too? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch Sent: Tuesday, May 16, 2006 12:43 PM To: Flashcoders Subject: [Flashcoders] Scrollpane Movement I'm knocking up a quick scrollpane(needs to be small filesize) and I'm having a '20 minutes till home time moment'... To work out the amount to move the content I have it as: ratio = contentHeight - trackHeight; theContent._y += pixelsMoved * ratio; Where track is the slot the scroll bar moves up and down in and content is the MC I'm putting in the scroll pane. What haven't I thought of or what am I doing wrong. Right now the content shoots off screen. I'm still debugging but I thought I'd put this out there incase someone has the equation needed to hand. Thanks. Adrian Lynch ___ 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] Enabling DateFields´s textField ?
Hia List, I allready googled around and searched some forums but couldn´t find an answer. I´m looking for a way to allow the user to enter a date directly into the textField instance of a DateField V2 UI Component without forcing him to use the calendar that pops up as soon as you click on that field. The idea behind that is that I want to make it more comfortable for the user to enter dates that are far away from current date. eg. a User wanted to enter a pre-UNIX era date and somewhere in the 1990's he stopped clicking ;) Thanks for any thoughts, André ___ 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] Runtime error
We were told by Live365 that that is the best IP to use and that it resolves to a single stream. The exported movie plays in Firefox, but the problem of testing the movie in the IDE still happens and it doesn't play in all the copies of IE we are running. The commented out code you can see shows the previous URL for use. On 6/16/06, Asai [EMAIL PROTECTED] wrote: It seems the problem is that where you're using this code: radio.loadSound(http://216.235.91.30:80,true); is what is crashing it. You've got to be more specific about what it is you're wanting to load, like http://216.235.91.30:80/yourSound.mp3 Flash can't load an entire IP. ;-) At 09:22 AM 5/16/2006, you wrote: Thanks, Asai. We just tried to test in another copy of Flash and still got that crash. Here's my code. Something may have changed that we can't see: System.security.allowDomain(http://216.235.91.30;); //System.security.allowDomain(http://www.live365.com/;); var up:Boolean = false; var reloadInt:Number; function createLoaderText(output){ _root.createEmptyMovieClip(loader_mc,1000); loader_mc.createTextField(p_txt,1100,60,6,160,20); loader_mc.p_txt.text = output; var loadingFmt:TextFormat = new TextFormat(); loadingFmt.font = My Font; loadingFmt.color = 0xFF9900; loadingFmt.bold = true; loader_mc.p_txt.embedFonts = true; loader_mc.p_txt.setTextFormat(loadingFmt); loader_mc.onEnterFrame = function(){ if(up == false){ this.p_txt._alpha -= 5; if(this.p_txt._alpha = 0){ up = true; } }else{ this.p_txt._alpha += 5; if(this.p_txt._alpha = 100){ up = false; } } } } var radio:Sound = new Sound(); var volume:Number = 50; var marker:MovieClip = volume_mc.slider_mc; var volTrackFactor = volume_mc.track_mc._width/100; var stopped:Boolean = false; var trackLoaded:Boolean; vumeter_mc.stop(); function playRadio(){ radio.stop(); delete radio; if(!loader_mc){ createLoaderText(loading); } mute_mc.gotoAndStop(1); volume_mc.slider_mc._x = volume_mc.track_mc._x + volume_mc.track_mc._width/2 - 10; stopped = false; radio = new Sound(); radio.setVolume(volume); radio.loadSound(http://216.235.91.30:80 ,true);//http://216.235.91.30:80 OR http://www.live365.com/play/signonsandiego/pro stop1_btn.enabled = true; stop1_btn._alpha = 100; play1_btn.enabled = false; play1_btn._alpha = 30; var lastPosition = 0; vumeter_mc.onEnterFrame = function(){ if(radio.position 1 stopped==false radio.position lastPosition){ lastPosition = radio.position; clearInterval(reloadInt); loader_mc.removeMovieClip(); vumeter_mc.play(); }else{ if(!loader_mc){ createLoaderText(buffering); } vumeter_mc.gotoAndStop(1); } } reload(); } function stopPlay(){ delete vumeter_mc.onEnterFrame; clearInterval(reloadInt); loader_mc.removeMovieClip(); mute_mc.gotoAndStop(1); vumeter_mc.gotoAndStop(1); stopped = true; radio.stop(); play1_btn.enabled = true; play1_btn._alpha = 100; stop1_btn.enabled = false; stop1_btn._alpha = 30; } play1_btn.onRelease = playRadio; stop1_btn.onRelease = stopPlay; marker.onPress = function ():Void { this.startDrag(false, 0, this._y, volume_mc.track_mc._width-10, this._y); this.onMouseMove = function():Void { mute_mc.gotoAndStop(1); volume = Math.floor(this._x/volTrackFactor); radio.setVolume(volume); updateAfterEvent(); } } marker.onRollOver = function(){ marker.gotoAndStop(2); } marker.onRollOut = function(){ marker.gotoAndStop(1); } marker.onRelease = marker.onReleaseOutside = function():Void { this.stopDrag(); delete this.onMouseMove; } var mute:Boolean = false; mute_mc.onRollOver = function(){ mute_mc.gotoAndStop(2); } mute_mc.onRollOut = function(){ if(mute){ mute_mc.gotoAndPlay(3); }else{ mute_mc.gotoAndStop(1); } } mute_mc.onRelease = function(){ if(mute==true){ mute_mc.gotoAndStop(1); mute = false; marker._x = volume_mc.track_mc._x + (volume_mc.track_mc._width/(100/volume)); radio.setVolume(volume); }else{ mute_mc.gotoAndPlay(3); mute = true; radio.setVolume(0); marker._x = volume_mc.track_mc._x; } } playRadio(); function reload(){ reloadInt = setInterval(function(){if(radio.position 1){stopPlay(); playRadio();}},6000); } stop(); On 6/16/06, Asai [EMAIL PROTECTED] wrote: Nothing I've heard of, but that's not saying much. Why don't you post the code? ___ 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
Re: [Flashcoders] Runtime error
Right, I don't know if this is the best advice by any means, but when a situation like that happens in the IDE and if it doesn't run in certain copies of IE, you may want to reconsider using that particular IP. It may be less of a headache in the short term and in the long run. I tested it and, yeah, it just crashed Flash completely. There may be other work arounds. Again, I would advise finding a more specific URL for that stream if at all possible, but I'm no expert. At 10:09 AM 5/16/2006, you wrote: We were told by Live365 that that is the best IP to use and that it resolves to a single stream. The exported movie plays in Firefox, but the problem of testing the movie in the IDE still happens and it doesn't play in all the copies of IE we are running. The commented out code you can see shows the previous URL for use. On 6/16/06, Asai [EMAIL PROTECTED] wrote: It seems the problem is that where you're using this code: radio.loadSound(http://216.235.91.30:80,true); is what is crashing it. You've got to be more specific about what it is you're wanting to load, like http://216.235.91.30:80/yourSound.mp3 Flash can't load an entire IP. ;-) At 09:22 AM 5/16/2006, you wrote: Thanks, Asai. We just tried to test in another copy of Flash and still got that crash. Here's my code. Something may have changed that we can't see: System.security.allowDomain(http://216.235.91.30;); //System.security.allowDomain(http://www.live365.com/;); var up:Boolean = false; var reloadInt:Number; function createLoaderText(output){ _root.createEmptyMovieClip(loader_mc,1000); loader_mc.createTextField(p_txt,1100,60,6,160,20); loader_mc.p_txt.text = output; var loadingFmt:TextFormat = new TextFormat(); loadingFmt.font = My Font; loadingFmt.color = 0xFF9900; loadingFmt.bold = true; loader_mc.p_txt.embedFonts = true; loader_mc.p_txt.setTextFormat(loadingFmt); loader_mc.onEnterFrame = function(){ if(up == false){ this.p_txt._alpha -= 5; if(this.p_txt._alpha = 0){ up = true; } }else{ this.p_txt._alpha += 5; if(this.p_txt._alpha = 100){ up = false; } } } } var radio:Sound = new Sound(); var volume:Number = 50; var marker:MovieClip = volume_mc.slider_mc; var volTrackFactor = volume_mc.track_mc._width/100; var stopped:Boolean = false; var trackLoaded:Boolean; vumeter_mc.stop(); function playRadio(){ radio.stop(); delete radio; if(!loader_mc){ createLoaderText(loading); } mute_mc.gotoAndStop(1); volume_mc.slider_mc._x = volume_mc.track_mc._x + volume_mc.track_mc._width/2 - 10; stopped = false; radio = new Sound(); radio.setVolume(volume); radio.loadSound(http://216.235.91.30:80 ,true);//http://216.235.91.30:80 OR http://www.live365.com/play/signonsandiego/pro stop1_btn.enabled = true; stop1_btn._alpha = 100; play1_btn.enabled = false; play1_btn._alpha = 30; var lastPosition = 0; vumeter_mc.onEnterFrame = function(){ if(radio.position 1 stopped==false radio.position lastPosition){ lastPosition = radio.position; clearInterval(reloadInt); loader_mc.removeMovieClip(); vumeter_mc.play(); }else{ if(!loader_mc){ createLoaderText(buffering); } vumeter_mc.gotoAndStop(1); } } reload(); } function stopPlay(){ delete vumeter_mc.onEnterFrame; clearInterval(reloadInt); loader_mc.removeMovieClip(); mute_mc.gotoAndStop(1); vumeter_mc.gotoAndStop(1); stopped = true; radio.stop(); play1_btn.enabled = true; play1_btn._alpha = 100; stop1_btn.enabled = false; stop1_btn._alpha = 30; } play1_btn.onRelease = playRadio; stop1_btn.onRelease = stopPlay; marker.onPress = function ():Void { this.startDrag(false, 0, this._y, volume_mc.track_mc._width-10, this._y); this.onMouseMove = function():Void { mute_mc.gotoAndStop(1); volume = Math.floor(this._x/volTrackFactor); radio.setVolume(volume); updateAfterEvent(); } } marker.onRollOver = function(){ marker.gotoAndStop(2); } marker.onRollOut = function(){ marker.gotoAndStop(1); } marker.onRelease = marker.onReleaseOutside = function():Void { this.stopDrag(); delete this.onMouseMove; } var mute:Boolean = false; mute_mc.onRollOver = function(){ mute_mc.gotoAndStop(2); } mute_mc.onRollOut = function(){ if(mute){ mute_mc.gotoAndPlay(3); }else{ mute_mc.gotoAndStop(1); } } mute_mc.onRelease = function(){ if(mute==true){ mute_mc.gotoAndStop(1); mute = false; marker._x = volume_mc.track_mc._x + (volume_mc.track_mc._width/(100/volume)); radio.setVolume(volume); }else{ mute_mc.gotoAndPlay(3); mute = true; radio.setVolume(0); marker._x =
RE: [Flashcoders] Enabling DateFields´s textField ?
dooohhh, how was that about the forest and the trees? Thanks for opening my eyes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson Sent: Tuesday, May 16, 2006 7:15 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Enabling DateFields´s textField ? You could just use a TextField with a DateChooser component. Place a calendar icon next to the TextField: the look is similar to the DateField, and you can code it to do whatever you need it to do. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: Tuesday, May 16, 2006 12:59 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Enabling DateFields´s textField ? Hia List, I allready googled around and searched some forums but couldn´t find an answer. I´m looking for a way to allow the user to enter a date directly into the textField instance of a DateField V2 UI Component without forcing him to use the calendar that pops up as soon as you click on that field. The idea behind that is that I want to make it more comfortable for the user to enter dates that are far away from current date. eg. a User wanted to enter a pre-UNIX era date and somewhere in the 1990's he stopped clicking ;) Thanks for any thoughts, André ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Shared object not saving off cd-rom?
Karina Steffens wrote: Hi list, Does anyone know if there are any gotchas when trying to save a shared object from a flash application running off the cd-rom? The client has sent this cd-rom to a number of reviewers, and one of them has reported that the player's data isn't being saved. When they leave the game and go back to select a player, they don't have any saved players in the select player section. Kind of taking a stab in the dark here (and operating on far too little coffee today), but when I've run into problems like this in the past (with Zinc), the solution was to use localPath, var mySO:SharedObject = SharedObject.getLocal(soName, /); http://livedocs.macromedia.com/flash/8/main/2665.html good luck!! - jim -- 2112 FX :: Singularity [Business Intelligence][Custom Programming] Flash Math Blog :: www.2112fx.com/blog ___ 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] Q: Upload image and embed in video
Hi I'm trying to achieve a similar effect to what is done on the 'weddingCrasher' movie site http://www.weddingcrashersmovie.com/crashthistrailer/ Can anyone point me in the right direction as to how to achieve this? I assume some sort of server side scripting is required. Additionally, what if I wanted to 'share' this customized video with otherswhat would be required? Any help appreciated! Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Serial Port Communication
Hello all, I need to create a standalone exe and send commands to an external device through a serial port. This is readily done w/MM Director and the SerialXtra, but is this doable w/Flash? Thanks in Advance, vf ___ 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 make a MAC - PC hybrid CD-ROM
Hey everyone, I have built a CD-ROM deliverable PC (flash) application. The client now wants to make it a hybrid application that will run on both PC and MAC. Currently I'm using an AUTORUN.ini file to auto launch the app.exe. How would I do this for the MAC projector (.hqx) file? Is there anything I need to be aware of because of the differences MAC OS 9 and MAC OS 10+? Thanks in advance ___ 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] Serial Port Communication
Flash has no access to the OS. You must use a 3rd party wrapper that allows it, or Director, which does also. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of varfoo Sent: Tuesday, May 16, 2006 11:36 AM To: Flashcoders Mailing List Subject: [Flashcoders] Serial Port Communication Hello all, I need to create a standalone exe and send commands to an external device through a serial port. This is readily done w/MM Director and the SerialXtra, but is this doable w/Flash? Thanks in Advance, vf ___ 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] How to make a MAC - PC hybrid CD-ROM
I haven't done this for a couple of years, but I used to use CDEverywhere (www.cdeverywhere.com). It has a really complete feature set for creating hybrid discs, including autorun. For more info, Google Mac PC hybrid cd. That should give you scads of programs and discussions on the subject. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Brantley Sent: Tuesday, May 16, 2006 2:54 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] How to make a MAC - PC hybrid CD-ROM Hey everyone, I have built a CD-ROM deliverable PC (flash) application. The client now wants to make it a hybrid application that will run on both PC and MAC. Currently I'm using an AUTORUN.ini file to auto launch the app.exe. How would I do this for the MAC projector (.hqx) file? Is there anything I need to be aware of because of the differences MAC OS 9 and MAC OS 10+? Thanks in advance ___ 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] How to make a MAC - PC hybrid CD-ROM
Here is me answering my own question. http://www.were-here.com/content/templates/articles.asp?articleid=140zo neid=7 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Brantley Sent: Tuesday, May 16, 2006 2:54 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] How to make a MAC - PC hybrid CD-ROM Hey everyone, I have built a CD-ROM deliverable PC (flash) application. The client now wants to make it a hybrid application that will run on both PC and MAC. Currently I'm using an AUTORUN.ini file to auto launch the app.exe. How would I do this for the MAC projector (.hqx) file? Is there anything I need to be aware of because of the differences MAC OS 9 and MAC OS 10+? Thanks in advance ___ 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] Serial Port Communication
By the way, if you don't want to embed the Flash in Director, you can launch an invisible Director movie which would launch your Flash executable and then have an embedded SWF in Director communicating with the Flash executable via LocalConnection. Just one idea. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of varfoo Sent: Tuesday, May 16, 2006 11:36 AM To: Flashcoders Mailing List Subject: [Flashcoders] Serial Port Communication Hello all, I need to create a standalone exe and send commands to an external device through a serial port. This is readily done w/MM Director and the SerialXtra, but is this doable w/Flash? Thanks in Advance, vf ___ 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] LF: Flash representation of Board of Directors network
Thank-you very much for the link. It's a beautiful project. Cheers, BB On 5/15/06, Ettwein, Josh [EMAIL PROTECTED] wrote: http://www.theyrule.net/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Brown Sent: Monday, May 15, 2006 1:51 PM To: Flashcoders mailing list Subject: [Flashcoders] LF: Flash representation of Board of Directors network Does anyone remember the URL for a flash project that showed the connection of the CEOs and board of directors for the major companies of the world? It allowed you to see how many companies each person was on the board of directors for. You could also expand company nodes to see all the board of directors. Thanks, BB ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] How to make a MAC - PC hybrid CD-ROM
I use a program called macImage to make hybrid cd/dvd's on the PC. As for autorunning on a mac im not sure. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Brantley Sent: 16 May 2006 19:54 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] How to make a MAC - PC hybrid CD-ROM Hey everyone, I have built a CD-ROM deliverable PC (flash) application. The client now wants to make it a hybrid application that will run on both PC and MAC. Currently I'm using an AUTORUN.ini file to auto launch the app.exe. How would I do this for the MAC projector (.hqx) file? Is there anything I need to be aware of because of the differences MAC OS 9 and MAC OS 10+? Thanks in advance ___ 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] Exporting dynamically generated vector drawings
Can anyone recommend a method of exporting dynamically generated drawings (using the Drawing API) from Flash to a high-quality printable format? I'm trying to create a .pdf or .ai file of actionscript generative art so that I can send it to the printers for poster-size prints. I saw Joshua Davis talk at Flash Forward about a technique for doing this, but I forget what it was - can anyone help? Thanks, BB ___ 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] Exporting dynamically generated vector drawings
see this post: (by the way thanks g.) blazePDF will do this -- and has been used to do similar Flash vector graphics to PDF art apps (in fact, one app just won an award). www.blazepdf.com is the site, and the free version should be more than enough to get you going. hth :-) g. On 5/15/06, eugen pflüger [EMAIL PROTECTED] wrote: hello, i am just wondering if anybody knowsis there a way to print vectorshapes into a pdf document? i know on mac there was this trick to fire the print function to an virtual laser printer that saved a postscript file. then you could open that document in illustrator. i wonder if now or in as 3.0 (and/or flex) there is a good solution to get vectors. does anybody know? just saw this on flickr. its done with processing. would be great if this would work in flash. http://www.flickr.com/photos/watz/146861875/in/photostream/ tia eugen -- weblog: broadcast.artificialcolors.com blazePDF: www.blazepdf.com band: www.cutratebox.com --- Ursprüngliche Nachricht --- Von: Bill Brown [EMAIL PROTECTED] An: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Betreff: [Flashcoders] Exporting dynamically generated vector drawings Datum: Tue, 16 May 2006 13:26:31 -0700 Can anyone recommend a method of exporting dynamically generated drawings (using the Drawing API) from Flash to a high-quality printable format? I'm trying to create a .pdf or .ai file of actionscript generative art so that I can send it to the printers for poster-size prints. I saw Joshua Davis talk at Flash Forward about a technique for doing this, but I forget what it was - can anyone help? Thanks, BB ___ 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 -- Echte DSL-Flatrate dauerhaft für 0,- Euro*! Feel free mit GMX DSL! http://www.gmx.net/de/go/dsl ___ 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] How to make a MAC - PC hybrid CD-ROM
OSX has no autorun capability... On May 16, 2006, at 3:33 PM, Scott Brantley wrote: Here is me answering my own question. http://www.were-here.com/content/templates/articles.asp? articleid=140zo neid=7 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Brantley Sent: Tuesday, May 16, 2006 2:54 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] How to make a MAC - PC hybrid CD-ROM Hey everyone, I have built a CD-ROM deliverable PC (flash) application. The client now wants to make it a hybrid application that will run on both PC and MAC. Currently I'm using an AUTORUN.ini file to auto launch the app.exe. How would I do this for the MAC projector (.hqx) file? Is there anything I need to be aware of because of the differences MAC OS 9 and MAC OS 10+? Thanks in advance ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Bulk] RE: [Flashcoders] Serial Port Communication
Thank Steven, Good idea. I'm currently using Northcode to wrap my Flash.exe. I could launch the Director.exe from Northcode and communicate via local connection that way. Thanks again, vf - Original Message - From: Steven Sacks [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Tuesday, May 16, 2006 12:34 PM Subject: [Bulk] RE: [Flashcoders] Serial Port Communication By the way, if you don't want to embed the Flash in Director, you can launch an invisible Director movie which would launch your Flash executable and then have an embedded SWF in Director communicating with the Flash executable via LocalConnection. Just one idea. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of varfoo Sent: Tuesday, May 16, 2006 11:36 AM To: Flashcoders Mailing List Subject: [Flashcoders] Serial Port Communication Hello all, I need to create a standalone exe and send commands to an external device through a serial port. This is readily done w/MM Director and the SerialXtra, but is this doable w/Flash? Thanks in Advance, vf ___ 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] Serial Port Communication
On 5/16/06, varfoo [EMAIL PROTECTED] wrote: I need to create a standalone exe and send commands to an external device through a serial port. This is readily done w/MM Director and the SerialXtra, but is this doable w/Flash? Another possible option is something along the lines of serial server, http://itp.nyu.edu/~dbo3/SerialServer/SerialServer.html. From the website, SerialServer relays bytes back and forth from an internet socket connection to a hardware serial port. I've used this to get a flash app talking to picaxe microcontrollers. It takes some tweaking of the command-line parameters, but once you get it right, just save a batch file with the settings you need. -dk ___ 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] fp9 ExternalInterface bug?
Its been called to my attention at work that sometimes my embedded SWF is making calls out to Python (using ExternalInterface) where the XML document only contains: NaN/invoke And thats it. Could this perhaps be a known bug in the player itself? The syntax itself isn't valid. ___ 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] fp9 ExternalInterface bug?
maybe it's not serializing a value properly? there are a few known issues with it in fp8, mainly newline elements... more info here: http://codinginparadise.org/weblog/2006/02/how-to-speed-up-flash-8s.html On May 16, 2006, at 6:21 PM, eric dolecki wrote: Its been called to my attention at work that sometimes my embedded SWF is making calls out to Python (using ExternalInterface) where the XML document only contains: NaN/invoke And thats it. Could this perhaps be a known bug in the player itself? The syntax itself isn't valid. ___ 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] HashMap?
Funny, I was actually thinking of an implementation which would use a Java-style String objects. In java, all string objects have an int hash data member (computed the first time it is needed). In that scenario, only a portion of the hash value is used to make the hash lookup. The complete hash stays around since it is part of the String object and so can still be used to quickly distinguish strings. Also when rehashing you do not need to really compute new hashes - you just need to re-distribute them based on more bits of the complete hash. And yes, this is still heavier than re-balancing a tree. regards, B. Binary searches may involves a lot more string comparison. In a binary search comparing the string hash value is of no use to know if the value is greater or lower (to decide for the next search direction). In hashmaps, the lookup in the chain after the hash jump can, most of the time, skip a string entry without even looking at the characters by comparing the 32bit integer hashes. String hashes are only useful for looking up a specific value. It is unlikely that the hashes are even stored since once you store the key/value you no longer have any need for the hash since the position in the main table is known and you can follow the links in the overflow back to the main table(usually). If you are hashed into the overflow, you have to examine each key since the hashes are identical for everyone in the list (otherwise they would not be in the list - they would be in another list of collided hashes). ___ 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] Multiple FLVPlayback problem
one other thing, you might want to split up your video even more.. like 6 - 10 clips. that way they're way smaller files.. seeking and loading wouldn't be a problem then. aaron smith wrote: I'm also working on a project that requires multiple flv's also. What I did was create a very basic multiple flv player. then with that you listen to whatever events you want to tap into. say for some video controls and what not. I will share it with you later tonight. I need to refactor it a bit and add a little more functionality.. but it works great! I need to build in seeking capabilities and cuepoint capabilities.. other than that. it all works great. I am using with 2 - 5 MB files. of about 2 or 3 files.. so total up those files and generally its about 10 - 15 megs.. as far as preloading the flvs. what you need to do is start playing the first one. then when you get a metadata event for that one. start playing the second one, once you get metadeta for that one. add it to total time and pause it.. it will still continue to download the flv though... so basically you need to wait till one has metadeta.. then start the next one. or you could come up with some other way of doing this. but thats how I had to do it without killing the player because of all the video loading. this way works great locally. over the net it also works great but my files are considerablly smaller. like I said. i'll share this with you later tonight.. I also am planning on releasing it for public use. I just need to get it ready for release. smith Jim Tann wrote: Originally posted on OSFlash.org list, sorry to double post, sent to wrong list. Hi all, I am working on several projects that have very large videos (1-2 hours) that need to be delivered on CD-Rom Intranet. After trying to use one large video file I realized there is a large problem when seeking to any point in the video in that It has to buffer itself up to the point you wish to play on these large videos that can take quite some time. This led me to chop the video up into 2 min chunks write a segmented video player so they play as one video. This is working great on most machines but on the occasional Windows 98 machine it is crashing when initially grabbing the flv's. I think the problem is that when initializing the component it is trying to load all the flv's at once. Does anyone have any insight into this? Is there another segmented video player about? Here is the class: /*** * @author - James Tann * * FILE:: SegmentedFLVPlayback.as * PACKAGE:: com.codesortium.video.SegmentedFLVPlayback * AUTHOR:: James Tann * AUTHOR SITE:: http://www.avtgroup.com * CREATED:: 10/04/2006 * DESCRIPTION:: / // ** AUTO-UI IMPORT STATEMENTS ** // ** END AUTO-UI IMPORT STATEMENTS ** import mx.video.FLVPlayback; import mx.utils.Delegate; import mx.events.EventDispatcher; class com.codesortium.video.SegmentedFLVPlayback extends MovieClip { // Constants: public static var CLASS_REF:Function= com.codesortium.video.SegmentedFLVPlayback; public static var LINKAGE_ID:String= SegmentedFLVPlayback; public static var SymbolLinked:Boolean= Object.registerClass(LINKAGE_ID, CLASS_REF); // Public Properties: public var addEventListener:Function; public var removeEventListener:Function; public var autoPlay:Boolean = false; public var bufferTime:Number = 0.1; public var playheadTime:Number = 0; public var playheadUpdateInterval:Number= 250; public var progressInterval:Number = 250; public var state:String = ; public var totalTime:Number = 0; public var stateResponsive:Boolean = false; public var buffering:Boolean = false; // Private Properties: private var dispatchEvent:Function; private var _arrFLVPlayback:Array; private var _activeFlvPlayback:FLVPlayback; private var _totalLength:Number = 0; private var _position:Number = 0; private var _volume:Number = 100; private var _arrCuePoints:Array; // UI Elements: // ** AUTO-UI ELEMENTS ** private var mcBackground:MovieClip; // ** END AUTO-UI ELEMENTS ** // Initialization: private function SegmentedFLVPlayback() { EventDispatcher.initialize(this); _arrFLVPlayback= new Array(); _arrCuePoints= new Array(); } private function onLoad():Void { configUI(); } // Public Methods: public function toString() : String { return com.codesortium.video.SegmentedFLVPlayback; } public function get width():Number{ return _width; } public function set