Re: [Flashcoders] AS3 - Serial?
May be with a localhost Socket you can get something 2007/9/10, Ricky Bacon [EMAIL PROTECTED]: eric e. dolecki wrote: Ricky - that looks sweet. Have you tried it? Will it work with a USB interface? I haven't used that particular one, but I've used the same concept to interface with custom hardware. Re: USB from the description: The software works in Windows and macosX, it requires java installed in the local computer, (java is installed by default on the Mac) and a serial port connection. On the Mac and in some PCs a USB to serial adapter is required to connect most microcontrollers. Keyspan USB adapters had been tested to work fine. cheers -Ricky ___ 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 -- Andrés González Aragón Ejecutivo Nacional Agel Enterprises LCC Desarrollador Multimedia http://www.quantium.com.mx ___ 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] CVS and Flash best practice advice needed
Use SVN with tortoiseSVN client. We are 8 developers working ina huge project and this mode works very well. Obviously a Version control system is implemented by developers not only by sofware. We use svn in as files normaly and block the fla files. We have 4 folders: bin, source, documentation and samples. We have some rules in server side like : when sombody changes a fla file, a email notify to last person that changed that file. The trunk is sacred nobody can touch it for debug or develop new features, components or versions. If sombody wants develop a new feature made a brach, if sombody wants to debug the core made a tag. When a tag or a branch was been published inmediatly it is merged to the trunk. Etcetera I hope to be helpfully 2007/5/16, Durai Raj [EMAIL PROTECTED]: SourceSafe on Windows is the only supported version control software that integrates with the Project panel. You can use other version control software packages with FLA documents, but not necessarily in the Project panel. In live documents you can check out at the link http://livedocs.macromedia.com/flash/8/main/0377.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wayne McManus Sent: Wednesday, May 16, 2007 4:04 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] CVS and Flash best practice advice needed Hi all, does anyone have any thoughts or links regarding best-practice when it comes to CVS and Flash? I'm looking into creating a repository but am unsure what the best setup might be regarding the location of .as, .fla, .html files? I notice Flex makes use of a bin directory; is this a good thing to establish now for standard Flash development (does Flash CS3 remain flexible in where you can store classes, publish to, etc)? Any suggestions welcome, thanks (except use Subversion!; I have to use CVS unfortunately!). ___ 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 DISCLAIMER: This communication may be confidential and privileged and the views expressed herein may be personal and are not necessarily the views of ReDIM. It is for the exclusive use of the intended recipient. If you are not the intended recipient, please note that any distribution, copying or use of this communication or the information in it is strictly prohibited.If you have received this communication in error, please notify us by email ([EMAIL PROTECTED]) and then delete the email and any copies of it. ___ 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 -- Andrés González Aragón Desarrollador Multimedia http://www.quantium.com.mx ___ 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] AS3 RegExp (bug?)
Is not a cs3 bug, is a player bug. I cut n paste your code in cs3 and it freezes, in eclipse with flex builder plugin the same, but eclipse didn't freeze, only the player do. 2007/5/2, Benny [EMAIL PROTECTED]: I have some troubles with RegExp in Flash CS3 (AS3). It seems whenever a pattern ends with .* AND has the Global flag set flash freezes. Simplified sample code: var re:RegExp=/.*/g; var str:String=one two three; trace(str.match(re)); Why does Flash CS3 (AS3) freeze with this code, is it a bug or am I missing something obvious? - Benny ___ 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 -- Andrés González Aragón Desarrollador Multimedia http://www.quantium.com.mx ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Re: flash Dock
May be if that code wasn't decompiled with sothink, was more legible. I say it because sothink decompiler writes _locN variables. I was atempt to use when i lost a fla file. 2007/4/30, Lists [EMAIL PROTECTED]: For real. Wow, four hours. On 4/30/07 10:56 AM, eric e. dolecki [EMAIL PROTECTED] wrote: Quit bumping your posts by copy pasting your old one. Wait a bit and see if someone answers, okay? ___ 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 -- Andrés González Aragón Desarrollador Multimedia http://www.quantium.com.mx ___ 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] Adobe to Open Source Flex!!!
This is a hard hit to haxe and a brilliant marketing strategy for flex to be considered to work with MTASC, FDT and other open source compilers, besides a multiple posibilities of new OS projects. 2007/4/26, Zárate [EMAIL PROTECTED]: But releasing the compilers are really great news! That should help haXe to understand way better the swf 9 format! And also this is huge: By this summer, Adobe plans to put in place most of the infrastructure (*public bug database and public daily builds*) required to run the Flex SDK as an open source project. publig bug list!! Yeah! On 4/26/07, Muzak [EMAIL PROTECTED] wrote: - Original Message - From: Matthias Dittgen [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, April 26, 2007 9:50 AM Subject: Re: [Flashcoders] Adobe to Open Source Flex!!! So they are probably separating technology from IDE's! That was already the case.. e.g. the Flex SDK. http://www.adobe.com/products/flex/sdk/ But now instead of the SDK just being free it becomes open source under an MPL license. So to simplify things, this is just a license shift ;-) regards, Muzak ___ 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 -- Juan Delgado - Zárate http://zarate.tv http://dandolachapa.com http://loqueyosede.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 -- Andrés González Aragón Desarrollador Multimedia http://www.quantium.com.mx ___ 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: Salary Questions
Here in México a Senior with these skills. U$15k-U$20k at year. A game developement manager (Flash Guru) like me and others 6 people in the country. U$32k-U$37k at year :.( We are fucked 2007/4/18, Alias™ [EMAIL PROTECTED]: That's USD, right? $100,000 = £49,704.66 = € 73,462.297 Alias On 18/04/07, Weyert de Boer [EMAIL PROTECTED] wrote: 100-120K nice... ___ 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 -- Andrés González Aragón Desarrollador Multimedia http://www.quantium.com.mx ___ 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] AS3 Socket class security
Try with 8080 and 3000, I use it and works well in most of countries. 2007/4/14, Michael Mudge [EMAIL PROTECTED]: Thanks for the help. Apparently, 5554 was a special port and was firewalled. I switched to a lower port and it works now. - Kipp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrés González Aragón Sent: Friday, April 13, 2007 7:24 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AS3 Socket class security Hi Michael, Are you sure the crossdomain.xml is correct in biability server? I was working in a as2-xmlsocket/as3-binarysocket conversion recently and flash throwsme IOErrors when the message hasn't well parsed or if the socket server hasn't connected. Post the 'text' property of your IOError, it must have an Error Number like #2031 (Socket Error) -- Andrés González Aragón Desarrollador Multimedia http://www.quantium.com.mx 2007/4/13, Michael Mudge [EMAIL PROTECTED]: I wrote an app in AS3, served from http://www.biality.com/tubes/as3/tubes.swf, which makes a socket connection back to www.biality.com, port 5554. I also have an AS2 version of this app at http://www.biality.com/tubes/tubes.swf. The other person I'm working with is able to use the AS2 version, but not the AS3 version -- he is running the latest Flash Player 9. The AS3 version is firing an IOError (not a security error). Can anyone else report on who can connect, who can't, and what player you're using? Any thoughts on why the connection can't be established? Obviously, firewall settings and whatnot can play a role -- although his AS2 version (which uses a different port) is working fine. Is there something special about port 5554? Is there something I can set-up on the www.biality.com server to fix this? - Kipp ___ 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 -- Andrés González Aragón Desarrollador Multimedia http://www.quantium.com.mx ___ 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] AS3 Socket class security
Hi Michael, Are you sure the crossdomain.xml is correct in biability server? I was working in a as2-xmlsocket/as3-binarysocket conversion recently and flash throwsme IOErrors when the message hasn't well parsed or if the socket server hasn't connected. Post the 'text' property of your IOError, it must have an Error Number like #2031 (Socket Error) -- Andrés González Aragón Desarrollador Multimedia http://www.quantium.com.mx 2007/4/13, Michael Mudge [EMAIL PROTECTED]: I wrote an app in AS3, served from http://www.biality.com/tubes/as3/tubes.swf, which makes a socket connection back to www.biality.com, port 5554. I also have an AS2 version of this app at http://www.biality.com/tubes/tubes.swf. The other person I'm working with is able to use the AS2 version, but not the AS3 version -- he is running the latest Flash Player 9. The AS3 version is firing an IOError (not a security error). Can anyone else report on who can connect, who can't, and what player you're using? Any thoughts on why the connection can't be established? Obviously, firewall settings and whatnot can play a role -- although his AS2 version (which uses a different port) is working fine. Is there something special about port 5554? Is there something I can set-up on the www.biality.com server to fix this? - Kipp ___ [EMAIL PROTECTED] 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 ___ [EMAIL PROTECTED] 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 is it done? coca-cola creator
I'm sure is JSP server merging predefined images, client-side tells server-side only the position, orientation, text, color, etc of the image. You can do it with php, coldfusion, aspx, etc too. -- Andrés González Aragón Desarrollador Multimedia http://www.quantium.com.mx 2007/4/13, T. Michael Keesey [EMAIL PROTECTED]: The sniffer is looking for Flash 8, so I highly doubt it's an AS3 solution. I believe it's a highly optimized server-side solution. On 4/13/07, Mick G [EMAIL PROTECTED] wrote: Does anyone know how this is done? (The saving as JPG option) http://coca-colacreator.coca-cola.com/creator.html?country=USlang=EN My guess is AS3 and some type of AS3 JPG encoder? It seems too fast and responsive to be doing any server side image encoding. ___ [EMAIL PROTECTED] 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 ___ [EMAIL PROTECTED] 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 ___ [EMAIL PROTECTED] 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] named while loops in AS3
Something like this with ':' to create the label: var n:int=0; LOOP_A: while(n 10) { var z:int=0; LOOP_B: while(z20){ if(n == 3){ break LOOP_A; } z++; } n++; } You can do it with any block of code like this: chido : { trace(Quantium Rules); break chido; trace(This couldn't appear) } 2007/4/11, [EMAIL PROTECTED] [EMAIL PROTECTED]: I seen this kind of syntax for loops where you can use break to break out of a specific loop that you named. Is it possible to do this in AS3? If so, please give an example with proper syntax. Thanks -- Keith H -- //Not sure if my syntax is right. //Use identifier LOOP_B to break out of the outer loop LOOP_A var n:int=0; LOOP_A while(n 10) { var z:int=0; LOOP_B while(z20){ if(n == 3){ break loopA; } z++; } n++; } --Keith H-- ___ 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 -- Andrés González Aragón Desarrollador Multimedia http://www.quantium.com.mx ___ 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] Actionscript 3.0 help w/ simple HelloWorld
Hi, In your fla add: import MyPackage.* var hw:HelloWorld = new HelloWorld(); //You need to add the Child to the Stage addChild(hw); Other way to do it is set as 'Main Class 'of the fla file Helloworld.as, you can do it in Publish settings in ActionScript option (the same where you set the source paths). Saludos Andrés González Aragón Desarrollador Multimedia 2007/3/22, Merrill, Jason [EMAIL PROTECTED]: Getting my feet wet with AS3, I just bought the AS3 cookbook and have learned a lot already - great book. I feel like an idiot asking this as I'm pretty good in AS2, but with AS3, I'm not getting a simple script working. I have the Flash 9 AS3 preview, trying to write a simple HelloWorld class (based on an example in the book) to show a TextField: //MyPackage.as package MyPackage { //do I actually need this one?: import flash.display.DisplayObjectContainer; import flash.display.Sprite; import flash.text.TextField; public class HelloWorld extends Sprite { public function HelloWorld() { var message_txt:TextField = new TextField(); message_txt.text = Hello World; addChild(message_txt); //does not show! trace(constructor runs)//traces fine } } } Then in the .fla, I put: import MyPackage.* var hw:HelloWorld = new HelloWorld(); The constructor traces fine in the output window, but the TextField does not show. What have I done wrong? My Export settings in F9 As3 preview are for AS 3.0 and FP9. In later scripts, I tried moving the textfield, changing the color, changing the stage color to be sure it wasn't matching the textfield and this invisible, etc...(but it should show as black Times New Roman text by default anyway...) Thanks, Oh, and as a side note, I use FlashDevelop 2.0.1 and have my syntax set to AS3, but have notices code hinting doesn't always work or is sometimes incomplete - has anyone else noticed that? Maybe I just need to update it. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___ 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] UML Diagrams
I've used Enterprise Architect for at last a year and i'm very happy with results 2006/8/25, Mike Britton [EMAIL PROTECTED]: Enterprise Architect: http://www.sparxsystems.com.au/products/ea.html Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Andrés González Aragón Desarrollador Multimedia ___ 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] Singleton not always Singleton?
The problem i can see is tha in the singleton pattern constructor must be private. May be triin with something like this : class com.shell.util.IntroAnimProxy { private static var _instance:IntroAnimProxy; public static function get instance():IntroAnimProxy { if( _instance == null ) _instance = new IntroAnimProxy(); return _instance; } private function IntroAnimProxy() { trace(IntroAnimProxy); } } 2006/8/25, Adrian Park [EMAIL PROTECTED]: Hey all! I'm using a class (AnimationProxy) based on the Singleton pattern to form a bridge between a timeline based intro animation (sigh) and the application objects (it's not strictly an intro because, when the intro is complete, the animation continues in the background whilst the rest of the site is rendered over the top). The animation is a standalone .swf loaded into the main .swf at runtime. It (the animation) has the AnimationProxy imported, registers a reference to itself with AnimationProxy and sends various events to AnimationProxy. The main application objects register as event listeners of AnimationProxy and respond to the events triggered by the animation. Well, that's how it's supposed to work! Thing is (and you may have seen the flaw already), I now discover that a unique instance of AnimationProxy is created by each of the intro and main .swfs! I'm fairly confident my implementation of Singleton is fine since it's the same implementation I've used several times. Two questions then... It kind of makes sense to me that each .swf maintains it's own object space (for want of a better term) and therefore it is expected that they would each end up with unique instances of AnimationProxy. Can someone give me a fuller explanation of why each .swf gets a unique instance? Can anyone suggest a better solution? I've included the code that constitutes the Singleton implemention below. Thanks Adrian class com.shell.util.IntroAnimProxy { // Singleton instance private static var _instance:IntroAnimProxy; public function IntroAnimProxy () {} public static function getInstance():IntroAnimProxy { if ( IntroAnimProxy._instance == undefined ) { IntroAnimProxy._instance = new IntroAnimProxy(); } return IntroAnimProxy._instance; } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Andrés González Aragón Desarrollador Multimedia ___ 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