Re: [flexcoders] Pb with Directories
I prefer to use a Class for images or icons like this package { public class Icons { [Embed(source=icons/16x16/warning.png)] public static const warning_16:Class; } } in your mx:image , write like this : mx:image source = {Images.warning_16} / hope it works; best regards Reihnart --- On Tue, 2/16/10, Christophe christophe_jacque...@yahoo.fr wrote: From: Christophe christophe_jacque...@yahoo.fr Subject: [flexcoders] Pb with Directories To: flexcoders@yahoogroups.com Date: Tuesday, February 16, 2010, 1:30 AM Hello, I have a directory for images at the same level of the www directory server. When I use mx:image source = ../Images/test. JPG / It does not find the image. How to solve this problem ? Thank you, Christophe,
Re: [flexcoders] A security question...
The best thing you have to do is you should encrypt it in client side before it is passed to webservice (whatever it is, https or http) because man in middle attack can tap your creditcard information before it is passed to webservice. Reinhart --- On Wed, 2/10/10, Laurence lmacne...@comcast.net wrote: From: Laurence lmacne...@comcast.net Subject: [flexcoders] A security question... To: flexcoders@yahoogroups.com Date: Wednesday, February 10, 2010, 6:18 PM So, let's say I have a mx:RemoteObject in my program... I want it to communicate with the server via SSL, or some other method whereby the credit-card numbers it sends to-and-from the server are encrypted. Here's how it's structured currently: mx:RemoteObject id=roPaymentInfo destination= ColdFusion showBusyCursor= true source={'cfcs. dao.PaymentsDAO' } mx:method name=getPayments result=roGetPaymen tsResultHandler( event) fault=roFaultHandl er(event) / mx:method name=addPayment result=roAddPaymen tResultHandler( event) fault=roFaultHandl er(event) / /mx:RemoteObject Do I have to make my entire program secure via an https:// in the URL, or is there a way to encrypt just that one mx:RemoteObject ? If there is a way to secure just the one object, how is that done? Thanks, Laurence MacNeill Mableton, Georgia, USA
Re: [flexcoders] Re: A security question...
Use this lib to encrypt and decrypt in Flex / Air http://code.google.com/p/as3crypto/ Reinhart --- On Wed, 2/10/10, Laurence lmacne...@comcast.net wrote: From: Laurence lmacne...@comcast.net Subject: [flexcoders] Re: A security question... To: flexcoders@yahoogroups.com Date: Wednesday, February 10, 2010, 9:32 PM Well, I guess that begs the question -- is there an easy way to encrypt something in Flex? Like ColdFusion's encrypt() function? Does Flex have something like that built-in? L. --- In flexcod...@yahoogro ups.com, Booking Heaven booking2heaven@ ... wrote: The best thing you have to do is you should encrypt it in client side before it is passed to webservice (whatever it is, https or http) because man in middle attack can tap your creditcard information before it is passed to webservice. Reinhart --- On Wed, 2/10/10, Laurence lmacne...@. .. wrote: From: Laurence lmacne...@. .. Subject: [flexcoders] A security question... To: flexcod...@yahoogro ups.com Date: Wednesday, February 10, 2010, 6:18 PM Â So, let's say I have a mx:RemoteObject in my program... I want it to communicate with the server via SSL, or some other method whereby the credit-card numbers it sends to-and-from the server are encrypted. Here's how it's structured currently: mx:RemoteObject id=roPaymentInfo destination= ColdFusion showBusyCursor= true source={'cfcs. dao.PaymentsDAO' } mx:method name=getPayments result=roGetPaymen tsResultHandler( event) fault=roFaultHandl er(event) / mx:method name=addPayment result=roAddPaymen tResultHandler( event) fault=roFaultHandl er(event) / /mx:RemoteObject Do I have to make my entire program secure via an https:// in the URL, or is there a way to encrypt just that one mx:RemoteObject ? If there is a way to secure just the one object, how is that done? Thanks, Laurence MacNeill Mableton, Georgia, USA
[flexcoders][SHARE] Create AutoComplete and MultipleSelect from a DataProvider
Hi Guys: I would like to share you how to make AutoComplete and Multiple Select from one DataProvider in this case is ArrayCollection. http://teapoci.blogspot.com/2010/01/autocomplete-from-arraycollection-data.html If there's any bugs or error please report me. I hope admin will not ban me, it is for educational purpose only for people who dont know AS3/Flex greatly. Regards, Reinhart --- On Wed, 1/20/10, aramsdell2000 aramsdell2...@yahoo.com wrote: From: aramsdell2000 aramsdell2...@yahoo.com Subject: [flexcoders] Re: Datagrid itemrenderer for adding multiple linkbuttons in same gridcolumn To: flexcoders@yahoogroups.com Date: Wednesday, January 20, 2010, 1:49 PM Oh wow, this looks great! Thank you! This looks like what I want to do, just curious, how do I cite it if I use it/ modified version of it?? I can add a link to his website and blog in the code? --- In flexcod...@yahoogro ups.com, valdhor valdhorlists@ ... wrote: Here is a quick and dirty example using the hyperlink component from jabbypanda (http://jabbypanda. com/labs/ hyperLink/ srcview/index. html): ?xml version=1.0 encoding=utf- 8? mx:Application xmlns:mx=http://www.adobe. com/2006/ mxml layout=absolute width=700 mx:Script ![CDATA[ import mx.collections. ArrayCollection; [Bindable] public var initDG:ArrayCollect ion = new ArrayCollection( [ {Company: 'Apple Computer', WebSites: 'www.apple.com, store.apple. com,developer. apple.com' }, {Company: 'Google', WebSites: 'www.google. com,code. google.com, mail.google. com'} ]); ]] /mx:Script mx:DataGrid id=myGrid dataProvider= {initDG} rowCount={initDG. length} mx:columns mx:DataGridColumn width=120 dataField=Company editable=false / mx:DataGridColumn width=500 dataField=WebSites itemRenderer= Renderers. LinksRenderer / /mx:columns /mx:DataGrid /mx:Application LinksRenderer. as: package Renderers { import flash.net.*; import htmltext.controls. HyperLink; import htmltext.controls. events.Hyperlink Event; import mx.containers. HBox; public class LinksRenderer extends HBox { private var link1:HyperLink = new HyperLink(); private var link2:HyperLink = new HyperLink(); private var link3:HyperLink = new HyperLink(); public function LinksRenderer( ) { super(); } override public function set data(value:Object) :void { super.data = value; if(value != null) { var linksArray:Array = data.WebSites. split(, ); link1.linkText = linksArray[0] ; link1.addEventListe ner(HyperlinkEve nt.HYPERLINK_ CLICK, hyperLinkClicked) ; link2.linkText = linksArray[1] ; link2.addEventListe ner(HyperlinkEve nt.HYPERLINK_ CLICK, hyperLinkClicked) ; link3.linkText = linksArray[2] ; link3.addEventListe ner(HyperlinkEve nt.HYPERLINK_ CLICK, hyperLinkClicked) ; addChild(link1) ; addChild(link2) ; addChild(link3) ; } } private function hyperLinkClicked( event:HyperlinkE vent):void { navigateToURL( new URLRequest( http://; + event.target. linkText) , '_blank'); } } } --- In flexcod...@yahoogro ups.com, Tino Dai oberoc@ wrote: Have you looked at the class LinkBar? I think that would be a good way to return a multiple buttons in a cell of a datagrid. http://livedocs. adobe.com/ flex/3/langref/ mx/controls/ LinkBar.html -Tino On Wed, Jan 13, 2010 at 10:11 AM, aramsdell2000 aramsdell2000@ ...: OK, that's the problem. I don't know how to add multiple link buttons through action script. And here goes my feeble attempt at explaining what I did so that it makes sense: This is how I am now populating the column with multiple hyperlinks, using the itemrenderer approach from Alex's Flex Closet HTML in an Item Renderer on this website: http://blogs. adobe.com/ aharui/item_ renderers/ var params:Array = (data[column. dataField] ).split( , ); var urls:String = ; for (var i:Number=0; i params.length; i++) { ... urls += a href='http://webaddress? charname= + params[i] + amp;someid= + station + amp;anotherid= + org + ' target='_blank' + params[i] + /a, ; } ... cdataTag = urls; . htmlText = cdataTag; but only a right click works to open a new window. I would like it to work with just clicking on the text like a normal HTML href.
[flexcoders] Ask About Streaming Server
Dear All : Please i need your suggestion or help about which is good streaming server to broadcast live streaming. I decide to order 1 VPS Linux and 1 License of Wowza Media. Do you have any good suggestion than it ? Thanks for your consideration, any comment and advice are very useful for me. Best Regards, Reinhart --- On Sat, 5/23/09, stinasius stinas...@yahoo.com wrote: From: stinasius stinas...@yahoo.com Subject: [flexcoders] example of using ffmpeg with coldfusion in flex application To: flexcoders@yahoogroups.com Date: Saturday, May 23, 2009, 1:30 AM hi am looking for a tutorial on how to use flex and coldfusion to upload video and encode it with ffmpeg. any flex and coldfusion guru out there who can help?