Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Alexander Farber
vim user here (I use ":set encoding=utf8") On Thu, Mar 5, 2009 at 11:54 PM, Nate Beck wrote: > . emacs ;) > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Capture sound input in Flash as MP3?

2009-03-05 Thread confustic...@gmail.com
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 wrote: > Hi, > > You can "capture" the microphone sound in Flash by publishing it to a > server via a Nets

[Flashcoders] Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful.

2009-03-05 Thread Reina Lyn Ben
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

RE: [Flashcoders] Lint for ActionScript?

2009-03-05 Thread liutoday
> 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 usefu

[Flashcoders] Lint for ActionScript?

2009-03-05 Thread Todd Kerpelman
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 ___ Flas

Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Anthony Pace
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 wrote: Or FlashDevelop -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-b

Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Matt S.
Textmate rules! .m On Thu, Mar 5, 2009 at 6:56 PM, Anthony Pace 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; > > >

Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Anthony Pace
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, 2

Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Juan Pablo Califano
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 2

Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Fabio Pinatti
flashdevelop is the best all-in-one On Thu, Mar 5, 2009 at 7:31 PM, Cor 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

Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Nate Beck
. emacs ;) On Thu, Mar 5, 2009 at 2:40 PM, Bob Wohl wrote: > or Aptana! > /*ducks*/ > > On Thu, Mar 5, 2009 at 3:31 PM, Cor wrote: > > > Or FlashDevelop > > > > -Original Message- > > From: flashcoders-boun...@chattyfig.figleaf.com > > [mailto:flashcoders-boun...@chattyfig.figleaf.c

Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Bob Wohl
or Aptana! /*ducks*/ On Thu, Mar 5, 2009 at 3:31 PM, Cor 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 Cod

RE: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Cor
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

Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Juan Anzaldo
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 To: Flash Coders List Sent: Thursday, March 5, 2009 1:51:44 PM Subject: Re: [Flashcoders] advice to ms w

Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Joel Stransky
ah didn't read it that way. On Thu, Mar 5, 2009 at 3:37 PM, Fabio Pinatti 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 >wrote: > > > why on earth would you use Word to edit xml? > > > > On

Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Fabio Pinatti
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 wrote: > why on earth would you use Word to edit xml? > > On Thu, Mar 5, 2009 at 8:13 AM, Fabio Pinatti wrote: > > > Hello list, > > > > not a question, just an

Re: [Flashcoders] OOP AS3 learning

2009-03-05 Thread Bob Wohl
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

Re: [Flashcoders] advice to ms word/xml

2009-03-05 Thread Joel Stransky
why on earth would you use Word to edit xml? On Thu, Mar 5, 2009 at 8:13 AM, Fabio Pinatti 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

Re: [Flashcoders] OOP AS3 learning

2009-03-05 Thread Paul Andrews
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 - i

Re: [Flashcoders] OOP AS3 learning

2009-03-05 Thread Pedro Kostelec
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 ti

RE: [Flashcoders] RegExp headache

2009-03-05 Thread Merrill, Jason
>> 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 - joi

Re: [Flashcoders] RegExp headache

2009-03-05 Thread Glen Pike
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...

RE: [Flashcoders] RegExp headache

2009-03-05 Thread Merrill, Jason
Cool - I just download the AIR version, installing it now and checking it out. 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 Commu

Re: [Flashcoders] RegExp headache

2009-03-05 Thread Ian Thomas
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 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

RE: [Flashcoders] RegExp headache

2009-03-05 Thread Merrill, Jason
>>/(((<|>)=?)|==)?(-?\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

Re: [Flashcoders] RegExp headache

2009-03-05 Thread David Hershberger
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 wrote: > How's this? > > /(((<|>)=?)|==)(-?\d+)/ > > Then the comparison operator is in result[1] and the number is in > result[4].

Re: [Flashcoders] RegExp headache

2009-03-05 Thread David Hershberger
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 wrote: > Hi, > > How about: > > /([=><]+)([0-9]+)/ > > Check

RE: [Flashcoders] Re: xml and e4x searching question

2009-03-05 Thread Merrill, Jason
>>, 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 anyon

Re: [Flashcoders] RegExp headache

2009-03-05 Thread Glen Pike
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

[Flashcoders] RegExp headache

2009-03-05 Thread Jiri
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 fa

Re: [Flashcoders] OOP AS3 learning

2009-03-05 Thread Nate Beck
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 excelle

Re: [Flashcoders] Duplicate Bitmap and scale question

2009-03-05 Thread Hans Wichman
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 wrote: > > > > How to create img2 correctly? > > The same way you created img: > > duplicateMovieClipImage(mc,img2); > img2._xscale=50; > img2.

Re: [Flashcoders] OOP AS3 learning

2009-03-05 Thread Bob Wohl
> > 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 wrote: > The OReilly DP book does incl

RE: [Flashcoders] Duplicate Bitmap and scale question

2009-03-05 Thread Keith Reinfeld
> 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:flashcod

Re: [Flashcoders] OOP AS3 learning

2009-03-05 Thread Romuald Quantin
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

Re: [Flashcoders] OOP AS3 learning

2009-03-05 Thread Joel Stransky
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 wrote: > lmao erm y

Re: [Flashcoders] Re: mouseEnabled Loader issue

2009-03-05 Thread Fabio Pinatti
gt; is, why is it getting a Loader target?? How can I disable Loader mouse >>>>> interaction? >>>>> >>>>> Thanks so much... >>>>> >>>>> -- >>>>> Fabio Pinatti >>>>> :: web.developer >>>>&

Re: [Flashcoders] Re: mouseEnabled Loader issue

2009-03-05 Thread Dennis - I Sioux
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 Syste

Re: [Flashcoders] OOP AS3 learning

2009-03-05 Thread Hans Wichman
lmao erm yes definately:) On Thu, Mar 5, 2009 at 2:04 PM, Paul Andrews wrote: > - Original Message - From: "Hans Wichman" < > j.c.wich...@objectpainters.com> > To: "Flash Coders List" > Sent: Thursday, March 05, 2009 12:08 PM > Subject: Re: [Flashcoders] OOP AS3 learning > > > snip > >

[Flashcoders] advice to ms word/xml

2009-03-05 Thread Fabio Pinatti
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

Re: [Flashcoders] OOP AS3 learning

2009-03-05 Thread Paul Andrews
- Original Message - From: "Hans Wichman" To: "Flash Coders List" 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 interco

Re: [Flashcoders] Duplicate Bitmap and scale question

2009-03-05 Thread Hans Wichman
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._ys

Re: [Flashcoders] Re: mouseEnabled Loader issue

2009-03-05 Thread Fabio Pinatti
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 -

Re: [Flashcoders] OOP AS3 learning

2009-03-05 Thread Hans Wichman
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

Re: [Flashcoders] Duplicate Bitmap and scale question

2009-03-05 Thread natalia Vikhtinskaya
How to create img2 correctly? 2009/3/4 Hans Wichman : > 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 tho

Re: [Flashcoders] Capture sound input in Flash as MP3?

2009-03-05 Thread Glen Pike
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

Re: [Flashcoders] OOP AS3 learning

2009-03-05 Thread David Benman
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 proje

[Flashcoders] Capture sound input in Flash as MP3?

2009-03-05 Thread confustic...@gmail.com
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

[Flashcoders] OOP AS3 learning

2009-03-05 Thread Pedro Kostelec
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 , Chandima Cumaranatunge and: Obje

Re: [Flashcoders] Re: mouseEnabled Loader issue

2009-03-05 Thread Dennis - I Sioux
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

Re: [Flashcoders] SoundSpectrum on audio track of a video?

2009-03-05 Thread Glen Pike
Dunno, try it with the sound mixer which is controls global sound(s). SoundMixer.computeSpectrum() Matt S. wrote: Hey, do you guys know if its possible to use the AS3 Sound Spectrum functionality on the audio track of a video that's playing via a NetStream? thx, .m ___