Re: [Flashcoders] swf2jpg conversion
is there any chance you could put it somewhere publicly accessible? im sure there are quite a few people who would like to use it (myself included) thanks, Martin Firstpixel wrote: There is some PHP that does it. email me and I will send you the php Classes. Gil Beyruth Criação e Desenv. Flash {FP}Firstpixel.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] sort 2d array
I think its wise to be careful how you approach this as although quicksort is 'quick' you could actually be using it inefficiently (or rather in a situation that isnt appropriate) If your list is almost sorted then quicksort can be inefficient, (depending on how you choose your pivot, apparently choosing a random pivot can be a good idea) Also this highlights how you should be careful when benchmarking any sorting algorithms as the order of the data before the sort greatly affects performance. If its possible you might be better off storing your data already sorted. How is the data generated? If you have to sort then you might want to do some reading first : http://www.cs.sunysb.edu/~algorith/lectures-good/node5.html 'the worst case time for Quicksort is worse than Heapsort or Mergesort.' http://linux.wku.edu/~lamonml/algor/sort/quick.html 'the quick sort has horrible efficiency when operating on lists that are mostly sorted in either forward or reverse order - avoid it in those situations' youre lucky though because this topic is very well covered :) Martin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Need a volunteer Flash Programmer
Is it that I cant read, or is it hiding somewhere on the page. Or is this just some inside knowledge about swivelgames that I am not privy to. Because I dont see anything on the swivelgames.com page about asking for volunteer work. its just from the email address of the dude who sent the request. not really worth your time thinking too deeply about it. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flair Pattern?
Im not normally one to comment on personal behaviour but that post really does leave a bitter taste, which is sad as you are sometimes helpful. If you are going to pass judgements on other peoples work which may prove helpful in the situation facing the OP then at least qualify them or you also look like you are relying on us accepting your notion of your own ego. Design patterns are not cast in stone and the GoF dont hold the one true set of patterns, PhD's or no PhD's. Actionscript is not C++ and its not Smalltalk, other solutions may apply. I know you can discuss a topic without resorting to ad hominem, so please do so. thanks, Martin Steven Sacks | BLITZ wrote: There are no references to the Flair design pattern anywhere else because it doesn't exist anywhere except in the ego of Brendan Hall. It's not a design pattern, it's a class that uses another design pattern, and poorly, too, judging by the code example. If you want to learn more about Design Patterns, there are quite a few great books out there on the subject written by people more learned and experienced than Brendan Hall. Like people with PhD's in Computer Science. From the de facto bible Design Patterns by the Gang of Four to many others. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Invisible re-draw
eric dolecki wrote: The player draws constantly what is on stage. Vector takes more horses than bitmap (in fact unless a bitmap moves or changes, its static (won't be redrawn - hence the cacheAsBitmap option). I would have thought the rasterizer has at least some kind of dirty rectangle setup, hence the option to view redraw rectangles. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q: Approaches to integrating existing class libraries with frameworks
[EMAIL PROTECTED] wrote: Hi I'm very much interested in exploring several popular flash frameworks, especially PixLib, but am wondering if there is a way to adopt and integrate legacy class code with these new frameworks. absolutely. i've been doing exactly that with pixlib and documenting my progress http://relivethefuture.com/choronzon/category/development/flash/pixlib/ I've got a couple more posts in my head that I just need to type up when i get the time covering remoting and general utility stuff. I cant really comment on the other frameworks as i've not tried them, but pixlib is pretty cool and the community support is excellent. You should definitely sign up for the mailing list if you start working with pixlib. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash wish: Omit comments on publish
comments arent compiled. dont worry about it. :) Mick G wrote: Am I wrong in thinking that comments are included in a SWF when it's published? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] External libraries
there's a -mx switch specifically for that, in fact I think it just ignores the mx.* classes so they dont even get compiled. you can also patch your mx.* classes using a patch from osflash.org which is what I do, then I dont need the -mx switch. n.b. I patched a copy of the mx classes, not the originals. My IDE install points to the originals. :) martin Andy Herrman wrote: Hmm...I just tried building using MTASC and I'm getting an error in one of the mx classes. It's choking on mx.utils.Delegate (variables aren't typed). Is there a way to keep MTASC from being too strict on the built in mx classes? -Andy ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] External libraries
like i said in the other mail, -mx prevents mtasc compiling the mx.* classes so you will want to generate the swf in MMC and then inject the new code when you compile (or patch the mx classes) also, you might like this delegate implementation : http://dynamicflash.com/2005/02/delegate-class-refined/ Andy Herrman wrote: If I add the -mx parameter to MTASC (I'm working through FlashDevelop) it removes the error, but the Delegate class doesn't work anymore (Delegate.create returns undefined). -Andy ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] External libraries
you cant attach symbols from a loaded swf to a different parent, you *must* attach them somewhere in the tree where their library exists. you have to do uiResources.attachMovie instead of _root.attachMovie its a nasty limitation of flash (pre v9, in v9 you can manipulate the display heirarchy pretty much as you like) Andy Herrman wrote: var img:MovieClip = root.attachMovie(asImage, asImageMC, root.getNextHighestDepth()); ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Datatypes that are complex/composite ...
id stick to 'complex' in general because the word composite to me refers to the composite pattern [1]. Although movieclip is an example of the composite pattern and a complex object, so you could use both. There's also the usage of 'composition' (vs. inheritance) [2] which is a way of creating complex data types, but not necessarily composites. its a mine field out there :) [1] http://en.wikipedia.org/wiki/Composite_pattern [2] http://en.wikipedia.org/wiki/Record_(computer_science) Stephen Ford wrote: Do you refer to the following datatypes (arrays, objects, movieclips, etc) as complex or composite.I'm finding references that use both terms.Not a biggie, but would like to hear opinions.___ -- Martin Wood-Mitrovski http://relivethefuture.com/choronzon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Drag on a specific angle
Merrill, Jason wrote: You can project a perpendicular line from the mouse to the target line and then find the intersection. uh huh. Still waiting for someone to explain how to do the constrain part. Mike did say, Using this basic principle you could limit an MC to a slope based on the _xmouse value. - sounds cool, some code showing the limit part I think is what Eric is after. right, tbh its probably best to stick to one line of reasoning and follow what Mike is suggesting as its probably not as complicated :) actually thinking about it you could just use the dot product to project the vector from the start point to the mouse onto the drag line then constrain the result between 0 - 1. Multiply that number by the drag line vector and add it to the start point. not that complicated (not like my previous idea..dont know why i came up with that..but im sure ive used it before..) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Senior Developer Posisition
Reverse the math from London at $80K. NYC: $69K, SF: $52K Both of which are far less than what a senior level flash dev should be making in this market. thats why i dont live in london anymore :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] How to send Audio objects as MP3 via XML-RPC?
Leo Burd wrote: - thanks so much for all the feedback provided! I believe now I've collected all (or most) of the pieces that I needed for my little system! As for the sorenson format issue, I believe ffmpeg can take care of that... (hopefully) the video is sorenson, but the audio is nellymoser. Im pretty sure that there are currently no free converters for nellymoser. If you want to record audio from flash via the mic and convert it into a 'usable' format you'll have to pay nellymoser for their transcoder. From what ive read (on the flashcomm list) its in the region of $8k If you do find a way to convert .flv audio to something else for free, please let me know :) thanks, Martin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] migrating to Flex
Millie Niss wrote: Am I the only one on this list who (still) uses the Flash IDE (Flash 8 Pro) and hasn't migrated to AS 3.0 or any version of Flex? haha, no, all my paid work is still still targeting the v7 player. I dont think i'll be using AS3 commercially for at least a year. What is the minimum cost to start using Flex? (I mean in a production version. absolutely zero. FlexBuilder costs money, but the Flex SDK is free. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Tween color of dynamic text
eric dolecki wrote: Thats cool - i hooked the class up, but i get an array with values like this: 4951245,6133970,7316439,8499164,9681633,10864358,12046827,13229552,14412021,15594746 from going from a blue to white: [0x4B8CCD,0xFF] ?? looks right to me 0x4B8CCD = 4951245 im guessing you missed of some of the end values as 0xFF = 16777215 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] LocalConnection breaks object types?
did you use Object.registerClass ? you have to register your types for them to serialize / de-serialize with their type information intact. PR Durand wrote: Hi there! using localConnection seems to totally untype an object, right? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] LocalConnection breaks object types?
Object.registerClass is used to register types for a variety of purposes, shared objects, local connections and remoting apart from the MC / class link usage. Did you register the class at both ends? and are you sure its compiled into both movies? check this post from the archive http://chattyfig.figleaf.com/pipermail/flashcoders/2004-November/126008.html its a good guide to local connection and registerClass. PR Durand wrote: Nope... it seems that object.registerClass remains a link between AS1 class and a movieClip... I can't get my object pass through the localConnection... :( ++ PiR ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] [OT] Flash player on the PS3?
Zárate wrote: Good news about the Wii! There is no FP9 for PPC Linux yet PPC? As far as I know* Pocket PC is Microsoft exclusive. What I would expect in the future is player 9 (Linux version), but it will probably need to get out of beta first. :) PowerPC, like Macs used to be http://www.ps3land.com/ps3specs.php ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Music visualisation in Flash 9
Jake Prime wrote: Hi I have just been asked about the possibility of making an app which will play MP3s, and display visual effect to match it. Does this sound like something that is possible in AS3? Its easy in AS3, just look up Sound.computeSpectrum in the reference. you'll also find code examples on the internet. such as http://blog.andre-michelle.com/2006/soundmixercomputespectrum/ and http://www.martijndevisser.com/blog/article/as3-computespectrum-bitmapdata ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Music visualisation in Flash 9
Paul Steven wrote: Haven't looked into AS3 yet but seeing this thread I wonder if it is possible to change the pitch of dynamically loaded mp3 files in real time? im 99% certain the answer is no. if there is a way i would love to know how. :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] setVolume has a greater range than documented?
if you have no other sound objects then setting the volume to 100 should be full volume. if you create sound objects using a heirarchy of mc's then the final volume is a combination of the volumes of each sound object within the heirarchy. if its not that then i dont know...what version of the player and which platform? as a side note, you can set the volume to any number you like, what i find interesting is that the player has its own flavour of distortion which can be quite nice (if you like that kind of thing) if you do try running some sine tones or other simple tones (square, saw, dtmf etc..) and cranking up the sound object volume to 10,000 or so (but mind your ears / speakers) Michael Bedar wrote: I am loading MP3's into a sound object, and the sounds play full volume without me touching anything. However if i then set the volume of the Sound object to 100, the sound plays at what seems to be about 50%, and following this trend passing in 200 seems to get back up to 100%. soundPlayer.loadSound(my.mp3); //plays at 100% soundPlayer.loadSound(my.mp3); soundPlayer.setVolume(100) //plays at ~ 50% soundPlayer.loadSound(my.mp3); soundPlayer.setVolume(200) //plays at 100% Has anyone run into this? -Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Martin Wood http://relivethefuture.com/choronzon ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com