Re: [Flashcoders] Re: mouseEnabled Loader issue
Hey Fabio, You disabled the Movieclip in B .. but the b.swf was still loaded into a loader object.. This loader object still catched the mouseevent.. so b didn't catch it.. but b is a part of the total swf/loaderObject ..so the loader still caught it. Hope this is clear:) Dennis Isioux - Original Message - From: Fabio Pinatti fpina...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 3:32 AM Subject: [Flashcoders] Re: mouseEnabled Loader issue Hello again, wow, I don't make idea what, how or why, but that solved my problem: *mcB.loaderInfo.loader.mouseEnabled = false;* (I put that on my swf B, the top level swf). That permitted me disable Loader mouseChildren and access my level A. Any explanation why this happens, would be great... Thank you! On Wed, Mar 4, 2009 at 11:15 PM, Fabio Pinatti fpina...@gmail.com wrote: Hello flashcoders, I'm having some issues with some target things, in as3. I need to access a movieclip A under a movieclip B. Movieclip A is in a swf, and B in other above it. My first try was mouseEnabled. but it didn't work. The weird is, if I put a mouse click in the stage of movie that has movieclip B (that is the one I'm not having sucess in disable). the event.target returns a Loader object. Why is this happening? I thought I could just use mouseEnabled = false to access lower level movieclips, but for different movies, seems that that Loader preserves a hit area, that I don't know how to disable. Actually, one thing works: in swf B: private function click(e:MouseEvent):void { e.target.mouseEnabled = false; } This works on first click, since the Loader target is disabled. Then, I'm able to click on under movieclip, the movieclip A. But I can't leave user clicks... I need to disable before any user interaction... The big question is, why is it getting a Loader target?? How can I disable Loader mouse interaction? Thanks so much... -- Fabio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 3909 (20090304) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] OOP AS3 learning
Hi Can you recommend a good source for learning OOP in as3? Until now i found two books: ActionScript 3.0 Design Patterns - Object Oriented Programming Techniques By William B. Sanders http://www.oreillynet.com/pub/au/2820, Chandima Cumaranatunge http://www.oreillynet.com/pub/au/2931 and: Object-Oriented ActionScript 3.0 by Todd Yardhttp://www.amazon.com/exec/obidos/search-handle-url/ref=ntt_athr_dp_sr_1?%5Fencoding=UTF8search-type=ssindex=booksfield-author=Todd%20Yard(Author), Peter Elsthttp://www.amazon.com/exec/obidos/search-handle-url/ref=ntt_athr_dp_sr_2?%5Fencoding=UTF8search-type=ssindex=booksfield-author=Peter%20Elst(Author), Sas Jacobshttp://www.amazon.com/exec/obidos/search-handle-url/ref=ntt_athr_dp_sr_3?%5Fencoding=UTF8search-type=ssindex=booksfield-author=Sas%20Jacobs(Author) Which one is better? What i am looking for is a book (max 500 pages) with an overview of the different design patterns, and some case studies or examples on how to write OOP I have one question that i can't really understand: Why people say OOP programming is only for big projects? What are the pluses and minuses of sticking to some design patterns? Pedro D. Kostelec ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Capture sound input in Flash as MP3?
Hello List, I wonder if I could get this sorted out once and for all. A colleague is convinced that you can capture a SWF's sound input (possibly through the Microphone class) and save it as an MP3. However, said colleague has not yet provided any proof or examples. I meanwhile have been trying to find examples / tutorials / documentation regarding this and have come up empty. Would anyone know if this is / isn't possible? We would love for our users to be able to record their speech onto a server or their local hard drives. Cheers, CB. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OOP AS3 learning
I don't know about the Yard book, but the AS 3 DP book might be your second book after something like Learning AS 3.0 at Oreilly. Unless you feel ready to wade into it. I don't think many people say OOP is not for small projects, but OOP and Design Patterns are not the same thing. Any project can benefit from OOP techniques, though I sometimes think that small project/ beginner programmers might be better off with a library of really good static reusable functions. A full implementation of a design pattern might be overkill for a small project since adds overhead and might takes extra time to write code when sometimes you are trying to do something quite simple. An advantage of design patters on big projects is it usually makes things easier to change, helps integration into bigger structures and with other developers, provides standardized structure, etc.. On a small project, this might be less important but its still good to have some sort of concrete pattern to stick to so your code isn't a mess. A simplified MVC with a combined V C might be something to try or any other pattern that gets your data separated from your logic to begin with. Beyond patterns, OOP, etc., I think its really important to identify those areas of your program that have the possibility of changing over time and then focus your architecture, structuring, etc. on those areas. For example, if you are doing a one off simple game, then you might just right a main loop and leave it at that. However, if you are doing a web application were the client wants to constantly be adding pages, then it might be good to consider an MVC where its easy to change views. On Mar 5, 2009, at 6:16 AM, Pedro Kostelec wrote: Hi Can you recommend a good source for learning OOP in as3? Until now i found two books: ActionScript 3.0 Design Patterns - Object Oriented Programming Techniques By William B. Sanders http://www.oreillynet.com/pub/au/2820, Chandima Cumaranatunge http://www.oreillynet.com/pub/au/2931 and: Object-Oriented ActionScript 3.0 by Todd Yardhttp://www.amazon.com/exec/obidos/search-handle-url/ ref=ntt_athr_dp_sr_1?%5Fencoding=UTF8search- type=ssindex=booksfield-author=Todd%20Yard(Author), Peter Elsthttp://www.amazon.com/exec/obidos/search-handle-url/ ref=ntt_athr_dp_sr_2?%5Fencoding=UTF8search- type=ssindex=booksfield-author=Peter%20Elst(Author), Sas Jacobshttp://www.amazon.com/exec/obidos/search-handle-url/ ref=ntt_athr_dp_sr_3?%5Fencoding=UTF8search- type=ssindex=booksfield-author=Sas%20Jacobs(Author) Which one is better? What i am looking for is a book (max 500 pages) with an overview of the different design patterns, and some case studies or examples on how to write OOP I have one question that i can't really understand: Why people say OOP programming is only for big projects? What are the pluses and minuses of sticking to some design patterns? Pedro D. Kostelec ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders David Benman Interactive Developer d...@dbenman.com http://www.dbenman.com (508) 954-1202 (cell) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Capture sound input in Flash as MP3?
Hi, You can capture the microphone sound in Flash by publishing it to a server via a Netstream connected to Flash Media Server or Red5 (OS media server). You can't get the sound from the microphone and save it to an mp3 on your machine without sending it to be recorded by the server first... HTH Glen confustic...@gmail.com wrote: Hello List, I wonder if I could get this sorted out once and for all. A colleague is convinced that you can capture a SWF's sound input (possibly through the Microphone class) and save it as an MP3. However, said colleague has not yet provided any proof or examples. I meanwhile have been trying to find examples / tutorials / documentation regarding this and have come up empty. Would anyone know if this is / isn't possible? We would love for our users to be able to record their speech onto a server or their local hard drives. Cheers, CB. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Duplicate Bitmap and scale question
How to create img2 correctly? 2009/3/4 Hans Wichman j.c.wich...@objectpainters.com: Hi, you create a clip based on mc's width, called img. then you scale image, so its width is half of what it used to be. Then you draw img into img2. Img2's size is based on half the height and width, but the draw method ignores those transformation, so it draws an unscaled version of img in img2. regards JC On Sun, Mar 1, 2009 at 3:58 PM, natalia Vikhtinskaya natavi.m...@gmail.comwrote: Hi Please explain what is wrong in this code: function duplicateMovieClipImage(from:MovieClip, target:MovieClip){ var visuals = new flash.display.BitmapData(from._width, from._height); visuals.draw(from); target.attachBitmap(visuals, 1,auto,true); } duplicateMovieClipImage(mc,img) img._xscale=50; img._yscale=50; duplicateMovieClipImage(img,img2) I expected that img1 and img2 have the same scale. Instead of that img2 show 50% of mc. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OOP AS3 learning
Hey Pedro, i think with as3 the remark that OOP is only for big projects is not strictly true anymore (and it wasn't with as2 either). The thing is though that as3 forces your hand more than as2 did, it terms that every movieclip can be a class as well etc, so if you create one clip in the library that you want to add to the stage using as3, you're already OOP-ing. I think it would be better to say that employing complex design patterns and a rocksolid OOP architecture is more suited to big projects than to small projects. And with small I then mean small projects that are going to stay small. The reason is mostly that employing a solid architecture and design patterns might require a lot of work up front, which will pay itself back as the project gets bigger and bigger. If your project stays small it's easier to manage your hacks and shortcuts. That isn't to say that you shouldnt design upfront or use design patterns in small projects, only that you must take care that the architecture and designpatterns don't become an end onto itself, they are a means to an end. For pluses and minuses, just a few I advise you to pick up as 3 design patterns, it's an easy read. Pluses: - common vocabulary makes communicating about your projects to other easier - time proven solutions prevent you from reinventing the wheel Minuses: - may make your application overly complex without good reasons to do so I saw an example once of a hello world application as a joke, which they refactored, ending up with a lot of classes and designs pattern, for just a hello world application. Like I said it was a joke, meant to teach you to match up the complexity of your application with the complexities of the design artifacts you apply. The best situation I think is where your framework allows you to start out very simple, and allows your application to evolve and be refactored along the way as demands on your application grow. We had that framework in as 2, and havent yet in as3 unfortunately, but I'm sure we will eventually:). regards JC On Thu, Mar 5, 2009 at 12:16 PM, Pedro Kostelec pedrok...@gmail.com wrote: Hi Can you recommend a good source for learning OOP in as3? Until now i found two books: ActionScript 3.0 Design Patterns - Object Oriented Programming Techniques By William B. Sanders http://www.oreillynet.com/pub/au/2820, Chandima Cumaranatunge http://www.oreillynet.com/pub/au/2931 and: Object-Oriented ActionScript 3.0 by Todd Yard http://www.amazon.com/exec/obidos/search-handle-url/ref=ntt_athr_dp_sr_1?%5Fencoding=UTF8search-type=ssindex=booksfield-author=Todd%20Yard (Author), Peter Elst http://www.amazon.com/exec/obidos/search-handle-url/ref=ntt_athr_dp_sr_2?%5Fencoding=UTF8search-type=ssindex=booksfield-author=Peter%20Elst (Author), Sas Jacobs http://www.amazon.com/exec/obidos/search-handle-url/ref=ntt_athr_dp_sr_3?%5Fencoding=UTF8search-type=ssindex=booksfield-author=Sas%20Jacobs (Author) Which one is better? What i am looking for is a book (max 500 pages) with an overview of the different design patterns, and some case studies or examples on how to write OOP I have one question that i can't really understand: Why people say OOP programming is only for big projects? What are the pluses and minuses of sticking to some design patterns? Pedro D. Kostelec ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: mouseEnabled Loader issue
Hello Dennis, thank you, but one question. In the case, my MovieClip B wasn't loaded by a Loader Object. I mean, it is a simple movieclip in stage. Even that way has it a Loader? I thought just elements loaded with Loader class had it... Thank you! Fabio On Thu, Mar 5, 2009 at 7:48 AM, Dennis - I Sioux den...@isioux.nl wrote: Hey Fabio, You disabled the Movieclip in B .. but the b.swf was still loaded into a loader object.. This loader object still catched the mouseevent.. so b didn't catch it.. but b is a part of the total swf/loaderObject ..so the loader still caught it. Hope this is clear:) Dennis Isioux - Original Message - From: Fabio Pinatti fpina...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 3:32 AM Subject: [Flashcoders] Re: mouseEnabled Loader issue Hello again, wow, I don't make idea what, how or why, but that solved my problem: *mcB.loaderInfo.loader.mouseEnabled = false;* (I put that on my swf B, the top level swf). That permitted me disable Loader mouseChildren and access my level A. Any explanation why this happens, would be great... Thank you! On Wed, Mar 4, 2009 at 11:15 PM, Fabio Pinatti fpina...@gmail.com wrote: Hello flashcoders, I'm having some issues with some target things, in as3. I need to access a movieclip A under a movieclip B. Movieclip A is in a swf, and B in other above it. My first try was mouseEnabled. but it didn't work. The weird is, if I put a mouse click in the stage of movie that has movieclip B (that is the one I'm not having sucess in disable). the event.target returns a Loader object. Why is this happening? I thought I could just use mouseEnabled = false to access lower level movieclips, but for different movies, seems that that Loader preserves a hit area, that I don't know how to disable. Actually, one thing works: in swf B: private function click(e:MouseEvent):void { e.target.mouseEnabled = false; } This works on first click, since the Loader target is disabled. Then, I'm able to click on under movieclip, the movieclip A. But I can't leave user clicks... I need to disable before any user interaction... The big question is, why is it getting a Loader target?? How can I disable Loader mouse interaction? Thanks so much... -- Fabio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 3909 (20090304) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Duplicate Bitmap and scale question
Out of the top of my head: function duplicateMovieClipImage(from:MovieClip, target:MovieClip){ var visuals = new flash.display.BitmapData(from._width, from._height); var m:Matrix = new Matrix(); //dont forget to import this m.scale (from._xscale/100, from._yscale/100); visuals.draw(from, m); target.attachBitmap(visuals, 1,auto,true); } On Thu, Mar 5, 2009 at 12:54 PM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: How to create img2 correctly? 2009/3/4 Hans Wichman j.c.wich...@objectpainters.com: Hi, you create a clip based on mc's width, called img. then you scale image, so its width is half of what it used to be. Then you draw img into img2. Img2's size is based on half the height and width, but the draw method ignores those transformation, so it draws an unscaled version of img in img2. regards JC On Sun, Mar 1, 2009 at 3:58 PM, natalia Vikhtinskaya natavi.m...@gmail.comwrote: Hi Please explain what is wrong in this code: function duplicateMovieClipImage(from:MovieClip, target:MovieClip){ var visuals = new flash.display.BitmapData(from._width, from._height); visuals.draw(from); target.attachBitmap(visuals, 1,auto,true); } duplicateMovieClipImage(mc,img) img._xscale=50; img._yscale=50; duplicateMovieClipImage(img,img2) I expected that img1 and img2 have the same scale. Instead of that img2 show 50% of mc. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OOP AS3 learning
- Original Message - From: Hans Wichman j.c.wich...@objectpainters.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 12:08 PM Subject: Re: [Flashcoders] OOP AS3 learning snip If your project stays small it's easier to manage your hacks and shortcuts. I think you meant manage your lightweight interconnected architecture optimised for the smaller project and desparate client.. ;-) LOL Paul snip regards JC ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] advice to ms word/xml
Hello list, not a question, just an advice with a problem I was fighting here and to help the ones that can have it too.. When populating a xml content, never paste directly the text from word or other editor that preserves any extra formatting. For any reason, some chars (invisible) were breaking my text only in browser, but into flash it worked now... I stay hours to see that the problem wasn't my code... =) So, first copy the text to notepad, and then to your xml, in case you don't use notepad as xml editor. Hope I help some XML souls, Best -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OOP AS3 learning
lmao erm yes definately:) On Thu, Mar 5, 2009 at 2:04 PM, Paul Andrews p...@ipauland.com wrote: - Original Message - From: Hans Wichman j.c.wich...@objectpainters.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 12:08 PM Subject: Re: [Flashcoders] OOP AS3 learning snip If your project stays small it's easier to manage your hacks and shortcuts. I think you meant manage your lightweight interconnected architecture optimised for the smaller project and desparate client.. ;-) LOL Paul snip regards JC ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: mouseEnabled Loader issue
Ah.. sorry i was reading it wrong.. Your struture is Stage of B.swf B_mc Loader of A.swf A_mc If you would set a B_mc.mouseEnabled = false; ... and listen for mouse events on the stage of B.. and would click on A_mc .. your B stage would get an event with the target of the value: loader of A.swf. If you would set the loader Object o mouseEnabled false aswell.. you will only get an event from the target A_mc. As for the question about loader Object... yes every stage has a loaderinfo .. you can use this to do preloading or access vars that are given by html to your swf. Good luck! With kind regards, Dennis Isioux - Original Message - From: Fabio Pinatti fpina...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 1:17 PM Subject: Re: [Flashcoders] Re: mouseEnabled Loader issue Hello Dennis, thank you, but one question. In the case, my MovieClip B wasn't loaded by a Loader Object. I mean, it is a simple movieclip in stage. Even that way has it a Loader? I thought just elements loaded with Loader class had it... Thank you! Fabio On Thu, Mar 5, 2009 at 7:48 AM, Dennis - I Sioux den...@isioux.nl wrote: Hey Fabio, You disabled the Movieclip in B .. but the b.swf was still loaded into a loader object.. This loader object still catched the mouseevent.. so b didn't catch it.. but b is a part of the total swf/loaderObject ..so the loader still caught it. Hope this is clear:) Dennis Isioux - Original Message - From: Fabio Pinatti fpina...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 3:32 AM Subject: [Flashcoders] Re: mouseEnabled Loader issue Hello again, wow, I don't make idea what, how or why, but that solved my problem: *mcB.loaderInfo.loader.mouseEnabled = false;* (I put that on my swf B, the top level swf). That permitted me disable Loader mouseChildren and access my level A. Any explanation why this happens, would be great... Thank you! On Wed, Mar 4, 2009 at 11:15 PM, Fabio Pinatti fpina...@gmail.com wrote: Hello flashcoders, I'm having some issues with some target things, in as3. I need to access a movieclip A under a movieclip B. Movieclip A is in a swf, and B in other above it. My first try was mouseEnabled. but it didn't work. The weird is, if I put a mouse click in the stage of movie that has movieclip B (that is the one I'm not having sucess in disable). the event.target returns a Loader object. Why is this happening? I thought I could just use mouseEnabled = false to access lower level movieclips, but for different movies, seems that that Loader preserves a hit area, that I don't know how to disable. Actually, one thing works: in swf B: private function click(e:MouseEvent):void { e.target.mouseEnabled = false; } This works on first click, since the Loader target is disabled. Then, I'm able to click on under movieclip, the movieclip A. But I can't leave user clicks... I need to disable before any user interaction... The big question is, why is it getting a Loader target?? How can I disable Loader mouse interaction? Thanks so much... -- Fabio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 3909 (20090304) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 3910 (20090305) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: mouseEnabled Loader issue
That's great.. I see now I have to setup not only movieclip, but Loader as well for some cases. Great explanation, thank you :) Best Regards, F On Thu, Mar 5, 2009 at 11:17 AM, Dennis - I Sioux den...@isioux.nl wrote: Ah.. sorry i was reading it wrong.. Your struture is Stage of B.swf B_mc Loader of A.swf A_mc If you would set a B_mc.mouseEnabled = false; ... and listen for mouse events on the stage of B.. and would click on A_mc .. your B stage would get an event with the target of the value: loader of A.swf. If you would set the loader Object o mouseEnabled false aswell.. you will only get an event from the target A_mc. As for the question about loader Object... yes every stage has a loaderinfo .. you can use this to do preloading or access vars that are given by html to your swf. Good luck! With kind regards, Dennis Isioux - Original Message - From: Fabio Pinatti fpina...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 1:17 PM Subject: Re: [Flashcoders] Re: mouseEnabled Loader issue Hello Dennis, thank you, but one question. In the case, my MovieClip B wasn't loaded by a Loader Object. I mean, it is a simple movieclip in stage. Even that way has it a Loader? I thought just elements loaded with Loader class had it... Thank you! Fabio On Thu, Mar 5, 2009 at 7:48 AM, Dennis - I Sioux den...@isioux.nl wrote: Hey Fabio, You disabled the Movieclip in B .. but the b.swf was still loaded into a loader object.. This loader object still catched the mouseevent.. so b didn't catch it.. but b is a part of the total swf/loaderObject ..so the loader still caught it. Hope this is clear:) Dennis Isioux - Original Message - From: Fabio Pinatti fpina...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 3:32 AM Subject: [Flashcoders] Re: mouseEnabled Loader issue Hello again, wow, I don't make idea what, how or why, but that solved my problem: *mcB.loaderInfo.loader.mouseEnabled = false;* (I put that on my swf B, the top level swf). That permitted me disable Loader mouseChildren and access my level A. Any explanation why this happens, would be great... Thank you! On Wed, Mar 4, 2009 at 11:15 PM, Fabio Pinatti fpina...@gmail.com wrote: Hello flashcoders, I'm having some issues with some target things, in as3. I need to access a movieclip A under a movieclip B. Movieclip A is in a swf, and B in other above it. My first try was mouseEnabled. but it didn't work. The weird is, if I put a mouse click in the stage of movie that has movieclip B (that is the one I'm not having sucess in disable). the event.target returns a Loader object. Why is this happening? I thought I could just use mouseEnabled = false to access lower level movieclips, but for different movies, seems that that Loader preserves a hit area, that I don't know how to disable. Actually, one thing works: in swf B: private function click(e:MouseEvent):void { e.target.mouseEnabled = false; } This works on first click, since the Loader target is disabled. Then, I'm able to click on under movieclip, the movieclip A. But I can't leave user clicks... I need to disable before any user interaction... The big question is, why is it getting a Loader target?? How can I disable Loader mouse interaction? Thanks so much... -- Fabio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 3909 (20090304) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ NOD32 3910 (20090305) Informatie __ Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem. http://www.nod32.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OOP AS3 learning
The OReilly DP book does include the major patterns. But I have to say they could have been explained a lot better. You might check out Head First Design Patterns I haven't read it but the snippets I've seen seem much more clear. On Thu, Mar 5, 2009 at 8:27 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: lmao erm yes definately:) On Thu, Mar 5, 2009 at 2:04 PM, Paul Andrews p...@ipauland.com wrote: - Original Message - From: Hans Wichman j.c.wich...@objectpainters.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 12:08 PM Subject: Re: [Flashcoders] OOP AS3 learning snip If your project stays small it's easier to manage your hacks and shortcuts. I think you meant manage your lightweight interconnected architecture optimised for the smaller project and desparate client.. ;-) LOL Paul snip regards JC ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OOP AS3 learning
This might be useful I guess. http://www.as3dp.com/ See the categories on the right, design patterns are listed with examples. Hope it helps. Romu www.soundstep.com Joel Stransky wrote: The OReilly DP book does include the major patterns. But I have to say they could have been explained a lot better. You might check out Head First Design Patterns I haven't read it but the snippets I've seen seem much more clear. On Thu, Mar 5, 2009 at 8:27 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: lmao erm yes definately:) On Thu, Mar 5, 2009 at 2:04 PM, Paul Andrews p...@ipauland.com wrote: - Original Message - From: Hans Wichman j.c.wich...@objectpainters.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 12:08 PM Subject: Re: [Flashcoders] OOP AS3 learning snip If your project stays small it's easier to manage your hacks and shortcuts. I think you meant manage your lightweight interconnected architecture optimised for the smaller project and desparate client.. ;-) LOL Paul snip regards JC ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Duplicate Bitmap and scale question
How to create img2 correctly? The same way you created img: duplicateMovieClipImage(mc,img2); img2._xscale=50; img2._yscale=50; Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of natalia Vikhtinskaya Sent: Thursday, March 05, 2009 5:54 AM To: Flash Coders List Subject: Re: [Flashcoders] Duplicate Bitmap and scale question How to create img2 correctly? 2009/3/4 Hans Wichman j.c.wich...@objectpainters.com: Hi, you create a clip based on mc's width, called img. then you scale image, so its width is half of what it used to be. Then you draw img into img2. Img2's size is based on half the height and width, but the draw method ignores those transformation, so it draws an unscaled version of img in img2. regards JC On Sun, Mar 1, 2009 at 3:58 PM, natalia Vikhtinskaya natavi.m...@gmail.comwrote: Hi Please explain what is wrong in this code: function duplicateMovieClipImage(from:MovieClip, target:MovieClip){ var visuals = new flash.display.BitmapData(from._width, from._height); visuals.draw(from); target.attachBitmap(visuals, 1,auto,true); } duplicateMovieClipImage(mc,img) img._xscale=50; img._yscale=50; duplicateMovieClipImage(img,img2) I expected that img1 and img2 have the same scale. Instead of that img2 show 50% of mc. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OOP AS3 learning
You might check out Head First Design Patterns Thumbs up to this. Easiest read on programing type stuff ever. Also entertaining in a geek sort of way. You may even end up remembering what you read ;) B. On Thu, Mar 5, 2009 at 8:29 AM, Joel Stransky stranskydes...@gmail.comwrote: The OReilly DP book does include the major patterns. But I have to say they could have been explained a lot better. You might check out Head First Design Patterns I haven't read it but the snippets I've seen seem much more clear. On Thu, Mar 5, 2009 at 8:27 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: lmao erm yes definately:) On Thu, Mar 5, 2009 at 2:04 PM, Paul Andrews p...@ipauland.com wrote: - Original Message - From: Hans Wichman j.c.wich...@objectpainters.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 12:08 PM Subject: Re: [Flashcoders] OOP AS3 learning snip If your project stays small it's easier to manage your hacks and shortcuts. I think you meant manage your lightweight interconnected architecture optimised for the smaller project and desparate client.. ;-) LOL Paul snip regards JC ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Duplicate Bitmap and scale question
I'm guessing the point is to create a scaled version for some reason;) if not well yes thats even easier:) On Thu, Mar 5, 2009 at 5:02 PM, Keith Reinfeld keithreinf...@comcast.netwrote: How to create img2 correctly? The same way you created img: duplicateMovieClipImage(mc,img2); img2._xscale=50; img2._yscale=50; Regards, -Keith http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of natalia Vikhtinskaya Sent: Thursday, March 05, 2009 5:54 AM To: Flash Coders List Subject: Re: [Flashcoders] Duplicate Bitmap and scale question How to create img2 correctly? 2009/3/4 Hans Wichman j.c.wich...@objectpainters.com: Hi, you create a clip based on mc's width, called img. then you scale image, so its width is half of what it used to be. Then you draw img into img2. Img2's size is based on half the height and width, but the draw method ignores those transformation, so it draws an unscaled version of img in img2. regards JC On Sun, Mar 1, 2009 at 3:58 PM, natalia Vikhtinskaya natavi.m...@gmail.comwrote: Hi Please explain what is wrong in this code: function duplicateMovieClipImage(from:MovieClip, target:MovieClip){ var visuals = new flash.display.BitmapData(from._width, from._height); visuals.draw(from); target.attachBitmap(visuals, 1,auto,true); } duplicateMovieClipImage(mc,img) img._xscale=50; img._yscale=50; duplicateMovieClipImage(img,img2) I expected that img1 and img2 have the same scale. Instead of that img2 show 50% of mc. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RegExp headache
I would like some help on a regExp I have a string and want to split it into the first character being a ||=|=|== the second part being an int. so 100 would return result[1] = '' result[2] = 100 so 100 would return result[1] = 'undefined' result[2] = 100 Here is what I have so far, but it is killing me. var pattern:RegExp = /^(\d)?(^\d+)|(?)/ var result:Object = pattern.exec(tConditionalString); I tried another approach but i am still figuring out how to do it. It goes something like this var pattern:RegExp = /^():((?(2)then|else)) Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OOP AS3 learning
I learned OOP by reading Yard's Object-Oriented for Flash 8. I also own the version updated for AS3, Object-Oriented ActionScript 3.0. Todd's books really are a great place to get started, I would read the ActionScript Design Patterns book after reading Todd's book. The as3dp book is excellent as well, but I would start with Yard's book if you're fairly new to Actionscript. On Thu, Mar 5, 2009 at 8:10 AM, Bob Wohl bob.w...@gmail.com wrote: You might check out Head First Design Patterns Thumbs up to this. Easiest read on programing type stuff ever. Also entertaining in a geek sort of way. You may even end up remembering what you read ;) B. On Thu, Mar 5, 2009 at 8:29 AM, Joel Stransky stranskydes...@gmail.com wrote: The OReilly DP book does include the major patterns. But I have to say they could have been explained a lot better. You might check out Head First Design Patterns I haven't read it but the snippets I've seen seem much more clear. On Thu, Mar 5, 2009 at 8:27 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: lmao erm yes definately:) On Thu, Mar 5, 2009 at 2:04 PM, Paul Andrews p...@ipauland.com wrote: - Original Message - From: Hans Wichman j.c.wich...@objectpainters.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 12:08 PM Subject: Re: [Flashcoders] OOP AS3 learning snip If your project stays small it's easier to manage your hacks and shortcuts. I think you meant manage your lightweight interconnected architecture optimised for the smaller project and desparate client.. ;-) LOL Paul snip regards JC ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Cheers, Nate http://blog.natebeck.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RegExp headache
Hi, How about: /([=]+)([0-9]+)/ Check out RegExr by Grant Skinner - it's lovely. The problem with = and = is that there is look behind in the regex controlled by these chars so the order of = seems to be important??? Glen Jiri wrote: I would like some help on a regExp I have a string and want to split it into the first character being a ||=|=|== the second part being an int. so 100 would return result[1] = '' result[2] = 100 so 100 would return result[1] = 'undefined' result[2] = 100 Here is what I have so far, but it is killing me. var pattern:RegExp = /^(\d)?(^\d+)|(?)/ var result:Object = pattern.exec(tConditionalString); I tried another approach but i am still figuring out how to do it. It goes something like this var pattern:RegExp = /^():((?(2)then|else)) Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Re: xml and e4x searching question
, I thought I'd read that future versions of XML were moving away from the use of attributes - any truth to that rumor? Have not followed this thread, so apologies if I am saying stuff already been said. I hadn't heard that, and I doubt its true (but would be interested in any links anyone has that discuss this) - attributes are the best way to make your XML size compact and IMO, succinct and readable. Plus, they are in wide use today. Even if future specs call for their removal, it would be a big undertaking to get acceptance of that radical of a change. Jason Merrill Bank of America | Learning Performance Solutions Instructional Technology Media Learn about the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community Anyone can follow my nonsense on Twitter: jmerrill_2001. If you know me personally, follow more nonsense on Facebook. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RegExp headache
oops, forgot about the comparison operator being optional. New version: /(((|)=?)|==)?(-?\d+)/ hot darn. Dave On Thu, Mar 5, 2009 at 10:44 AM, David Hershberger he...@zipzapplay.comwrote: How's this? /(((|)=?)|==)(-?\d+)/ Then the comparison operator is in result[1] and the number is in result[4]. You said integer, so I threw in the optional negative sign. :) Dave On Thu, Mar 5, 2009 at 10:02 AM, Glen Pike g...@engineeredarts.co.ukwrote: Hi, How about: /([=]+)([0-9]+)/ Check out RegExr by Grant Skinner - it's lovely. The problem with = and = is that there is look behind in the regex controlled by these chars so the order of = seems to be important??? Glen Jiri wrote: I would like some help on a regExp I have a string and want to split it into the first character being a ||=|=|== the second part being an int. so 100 would return result[1] = '' result[2] = 100 so 100 would return result[1] = 'undefined' result[2] = 100 Here is what I have so far, but it is killing me. var pattern:RegExp = /^(\d)?(^\d+)|(?)/ var result:Object = pattern.exec(tConditionalString); I tried another approach but i am still figuring out how to do it. It goes something like this var pattern:RegExp = /^():((?(2)then|else)) Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RegExp headache
Like Glen said, check out Grant's RegExr - it really helps this kind of thing out. :-) Ian On Thu, Mar 5, 2009 at 6:51 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: /(((|)=?)|==)?(-?\d+)/ hot darn. A side note. I'm so in awe at the people who understand and can write Regular Expressions on a whim - I have hacked a few from some examples for projects, but it's nothing I really understand too much, a skill I need to learn - they are so handy. Jason Merrill Bank of America | Learning Performance Solutions Instructional Technology Media Learn about the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community Anyone can follow my nonsense on Twitter: jmerrill_2001. If you know me personally, follow more nonsense on Facebook. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RegExp headache
Seriously, just play with RegExr / Regex Buddy, get the cheat sheets: http://www.regexbuddy.com/ http://gskinner.com/RegExr/ http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/ Then spend some time dealing with Apache Mod Rewrite which will stretch your regex muscles... http://www.addedbytes.com/apache/mod_rewrite-cheat-sheet/ http://www.addedbytes.com/apache/url-rewriting-for-beginners/ That's what I did, now one day I will be able to do the mental gymnastics of the other people, but for now, I will just have to keep looking up the RegEx bits - RegExr is good for this - because I have too many other things to learn along with RegEx's... If you want to hurt your brain whilst learning them inside out try this: http://www.regular-expressions.info/ Glen Merrill, Jason wrote: /(((|)=?)|==)?(-?\d+)/ hot darn. A side note. I'm so in awe at the people who understand and can write Regular Expressions on a whim - I have hacked a few from some examples for projects, but it's nothing I really understand too much, a skill I need to learn - they are so handy. Jason Merrill Bank of America | Learning Performance Solutions Instructional Technology Media Learn about the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community Anyone can follow my nonsense on Twitter: jmerrill_2001. If you know me personally, follow more nonsense on Facebook. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Glen Pike 01326 218440 www.glenpike.co.uk http://www.glenpike.co.uk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] RegExp headache
Seriously, just play with RegExr / Regex Buddy, get the cheat sheets: Am now - love it! Can't I still be in awe? :) Jason Merrill Bank of America | Learning Performance Solutions Instructional Technology Media Learn about the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community Anyone can follow my nonsense on Twitter: jmerrill_2001. If you know me personally, follow more nonsense on Facebook. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OOP AS3 learning
Hmmm Thanks for your answers, but now i am even more confused as i was before posting the question. I understand now (~) when i should use Design patterns, and i will understand it better after learning about them. The reason for my limitations to 500 pages (symbolic) is because of lack of time. That's why i don't want to start reading Learning AS3, since i already know as3 to some extend, and the OOP in there might not be enough to fulfill my expectations. Head First Design Pattern isn't the right book for me. I believe i could learn a lot from it, but the examples are in Java. Java is so similar to as3, that i could start confusing some small things that may destabilize my knowledge on as3 (i have enough of it, but i am not sure whether it's stable in my brains yet) So i think i will start by Lynda's OOP Programming by Todd Perkins and then get the book AS3 D. Patterns. If i will need anything else in the future i'll check more books - but i don't think that's going to happen before as4 is released. Pedro ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OOP AS3 learning
The OO paradigm and design patterns carry across languages quite easily. I wouldn't let the fact that the examples may be in Java stop me from reading a good pattern book. Differences in language detail won't stop you from assimulating patterns. In some ways, if you are keen it can be better - if you have an example in Java, you can imagine how that would work in actionscript. Paul - Original Message - From: Pedro Kostelec pedrok...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 7:15 PM Subject: Re: [Flashcoders] OOP AS3 learning Hmmm Thanks for your answers, but now i am even more confused as i was before posting the question. I understand now (~) when i should use Design patterns, and i will understand it better after learning about them. The reason for my limitations to 500 pages (symbolic) is because of lack of time. That's why i don't want to start reading Learning AS3, since i already know as3 to some extend, and the OOP in there might not be enough to fulfill my expectations. Head First Design Pattern isn't the right book for me. I believe i could learn a lot from it, but the examples are in Java. Java is so similar to as3, that i could start confusing some small things that may destabilize my knowledge on as3 (i have enough of it, but i am not sure whether it's stable in my brains yet) So i think i will start by Lynda's OOP Programming by Todd Perkins and then get the book AS3 D. Patterns. If i will need anything else in the future i'll check more books - but i don't think that's going to happen before as4 is released. Pedro ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] advice to ms word/xml
why on earth would you use Word to edit xml? On Thu, Mar 5, 2009 at 8:13 AM, Fabio Pinatti fpina...@gmail.com wrote: Hello list, not a question, just an advice with a problem I was fighting here and to help the ones that can have it too.. When populating a xml content, never paste directly the text from word or other editor that preserves any extra formatting. For any reason, some chars (invisible) were breaking my text only in browser, but into flash it worked now... I stay hours to see that the problem wasn't my code... =) So, first copy the text to notepad, and then to your xml, in case you don't use notepad as xml editor. Hope I help some XML souls, Best -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OOP AS3 learning
Yep, I couldn't agree more. The examples aren't thick and they just show how to use different patterns. Heck, the examples look like AS3, you don't code them out, you just read them and see how they fit. I was turned onto the book by a few other flash developers, a few of them didn't know Java and neither did I. If you are truely interested in DPs that book is a dang good way to pick them up. /myopinion B. On Thu, Mar 5, 2009 at 12:33 PM, Paul Andrews p...@ipauland.com wrote: The OO paradigm and design patterns carry across languages quite easily. I wouldn't let the fact that the examples may be in Java stop me from reading a good pattern book. Differences in language detail won't stop you from assimulating patterns. In some ways, if you are keen it can be better - if you have an example in Java, you can imagine how that would work in actionscript. Paul - Original Message - From: Pedro Kostelec pedrok...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 05, 2009 7:15 PM Subject: Re: [Flashcoders] OOP AS3 learning Hmmm Thanks for your answers, but now i am even more confused as i was before posting the question. I understand now (~) when i should use Design patterns, and i will understand it better after learning about them. The reason for my limitations to 500 pages (symbolic) is because of lack of time. That's why i don't want to start reading Learning AS3, since i already know as3 to some extend, and the OOP in there might not be enough to fulfill my expectations. Head First Design Pattern isn't the right book for me. I believe i could learn a lot from it, but the examples are in Java. Java is so similar to as3, that i could start confusing some small things that may destabilize my knowledge on as3 (i have enough of it, but i am not sure whether it's stable in my brains yet) So i think i will start by Lynda's OOP Programming by Todd Perkins and then get the book AS3 D. Patterns. If i will need anything else in the future i'll check more books - but i don't think that's going to happen before as4 is released. Pedro ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] advice to ms word/xml
you didn't get it. Clients send content in word. My problem was copy/paste that content. On Thu, Mar 5, 2009 at 4:58 PM, Joel Stransky stranskydes...@gmail.comwrote: why on earth would you use Word to edit xml? On Thu, Mar 5, 2009 at 8:13 AM, Fabio Pinatti fpina...@gmail.com wrote: Hello list, not a question, just an advice with a problem I was fighting here and to help the ones that can have it too.. When populating a xml content, never paste directly the text from word or other editor that preserves any extra formatting. For any reason, some chars (invisible) were breaking my text only in browser, but into flash it worked now... I stay hours to see that the problem wasn't my code... =) So, first copy the text to notepad, and then to your xml, in case you don't use notepad as xml editor. Hope I help some XML souls, Best -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] advice to ms word/xml
ah didn't read it that way. On Thu, Mar 5, 2009 at 3:37 PM, Fabio Pinatti fpina...@gmail.com wrote: you didn't get it. Clients send content in word. My problem was copy/paste that content. On Thu, Mar 5, 2009 at 4:58 PM, Joel Stransky stranskydes...@gmail.com wrote: why on earth would you use Word to edit xml? On Thu, Mar 5, 2009 at 8:13 AM, Fabio Pinatti fpina...@gmail.com wrote: Hello list, not a question, just an advice with a problem I was fighting here and to help the ones that can have it too.. When populating a xml content, never paste directly the text from word or other editor that preserves any extra formatting. For any reason, some chars (invisible) were breaking my text only in browser, but into flash it worked now... I stay hours to see that the problem wasn't my code... =) So, first copy the text to notepad, and then to your xml, in case you don't use notepad as xml editor. Hope I help some XML souls, Best -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] advice to ms word/xml
Or FlashDevelop -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Anzaldo Sent: donderdag 5 maart 2009 22:14 To: Flash Coders List Subject: Re: [Flashcoders] advice to ms word/xml You can use dreamweaver in code view Ing. Juan Anzaldo Tel Cel.614 427-6523 Nextel. 72*8*29809 Blog : http://janzaldo.wordpress.com From: Joel Stransky stranskydes...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 5, 2009 1:51:44 PM Subject: Re: [Flashcoders] advice to ms word/xml ah didn't read it that way. On Thu, Mar 5, 2009 at 3:37 PM, Fabio Pinatti fpina...@gmail.com wrote: you didn't get it. Clients send content in word. My problem was copy/paste that content. On Thu, Mar 5, 2009 at 4:58 PM, Joel Stransky stranskydes...@gmail.com wrote: why on earth would you use Word to edit xml? On Thu, Mar 5, 2009 at 8:13 AM, Fabio Pinatti fpina...@gmail.com wrote: Hello list, not a question, just an advice with a problem I was fighting here and to help the ones that can have it too.. When populating a xml content, never paste directly the text from word or other editor that preserves any extra formatting. For any reason, some chars (invisible) were breaking my text only in browser, but into flash it worked now... I stay hours to see that the problem wasn't my code... =) So, first copy the text to notepad, and then to your xml, in case you don't use notepad as xml editor. Hope I help some XML souls, Best -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.8/1985 - Release Date: 03/05/09 07:54:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] advice to ms word/xml
or Aptana! /*ducks*/ On Thu, Mar 5, 2009 at 3:31 PM, Cor c...@chello.nl wrote: Or FlashDevelop -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Anzaldo Sent: donderdag 5 maart 2009 22:14 To: Flash Coders List Subject: Re: [Flashcoders] advice to ms word/xml You can use dreamweaver in code view Ing. Juan Anzaldo Tel Cel.614 427-6523 Nextel. 72*8*29809 Blog : http://janzaldo.wordpress.com From: Joel Stransky stranskydes...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 5, 2009 1:51:44 PM Subject: Re: [Flashcoders] advice to ms word/xml ah didn't read it that way. On Thu, Mar 5, 2009 at 3:37 PM, Fabio Pinatti fpina...@gmail.com wrote: you didn't get it. Clients send content in word. My problem was copy/paste that content. On Thu, Mar 5, 2009 at 4:58 PM, Joel Stransky stranskydes...@gmail.com wrote: why on earth would you use Word to edit xml? On Thu, Mar 5, 2009 at 8:13 AM, Fabio Pinatti fpina...@gmail.com wrote: Hello list, not a question, just an advice with a problem I was fighting here and to help the ones that can have it too.. When populating a xml content, never paste directly the text from word or other editor that preserves any extra formatting. For any reason, some chars (invisible) were breaking my text only in browser, but into flash it worked now... I stay hours to see that the problem wasn't my code... =) So, first copy the text to notepad, and then to your xml, in case you don't use notepad as xml editor. Hope I help some XML souls, Best -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.8/1985 - Release Date: 03/05/09 07:54:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] advice to ms word/xml
. emacs ;) On Thu, Mar 5, 2009 at 2:40 PM, Bob Wohl bob.w...@gmail.com wrote: or Aptana! /*ducks*/ On Thu, Mar 5, 2009 at 3:31 PM, Cor c...@chello.nl wrote: Or FlashDevelop -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Anzaldo Sent: donderdag 5 maart 2009 22:14 To: Flash Coders List Subject: Re: [Flashcoders] advice to ms word/xml You can use dreamweaver in code view Ing. Juan Anzaldo Tel Cel.614 427-6523 Nextel. 72*8*29809 Blog : http://janzaldo.wordpress.com From: Joel Stransky stranskydes...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 5, 2009 1:51:44 PM Subject: Re: [Flashcoders] advice to ms word/xml ah didn't read it that way. On Thu, Mar 5, 2009 at 3:37 PM, Fabio Pinatti fpina...@gmail.com wrote: you didn't get it. Clients send content in word. My problem was copy/paste that content. On Thu, Mar 5, 2009 at 4:58 PM, Joel Stransky stranskydes...@gmail.com wrote: why on earth would you use Word to edit xml? On Thu, Mar 5, 2009 at 8:13 AM, Fabio Pinatti fpina...@gmail.com wrote: Hello list, not a question, just an advice with a problem I was fighting here and to help the ones that can have it too.. When populating a xml content, never paste directly the text from word or other editor that preserves any extra formatting. For any reason, some chars (invisible) were breaking my text only in browser, but into flash it worked now... I stay hours to see that the problem wasn't my code... =) So, first copy the text to notepad, and then to your xml, in case you don't use notepad as xml editor. Hope I help some XML souls, Best -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.8/1985 - Release Date: 03/05/09 07:54:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Cheers, Nate http://blog.natebeck.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] advice to ms word/xml
flashdevelop is the best all-in-one On Thu, Mar 5, 2009 at 7:31 PM, Cor c...@chello.nl wrote: Or FlashDevelop -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Anzaldo Sent: donderdag 5 maart 2009 22:14 To: Flash Coders List Subject: Re: [Flashcoders] advice to ms word/xml You can use dreamweaver in code view Ing. Juan Anzaldo Tel Cel.614 427-6523 Nextel. 72*8*29809 Blog : http://janzaldo.wordpress.com From: Joel Stransky stranskydes...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 5, 2009 1:51:44 PM Subject: Re: [Flashcoders] advice to ms word/xml ah didn't read it that way. On Thu, Mar 5, 2009 at 3:37 PM, Fabio Pinatti fpina...@gmail.com wrote: you didn't get it. Clients send content in word. My problem was copy/paste that content. On Thu, Mar 5, 2009 at 4:58 PM, Joel Stransky stranskydes...@gmail.com wrote: why on earth would you use Word to edit xml? On Thu, Mar 5, 2009 at 8:13 AM, Fabio Pinatti fpina...@gmail.com wrote: Hello list, not a question, just an advice with a problem I was fighting here and to help the ones that can have it too.. When populating a xml content, never paste directly the text from word or other editor that preserves any extra formatting. For any reason, some chars (invisible) were breaking my text only in browser, but into flash it worked now... I stay hours to see that the problem wasn't my code... =) So, first copy the text to notepad, and then to your xml, in case you don't use notepad as xml editor. Hope I help some XML souls, Best -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.8/1985 - Release Date: 03/05/09 07:54:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] advice to ms word/xml
Except it doesn't have a debugger... I really like FD, have used it and recommended it a lot, but lately I'm working almost exclusively with Eclipse / Flex Builder. If FD had a good GUI for the debugger, I'd probably switch back to it. Anyway, it's an awesome editor. Cheers Juan Pablo Califano 2009/3/5 Fabio Pinatti fpina...@gmail.com flashdevelop is the best all-in-one On Thu, Mar 5, 2009 at 7:31 PM, Cor c...@chello.nl wrote: Or FlashDevelop -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Anzaldo Sent: donderdag 5 maart 2009 22:14 To: Flash Coders List Subject: Re: [Flashcoders] advice to ms word/xml You can use dreamweaver in code view Ing. Juan Anzaldo Tel Cel.614 427-6523 Nextel. 72*8*29809 Blog : http://janzaldo.wordpress.com From: Joel Stransky stranskydes...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 5, 2009 1:51:44 PM Subject: Re: [Flashcoders] advice to ms word/xml ah didn't read it that way. On Thu, Mar 5, 2009 at 3:37 PM, Fabio Pinatti fpina...@gmail.com wrote: you didn't get it. Clients send content in word. My problem was copy/paste that content. On Thu, Mar 5, 2009 at 4:58 PM, Joel Stransky stranskydes...@gmail.com wrote: why on earth would you use Word to edit xml? On Thu, Mar 5, 2009 at 8:13 AM, Fabio Pinatti fpina...@gmail.com wrote: Hello list, not a question, just an advice with a problem I was fighting here and to help the ones that can have it too.. When populating a xml content, never paste directly the text from word or other editor that preserves any extra formatting. For any reason, some chars (invisible) were breaking my text only in browser, but into flash it worked now... I stay hours to see that the problem wasn't my code... =) So, first copy the text to notepad, and then to your xml, in case you don't use notepad as xml editor. Hope I help some XML souls, Best -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.8/1985 - Release Date: 03/05/09 07:54:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] advice to ms word/xml
OMG,yikes...Just use notepad. I know I will sound like I am being a bit of a snot for saying it; yet, I figured that one out when I was a pre-teen, as it effects all files. Nice of him to try to help though; Joel Stransky wrote: why on earth would you use Word to edit xml? On Thu, Mar 5, 2009 at 8:13 AM, Fabio Pinatti fpina...@gmail.com wrote: Hello list, not a question, just an advice with a problem I was fighting here and to help the ones that can have it too.. When populating a xml content, never paste directly the text from word or other editor that preserves any extra formatting. For any reason, some chars (invisible) were breaking my text only in browser, but into flash it worked now... I stay hours to see that the problem wasn't my code... =) So, first copy the text to notepad, and then to your xml, in case you don't use notepad as xml editor. Hope I help some XML souls, Best -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] advice to ms word/xml
Textmate rules! .m On Thu, Mar 5, 2009 at 6:56 PM, Anthony Pace anthony.p...@utoronto.ca wrote: OMG,yikes...Just use notepad. I know I will sound like I am being a bit of a snot for saying it; yet, I figured that one out when I was a pre-teen, as it effects all files. Nice of him to try to help though; Joel Stransky wrote: why on earth would you use Word to edit xml? On Thu, Mar 5, 2009 at 8:13 AM, Fabio Pinatti fpina...@gmail.com wrote: Hello list, not a question, just an advice with a problem I was fighting here and to help the ones that can have it too.. When populating a xml content, never paste directly the text from word or other editor that preserves any extra formatting. For any reason, some chars (invisible) were breaking my text only in browser, but into flash it worked now... I stay hours to see that the problem wasn't my code... =) So, first copy the text to notepad, and then to your xml, in case you don't use notepad as xml editor. Hope I help some XML souls, Best -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] advice to ms word/xml
If aptana had flash develops capabilities, that would be awesome. (salivating at the thought) Bob Wohl wrote: or Aptana! /*ducks*/ On Thu, Mar 5, 2009 at 3:31 PM, Cor c...@chello.nl wrote: Or FlashDevelop -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Anzaldo Sent: donderdag 5 maart 2009 22:14 To: Flash Coders List Subject: Re: [Flashcoders] advice to ms word/xml You can use dreamweaver in code view Ing. Juan Anzaldo Tel Cel.614 427-6523 Nextel. 72*8*29809 Blog : http://janzaldo.wordpress.com From: Joel Stransky stranskydes...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, March 5, 2009 1:51:44 PM Subject: Re: [Flashcoders] advice to ms word/xml ah didn't read it that way. On Thu, Mar 5, 2009 at 3:37 PM, Fabio Pinatti fpina...@gmail.com wrote: you didn't get it. Clients send content in word. My problem was copy/paste that content. On Thu, Mar 5, 2009 at 4:58 PM, Joel Stransky stranskydes...@gmail.com wrote: why on earth would you use Word to edit xml? On Thu, Mar 5, 2009 at 8:13 AM, Fabio Pinatti fpina...@gmail.com wrote: Hello list, not a question, just an advice with a problem I was fighting here and to help the ones that can have it too.. When populating a xml content, never paste directly the text from word or other editor that preserves any extra formatting. For any reason, some chars (invisible) were breaking my text only in browser, but into flash it worked now... I stay hours to see that the problem wasn't my code... =) So, first copy the text to notepad, and then to your xml, in case you don't use notepad as xml editor. Hope I help some XML souls, Best -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Fábio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- --Joel Stransky stranskydesign.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.8/1985 - Release Date: 03/05/09 07:54:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Lint for ActionScript?
Hey, guys. Anybody have any decent Lint-like tools that they've been using for ActionScript? Google hasn't given me anything very useful, except the recommendation that a Lint tool for JavaScript might work, which I'm kinda skeptical about. --T ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Lint for ActionScript?
Date: Thu, 5 Mar 2009 17:11:49 -0800 From: t...@kerp.net To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Lint for ActionScript? Hey, guys. Anybody have any decent Lint-like tools that they've been using for ActionScript? Google hasn't given me anything very useful, except the recommendation that a Lint tool for JavaScript might work, which I'm kinda skeptical about. --T ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders how about flahDevelop. _ Live Search视频搜索,快速检索视频的利器! http://www.live.com/?scope=video ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful.
I'm trying to play more than one song in a music player. the music player is in an exported movieclip and the links are in another movieclip.. but I kept getting this error.. i did my research and found scripts online but no step by step esplanation.. here is my code: THIS IS MY CODE TO THE MUSIC PLAYER: //var song:Sound = new Sound; var sndChan:SoundChannel = new SoundChannel; //var songReq:URLRequest; var songPlaying:Boolean = false; var pos:Number; aPlayBtn.addEventListener(MouseEvent.CLICK, playSong); aPlayBtn.buttonMode = true; aStopBtn.addEventListener(MouseEvent.CLICK, stopSong); aStopBtn.buttonMode = true; aPauseBtn.addEventListener(MouseEvent.CLICK, pauseSong); function playSong(e:Event):void { if (songPlaying == false) { songPlaying = true; sndChan = MovieClip(root).audio.song.play(pos); aPlayBtn.removeEventListener(MouseEvent.CLICK, playSong); aPlayBtn.buttonMode = false; } } function playSongI():void { if (songPlaying == false) { songPlaying = true; sndChan = MovieClip(root).audio.song.play(pos); aPlayBtn.removeEventListener(MouseEvent.CLICK, playSong); aPlayBtn.buttonMode = false; } } function stopSong(e:Event):void { sndChan.stop(); songPlaying = false; aPlayBtn.addEventListener(MouseEvent.CLICK, playSong); aPlayBtn.buttonMode = true; pos = 0; } function stopSongI():void { sndChan.stop(); songPlaying = false; aPlayBtn.addEventListener(MouseEvent.CLICK, playSong); aPlayBtn.buttonMode = true; pos = 0; } function pauseSong(e:Event):void { pos = sndChan.position; sndChan.stop(); songPlaying = false; aPlayBtn.addEventListener(MouseEvent.CLICK, playSong); } AND THIS IS MY CODE TO THE MUSIC LIST: var audioPlayer:aPlayer = new aPlayer(); audioPlayer.x = 50; audioPlayer.y = 20; var song:Sound = new Sound; var songReq:URLRequest; //BUTTONS HOLDING LOCATION OF SONGS-- btnStream01.addEventListener(MouseEvent.CLICK, onClick); btnStream01.songURL = audio/01 An Offer You Can't Refuse.mp3; btnStream02.addEventListener(MouseEvent.CLICK, onClick); btnStream03.songURL = audio/02 Cruise.mp3; btnStream03.addEventListener(MouseEvent.CLICK, onClick); btnStream03.songURL = audio/03 So Many Girlz featuring P. Murray.mp3; btnStream04.addEventListener(MouseEvent.CLICK, onClick); btnStream04.songURL = audio/04 Damn I'm Cooo.mp3; //--- function onClick(e:Event):void { addChild(audioPlayer); songReq = new URLRequest(e.currentTarget.songURL); song.load(songReq); this.audioPlayer.playSongI(); audioPlayer.aClosePlayer.addEventListener(MouseEvent.CLICK, closePlayerFunction); audioPlayer.aClosePlayer.buttonMode = true; } function closePlayerFunction(e:Event):void { removeChild(audioPlayer); this.audioPlayer.stopSongI(); } -- Reina Lyn Ben Flash Web Devsigner Web Portfolio: www.ReinaLynBen.com http://www.reinalynben.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Capture sound input in Flash as MP3?
Thanks for your reply Glen. That is really handy to know. Now to plunge into what looks like the terrifying world of Red5. *shiver* Cheers, CB. On Thu, Mar 5, 2009 at 11:10 PM, Glen Pike g...@engineeredarts.co.ukwrote: Hi, You can capture the microphone sound in Flash by publishing it to a server via a Netstream connected to Flash Media Server or Red5 (OS media server). You can't get the sound from the microphone and save it to an mp3 on your machine without sending it to be recorded by the server first... HTH Glen confustic...@gmail.com wrote: Hello List, I wonder if I could get this sorted out once and for all. A colleague is convinced that you can capture a SWF's sound input (possibly through the Microphone class) and save it as an MP3. However, said colleague has not yet provided any proof or examples. I meanwhile have been trying to find examples / tutorials / documentation regarding this and have come up empty. Would anyone know if this is / isn't possible? We would love for our users to be able to record their speech onto a server or their local hard drives. Cheers, CB. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] advice to ms word/xml
vim user here (I use :set encoding=utf8) On Thu, Mar 5, 2009 at 11:54 PM, Nate Beck n...@tldstudio.com wrote: . emacs ;) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders