Re: [Flashcoders] standalone+amfphp doesn't work
thanks Cosmin, I have F8. The problem you could be, BUT, all the time it refers to loading movies between movies. My main movie loads the internal movies, but I can't connect with amfphp. In another post Michael, mentions AMF protocol uses HHTP headers that are available only on browser I think, this could be more accurate, but what is the solution what do you think? Gabriel Cosmin Cimpoi wrote: If you have flash player 8 then check this out about local swf security: http://cosmincimpoi.blogspot.com/2005/12/security-changes-in-flash-player-8.html You'll probably need to export with access network only. cosmin - Original Message - From: Gabriel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, January 09, 2006 9:28 AM Subject: Re: [Flashcoders] standalone+amfphp doesn't work nope...windows JesterXL wrote: Is it a Mac projector? - Original Message - From: Gabriel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 05, 2006 2:37 AM Subject: Re: [Flashcoders] standalone+amfphp doesn't work What do you mean by full path? I have http://...etc../gateway.php; and its working in the browser in the same computer Anthony Covert wrote: Do you have a full path to your gateway in the Service Browser? You should be able to view the working service directly in flash. On Wed, 04 Jan 2006 17:34:54 +0100 Gabriel [EMAIL PROTECTED] wrote: Hi all, I have a standalone movie connecting to amfphp. It doesn't connect or have response from it, but it does if I open the swf with the browser... any idea? thanks a lot... Gab ___ 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 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] efficient htmltext.reduce() function? or similar idea?
You should definetly be looking into regular expressions. The following could be wrapped up in a utility class and help build your method: var regex:RegExp = /.*?.*?\/.*?/g; var str:String = myHtmlTextBox.text; // or wherever you get your source text var result:Object = regexp.exec(str); while(result != null) { trace(result.index + , + result); // Place the result in a new string or array and do whatever // processing you'd like result = regex.exec(str); } Useful info: http://www.regular-expressions.info http://livedocs.macromedia.com/labs/1/flex/langref/RegExp.html cheers, gunnar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jayson K Hanes Sent: 17. januar 2006 01:54 To: Flashcoders mailing list Subject: [Flashcoders] efficient htmltext.reduce() function? or similar idea? Does anyone have any divine wisdom for safely and efficiently reducing an htmltext string down in size? I've been using old code for a while that simply loops looking for html tags.. and if it's a known paired tag set (like font), looks for the closing tag, and then, substring's from that point onward (thus removing everything ahead of the last complete tag set), and effectively reducing the overall size of the htmltext so that it doesn't forever build in size, and in turn bring flash to its knees if the string gets too long. The problem with this is its slow... and risky.. sometimes.. it fails to match a paired set.. and the output into the flash textbox breaks -- that is -- no more appended text will be seen from that point onward.. and the box appears Dead because of broken tags. Ideally for me at least.. a function could be called such as: myHtmlTextBox=myHtmlTextBox.reduce(10); whereby 10 is used such that the result has about 90% remaining (which is obviously a challenge because of the variable lengths of tag groupings among formatted html..) Any ideas? This is a hard topic to google and search the archives with.. Thanks! -Jayson ___ 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] md5 in AS3
On a related note, has anyone written a message digest attack algorithm for AS3? ;) http://www.cits.rub.de/MD5Collisions/ Cheers, Alias On 1/16/06, Geoffrey Williams [EMAIL PROTECTED] wrote: AS3 Version - http://gsolo.com/temp/macromedia/flex/beta/Global/com/gsolo/encryption/MD5.z ip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul BH Sent: Monday, January 16, 2006 6:47 PM To: Flashcoders mailing list Subject: [Flashcoders] md5 in AS3 does anyone have a class for generating md5 hash's in AS2 or AS3? ta PBH ___ 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] FlashMattic -My Hebrew Flash Blog
Danny, You switch keyboard layouts like you would with any other multi lingual setup on either mac or pc and you have the option to change the page direction to RTL. Numbers, English and panctuation behaves as expected theoritically, meaning that numbers for instance will be entered from left to right even when your page is right to left. This usually works... In my experience though it's always a bitch working with mixed inputs. You need an operating system which supports BIDI and ofcourse BIDI applications for heavy duty work. Windows and Mac OS support RTL out of the box, your problem is usually the applications. Yotam. On 16/01/06, matti bar zeev [EMAIL PROTECTED] wrote: I've checked them and replied at my blog. There are many people from your country around here, ya know :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Flashcoders mailing list Sent: Monday, January 16, 2006 12:33 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] FlashMattic -My Hebrew Flash Blog Hello fellow Israel dude :) I saw on your blog a webcam game, well Chk : http://gamez.tipo.co.il/Gamez/CamPlay_Main.asp my 3 webcam games for my site :) TIPO :) 10x nice to meet people from my country on here :) ___ 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 -- Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] using a named array element as a var for input text field
This one has me stumped.. maybe someone knows how to use a named array element as a var in an input text field. I have an array named formdata. The array elements are named as in formdata[companyname] = ; I have a separate array that just lists the names as in formkey = new Array(companyname,clientcontact,...etc..); I use this array so I can refer to the first array elements either by their name, or by using this syntax: function storeclientinfo(){ for(i=0;iformkey.length;i++){ formdata[formkey[i].toString()] = eval(formkey[i]); } //_parent.debugger.debug = formdata.companyname; loadVariables(storenewclient.php,this,POST); } (the above works) ..but ideally I would like to use a reference to the formdata elements as the var in a series of input text fields. I have tried: _parent.formdata[_parent.formkey[0].toString()] _parent.formdata[_parent.formkey[0]] _parent.formdata[companyname] _parent.formdata.companyname ...all to no avail... any insights on how to get this to work (or why it will not) would be greatly appreciated! Thanks for your help. -Boyd ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Cross platform text woes
Hi List, I'm developing this CD-Rom for schools and it's supposed to work on both PC and the Mac. The (current..) trouble is, that very occasionally, the dynamic textfield on the Mac doesn't work properly, cutting off some words and sentences in the middle, and either forcing them to the next line or leaving the rest out entirely. At least this is what the client reports. This is happening extremely rarely - maybe once or twice - in a very big cd-rom with a huge amount of data, but my client is getting shirty about it. All the text is coming from XML files and edited in Sepy (on the PC). The text fields themselves are using device fonts (_serif) and are html formatted and selectable. Any ideas what might be causing it? Thanks, Karina Karina Steffens | Neo-Archaic creative technical new media design http://www.neo-archaic.net/ www.neo-archaic.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Obfuscation
common' man- firefox-page-info-media-whatever.swf - save as One thing that people don't consider is that You don't need to obfuscate if people can not access the SWF In the first place 1) use SSL + prevent caching in the HTTP header - no SWF in the browser cache or 2) instead of pointing to foobar.swf in the Object/Embed tag point to getBinary.php /getBinary.asp / whatever + prevent caching in the HTTP header - no SWF in the browser cache It's complicated to put in place, but the result is No SWF in the browser cache to decompile 2) off course is still not 100% safe against people being able to detect a SWF stream with a HTTP sniffer but the solution 1) well.. almost unbeatable zwetan ___ 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] embed SWF with PHP
Pumping the object and embed tags into a DIV's innerHTML using AJAX is one possibility. You could also write the object and embed tags with an external JavaScript. This would prevent the source from being viewed and is probably an easier option given its all on the client. It's impossible to completely hide your swf filename, and techniques for preventing caching are dodgy at best. If anyone knows how to make swfs un-obfuscatable I'd like to hear their approaches. hth Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Calling Java Script window.open from wihin projector
After trying everything possible to make QTVRS work inside Flash 8, we finally agreed with the client that the best way to do it is to call an html page with QTVRs embedded. I am having difficulties trying to call a JavaScript function that will make the Html centered from the exe flash 8 projector file! Code below on a button for instance: getURL(javascript:NewWindow=window.open('AMIR.html','newWin','width=450,hei ght=300,left=100,top=100,toolbar=No,location=No,scrollbars=No,status=No,resi zable=No,fullscreen=No'); NewWindow.focus(); void(0);); I know that the above code wont work, does anyone know of any possible quick solution? Appreciatively Tamer Qarrain Technical Manager Mob: 079 5995656 Office:06-5522826 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Calling Java Script window.open from wihin projector
Why not simply call an HTML page - and in THAT page's onLoad have the page resize and center itself? I haven't tried it but in theory it could work? edolecki On 1/17/06, Tamer Qarrain [EMAIL PROTECTED] wrote: After trying everything possible to make QTVRS work inside Flash 8, we finally agreed with the client that the best way to do it is to call an html page with QTVRs embedded. I am having difficulties trying to call a JavaScript function that will make the Html centered from the exe flash 8 projector file! Code below on a button for instance: getURL(javascript:NewWindow=window.open('AMIR.html ','newWin','width=450,hei ght=300,left=100,top=100,toolbar=No,location=No,scrollbars=No,status=No,resi zable=No,fullscreen=No'); NewWindow.focus(); void(0);); I know that the above code wont work, does anyone know of any possible quick solution? Appreciatively Tamer Qarrain Technical Manager Mob: 079 5995656 Office:06-5522826 ___ 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] Flash dev job in NYC
Transmedia (the creators of glide effortless - www.glidedigital.com) are looking for a senior flash developer in NYC. If you're interested, let me know and I'll introduce. -Sara ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Focus in the text field
One problem might be that you haven't set focus on the swf itself. An other thing is that you might have forgotten to set it to input Try a simple fla file, and set the function which sets the focus later on the timeline, so you have time to click in the swf. Then you will see it work. If the swf doesn't get focus first, the textfield will have focus and be ready for input, but the marker is not blinking. -THAT is true for doing a Test Movie inside flash. In a browser, you have to focus the swf before being able to make use of the Selection.setFocus. but -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tarjinder Kumar Sent: den 17 januari 2006 07:18 To: Flashcoders mailing list Subject: RE: [Flashcoders] Focus in the text field Sorry I am using simple swf file -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tarjinder Kumar Sent: Tuesday, January 17, 2006 11:45 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Focus in the text field I am using flash 8 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tarjinder Kumar Sent: Tuesday, January 17, 2006 11:43 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Focus in the text field Hi I am facing the same problem Selection.setFocus(text_txt); trace(Selection.setFocus(text_txt)) The trace return false . But u can type in the textbox without selecting it.It means the focus is in the text box. But cursor is not visible. Regards Tarjinder -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: Tuesday, January 17, 2006 11:27 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Focus in the text field What value does Selection.setFocus(text_txt) return? If it's false, then is failed. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ___ 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] Automated interface testing
Anyone have any information on automated interface testing software that can work with Flash interfaces? As we transition more and more of our interface to Flash, our testing department is having a harder time writing their automated testing scripts. Apparently the only way they can currently work with Flash interfaces is to use mouse coordinates to automate a click. Anyone have any experience in this regards? Thanks Bob Chyko Software Application Developer DocFinity(r) by Optical Image Technology, Inc. 100 Oakwood Avenue Suite 700, State College, PA 16803 DISCLAIMER: This email may contain proprietary information, some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this email, please notify the author by replying to this email. If you are not the intended recipient, you may not use, disclose, distribute, copy, print, or rely on this email. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash dev job in NYC
Transmedia (the creators of glide effortless - www.glidedigital.com) are looking for a senior flash developer in NYC. If you're interested, let me know and I'll introduce. -Sara ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Question concerning the structure of Movie Clip buttons...
Hey all... Decieded to stop being a lurker and to try and get some help with clearing my head on somethings I have been getting stuck on repeatedly. First of all if I am using a movie clip as a button, it is made up of a vector rectangle on the lowest layer and an instance of a transparent button on the layer above. What I am doing then is dropping instances of my button_mc on my stage in the root timeline. Then I am adding instances of another movie clip ( my rollover animation) that is aligned with each button_mc on the root timeline as well. I can't get around using this poor arrangement of functions for my perfectly fading rollOver_mc. //these controll the roll over movie clips // this.myRoll1_mc.onEnterFrame = function() { if (roll1) { this.nextFrame(); } else { this.prevFrame(); } }; //these are the events for the button_mc //-- myButton1_mc.onRollOver = function() { roll1 = true; this.useHandCursor = false; }; myButton1_mc.onRollOut = myButton_mc.onDragOut=myButton_mc.onReleaseOutside=function () { roll1 = false; this.pressed = false; }; myButton1_mc.onPress = function() { this.pressed = true; }; myButton1_mc.onRelease = function() { this.enabled = false; myRoll1_mc.gotoAndStop(pressed); }; //--- I basically write this for 8 different button_mcs and 8 different rollOver_mcs. Would it be easier and more effectiver to build the rollOver_mc inside of the button_mc? I cannot make it work any other way... Oh and I have some other functioins built into it like a reset buttons function but those are no matter to me as I really want this core button functionallity in place before continuing to work around my efficiency problem or maybe I am being to anal-retentive??? Thanks in advance for any and all response. Chad [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Public examples of Business RIAs
on a sidenote: Why are YOU convinced that flash is the way to go for a B2B RIA? perhaps if you answer that one, you can better convince the client. (and convince me while you're at it ;) ) On 1/17/06, matt stuehler [EMAIL PROTECTED] wrote: All, I'm trying to convince a potential client that Flash is the way to go for a B2B RIA for a project it's working on, and I'd like to develop a showcase of a RIAs developed in Flash. I'm sure there are hundreds of great examples, but most of them are not public. The few available through Macromedia are OK, but not great. The ideal apps would meet two main criteria: - It should include functionality that's not reproduceable with dhtml/ajax (e.g., custom controls or interactivity) - It should be a real substantive business-type application (e.g., not a pseudo-app that's really just a fancy web advertisement) Many thanks in advance to anyone who can suggest a few great URLs. I'll be happy to send a list of all the URLs I receive to anyone who's interested - just send me your email address, and I'll forward all the great apps I find. Cheers, Matt Stuehler ___ 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] XML Data Limit in IE?
Thinking about my previous post regarding XML data not loading in IE, I was wondering if anyone had encountered a data limit with XML in IE, similar to the 255 byte limit of getURL in IE6. This is just a wild theory, but since there is an odd bug for one, maybe there is for the other here as well. ANyone run into something that would support this? If so, how do we solve it? -Jeff ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] (Repost) Php data exchange worked in F7, breaks in F8
[Re-posting. Please, can anyone help with this? Thanks!] At 11:27 AM 1/16/2006, you wrote: This is a case where data exchange works in Flash 7 but not in Flash 8. I've seen lots of articles on this, but they're either extremely complicated or don't quite seem applicable (in part due to my ignorance, I'm sure). Can someone please point me toward a specific fix? Please read on to understand the exact circumstances. I inherited a Flash site that exchanges data with an apache server via php, using sendReceive. In the swfs, users select features for a product and their order is placed in one of several vendor databases. Everything is on the same domain, but the vendor databases are on subdomains such as vendorA.acmeSales.com, vendorB.acmeSales.com, etc. My client and the vendor can access the data using a Flash to display the features the user selected. This worked in Flash 7, but Flash 8 will not exchange data with the database. Do I need cross-domain xml files on the server? If so, what to write and where? Do I need to set permissions in the Flash movies? If so, in just the root movie or in all loaded movies? What is the necessary code? Anything else? thanks, Marc Hoffman ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] [Flash Remoting MX]-null
ColdFusion sometimes errors with a null point exception. This might eb the remoting equivalent. Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Velevitch Sent: 17 January 2006 06:35 To: Flashcoders mailing list Subject: [Flashcoders] [Flash Remoting MX]-null What does:- [Flash Remoting MX]-null in the coldfusion server Flash Remoting log mean? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] embed SWF with PHP
A DOM viewer, such as the one that comes with Firefox, can easily allow you to get the URL of anything on the page, dynamic or not. To my knowledge, there is no way of hiding from that. You can then put that URL directly in the address bar, and retrieve the SWF file with save as... Nathan http://www.nathanderksen.com On Jan 17, 2006, at 6:43 AM, Mike Britton wrote: Pumping the object and embed tags into a DIV's innerHTML using AJAX is one possibility. You could also write the object and embed tags with an external JavaScript. This would prevent the source from being viewed and is probably an easier option given its all on the client. It's impossible to completely hide your swf filename, and techniques for preventing caching are dodgy at best. If anyone knows how to make swfs un-obfuscatable I'd like to hear their approaches. hth Mike ___ 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] FileReference, file location
On Jan 17, 2006, at 9:50 AM, Kamyar Nazeri wrote: Ain't it possible to get location of the browsed file using browse method of FileReference class? Nope. That would violate the security sandbox. You are going to have to upload first and then display it. blue skies, bryan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FLASH8 IDE BUG: Swf Panels
I am also having this issue (MX2004 7.2). My guess is that it comes down to whether you use the Extension Manager or not. I build them in the WindowSWF folder hardly ever use the Extension Manager for my own panels. If there are only a couple panels installed they seem to work fine, but when I have more than 3 or 4, I get the same quasi-randomness that you described. However when co-workers install the panels using the Extension Manager, they never have that problem. Matt clark slater wrote: Hey Folks, I have this problem with my F8 IDE install which is driving me nuts. In the lower pane of the Window-Other Panels dialog I have several swfpanels I have developed along with the NetConnection Debugger. Every time I choose a panel, a completely random panel will open. Well not *completely* random, coz it's never the one I want! This same bug was in FMX2004, then seemed to get fixed in the 7.2 updater but it's most definitely back in F8. Seems like it's triggered by having the NetConnection Debugger present, because on my colleagues machines (who are designers hence no NetDebugger) they don't have this problem, though they do have several other swfPanels to choose from. Has anyone come across a way to fix this loopy issue? Cheers, Clark ___ 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] embed SWF with PHP
You can still download http://www.mx3d.com/mov.php, change the extension to .swf and open it like any other swf. Not hard at all. Edwin PoeticTerror.Com On 1/17/06, Mark Radose [EMAIL PROTECTED] wrote: Hey does anyone know how to embed a swf into a page using php. I'm basically trying to find a way to hide the swfs url from the user so that it can't be saved (I'll have to stop it from caching also.) I've seen it done before on thi site. www.mx3d.com. Theres basically a php script that writes the name of the swf and when you load php page directly you are presented with the swf but when you view the source it gives you some bytecode. It looks like a pretty safe way from preventing anyone getting to your swf in the first place ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Edwin PoeticTerror.Com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] embed SWF with PHP
the mx3d.com example seems a bit ill-chosen, since one can simply 'save as' the php file and end up with the SWF file just as easily on the desktop (in firefox anyway). On 1/17/06, Nathan Derksen [EMAIL PROTECTED] wrote: A DOM viewer, such as the one that comes with Firefox, can easily allow you to get the URL of anything on the page, dynamic or not. To my knowledge, there is no way of hiding from that. You can then put that URL directly in the address bar, and retrieve the SWF file with save as... Nathan http://www.nathanderksen.com On Jan 17, 2006, at 6:43 AM, Mike Britton wrote: Pumping the object and embed tags into a DIV's innerHTML using AJAX is one possibility. You could also write the object and embed tags with an external JavaScript. This would prevent the source from being viewed and is probably an easier option given its all on the client. It's impossible to completely hide your swf filename, and techniques for preventing caching are dodgy at best. If anyone knows how to make swfs un-obfuscatable I'd like to hear their approaches. hth Mike ___ 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] Public examples of Business RIAs
We did one for the financial sector that deals with business mergers. Canned demo is here : http://63.88.61.59/demo/ You can also check more about on Tony's blog - http://www.teknision.blogspot.com/ http://teknision.blogspot.com/2005/12/snl-merger-model-demo-update.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meinte van't Kruis Sent: Tuesday, January 17, 2006 11:03 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Public examples of Business RIAs on a sidenote: Why are YOU convinced that flash is the way to go for a B2B RIA? perhaps if you answer that one, you can better convince the client. (and convince me while you're at it ;) ) On 1/17/06, matt stuehler [EMAIL PROTECTED] wrote: All, I'm trying to convince a potential client that Flash is the way to go for a B2B RIA for a project it's working on, and I'd like to develop a showcase of a RIAs developed in Flash. I'm sure there are hundreds of great examples, but most of them are not public. The few available through Macromedia are OK, but not great. The ideal apps would meet two main criteria: - It should include functionality that's not reproduceable with dhtml/ajax (e.g., custom controls or interactivity) - It should be a real substantive business-type application (e.g., not a pseudo-app that's really just a fancy web advertisement) Many thanks in advance to anyone who can suggest a few great URLs. I'll be happy to send a list of all the URLs I receive to anyone who's interested - just send me your email address, and I'll forward all the great apps I find. Cheers, Matt Stuehler ___ 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] setting a movieclips symbol
hiya - would appreciate some help on basic AS movieclip coding. I am trying to change the graphic that a movieclip displays, eg change it to point to a different library symbol. i cant find a method something like: movieClip.setSymbol( symbolName ); do i have to use movieClip.attach() to some kind of base item, then destroy them (remove) them later and attach again something else to switch to a new item? Also, myself i have to keep track of this depth parameter? (this reminds me of doing my own memory management in C decades ago). I must be missing some basic function, this seems very convoluted. Thanks! /dc ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Public examples of Business RIAs
Here's one we developed for a Golf Club manufacturer who sells highly customized clubs directly to the public. http://www.gigagolf.com I think this is a good example of a business RIA because it makes the product configuration a lot easier than an HTML version might in terms of using the 'eFit' tools to determine best option for your measurements and instantly recommending (and selecting) the appropriate product options. Clark On 1/17/06, matt stuehler [EMAIL PROTECTED] wrote: All, I'm trying to convince a potential client that Flash is the way to go for a B2B RIA for a project it's working on, and I'd like to develop a showcase of a RIAs developed in Flash. I'm sure there are hundreds of great examples, but most of them are not public. The few available through Macromedia are OK, but not great. The ideal apps would meet two main criteria: - It should include functionality that's not reproduceable with dhtml/ajax (e.g., custom controls or interactivity) - It should be a real substantive business-type application (e.g., not a pseudo-app that's really just a fancy web advertisement) Many thanks in advance to anyone who can suggest a few great URLs. I'll be happy to send a list of all the URLs I receive to anyone who's interested - just send me your email address, and I'll forward all the great apps I find. Cheers, Matt Stuehler ___ 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] photo mosaics
Hey guys do you all by chance remember seeing a site that used flash to create photo mosaics of an image you upload to the site. I am looking to do the same thing but I am not sure where to start. I have this database with about 3,000 images I'd like to use to make photo mosaics out of. Does anyone remember the site for one and for two know of any tutorials that would get me started in creating this application. Thanks for the help everyone! Corban Baxter ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] setting a movieclips symbol
Hey the easiest way is to use attachMovie for the entire thing. When you make a call like... myMovie.attachMovie(banana); and then call later myMovie.attachMovie(apple); the content in myMovie will be replace with what ever you are telling it to attach this will keep from the banana staying in the file when you call the apple the apple will completely erase all content in myMovie and replace it with the apple. I hope this all makes sense. Corban Baxter | rich media designer | www.funimation.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dc Sent: Tuesday, January 17, 2006 11:34 AM To: Flashcoders mailing list Subject: [Flashcoders] setting a movieclips symbol hiya - would appreciate some help on basic AS movieclip coding. I am trying to change the graphic that a movieclip displays, eg change it to point to a different library symbol. i cant find a method something like: movieClip.setSymbol( symbolName ); do i have to use movieClip.attach() to some kind of base item, then destroy them (remove) them later and attach again something else to switch to a new item? Also, myself i have to keep track of this depth parameter? (this reminds me of doing my own memory management in C decades ago). I must be missing some basic function, this seems very convoluted. Thanks! /dc ___ 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] XML Data Limit in IE?
Hi Jeff I sometimes had to use very long XML files, but never encountered any problem in IE with any XML flash had problems before IE. But I thought one time that there were one because I had a format error at the line about 30.000 , so very too far to think about an error... but finally the accent error was repaired and the full XML was nearly 50.000 lines long, and the only problem was to parse it with flash. PR Jeff Fox a écrit : Thinking about my previous post regarding XML data not loading in IE, I was wondering if anyone had encountered a data limit with XML in IE, similar to the 255 byte limit of getURL in IE6. This is just a wild theory, but since there is an odd bug for one, maybe there is for the other here as well. ANyone run into something that would support this? If so, how do we solve it? -Jeff ___ 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] Public examples of Business RIAs
Clark, are the controls (scroller, dropdown box and vertical accordian) entirely custom components ? very nice interface btw. grant - Original Message - From: clark slater [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/17/06 12:38 PM Subject: Re: [Flashcoders] Public examples of Business RIAs Here's one we developed for a Golf Club manufacturer who sells highly customized clubs directly to the public. http://www.gigagolf.com I think this is a good example of a business RIA because it makes the product configuration a lot easier than an HTML version might in terms of using the 'eFit' tools to determine best option for your measurements and instantly recommending (and selecting) the appropriate product options. Clark On 1/17/06, matt stuehler wrote: All, I'm trying to convince a potential client that Flash is the way to go for a B2B RIA for a project it's working on, and I'd like to develop a showcase of a RIAs developed in Flash. I'm sure there are hundreds of great examples, but most of them are not public. The few available through Macromedia are OK, but not great. The ideal apps would meet two main criteria: - It should include functionality that's not reproduceable with dhtml/ajax (e.g., custom controls or interactivity) - It should be a real substantive business-type application (e.g., not a pseudo-app that's really just a fancy web advertisement) Many thanks in advance to anyone who can suggest a few great URLs. I'll be happy to send a list of all the URLs I receive to anyone who's interested - just send me your email address, and I'll forward all the great apps I find. Cheers, Matt Stuehler ___ 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] efficient htmltext.reduce() function? or similaridea?
Thanks gunnar.. I've used regex stuff for simple string manipulation.. but I can't see how it could be applied to arbitrarily reduce the length of an html string??.. at least.. not without a lot of work? -Jayson -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Gunnar Reinseth Sent: Tuesday, January 17, 2006 4:19 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] efficient htmltext.reduce() function? or similaridea? You should definetly be looking into regular expressions. The following could be wrapped up in a utility class and help build your method: var regex:RegExp = /.*?.*?\/.*?/g; var str:String = myHtmlTextBox.text; // or wherever you get your source text var result:Object = regexp.exec(str); while(result != null) { trace(result.index + , + result); // Place the result in a new string or array and do whatever // processing you'd like result = regex.exec(str); } Useful info: http://www.regular-expressions.info http://livedocs.macromedia.com/labs/1/flex/langref/RegExp.html cheers, gunnar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jayson K Hanes Sent: 17. januar 2006 01:54 To: Flashcoders mailing list Subject: [Flashcoders] efficient htmltext.reduce() function? or similar idea? Does anyone have any divine wisdom for safely and efficiently reducing an htmltext string down in size? I've been using old code for a while that simply loops looking for html tags.. and if it's a known paired tag set (like font), looks for the closing tag, and then, substring's from that point onward (thus removing everything ahead of the last complete tag set), and effectively reducing the overall size of the htmltext so that it doesn't forever build in size, and in turn bring flash to its knees if the string gets too long. The problem with this is its slow... and risky.. sometimes.. it fails to match a paired set.. and the output into the flash textbox breaks -- that is -- no more appended text will be seen from that point onward.. and the box appears Dead because of broken tags. Ideally for me at least.. a function could be called such as: myHtmlTextBox=myHtmlTextBox.reduce(10); whereby 10 is used such that the result has about 90% remaining (which is obviously a challenge because of the variable lengths of tag groupings among formatted html..) Any ideas? This is a hard topic to google and search the archives with.. Thanks! -Jayson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] efficient htmltext.reduce() function? or similaridea?
I hate to impose, but my curiousity is forcing me to question: what is the reason for html reduction? How does a regular html tag look compared to a reduced one? What exactly does the algorithm do? I apologize for side tracking, I hope you find the answer you're looking for Jayson. H On 1/17/06, Jayson K Hanes [EMAIL PROTECTED] wrote: Thanks gunnar.. I've used regex stuff for simple string manipulation.. but I can't see how it could be applied to arbitrarily reduce the length of an html string??.. at least.. not without a lot of work? -Jayson -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Gunnar Reinseth Sent: Tuesday, January 17, 2006 4:19 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] efficient htmltext.reduce() function? or similaridea? You should definetly be looking into regular expressions. The following could be wrapped up in a utility class and help build your method: var regex:RegExp = /.*?.*?\/.*?/g; var str:String = myHtmlTextBox.text; // or wherever you get your source text var result:Object = regexp.exec(str); while(result != null) { trace(result.index + , + result); // Place the result in a new string or array and do whatever // processing you'd like result = regex.exec(str); } Useful info: http://www.regular-expressions.info http://livedocs.macromedia.com/labs/1/flex/langref/RegExp.html cheers, gunnar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jayson K Hanes Sent: 17. januar 2006 01:54 To: Flashcoders mailing list Subject: [Flashcoders] efficient htmltext.reduce() function? or similar idea? Does anyone have any divine wisdom for safely and efficiently reducing an htmltext string down in size? I've been using old code for a while that simply loops looking for html tags.. and if it's a known paired tag set (like font), looks for the closing tag, and then, substring's from that point onward (thus removing everything ahead of the last complete tag set), and effectively reducing the overall size of the htmltext so that it doesn't forever build in size, and in turn bring flash to its knees if the string gets too long. The problem with this is its slow... and risky.. sometimes.. it fails to match a paired set.. and the output into the flash textbox breaks -- that is -- no more appended text will be seen from that point onward.. and the box appears Dead because of broken tags. Ideally for me at least.. a function could be called such as: myHtmlTextBox=myHtmlTextBox.reduce(10); whereby 10 is used such that the result has about 90% remaining (which is obviously a challenge because of the variable lengths of tag groupings among formatted html..) Any ideas? This is a hard topic to google and search the archives with.. Thanks! -Jayson ___ 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] Public examples of Business RIAs
Wow, these are two TERRIFIC apps - exactly the type of thing I was looking for. Many thanks. I'll start a list - if anyone wants me to send the final results, just send me an email. Re: Meinte's question (which is a great one) - I don't really have a good answer. I generally believe there's a small sweet-spot between what dhtml/ajax does best, and what a true destop app (e.g., vc++) does best, where Flash is the best option. For me at least, it's hard to define a general rule (maybe you know it when you see it) - but its when you need more custom UI controls or complex interactivity than dhtml can provide, but not as much horsepower as a desktop app provides. It's also key when you have a large, dispersed user base, not much control over the desktop, and plan frequent revisions and updates (all of which make an installed desktop app too expensive or difficult to maintain). Anway, thanks again to clark and stacey for showing this great work. Cheers, Matt On 17 Jan 2006 18:43:44 -, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Clark, are the controls (scroller, dropdown box and vertical accordian) entirely custom components ? very nice interface btw. grant - Original Message - From: clark slater [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/17/06 12:38 PM Subject: Re: [Flashcoders] Public examples of Business RIAs Here's one we developed for a Golf Club manufacturer who sells highly customized clubs directly to the public. http://www.gigagolf.com I think this is a good example of a business RIA because it makes the product configuration a lot easier than an HTML version might in terms of using the 'eFit' tools to determine best option for your measurements and instantly recommending (and selecting) the appropriate product options. Clark On 1/17/06, matt stuehler wrote: All, I'm trying to convince a potential client that Flash is the way to go for a B2B RIA for a project it's working on, and I'd like to develop a showcase of a RIAs developed in Flash. I'm sure there are hundreds of great examples, but most of them are not public. The few available through Macromedia are OK, but not great. The ideal apps would meet two main criteria: - It should include functionality that's not reproduceable with dhtml/ajax (e.g., custom controls or interactivity) - It should be a real substantive business-type application (e.g., not a pseudo-app that's really just a fancy web advertisement) Many thanks in advance to anyone who can suggest a few great URLs. I'll be happy to send a list of all the URLs I receive to anyone who's interested - just send me your email address, and I'll forward all the great apps I find. Cheers, Matt Stuehler ___ 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] efficient htmltext.reduce() function? orsimilaridea?
Say I have this htmltext font face='verdana'bhello world/b/fontbriabc123brhi again worldbr/i And it is being appended with other html lines over time, but no two lines are the same, nor is there a pattern of br's being a common separator per 'line'. I want to be able to execute something like myHtmlText=myHtmlText.reduce(10); And have it become something like: iabc123brhi again worldbr/i Seeing as that's the lowest amount closest to 10% reduction it could be trimmed to without breaking the html output when displayed... If it was: hi again worldbr/i It wouldn't work as needed.. and would paralyze an htmltext box from showing anymore text from that point forward. Even if just a 50% reduction could be worked out easily.. that'd at least be functional.. Do you see now the dilemma? -Jayson -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of elibol Sent: Tuesday, January 17, 2006 2:25 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? I hate to impose, but my curiousity is forcing me to question: what is the reason for html reduction? How does a regular html tag look compared to a reduced one? What exactly does the algorithm do? I apologize for side tracking, I hope you find the answer you're looking for Jayson. H On 1/17/06, Jayson K Hanes [EMAIL PROTECTED] wrote: Thanks gunnar.. I've used regex stuff for simple string manipulation.. but I can't see how it could be applied to arbitrarily reduce the length of an html string??.. at least.. not without a lot of work? -Jayson -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Gunnar Reinseth Sent: Tuesday, January 17, 2006 4:19 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] efficient htmltext.reduce() function? or similaridea? You should definetly be looking into regular expressions. The following could be wrapped up in a utility class and help build your method: var regex:RegExp = /.*?.*?\/.*?/g; var str:String = myHtmlTextBox.text; // or wherever you get your source text var result:Object = regexp.exec(str); while(result != null) { trace(result.index + , + result); // Place the result in a new string or array and do whatever // processing you'd like result = regex.exec(str); } Useful info: http://www.regular-expressions.info http://livedocs.macromedia.com/labs/1/flex/langref/RegExp.html cheers, gunnar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jayson K Hanes Sent: 17. januar 2006 01:54 To: Flashcoders mailing list Subject: [Flashcoders] efficient htmltext.reduce() function? or similar idea? Does anyone have any divine wisdom for safely and efficiently reducing an htmltext string down in size? I've been using old code for a while that simply loops looking for html tags.. and if it's a known paired tag set (like font), looks for the closing tag, and then, substring's from that point onward (thus removing everything ahead of the last complete tag set), and effectively reducing the overall size of the htmltext so that it doesn't forever build in size, and in turn bring flash to its knees if the string gets too long. The problem with this is its slow... and risky.. sometimes.. it fails to match a paired set.. and the output into the flash textbox breaks -- that is -- no more appended text will be seen from that point onward.. and the box appears Dead because of broken tags. Ideally for me at least.. a function could be called such as: myHtmlTextBox=myHtmlTextBox.reduce(10); whereby 10 is used such that the result has about 90% remaining (which is obviously a challenge because of the variable lengths of tag groupings among formatted html..) Any ideas? This is a hard topic to google and search the archives with.. Thanks! -Jayson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Public examples of Business RIAs
Stacey, Wow - that's really something. Great functionality, and a beautiful UI. It's BY FAR the most sophisticated RIA I've seen. If you don't mind me asking, how long did that take you and your team to build? What was the budget? Of course, if you can't share that info - no worries. I understand completely. My congrats and admiration for this terrific piece of work. Cheers, Matt On 1/17/06, Stacey Mulcahy [EMAIL PROTECTED] wrote: We did one for the financial sector that deals with business mergers. Canned demo is here : http://63.88.61.59/demo/ You can also check more about on Tony's blog - http://www.teknision.blogspot.com/ http://teknision.blogspot.com/2005/12/snl-merger-model-demo-update.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meinte van't Kruis Sent: Tuesday, January 17, 2006 11:03 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Public examples of Business RIAs on a sidenote: Why are YOU convinced that flash is the way to go for a B2B RIA? perhaps if you answer that one, you can better convince the client. (and convince me while you're at it ;) ) On 1/17/06, matt stuehler [EMAIL PROTECTED] wrote: All, I'm trying to convince a potential client that Flash is the way to go for a B2B RIA for a project it's working on, and I'd like to develop a showcase of a RIAs developed in Flash. I'm sure there are hundreds of great examples, but most of them are not public. The few available through Macromedia are OK, but not great. The ideal apps would meet two main criteria: - It should include functionality that's not reproduceable with dhtml/ajax (e.g., custom controls or interactivity) - It should be a real substantive business-type application (e.g., not a pseudo-app that's really just a fancy web advertisement) Many thanks in advance to anyone who can suggest a few great URLs. I'll be happy to send a list of all the URLs I receive to anyone who's interested - just send me your email address, and I'll forward all the great apps I find. Cheers, Matt Stuehler ___ 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] VerticalScroll
I need to do a vertical infoscroll with 3 fields (title, image and desc) title || |(image) | || desc x title || |(image) | || desc I want to do some atractive, diferent, but i dont have any ideas, could you help me with links with good examples of scrolls? tnx __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?
I understand what it does, but I still don't understand what it's for; I'm still interested if you're willing to further exemplify where it would be used. H On 1/17/06, Jayson K Hanes [EMAIL PROTECTED] wrote: One thing I've done in the past is to prepend new htmltxt with a fake tag, such as ~~ and use that as my means to search for, then substring after it. It's just slow and clumsy. -Jayson -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Jayson K Hanes Sent: Tuesday, January 17, 2006 2:33 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? Say I have this htmltext font face='verdana'bhello world/b/fontbriabc123brhi again worldbr/i And it is being appended with other html lines over time, but no two lines are the same, nor is there a pattern of br's being a common separator per 'line'. I want to be able to execute something like myHtmlText=myHtmlText.reduce(10); And have it become something like: iabc123brhi again worldbr/i Seeing as that's the lowest amount closest to 10% reduction it could be trimmed to without breaking the html output when displayed... If it was: hi again worldbr/i It wouldn't work as needed.. and would paralyze an htmltext box from showing anymore text from that point forward. Even if just a 50% reduction could be worked out easily.. that'd at least be functional.. Do you see now the dilemma? -Jayson ___ 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] efficient htmltext.reduce() function? orsimilaridea?
I think I understand now, if you have a large html text body and you want to truncate it so that only a blurb of the whole is displayed, you could use, say, 10 with the reduce(10) function, and have only 10 percent of the text displayed? Or 10 percent of the text truncated? I feel like I could be right on, and totally off too... H ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Preloader not working in IE
Hi all I have a preloader displays ok in Firefox but not in IE In IE I just get a red X frame which stays until the flashmovie has completly loaded. Can anyone suggest why it does this? Johnny ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] photo mosaics
No one has replied to this post of mine so I am wondering if there is a better way to describe what I am doing could it be some thing else I need to look into first to accomplish this? Thanks! Corban Baxter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corban Baxter Sent: Tuesday, January 17, 2006 11:50 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] photo mosaics Hey guys do you all by chance remember seeing a site that used flash to create photo mosaics of an image you upload to the site. I am looking to do the same thing but I am not sure where to start. I have this database with about 3,000 images I'd like to use to make photo mosaics out of. Does anyone remember the site for one and for two know of any tutorials that would get me started in creating this application. Thanks for the help everyone! Corban Baxter ___ 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] Public examples of Business RIAs
I can tell you a bit about it: It took about 7 months to complete. It was worked on from July 2004, to February 2005. A large amount of time was dedicated to wireframing the application, and doing use cases, because the original request of the client was not: We want an RIA Instead it was: Our app is soo powerful, but no one is using it. As a result we spent most of our time on designing a new experience for the application, that got final results faster, and in less steps. From a development standpoint the client did not want to go the Flex route at the time. We weighed the options of using it, but neither our team nor their team felt comfortable enough with it then(things are a bit different now). We ended up building the framework for it from the ground up in Flash. The majority of the components are custom, other than a few textinputs and comboboxes. We worked with a team of 3 Java programmers from SNL that had designed the back-end. The app was originally done with an HTML face, but luckily it was totally Service Oriented. Moving it to a Flash interface was actually pretty straight forward. The challenge though was not in swapping interfaces feature for feature. We totally redesigned the whole process of how the app worked. The Java guys had to add a whole new series of entry points to manage concepts we brought to them, like Worksheets for example. One of our main goals was to make the application feel nice along side of Excel, the main tool for analytics professionals. One of the coolest parts of the project was that we were pitted against another part of the company that was bent on .net and smart clients. While they are powerful, our application turned some heads inside the company due to the fact that all that was required was the Flash plug-in, as opposed to the .net framework download. Many people were happy with the result, and it has got nothing but positive feedback from those that actually use it. I can tell you more offlist if you there is anything more you want to know about it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of matt stuehler Sent: Tuesday, January 17, 2006 2:39 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Public examples of Business RIAs Stacey, Wow - that's really something. Great functionality, and a beautiful UI. It's BY FAR the most sophisticated RIA I've seen. If you don't mind me asking, how long did that take you and your team to build? What was the budget? Of course, if you can't share that info - no worries. I understand completely. My congrats and admiration for this terrific piece of work. Cheers, Matt ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] How to Build a Flash Bandwidth Tester?
Does anyone have any ideas how this flash bandwidth tester is working? http://www.speakeasy.net/speedtest/ It must be fetching a file from the server somehow, but how? Also, it must be posting that file or some other file back to the server. We have an application that let's our users upload files to our servers, so we'd like to provide something like this on our website so that our users can test their upload speeds. If anyone knows of an open source one, that would be superb. Thanks, Jeff ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Public examples of Business RIAs
Tony - I missed the url for this project you're describing - can you re-send? Thanks Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Tony Sent: Tuesday, January 17, 2006 4:51 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Public examples of Business RIAs I can tell you a bit about it: It took about 7 months to complete. It was worked on from July 2004, to February 2005. A large amount of time was dedicated to wireframing the application, and doing use cases, because the original request of the client was not: We want an RIA Instead it was: Our app is soo powerful, but no one is using it. As a result we spent most of our time on designing a new experience for the application, that got final results faster, and in less steps. From a development standpoint the client did not want to go the Flex route at the time. We weighed the options of using it, but neither our team nor their team felt comfortable enough with it then(things are a bit different now). We ended up building the framework for it from the ground up in Flash. The majority of the components are custom, other than a few textinputs and comboboxes. We worked with a team of 3 Java programmers from SNL that had designed the back-end. The app was originally done with an HTML face, but luckily it was totally Service Oriented. Moving it to a Flash interface was actually pretty straight forward. The challenge though was not in swapping interfaces feature for feature. We totally redesigned the whole process of how the app worked. The Java guys had to add a whole new series of entry points to manage concepts we brought to them, like Worksheets for example. One of our main goals was to make the application feel nice along side of Excel, the main tool for analytics professionals. One of the coolest parts of the project was that we were pitted against another part of the company that was bent on .net and smart clients. While they are powerful, our application turned some heads inside the company due to the fact that all that was required was the Flash plug-in, as opposed to the .net framework download. Many people were happy with the result, and it has got nothing but positive feedback from those that actually use it. I can tell you more offlist if you there is anything more you want to know about it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of matt stuehler Sent: Tuesday, January 17, 2006 2:39 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Public examples of Business RIAs Stacey, Wow - that's really something. Great functionality, and a beautiful UI. It's BY FAR the most sophisticated RIA I've seen. If you don't mind me asking, how long did that take you and your team to build? What was the budget? Of course, if you can't share that info - no worries. I understand completely. My congrats and admiration for this terrific piece of work. Cheers, Matt ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Public examples of Business RIAs
SNL merger Model: http://mergers.teknision.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, January 17, 2006 4:56 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Public examples of Business RIAs Tony - I missed the url for this project you're describing - can you re-send? Thanks Jason Merrill | E-Learning Solutions | icfconsulting.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Public examples of Business RIAs
Tony, How many Flash developers/designers were involved? Regards, Danton Tony wrote: I can tell you a bit about it: It took about 7 months to complete. It was worked on from July 2004, to February 2005. A large amount of time was dedicated to wireframing the application, and doing use cases, because the original request of the client was not: We want an RIA Instead it was: Our app is soo powerful, but no one is using it. As a result we spent most of our time on designing a new experience for the application, that got final results faster, and in less steps. From a development standpoint the client did not want to go the Flex route at the time. We weighed the options of using it, but neither our team nor their team felt comfortable enough with it then(things are a bit different now). We ended up building the framework for it from the ground up in Flash. The majority of the components are custom, other than a few textinputs and comboboxes. We worked with a team of 3 Java programmers from SNL that had designed the back-end. The app was originally done with an HTML face, but luckily it was totally Service Oriented. Moving it to a Flash interface was actually pretty straight forward. The challenge though was not in swapping interfaces feature for feature. We totally redesigned the whole process of how the app worked. The Java guys had to add a whole new series of entry points to manage concepts we brought to them, like Worksheets for example. One of our main goals was to make the application feel nice along side of Excel, the main tool for analytics professionals. One of the coolest parts of the project was that we were pitted against another part of the company that was bent on .net and smart clients. While they are powerful, our application turned some heads inside the company due to the fact that all that was required was the Flash plug-in, as opposed to the .net framework download. Many people were happy with the result, and it has got nothing but positive feedback from those that actually use it. I can tell you more offlist if you there is anything more you want to know about it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of matt stuehler Sent: Tuesday, January 17, 2006 2:39 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Public examples of Business RIAs Stacey, Wow - that's really something. Great functionality, and a beautiful UI. It's BY FAR the most sophisticated RIA I've seen. If you don't mind me asking, how long did that take you and your team to build? What was the budget? Of course, if you can't share that info - no worries. I understand completely. My congrats and admiration for this terrific piece of work. Cheers, Matt ___ 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] An Issue of Encapsulation
Hi, If my understanding of encapsulation is misguided, please correct. In the following code snippet, should in the interest if encapsulation, the Good Morning/Afternoon strings be called from another function? //code snippet private function formatTime(theDate) { var hour = theDate.getHours(); var minute = theDate.getMinutes()9 ? theDate.getMinutes() : 0+theDate.getMinutes(); if (hour12) { var timeString = The current time is: + (hour-12) +:+minute +PM, + Good Afternoon; } else { var timeString = The current time is: + hour+:+minute+AM + Good Morning; } return timeString; } } Respectfully, Christopher Kennon Principal Creative Director -Bushidodeep www.bushidodeep.com __ Knowing is not enough, you must apply; willing is not enough, you must do. ---Bruce Lee ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] How to Build a Flash Bandwidth Tester?
It's kind of cool... It looks like it calls some server side script that generates a random noisy image, which it then proceeds to download: http://chi.speakeasy.net/speedtest/random350x350.jpg I'm guessing it probably uses MovieClipLoader, which fires off events to give you the progress updates on downloads. That's how they can determine speed on the fly. It kicks off downloading that 350x350 image(around 200k), but then it finishes with an almost 5mb generated image. The upload test posts a pretty sizable amount of random gibberish(200k and then 1mb). I'm not really sure how they track that, is there something akin to MovieClipLoader for uploads with Flash 7? It might just be a timer, where they just take your Total Size / Seconds Taken... Don Petersen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Mastropietro Sent: Tuesday, January 17, 2006 2:54 PM To: Flashcoders mailing list Subject: [Flashcoders] How to Build a Flash Bandwidth Tester? Does anyone have any ideas how this flash bandwidth tester is working? http://www.speakeasy.net/speedtest/ It must be fetching a file from the server somehow, but how? Also, it must be posting that file or some other file back to the server. We have an application that let's our users upload files to our servers, so we'd like to provide something like this on our website so that our users can test their upload speeds. If anyone knows of an open source one, that would be superb. Thanks, Jeff ___ 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] Public examples of Business RIAs
Also note that this demo does not have the entire feature set of the application. We wanted to put a preview version up mainly because of the fact that as the original poster said, There are not many great public examples of full blown RIA's out there. The demo version is missing the following features that are in the actual: 1/ PDF report generation 2/ Excel Sheet export with formulas 3/ Branch Map Generation 4/ Worksheet/Workbook Save/Manage 5/ Canned Datasource with old data. To get all the goodness you have to subscribe to the service =) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Sent: Tuesday, January 17, 2006 4:59 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Public examples of Business RIAs SNL merger Model: http://mergers.teknision.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, January 17, 2006 4:56 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Public examples of Business RIAs Tony - I missed the url for this project you're describing - can you re-send? Thanks Jason Merrill | E-Learning Solutions | icfconsulting.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] efficient htmltext.reduce() function? orsimilaridea?
Thanks for your detailed effort, Julius, but, I'm afraid you do not understand. I need to be able to arbitrarily truncate and html string to maintain a stable length, without damaging the html to the point of mucking up flash's ability to render it. I don't want to strip anything, I need to remove old collections of the html data safely. -Jayson -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Julius - XK Sent: Tuesday, January 17, 2006 4:45 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? Why not just strip out tags ya don't need? Using regex strip out all font* and /font and/or the b/b and i/i stuff.. When I first started reading this thread I was thinking along the lines of real optomizing.. Say ya got: font face='verdana'bisome font face='verdana'btext/b/font /i/b/font ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Public examples of Business RIAs
Thanks Grant, yeah the controls are lightweight custom components with an event model designed to allow the kind of communication between them so that recommended sizes can be autoselected. Uses FlashRemoting (via CF) for all product data, pricing and options. Often I think the blistering performance of Remoting is overlooked - it's definitely a huge advantage of developing RIA's in Flash. Clark On 17 Jan 2006 18:43:44 -, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Clark, are the controls (scroller, dropdown box and vertical accordian) entirely custom components ? very nice interface btw. grant - Original Message - From: clark slater [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: 1/17/06 12:38 PM Subject: Re: [Flashcoders] Public examples of Business RIAs Here's one we developed for a Golf Club manufacturer who sells highly customized clubs directly to the public. http://www.gigagolf.com I think this is a good example of a business RIA because it makes the product configuration a lot easier than an HTML version might in terms of using the 'eFit' tools to determine best option for your measurements and instantly recommending (and selecting) the appropriate product options. Clark On 1/17/06, matt stuehler wrote: All, I'm trying to convince a potential client that Flash is the way to go for a B2B RIA for a project it's working on, and I'd like to develop a showcase of a RIAs developed in Flash. I'm sure there are hundreds of great examples, but most of them are not public. The few available through Macromedia are OK, but not great. The ideal apps would meet two main criteria: - It should include functionality that's not reproduceable with dhtml/ajax (e.g., custom controls or interactivity) - It should be a real substantive business-type application (e.g., not a pseudo-app that's really just a fancy web advertisement) Many thanks in advance to anyone who can suggest a few great URLs. I'll be happy to send a list of all the URLs I receive to anyone who's interested - just send me your email address, and I'll forward all the great apps I find. Cheers, Matt Stuehler ___ 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] Public examples of Business RIAs
Thanks Tony - always been a big fan of your corporate site - great design work. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Tony Sent: Tuesday, January 17, 2006 5:13 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Public examples of Business RIAs Also note that this demo does not have the entire feature set of the application. We wanted to put a preview version up mainly because of the fact that as the original poster said, There are not many great public examples of full blown RIA's out there. The demo version is missing the following features that are in the actual: 1/ PDF report generation 2/ Excel Sheet export with formulas 3/ Branch Map Generation 4/ Worksheet/Workbook Save/Manage 5/ Canned Datasource with old data. To get all the goodness you have to subscribe to the service =) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Sent: Tuesday, January 17, 2006 4:59 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Public examples of Business RIAs SNL merger Model: http://mergers.teknision.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, January 17, 2006 4:56 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Public examples of Business RIAs Tony - I missed the url for this project you're describing - can you re-send? Thanks Jason Merrill | E-Learning Solutions | icfconsulting.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 NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Public examples of Business RIAs
I totally agree, We used remoting for SNL as well. I forget the exact benchmarks we came up with, but it was honestly about 10 times faster when using remoting. We were moving gigantic amounts of data in some cases though, and that is where you really see the difference. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of clark slater Sent: Tuesday, January 17, 2006 5:42 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Public examples of Business RIAs Thanks Grant, yeah the controls are lightweight custom components with an event model designed to allow the kind of communication between them so that recommended sizes can be autoselected. Uses FlashRemoting (via CF) for all product data, pricing and options. Often I think the blistering performance of Remoting is overlooked - it's definitely a huge advantage of developing RIA's in Flash. Clark ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?
Hey Jayson, It sounds like the only problem with your algorithm is the periodical errors it runs into, where it breaks the html. If you put some elbow grease into it you could write a serious algorithm that analyzed the tag that was being evaluated for the cutoff point, and, if it were within a tag that would break if it was truncated at that point, then, you could truncate at the highest level tag, or, substring the point of entry of the parent tag and cut to the point of truncation (I have no idea if such a word exists.). Here is an example of what I'm describing: 'font face=Verdana size=9 color=#22bhello/bbr a little text here, a little text there b die br i and have a nice day /i/b/fontbr' Lets say we evaluate this string to split in half, a reduction of 50 percent, but doing this would clearly break the html, correct? So, in the algorithm, there is an array variable that stores the opening tags of all the tags it's within. You can then cut the string at the cut off point, take the array of opening tags and prepend them to the string so that the html stays intact. So, cutting the string in half looks like this: 're, a little text there b die br i and have a nice day /i/b/fontbr' the html would break. In the example, the array would look like this: ['font face=Verdana size=9 color=#22'] it's the only tag the index is within, so you would take the array, join it using '' and prepend it to the beginning of the string: 'font face=Verdana size=9 color=#22re, a little text there b die br i and have a nice day /i/b/fontbr' you can even add a little '...' string for the sake of legibility: '...font face=Verdana size=9 color=#22re, a little text there b die br i and have a nice day /i/b/fontbr' I hope I'm making sense, nonetheless, good luck. H ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?
I think I understand now :) You're looking for the last 10% of legal html or as close as you can get and still be good html... 1, you'd still have to parse to be sure the html is good.. let's try this.. We'll make yer html string a bit longer.. font face='verdana'bhello world/b/font briabc123brhi again worldbr/ifont face='verdana' bhello world/b/fontbriabc123brhi again worldbr/i iabc123brhi again worldbr/ifont face='verdana' bhello world/b/fontbriabc123brhi again worldbr/i ok, I'm not gonna calculate what the last 10% of that string is, I'll just grab a small section at the end.. llo world/b/fontbriabc123brhi again worldbr/i We'll call that 10% for the sake of argument.. Now what you'd be looking for out of that would be: briabc123brhi again worldbr/i no? Am I getting it right now? the leading br would be considered legal so we'd leave it in? but the llo world/b/font should either be left out, or we need to back up to include the font face I have a couple of ideas, but I'd need to test them.. The real question is, am I understanding now? - Original Message - From: Jayson K Hanes [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, January 17, 2006 5:14 PM Subject: RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? Thanks for your detailed effort, Julius, but, I'm afraid you do not understand. I need to be able to arbitrarily truncate and html string to maintain a stable length, without damaging the html to the point of mucking up flash's ability to render it. I don't want to strip anything, I need to remove old collections of the html data safely. -Jayson -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Julius - XK Sent: Tuesday, January 17, 2006 4:45 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? Why not just strip out tags ya don't need? Using regex strip out all font* and /font and/or the b/b and i/i stuff.. When I first started reading this thread I was thinking along the lines of real optomizing.. Say ya got: font face='verdana'bisome font face='verdana'btext/b/font /i/b/font ___ 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] efficient htmltext.reduce() function? orsimilaridea?
Yes you have the issue understood! :) -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Julius - XK Sent: Tuesday, January 17, 2006 6:05 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? I think I understand now :) You're looking for the last 10% of legal html or as close as you can get and still be good html... 1, you'd still have to parse to be sure the html is good.. let's try this.. We'll make yer html string a bit longer.. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?
so, what you are trying to do is store information, and be able to display the information as html text, *and* have a maximum size of the stored information so that the html text doesnt get too unweildly... so, the trouble you are having is that using html is a tricky way of storing your information, when you want to manipulate it? so, how about you have a class that accepts html text as an input, each time you input it, it adds to a stack of some sort, and then the class has a toHTMLString(maxSize) function on it, used to generate the outputted html I guess what I am suggesting is that it might be easier to work with objects that can be combined to output html text than trying to work directly on the html... did that muddy the waters enough ;) ? On 1/17/06, Jayson K Hanes [EMAIL PROTECTED] wrote: Yes you have the issue understood! :) -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Julius - XK Sent: Tuesday, January 17, 2006 6:05 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? I think I understand now :) You're looking for the last 10% of legal html or as close as you can get and still be good html... 1, you'd still have to parse to be sure the html is good.. let's try this.. We'll make yer html string a bit longer.. ___ 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] Printing bmovie frame on a createMovieClip clip?
Hey all, In Flash 7, how would you print a bmovie frame in a dynamically created movieclip using createMovieClip()? Thanks, Steven ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea?
Hi I think I've done this in two different ways in the past (for different situations) I'm at work and don't have any code here, but, from memory, the main concepts were 1: tag / stack based (was filtering tags at the same time) go through the htmltext, push opening tags onto a stack (ignor br and other non-spanning tags) pop when closing tag is encountered(check that it's the same tag if you like - if not, do some workaround ? :S ) count actual displayed characters as you go when you get to the text you want, use the stack contents (it should contain all the applicable tags) continue on and copy the html text (keep pushing/popping) when you've got the required character count, pop down through the stack closing each tag (these are the one's still open) 2: text format based make a html textfield (source) stick your text in it look at the mytextFld.text string to find the required substring indices make another html textfield (destination) put your unformatted substring in it got through the new field copying each characters the textformat from the source texfield (using your substring start index as an offset) and applying it to the source the sourceFld.htmltext should now have what you're after hope this give you more ideas (unless you've got too many options already :) cheers, glenn - Original Message - From: Jayson K Hanes [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, January 18, 2006 10:21 AM Subject: RE: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? Hmmm... so then... I would have to re-assemble the htmltext each time... That's possibly not a bad idea... I'll try it!.. doesn't solve the original goal.. but it might work well enough! Thanks Paul! -Jayson -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Paul BH Sent: Tuesday, January 17, 2006 6:18 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] efficient htmltext.reduce() function? orsimilaridea? so, what you are trying to do is store information, and be able to display the information as html text, *and* have a maximum size of the stored information so that the html text doesnt get too unweildly... so, the trouble you are having is that using html is a tricky way of storing your information, when you want to manipulate it? so, how about you have a class that accepts html text as an input, each time you input it, it adds to a stack of some sort, and then the class has a toHTMLString(maxSize) function on it, used to generate the outputted html I guess what I am suggesting is that it might be easier to work with objects that can be combined to output html text than trying to work directly on the html... did that muddy the waters enough ;) ? On 1/17/06, Jayson K Hanes [EMAIL PROTECTED] wrote: Yes you have the issue understood! :) ___ 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] PrintJob.orientation = landscape not working
Hey, I did a Google to figure out how to set a PrintJob to default to landscape and found this page: http://tinyurl.com/8uqbw PrintJob.orientation = landscape; But it doesn't work. Any ideas? Thanks, Steven ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Public examples of Business RIAs
And if I use the back button on my browser the entire order is tossed away. Yeah, I know - it's a Flash problem. So, is a B2B best done in Flash? Miles At 01:40 PM 1/17/2006, clark slater wrote: Here's one we developed for a Golf Club manufacturer who sells highly customized clubs directly to the public. http://www.gigagolf.com I think this is a good example of a business RIA because it makes the product configuration a lot easier than an HTML version might in terms of using the 'eFit' tools to determine best option for your measurements and instantly recommending (and selecting) the appropriate product options. Clark On 1/17/06, matt stuehler [EMAIL PROTECTED] wrote: All, I'm trying to convince a potential client that Flash is the way to go for a B2B RIA for a project it's working on, and I'd like to develop a showcase of a RIAs developed in Flash. I'm sure there are hundreds of great examples, but most of them are not public. The few available through Macromedia are OK, but not great. The ideal apps would meet two main criteria: - It should include functionality that's not reproduceable with dhtml/ajax (e.g., custom controls or interactivity) - It should be a real substantive business-type application (e.g., not a pseudo-app that's really just a fancy web advertisement) Many thanks in advance to anyone who can suggest a few great URLs. I'll be happy to send a list of all the URLs I receive to anyone who's interested - just send me your email address, and I'll forward all the great apps I find. Cheers, Matt Stuehler ___ 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 outgoing message. Checked by AVG Anti-Virus. Version: 7.1.371 / Virus Database: 267.14.18/230 - Release Date: 1/14/2006 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Accessibility: keyboard tabbing
G'day Flashcoders, I am building Flash interactives for the public education sector in Australia We're having grief with accessibility in regards to keyboard tabbing into and out of Flash from the HTML container and vice versa with Flash player 7 and Flash player 8. Keyboard tabbing tested on: WinXP IE6 SP2 tabbing all ok, normal tabbing cycle in and out of HTML/Flash WinXP FF1.5 tabbing ok into Flash, then cycle ok in Flash but trapped within Flash movie OS/X 10.4.2 Safari2.0 tabbing ok into Flash, then cycle ok in Flash but trapped within Flash movie OS/X 10.4.2 IE5.2.3 tabbing ok into Flash, then cycle ok in Flash but trapped within Flash movie OS/X 10.3.9 Safari1.2 tabbing ok in HTML only, cannot tab into Flash OS/X 10.3.9 IE5.2.3 tabbing ok into Flash, then cycle ok in Flash but trapped within Flash movie OS/X 10.3.9 FF1.0.7 tabbing ok in HTML only, cannot tab into Flash I've set tab ordering and from what I've Google'ed and read up on in Flash help and www.macromedia.com http://www.macromedia.com/ Flash player 7 has fixed this? How do you setup correct keyboard tabbing behaviour? Thanks. - Stanley Yip Educational Programmer TLI PTRS Centre for Learning Innovation (02) 9715 8203 [EMAIL PROTECTED] ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Accessibility: keyboard tabbing
Just a small update the tabbing in WinXP FF1.5 should be WinXP FF1.5 tabbing ok in HTML only, cannot tab into Flash s -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yip, Stanley Sent: Wednesday, 18 January 2006 12:38 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Accessibility: keyboard tabbing G'day Flashcoders, I am building Flash interactives for the public education sector in Australia We're having grief with accessibility in regards to keyboard tabbing into and out of Flash from the HTML container and vice versa with Flash player 7 and Flash player 8. Keyboard tabbing tested on: WinXP IE6 SP2 tabbing all ok, normal tabbing cycle in and out of HTML/Flash WinXP FF1.5 tabbing ok into Flash, then cycle ok in Flash but trapped within Flash movie OS/X 10.4.2 Safari2.0 tabbing ok into Flash, then cycle ok in Flash but trapped within Flash movie OS/X 10.4.2 IE5.2.3 tabbing ok into Flash, then cycle ok in Flash but trapped within Flash movie OS/X 10.3.9 Safari1.2 tabbing ok in HTML only, cannot tab into Flash OS/X 10.3.9 IE5.2.3 tabbing ok into Flash, then cycle ok in Flash but trapped within Flash movie OS/X 10.3.9 FF1.0.7 tabbing ok in HTML only, cannot tab into Flash I've set tab ordering and from what I've Google'ed and read up on in Flash help and www.macromedia.com http://www.macromedia.com/ Flash player 7 has fixed this? How do you setup correct keyboard tabbing behaviour? Thanks. - Stanley Yip Educational Programmer TLI PTRS Centre for Learning Innovation (02) 9715 8203 [EMAIL PROTECTED] ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ** ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Frame or duration limit on FLV
Wondering if there is frame or duration limit on progressively downloaded FLVs.(?) I've got a project with roughly 150 MPEG videos (anywhere from 3-20 minutes each) that I'm preparing to convert to FLV. I'm aware of this tech note regarding the 16,000 frame limit for .fla/.swf ( http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14437 ) but my client just emailed to say that he'd heard of a duration limit of 8 minutes. Anyone have any info on this? - jp ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] An Issue of Encapsulation
Chris Kennon wrote: Hi, If my understanding of encapsulation is misguided, please correct. In the following code snippet, should in the interest if encapsulation, the Good Morning/Afternoon strings be called from another function? That depends on exactly how you interpret formatTime. The point of encapsulation is not that your code embodies an ideal, but that it separates unrelated functions in a way that is useful to you. In the case of a time formatting function, I would argue that you might wish to put a string representation of the current time into many contexts. Maybe a character in a game says It is now 12:34PM. Good morning! Or maybe a desktop clock displays only mm:ss. Maybe a logging application displays a timestamp before every log message. It isn't likely you'll want to say The current time is: or Good morning! in all of these cases. It would probably be more useful to have a function, formatTime, which returns only a string representing the time itself; and then construct strings like this: It's + formatTime(myDate) + ! Time to make the donuts! Or if you want the best of both worlds, do this: function formatTime(date:Date):String { // return the time string } getTimeGreeting(date:Date):String { var timeString:String = formatTime(date); var greeting:String = The time is now + timeString + .; if (date.getHours() 12) { greeting += Good morning!; } else { greeting += Good afternoon... or night.; } return greeting; } This way, you have two functions, each of which does only what it should, no more or less. Just remember that should is always based strictly on the needs of your application... with a little room for future expansion or revision. A lot of the main point of encapsulation -- and object orientation itself -- is that it makes it easier to alter or re-use code later. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] PrintJob Landscape printing with Portrait
Hello everyone, I'm posting this here in order to provide another solution to the terrible misinformation available on Macromedia's site about how to convert a landscape image to portrait for printing using the PrintJob class. The code posted here at Macromedia's forums is VERY WRONG: http://tinyurl.com/e4cuf Real URL: http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=288; threadid=1089277enterthread=y It's so wrong, in fact, that it took me a fair bit of debugging to figure out just how wrong it was. Whoever wrote it obviously didn't test the code they posted as a solution. It's pseudocode and you don't post pseudocode as real code unless you're an asshat, which evollove is. If you're on this list, evollove, do us all a favor and don't post anymore solutions anywhere on the web. ;) Here is the correct, tested code for rotating a movieclip to print as landscape in portrait using PrintJob, for anyone who is looking for the solution. function printImage(mc) { var realW = mc._width; var realH = mc._height; var origX = mc._x; // pj = new PrintJob(); var pageCount = 0; if (pj.start()) { var orient = pj.orientation; if (orient.toLowerCase() != landscape) { mc._rotation = 90; mc._x = mc._width; } var cWidth = mc._width; var cHeight = mc._height; var cXscale = (pj.pageWidth / cWidth) * 100; var cYscale = (pj.pageHeight / cHeight) * 100; mc._xscale = mc._yscale = Math.min(cXscale, cYscale); if (pj.addPage(mc, {xMin:0, xMax:realW, yMin:0, yMax:realH})) { pageCount++; } } if (pageCount 0) { pj.send(); } mc._xscale = mc._yscale = 100; mc._rotation = 0; mc._x = origX; delete pj; } // Explanation Here are the places the original code was wrong and why, and how this proper code works. There are inconsistencies between the clip you're trying to print and they way PrintJob handles that clip, due mostly to PrintJob being a poorly written class, which doesn't surprise me. When you rotate a movieclip 90 degrees, Flash swaps its _width and _height, or rather, it returns the clip's current _width and _height, which when rotated 90 degrees, are swapped. If the clip was 1024x768 and you set its _rotation = 90, its _width will now return 768 and its _height 1024. This is important because you're going to use the rotated width and height to determine how much to scale the printClip down for PrintJob to print the entire clip on the page. When you're scaling an image you normally don't want to scale it out of proportion, so you need to determine which scale difference is greater (the lower of the 2 scales returned) and use that for both _xscale and _yscale equally. Evollove's script did not do this properly. PrintJob is retarded in that you need to scale the target clip down for it to print the entire clip image, but PrintJob still uses the clip's non-scaled and non-rotated width and height as its xMax and yMax values, not the _width and _height that Flash returns after rotation and scaling. Evollove obviously didn't test his code because he passed the adjusted values and didn't take the time to figure out that the PrintJob Class is stupid. This is important: PrintJob requires you to rotate and scale the clip down before you print it in order to fit the entire image on a page, but it still wants you to pass the clip's original width and height (not adjusted for rotation or scaling) for its print area. Not only is this dumb and inconsistent, it's not documented at all (nor are the properties like orientation, pageWidth, pageHeight, etc.). Par for the course. Once you send the print job, reset the _xscale, _yscale, _rotation, and _x of the clip(s) you were printing. HTH! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] An Issue of Encapsulation
Hi, This reply was very helpful. I'll sleep on it, but had planned something along the lines of your example. Respectfully, Christopher Kennon Principal Creative Director -Bushidodeep www.bushidodeep.com ___ An ideal is merely the projection, on an enormously enlarged scale, of some aspect of personality. -- Aldus Huxley On Jan 17, 2006, at 7:04 PM, Alan MacDougall wrote: Chris Kennon wrote: Hi, If my understanding of encapsulation is misguided, please correct. In the following code snippet, should in the interest if encapsulation, the Good Morning/Afternoon strings be called from another function? That depends on exactly how you interpret formatTime. The point of encapsulation is not that your code embodies an ideal, but that it separates unrelated functions in a way that is useful to you. In the case of a time formatting function, I would argue that you might wish to put a string representation of the current time into many contexts. Maybe a character in a game says It is now 12:34PM. Good morning! Or maybe a desktop clock displays only mm:ss. Maybe a logging application displays a timestamp before every log message. It isn't likely you'll want to say The current time is: or Good morning! in all of these cases. It would probably be more useful to have a function, formatTime, which returns only a string representing the time itself; and then construct strings like this: It's + formatTime(myDate) + ! Time to make the donuts! Or if you want the best of both worlds, do this: function formatTime(date:Date):String { // return the time string } getTimeGreeting(date:Date):String { var timeString:String = formatTime(date); var greeting:String = The time is now + timeString + .; if (date.getHours() 12) { greeting += Good morning!; } else { greeting += Good afternoon... or night.; } return greeting; } This way, you have two functions, each of which does only what it should, no more or less. Just remember that should is always based strictly on the needs of your application... with a little room for future expansion or revision. A lot of the main point of encapsulation -- and object orientation itself -- is that it makes it easier to alter or re-use code later. ___ 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] photo mosaics
Despite the Bitmap API in Flash 8, I'd still recommend to use the GD library of PHP to do this, mainly for saving the resulting mosaic. Either way, you'll have to: - 'homogenize' the size of the images in the pool. They will come in different orientations and sizes now, but in the end you have to map them to one of the square-shaped pixels in the target image. Cut out the central square part and size each to e.g. 100x100 pixels. - store the average color of each picture in a database. Get the average color by scaling a copy of the image down to 1x1 pixel, GD (or Flash) will do the work of calculating the average value. You may get better results by scaling down in several steps. - the average color is a value between 0 and 16 millions - but the pool consists of only 3'000 images. To find a match for each pixel in the target image we'll not be able to work with identical colors, we'll have to find similar colors. Finding the closest 'websafe' color might be a good approach: http://chattyfig.figleaf.com/pipermail/flashcoders/2005-July/143567.html Now that the we have indexed all images and saved their average color in the db, we can take any other image, iterate through each pixel, get its color (probably convert to 'websafe'), search the db for images with matching colors, randomly select one of them, add it to the big, emerging mosaic. Be aware that these operations are very heavy on any processor (after indexing several ten-thousands 'googled' images, my ISP disabled the PHP script because it ate to many processor cycles...) If you do not need to do this 'on the fly' (and prepare for a rather slow flight...) I don't see a good reason why you would want to program this yourself - there are several programs, even free ones, out there (google). hth -- Andreas Weber motiondraw.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corban Baxter Sent: Dienstag, 17. Januar 2006 22:32 To: Flashcoders mailing list Subject: RE: [Flashcoders] photo mosaics No one has replied to this post of mine so I am wondering if there is a better way to describe what I am doing could it be some thing else I need to look into first to accomplish this? Thanks! Corban Baxter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corban Baxter Sent: Tuesday, January 17, 2006 11:50 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] photo mosaics Hey guys do you all by chance remember seeing a site that used flash to create photo mosaics of an image you upload to the site. I am looking to do the same thing but I am not sure where to start. I have this database with about 3,000 images I'd like to use to make photo mosaics out of. Does anyone remember the site for one and for two know of any tutorials that would get me started in creating this application. Thanks for the help everyone! Corban Baxter ___ 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