[flexcoders] Re: Spark / mx:DataGrid inline item renderer

2009-12-10 Thread Markus
For everyone who's interested. Here is how it's working: ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/halo minWidth=1024 minHeight=768 fx:Declarations s:ArrayCollection

RE: [flexcoders] Best way to load XML file

2009-12-10 Thread Jim Hayes
You can try compressing the xml file first and decompressing it when loaded - I've used this to good effect and see something like a 10x reduction in the filesize - This blog covers the technique http://www.ghostwire.com/blog/archives/as3-saving-xml-as-binary/ -Original Message- From:

[flexcoders] Modify Image in The assets

2009-12-10 Thread Christophe
Hello, How to modify pixels on an image in the assets folder, then to save it in the same folder on the server. Thank you, Christophe,

[flexcoders] Properties in an Dragged item

2009-12-10 Thread Wally Kolcz
I am attempting to create a online store using Flex. I added a TitleList for products the the users can drag and drop into a datagrid (shopping cart) to purchase. My problem is that I have no idea how to access the data in the DragSource to use to check to see if the item already exists (to

Re: [flexcoders] How can I keep myself motivated to program in Flex? Please help. Thanks?

2009-12-10 Thread David Pariente
I also wanted to become a flex developer, and i'm lazy and less motivated. What i do is have 3 or 4 personal projects appart of the jobs. That way every time i work on a project i learn plenty of things that i can reuse in the other projects. So finally part of the time i program for fun, and

[flexcoders] Re: Modify Image in The assets

2009-12-10 Thread Tibor
Hi Christophe, You can grab the image's bitmap data, modify it and then send it to the server as a ByteArray. You'll need a method on the server which will save the ByteArray as an image, replacing the original one. /**To grab the bitmap data once the image is loaded***/ var

Re: [flexcoders] How can I keep myself motivated to program in Flex? Please help. Thanks?

2009-12-10 Thread Tino Dai
Actually to add on what David said, attach yourself to a public flex project (look for something on code.google.com). I have always found it easier to motivate myself in an environment where I'm expected to produce. -Tino On Thu, Dec 10, 2009 at 8:17 AM, David Pariente xxmapach...@yahoo.eswrote:

[flexcoders] Re: BrowserManager crossdomain issues

2009-12-10 Thread thequakeguy
this is a Javascript security issue with the BrowserManager. I don't know if there is a fix for it. I am hosting all files on my amazon server except the html so all js and swf files are in cloudfront. I'll post something if I figure it out but I have a feeling it's going to be a

Re: [flexcoders] BrowserManager crossdomain issues

2009-12-10 Thread stinkbutt
this is a Javascript security issue with the BrowserManager. I don't know if there is a fix for it. I am hosting all files on my amazon server except the html so all js and swf files are in cloudfront. I'll post something if I figure it out but I have a feeling it's going to be a work-around.

[flexcoders] padding P element with CSS in htmlText of TextArea

2009-12-10 Thread Tim Romano
While I've been able to apply some CSS styles (e.g. fontFamily, fontSize, fontWeight, fontStyle, letterSpacing) to the content of p elements and to indidivual class selectors in the htmlText of a TextArea in an AIR application (FB4 beta2), attempts to set other styles, such as padding and

Re: [Spam] [flexcoders] Re: new StringValidator() .source problem?

2009-12-10 Thread Nick Middleweek
Hello Tibor, Thanks for replying. this_initializeHandler is the handler for the initialize event. A colleague told me to try creationComplete for the component and it now works... :) I'm thought that on the initiialize phase of the parent component, the children objects/components were

Re: [flexcoders] Exporting Flex animation to animated GIF?

2009-12-10 Thread Peter Davis
Thanks, Chet. Currently I have a delay loop within a timer event handler, so I should be able to just export a GIF at each step of the cycle. I think Photoshop or something will let me turn these into an animated GIF. Thanks, -pd On Mon, Dec 7, 2009 at 11:21 AM, Chet Haase cha...@adobe.com

[flexcoders] Re: Tree : disable select as you type

2009-12-10 Thread aceoohay
The code I posted previously works fine as long as there is nothing starting with a 'C' in the tree. If there is it selects that item before executing the code in the keydown handler. How can I stop this? Paul --- In flexcoders@yahoogroups.com, aceoohay pa...@... wrote: I have read through

[flexcoders] Debug Flash Player 10.0.42.34 ?

2009-12-10 Thread Rick Winscot
Any ETA or information from Adobe-ites when we might expect to see debug packages? Cheers, Rick Winscot www.quilix.com

[flexcoders] Re: Question about getting the type of item / component with drag and drop

2009-12-10 Thread turbo_vb
See #1 in Gordon's response. -TH --- In flexcoders@yahoogroups.com, timgerr tgallag...@... wrote: What is the best way to check if it is a panel? timgerr --- In flexcoders@yahoogroups.com, Gordon Smith gosmith@ wrote: 1. if (dragEvent.currentTarget is Panel) 2. currentTarget is

Re: [flexcoders] libs in a lib

2009-12-10 Thread Richard Rodseth
Well, I'm developing a library which depends on other third-party libraries. Of course, I just have a thirdparty directory in the source tree, and add those swcs to the library path, but the libs directory in an application project is certainly convenient. In applications that use my library, I

Re: [flexcoders] Blazeds on Godaddy

2009-12-10 Thread kannan Mugundan
Hi, 1)Get technical support from the service provider. 2) If server log is not helpful, then enable your application log, you can even enable blazeds logs, check if the request hits the server and routed to the message broker. All the best Kannan On Wed, Dec 9, 2009 at 9:51 PM, Flex Killer

Re: [flexcoders] How can I keep myself motivated to program in Flex? Please help. Thanks?

2009-12-10 Thread Paul LeRoy
To expand upon Tino's and David's comments: you can also find useful tutorial projects at www.developer.yahoo.com and on www.youtube.com . For youtube do a search on 'adobe flex' . For a public flex project you might also try www.sourceforge.net . Being part of a project is an excellent

[flexcoders] How to Chart This Data

2009-12-10 Thread mooresm1954
I want a line chart with a line for each row returned from a ColdFusion query. The data looks something like this, but the number of rows returned is user selectable: Fields: Description|2007|2008|2009| Row1: Personnel Services||1155|1298| Row2: Purchased Services|1523|1423|1523| In

Re: [flexcoders] How can I keep myself motivated to program in Flex? Please help. Thanks?

2009-12-10 Thread Baz
Maybe you should see a doctor, it's not normal to black-out every 3 days.

Re: [flexcoders] CSS Div not working

2009-12-10 Thread Dan Pride
Nope. Still hangs on the left at http://www.archaeolibrary.com/Gezer/Center/Center.html If you view source you will see the Doc Type. Thanks for the suggestion tho Dan --- On Wed, 12/9/09, Wesley Acheson wesley.ache...@gmail.com wrote: From: Wesley Acheson wesley.ache...@gmail.com Subject: Re:

[flexcoders] Re: Resources and compiling library in command line/ant (compc)

2009-12-10 Thread brian_m_riley
The docs aren't very clear, but the arguments in the command line are actually: arg line=-include-file outputToFileIncludingPath inputToFileIncludingPath / so you can something like: include-file namemy/assets/dir/css/some_styles.css/name pathsrc/resources/css/some_styles.css/path

[flexcoders] Re: How can I keep myself motivated to program in Flex? Please help. Thanks?

2009-12-10 Thread danielpride
Exercise more. Find an app thats about something you like and build it on your own. It keeps the interest up and its fun. I am 57 in my third year of Flex and going strong. I figure Flex will be the last set of tech I have to learn. Its going to dominate for quite a while I figure. The one

[flexcoders] Accessing the URLRequest object from the URLLoader?

2009-12-10 Thread Nick Middleweek
Hi, When we use URLLoader we pass it the URLRequest object either in the constructor or via the load method... When the URLLoader is complete, the 'complete' function is invoked where we can get access to the URLLoader object that has completed but I also want to access the URL that was

[flexcoders] Access properties of SWFLoader inside repeater

2009-12-10 Thread David Pariente
Hello, I had to ask this long ago, but tried to not disturb and try myself, but couldn't. The case is that i have a repeater (rp_photos) with a SWFLoader inside. In another part of the app i have a timer with this inside: Application.application.graywidth=(rp_photos.getRepeaterItem(0) as

[flexcoders] SWFLoader too aliased on resize

2009-12-10 Thread David Pariente
Hi all, I've been using SWFLoader for load images in my app with mxml. Those images are allways resized to a smaller size. The problem, as everyone might have found before is that the image gets way too pixelated. On my last projects that was not a big deal, but in this one quality of images

[flexcoders] Data Management Service, Pagination of DataGrid

2009-12-10 Thread yldleung
Hi Flexperts, Does anyone knew whether Pagination of data supported by Data Management Service must be using the rtmp channel or not? If so, does that mean we must have two differents ports, if the application want to rely on both amf and rtmp? Any related doc link about that? Thanks!

RE: [SPAM] [flexcoders] Access properties of SWFLoader inside repeater

2009-12-10 Thread Tracy Spratt
Always with any non-trivial repeated content, I advise creating a custom component. This way you can code the component normally, and expose any properties you need, and you can debug it to find out what is wrong when it does not work. Expose the width value you want by calculating it at the

RE: [SPAM] [flexcoders] XMLList question

2009-12-10 Thread Tracy Spratt
I don't believe you can sort an xmllist directly. I use a function that takes the children of a node (XMLList), wraps it in an XMLListCollection, sorts it, then uses setChildren() to re-assign the sorted children to the parent. I think I have posted that here actually. Tracy Spratt, Lariat