[flexcoders] Re: Problem sorting AdvancedDataGrid

2010-04-22 Thread tntomek
I'm not 100% certain even the main sort works via initial programmatic setting (it does after you click on grid header) This is the class in question. If you are making your grouping collection via code you must be using this already.

[flexcoders] Flex 4 and StyleManager

2010-04-22 Thread bobby_world
Hi! I have a Flex4 based Application and I'm trying to load Styles from a swf file. StyleManager.loadStyleDeclarations(styles/BlueBackground.swf, true); I get an error saying this is deprecated in Flex4. Bobby

[flexcoders] spark Itemrenderer....

2010-04-22 Thread cuttenv
Anyone know if it's possible to reuse a custom item renderer in another component that just only needs one reference of this item?? Specifically I am extending a group and would like to addElement( customItemRender); to the group in the createChildren method but I am getting 0 luck... any

[flexcoders] Re: Problem sorting AdvancedDataGrid

2010-04-22 Thread cuttenv
You should check out some of the examples at the ilog exilir page.. i've said this before they have some good examples... are you adding a collectionEvent to your collection? You should be adding an eventListener so that when your collection refreshes you can do everything you need to. You can

[flexcoders] Re: as 2 to as 3 question

2010-04-22 Thread cuttenv
addChildAt --- In flexcoders@yahoogroups.com, Oleg Sivokon olegsivo...@... wrote: You have already found a tool to decompile it, try finding an tool that will code that for you too ;)

[flexcoders] Re: Images not getting reloaded when source changes?

2010-04-22 Thread cuttenv
you should have your source as a bindable variable then you can just change that variable when you need to and the source of the image should change. I didn't look that closesly at the code... but it also looks like you are trying to load the same source into the image? If the image already has

Re: [flexcoders] Flex 4 and StyleManager

2010-04-22 Thread Haykel BEN JEMIA
Hi, Flax 4 supports per-module style management and the StyleManager is not a singleton anymore. Each module has its own StyleManage and you have to reference that one. For UIComponent and subclasses (all visual Flex components), the style manager is available in the styleManager property. For

[flexcoders] Re: What is the Correct Type of Component For This?

2010-04-22 Thread James
Hi Steve. That's so excellent mate. I simply added in your code and then the only thing I needed to do was add in a variable to my main app called categoryid and set it to a default of 1. I then replaced the line:- Alert.show(event.currentItem.categoryid); with:-

[flexcoders] Potential Bug in Flash Builder 4?

2010-04-22 Thread Wally Kolcz
Anyone else notice that when you use code hint to choose an external itemrenderer that it, not only adds the full dot note path in the itemRender property, but also imports it? But my error inquiry is that it imports it inbetween two Script tags and not fx:Script To replicate. Create a

[flexcoders] Flex 4 HGroup and Group background colour

2010-04-22 Thread bhaq1972
Why does this work s:Group width=100% height=28 s:Rect top=0 right=0 bottom=0 left=0 s:fill s:SolidColor color=0x4960a6 / /s:fill /s:Rect /s:Group But this doesnt? s:HGroup width=100% height=28 s:Rect s:fill s:SolidColor color=0x4960a6 / /s:fill

[flexcoders] Simple Flex 3 Question.

2010-04-22 Thread johnvid
Last noght I had tooltips everywhere(without coding them on everything), on every tab linkbar...then I changed something and now its back to normal. Does anyone know whats happened, if its anything to do with button mode,focus, or something else? or because my tab link bars where to narrow

Re: [flexcoders] Simple Flex 3 Question.

2010-04-22 Thread Jake Churchill
all UI Components have a tooltip property. It probably had something to do with the bars being too narrow for the font. On Thu, Apr 22, 2010 at 7:16 AM, johnvid john...@rocketmail.com wrote: Last noght I had tooltips everywhere(without coding them on everything), on every tab

[flexcoders] Re: How to clear cache for all major browsers (IE, Mozilla, Safari and Chrome)

2010-04-22 Thread valdhor
I tried your code on my machine using Flash Player WIN 10,0,45,2 Debug. Compiled using Flex SDK 3.5. I do not see the problem you describe. Perhaps you are using an older version of the SDK? --- In flexcoders@yahoogroups.com, vijay chaudhary vijayk.chaudh...@... wrote: Following code when

[flexcoders] DataGrid | ItemRenderers | Validation

2010-04-22 Thread Neil Webb
Hi, just looking for advice on the most appropriate way to approach this (or links to existing examples) :) I've got a DataGrid, and the items use a subclass of NumericStepper. This stepper validates itself depending on the total of *all *items in that column (i.e. it styles itself green if the

[flexcoders] Issue with truncateToFit behavior of Label while scaling

2010-04-22 Thread msrilatha_reddy
Hi, I am facing an issue while scaling a Label with truncateToFit property as true. While zooming in/out, sometimes the text which is truncated is displayed without ellipses or 1 or 2 ellipses sometimes. I tried setting fontAntiAliasType=animation thinking that it might solve the issue. But it

Re: [flexcoders] Potential Bug in Flash Builder 4?

2010-04-22 Thread Haykel BEN JEMIA
Can not reproduce. Check your namespaces, are you defining the fx namespace or is it set as the default namespace? Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Thu, Apr 22, 2010 at 12:48 PM, Wally Kolcz wko...@isavepets.com wrote: Anyone else notice that when

Re: [flexcoders] itemRollOver and itemDoubleClick not firing on datagrid

2010-04-22 Thread DevSachin
The problem is this undocumented property of ADG.. ADG.useRollOver = true; i spoiled my 4-5 hours to findout this..-(-(..what the hell is the doumentation of ADG? seb556 wrote: My code : mx:Script ![CDATA[ import mx.events.ListEvent; private function

[flexcoders] Re: Images not getting reloaded when source changes?

2010-04-22 Thread PFD Studio
Thanks! --- In flexcoders@yahoogroups.com, cuttenv cutt...@... wrote: you should have your source as a bindable variable then you can just change that variable when you need to and the source of the image should change. Good point, but it still should work the way I have it, I think.

Re: [flexcoders] Potential Bug in Flash Builder 4?

2010-04-22 Thread Wally Kolcz
Hope so, its a stock itemRender and Component generated from FB4

[flexcoders] Flex App Resize

2010-04-22 Thread Jeff
I have a flex application embedded within an HTML page. I've been trying to resize the html element dynamically via an ExternalInterface call to a javascript function in the host page. Unfortunately, listening to Resize events and/or overriding the updateDisplayList method on the Application

[flexcoders] Embedding a dynamic image OR changing the source of a s:BitMapImage in a skin

2010-04-22 Thread Wally Kolcz
I am creating a coloring book app and I have an image in a skin that can be colored on. It works fine when I set the skin's background fill to: s:BitmapImage source=@Embed('assets/img/drawings/alien.png') fillMode=scale top=1 bottom=1 left=1 right=1/ But i want to change the source image when

Re: [flexcoders] DataGrid | ItemRenderers | Validation

2010-04-22 Thread gabriel montagné
Hi Neil, On 22/04/2010, Neil Webb nwebb.co...@gmail.com wrote: [...] So in a nutshell I guess I'm saying, what's the preferred way of validating an itemRenderer, when the validation of that renderer depends on properties of all the itemRenderers in that column? Why don't you validate at

[flexcoders] Re: Datagrid measureHeightOfItems wrong - DG harbors items that shouldn't be the

2010-04-22 Thread atomilux
Ok kids, this is the latest - I just put a loop on that fires a recalculation every 3 seconds or so. Yes, there's a lag but I'd rather have a delayed resize than no resize at all. Having too many event listeners to catch and resize multiple datagrids based on one dragDrop event doesn't work

Re: [flexcoders] Re: Problem sorting AdvancedDataGrid

2010-04-22 Thread Tom McNeer
Hi, Again, thanks to everyone for their replies. On Thu, Apr 22, 2010 at 3:00 AM, tntomek tnto...@yahoo.com wrote: See if u can find your sort actually being used, Unfortunately , this is proving a little problematic. I don't know why this is happening, but when I control-click on

Re: [flexcoders] Simple Sound Player

2010-04-22 Thread Mark Lapasa
You could write a very rudimentary app using the flash.media.Sound to load and play the file and flash.media.SoundChannel to stop and pause the file. On Mon, Apr 19, 2010 at 2:51 PM, simcola jobs...@gmail.com wrote: Hi I have several podcasts in wma (I could change to mp3 if needed) and I

[flexcoders] How to clear cached RSL programmatically?

2010-04-22 Thread handitan
Hi all, I posted one of this question on a thread that's related to caching but since it got hijacked by a totally different topic, I decided to create a new thread. If you're going to talk different stuff, please make a new thread. The issue that was raised because client doesn't load the

[flexcoders] Hiring for senior flex developer

2010-04-22 Thread Aaron Hardy
Rain in American Fork, Utah is currently looking for a senior-level Flex developer. This is for a full-time employee or contractor (but must be local). There are a lot of great benefits and it's an awesome company to work for. Rain's website: http://mediarain.com Job Listing:

Re: [flexcoders] Simple Sound Player

2010-04-22 Thread gabriel montagné
On 22/04/2010, Mark Lapasa ma...@hitgrab.com wrote: You could write a very rudimentary app using the flash.media.Sound to load and play the file and flash.media.SoundChannel to stop and pause the file. Yes. A couple of years ago I'd packed a component like that, chromless but you can very

[flexcoders] Re: DataGrid | ItemRenderers | Validation

2010-04-22 Thread valdhor
I would be inclined to extend the datagrid and add a variable to handle this. You can compute the total from the dataprovider when it arrives from the server and pass that in as a bound variable to the custom datagrid. Example follows... Application: ?xml version=1.0 encoding=utf-8?

RE: [flexcoders] Flex 4 HGroup and Group background colour

2010-04-22 Thread Peter DeHaan
Try setting the Rect's width/height to 100%: ?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/mx s:layout s:VerticalLayout / /s:layout

Re: [flexcoders] How to clear cached RSL programmatically?

2010-04-22 Thread Alex Harui
I don’t think there is support for that because the framework never revs RSLs. You can do what we do and publish new ones or use modules and load into the main applicationdomain. On 4/22/10 9:15 AM, handitan handi@gmail.com wrote: Hi all, I posted one of this question on a thread

Re: [flexcoders] Embedding a dynamic image OR changing the source of a s:BitMapImage in a skin

2010-04-22 Thread Alex Harui
You can embed several images separately and assign those variables to the source. On 4/22/10 7:18 AM, Wally Kolcz wko...@isavepets.com wrote: I am creating a coloring book app and I have an image in a skin that can be colored on. It works fine when I set the skin's background fill to:

Re: [flexcoders] Issue with truncateToFit behavior of Label while scaling

2010-04-22 Thread Alex Harui
I don’t see any embedded fonts. On 4/22/10 1:54 AM, msrilatha_reddy msrilatha_re...@yahoo.co.in wrote: Hi, I am facing an issue while scaling a Label with truncateToFit property as true. While zooming in/out, sometimes the text which is truncated is displayed without ellipses or 1 or 2

[flexcoders] RTMPS performance issue

2010-04-22 Thread sanjitcs
Hi everybody, I am testing application which uses RTMPS protocol to connect with edge server and then to application server using amf socket. I have found operation takes double time in case of RTMPS protocol than RTMP protocol in server communication. Does any body seen similar behavior for

[flexcoders] Re: What is the Correct Type of Component For This?

2010-04-22 Thread valdhor
Now I can simply edit my filter function which filters my links tilelist in the main app so that it uses my new category id var as the filter paramater and I think I'll be set :-) Is that how you'd do it? Seems about right. I'm from Liverpool in England (like the beatles). I suppose I've

[flexcoders] Re: How to clear cached RSL programmatically?

2010-04-22 Thread handitan
Hi Alex! Great to hear from you as always. I don't understand what do you mean by framework never revs RSLs? What's revs? Proably it would be better for my understanding if I use this scenario: 1. The following have been deployed: - Main_ver1.0.swf - Module_ver1.0.swf - RSL.swf 2. Our clients

Re: [flexcoders] Embedding a dynamic image OR changing the source of a s:BitMapImage in a skin

2010-04-22 Thread Wally Kolcz
The list of images is coming from a database. Can I dyanmically create the Embed and Class and then switch them out when the user click on them from a list? On 4/22/2010 1:35 PM, Alex Harui wrote: You can embed several images separately and assign those variables to the source. On

[flexcoders] Re: TitleWindow.title won't update from a setter

2010-04-22 Thread Amy
--- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Alex, That has fixed it but has now made me realise I'm initialising my private var _iFormID : String = ; And the first time I was opening the Popup, I was setting the .iFormID = , so the setter was *not* getting

Re: [flexcoders] Flex App Resize

2010-04-22 Thread Alex Harui
MeasuredHeight measures the content of the app, not its assigned height. On 4/22/10 7:27 AM, Jeff britton.j...@gmail.com wrote: I have a flex application embedded within an HTML page. I've been trying to resize the html element dynamically via an ExternalInterface call to a javascript

[flexcoders] Re: DataGrid | ItemRenderers | Validation

2010-04-22 Thread Amy
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: I would be inclined to extend the datagrid and add a variable to handle this. You can compute the total from the dataprovider when it arrives from the server and pass that in as a bound variable to the custom datagrid.

Re: [flexcoders] RTMPS performance issue

2010-04-22 Thread Oleg Sivokon
I'd think it is normal, since encoding and decoding data would take some time, I don't know the numbers, but it would be only reasonable that it would take longer... Best. Oleg

[flexcoders] Is there a tool to detect whether the loaded swf is from browser's cache?

2010-04-22 Thread handitan
Hi all, I am just wondering if there's a tool to detect whether the loaded swf is from browser's cache or not? Appreciate it. Thx!

Re: [flexcoders] Re: TitleWindow.title won't update from a setter

2010-04-22 Thread Nick Middleweek
Thanks Amy... I'm now doing that and silly me forgot to use super.commitProperties() after the .title in commitProperties(). That took a while to work out :) Cheers, Nick On 22 April 2010 20:05, Amy amyblankens...@bellsouth.net wrote: --- In flexcoders@yahoogroups.com

[flexcoders] how to find redundant classes?

2010-04-22 Thread Nick Middleweek
Hi, Is there a quick way to find Classes that I no longer need? I'm sure I've asked this before but I can't find the thread... Unless I thought about asking it but didn't :-) I'm going through a project, some of it was inherited and some I don't know if I need anymore... Is there a good way of

[flexcoders] .mp3 files in video display component

2010-04-22 Thread Ganesh Suyampirakasam
Hi Is it possible to run .mp3 files in videodisplay component in Flex. Has any one tried this functionality Thanks ganesh

[flexcoders] Change width of tab character in text controls?

2010-04-22 Thread flexcoderimpl
I'm working on a Flex 3 app for keyboarding instruction. In many of the drills I need to work with the tab character. Flash support for working with tabs in text controls is poor. For example, it was a work-around just to get an MX TextArea to accept tabs (by capturing

[flexcoders] Re: Problem sorting AdvancedDataGrid

2010-04-22 Thread tntomek
Here is the exact bug I filed. Please vote for it if you plan to stay with Flex 3 for a while. https://bugs.adobe.com/jira/browse/FLEXDMV-2310 --- In flexcoders@yahoogroups.com, Tom McNeer tmcn...@... wrote: Hi, Again, thanks to everyone for their replies. On Thu, Apr 22, 2010 at 3:00

[flexcoders] Re: Problem sorting AdvancedDataGrid

2010-04-22 Thread tntomek
I filed a bug for this, its pretty ridiculous that they cant get the path spelling right in Flex 3 even with FB4 release (it's been like this since 3.3/4 release). Just copy paste the files from your datavisualization SDK folder into the path it expects them to be in (fbpro blah blah) (be

[flexcoders] visible child within invisible parent?

2010-04-22 Thread tex_learning_flex
I want to create a container that will be invisible until the mouse moves into it, thus making it visible. Selected components within the container should remain visible at all times. Is this possible?

Re: [flexcoders] Re: Problem sorting AdvancedDataGrid

2010-04-22 Thread Tom McNeer
On Thu, Apr 22, 2010 at 5:59 PM, tntomek tnto...@yahoo.com wrote: I filed a bug for this, its pretty ridiculous that they cant get the path spelling right in Flex 3 even with FB4 release (it's been like this since 3.3/4 release). Just copy paste the files from your datavisualization SDK

Re: [flexcoders] how to find redundant classes?

2010-04-22 Thread Oleg Sivokon
Not a real answer: document them with ASDocs - it will try to document everything - will certainly find errors in unused classes - will argue with you about those classes - you will know what to delete - bonus, you will get documentation for the project :)

[flexcoders] State of the art JSON

2010-04-22 Thread Richard Rodseth
I've used AS3CoreLib's JSON encoding/decoding in the past, but some code I'm maintaining now has custom JSON handling. Note: we use ISO 8601 for Dates. Looking at the Flashbuilder 4 data wizards (briefy), I see JSON support and references to something call fiber, but am unclear whether this is

[flexcoders] ResultEvent from HttpService not parsing xml

2010-04-22 Thread Raymond Brown
I have an xml doc: one two nameBob/name /two /one I have a Httpservice tage with url, resulthandler, faulthandler and resultformat=e4x. In my resulthandler, I have this: var ourXML:XML = event.result as XML; var name:String = ourXML.one.two.name; var x:int = 0; Here is the problem, I

Re: [flexcoders] how to find redundant classes?

2010-04-22 Thread Aaron Hardy
FlexPMD would probably do the trick: http://opensource.adobe.com/wiki/display/flexpmd/FlexPMD Aaron On Thu, Apr 22, 2010 at 1:51 PM, Nick Middleweek n...@middleweek.co.ukwrote: Hi, Is there a quick way to find Classes that I no longer need? I'm sure I've asked this before but I can't find

[flexcoders] Adobe Air Bug!

2010-04-22 Thread cuttenv
I have created an adobe Air application and it works perfectly fine when I run the application in debug mode using Flash Builder. I wanted to test out a release build so I created a temporary certificate. Then when I launch my application nothing happens! I gave the air file to several other

[flexcoders] Re: spark Itemrenderer....

2010-04-22 Thread cuttenv
I have the log install file on this computer. I tried on another computer and it's still not working... --- In flexcoders@yahoogroups.com, cuttenv cutt...@... wrote: Anyone know if it's possible to reuse a custom item renderer in another component that just only needs one reference of this

[flexcoders] Re: Problem sorting AdvancedDataGrid

2010-04-22 Thread tntomek
SWC message is wrong Make sure you have the following: C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\3.5.0\fbpro\projects\datavisualization\src Based on my previous post. You can find this path if you click on Project propertiesbuild pathlibrary path expand Flex expand datavisualization

RE: [flexcoders] ResultEvent from HttpService not parsing xml

2010-04-22 Thread Tracy Spratt
ourXML is already at the one node. Try: var name:String = ourXML.two.name.text(); //the text() is not always necessary When in doubt view the xml by doing: trace(ourXML.toXMLString()); Tracy Spratt, Lariat Services, development services available _ From:

Re: [flexcoders] Re: spark Itemrenderer....

2010-04-22 Thread Alex Harui
Test with a really simple itemrenderer. I’m pretty sure we never tested it so there may be a reason it won’t work, but none jumps to mind right now. On 4/22/10 8:01 PM, cuttenv cutt...@yahoo.com wrote: I have the log install file on this computer. I tried on another computer and it's

Re: [flexcoders] visible child within invisible parent?

2010-04-22 Thread Alex Harui
Sort of. You want to put the container’s visuals in a child that is the size of the container and is behind all the other children, and make that one child visible or invisible. On 4/22/10 3:22 PM, tex_learning_flex tex.learning.f...@gmail.com wrote: I want to create a container that

[flexcoders] Re: Adobe Air Bug!

2010-04-22 Thread cuttenv
I have noticed something more on this error. When I install my air file to /Applications it works perfectly fine but when I install it to /Applications/Air Apps it doesn't work correctly. The app shows up in my dock and it says it's running but nothing there. now on to win 64 bit... I haven't