[flexcoders] Flashbuilder FlexUnit problem

2010-01-25 Thread Christoph Guse
Hi All, I created a SWC project using flexmojos 3.5 in FlashBuilder 4 beta2 on a Windows XP machine. I managed to create testcases and run them in FlashBuilder. Today I added resource bundles. They are located in /src/main/resources/locales (accordingly to Maven project structure). I added

[flexcoders] Smallest module file sizes possible...

2010-01-25 Thread alpdhuez
Hi, I am trying to get my swc/swf file sizes to be as small as possible. Currently my site has a main swf that acts as the shell of navigation loads modules for each page. I have switched the main and module SWFs to use RSLs, this has helped. Now I am looking at the size of swc libraries that

[flexcoders] Image contentWidth

2010-01-25 Thread criptopus
How do I detect when an Image has changed so that I can read the contentWidth of it. An image has already loaded previously so Creation Complete has been done with a different image?

RE: [flexcoders] Smallest module file sizes possible...

2010-01-25 Thread Gregor Kiddie
Don't worry about linking them externally. Optimise your module swf against the main swf, and it'll strip out any classes which will have already been loaded, while leaving the ones that the module requires. Note that you have to be very careful of your application domains when doing this,

RE: [flexcoders] Image contentWidth

2010-01-25 Thread Gregor Kiddie
Add an event listener in for the complete event. It gets fired once the content is loaded, so it'll fire each time, unlike creationComplete. http://www.adobe.com/livedocs/flex/3/langref/mx/controls/SWFLoader.html# event:complete Gk. From: flexcoders@yahoogroups.com

Re: [flexcoders] Image contentWidth

2010-01-25 Thread Tom Chiverton
On Monday 25 Jan 2010, criptopus wrote: How do I detect when an Image has changed so that I can read the contentWidth of it. An image has already loaded previously so Creation Complete has been done with a different image? It'll dispatch the an event. Have you checked the docs ? -- Helping

[flexcoders] Re: Datagrid itemrenderer for adding multiple linkbuttons in same gridcolumn

2010-01-25 Thread valdhor
I thionk you are over thinking this. All you need to do is extend the class you wish to use as your item renderer. In the extended class, either add an event listener or override a handler. In this case, that class is LinkBar. The LinkBar class has a clickHandler method already so you override

Re: [SPAM] [flexcoders] Reading URL arguments from within initApp()

2010-01-25 Thread valdhor
The following should help you out: http://www.flexer.info/2007/11/28/access-the-query-string-variables-from-flex-application/ --- In flexcoders@yahoogroups.com, Penny Laus pennyl...@... wrote: Could anyone point me to a working example of customized wrapper that inserts URL parameters into

[flexcoders] Flex session error

2010-01-25 Thread joe
Has anybody ever seen this before? Just upgraded to CF9 if that helps. faultString (String): Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly.

[flexcoders] Re: Loading videos/sound in Flex (web) out of a ByteArray

2010-01-25 Thread seanmcmonahan
This article may be of some use for Sound: http://www.adobe.com/devnet/flash/articles/dynamic_sound_generation/index.html --- In flexcoders@yahoogroups.com, Mark auroraborea...@... wrote: Hello, I am working on a flex project for my job, and we have seem to of hit a road block. we

[flexcoders] my HTTPService POSTs are showing up as GETs in FB4 beta 2: is POST implemented?

2010-01-25 Thread Tim Romano
I would be grateful if someone could confirm that HTTPService POST actually works in FB4 beta 2.When I set the method = POST, the header shows up as a GET in the Fiddler traffic monitor, and so the parameters I'm trying to send to the remote server never arrive; only the name/value pairs

[flexcoders] Flex Color looks different with Photoshop color?

2010-01-25 Thread markflex2007
Hi, I set the border color for panel like this. mx:Panel borderColor=#FF But the color in Flex looks different with same color code in photoshop. I select the color code from photoshop and set it to Flex.but the colors look different. How to fix this color different Thanks Mark

[flexcoders] Re: How to set color?

2010-01-25 Thread markflex2007
I seems the color code have two format,what is the different? Thanks Mark --- In flexcoders@yahoogroups.com, markflex2007 markflex2...@... wrote: Flex set color use 0xff or #ff. I confuse the two format,when I have to use 0xff and when I have to use #ff. Please help

Re: [flexcoders] Re: How to set color?

2010-01-25 Thread Roman Protsiuk
#ff is the CSS color format while 0xff is the hexadecimal number format in ActionScript and this number can represent color value. The problem with #ff is that it's not ActionScript. There shouldn't be any problem if you use 0xff in AS or MXML and #ff only in CSS. Roman On

[flexcoders] Re: problems with firefox 3.6 on a mac

2010-01-25 Thread Philip
--- In flexcoders@yahoogroups.com, gwgeiger947 g...@... wrote: Has any one else experienced issues with double clicking when using Firefox 3.6 on a mac ? I can't get it to work anywhere. I have tried other people's example sites to show double clicking and it works in safari, but not on

RE: [flexcoders] Re: problems with firefox 3.6 on a mac

2010-01-25 Thread Matt Chotin
The Player team is reproducing this issue and is investigating. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Philip Sent: Monday, January 25, 2010 2:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: problems with firefox 3.6 on a mac --- In

[flexcoders] Re: Flex 4 Autocomplete

2010-01-25 Thread Tenger Ivan
Here is an AutoComplete component built in Flex 4 using the Spark architecture: http://flashcommander.org/flex/flex-4-autocomplete --- In flexcoders@yahoogroups.com, bobby_world bobby_wo...@... wrote: Anyone know of an Autocomplete component for Flex 4? I want to use it with a TextInput

Fw: [flexcoders] Re: [HELP] Little help with parsing datas

2010-01-25 Thread Jose Carlo Quilala
Thanks to all who helped me, I really appreciate it. - Forwarded Message From: Cory corymcma...@gmail.com To: flexcoders@yahoogroups.com Sent: Sunday, January 24, 2010 4:13:57 Subject: [flexcoders] Re: [HELP] Little help with parsing datas Here's what I would do. In your loop:

[flexcoders] MenuEvent causes 1046 error

2010-01-25 Thread williamchadwick
I have a menu bar component mx:MenuBar id=mainMenu labelField=@label click={MenuEvent(event)} itemClick={MenuItemEvent(event)} Everytime I create a handler like this: private function MenuItemEvent(e:MenuEvent):void I get a Type was not found or

[flexcoders] Re: How to set color?

2010-01-25 Thread William Chadwick
Use the hexadecimal preceded by 0x in Flex and by # in Photoshop. Flex example: backgroundColor=0xFF00FF Photoshop example: #FF00FF William Chadwick

[flexcoders] Re: Smallest module file sizes possible...

2010-01-25 Thread alpdhuez
Thanks for the reply. So I am optimizing the modules, except they are in a different project from the main app. My project structure is like this: 1 Main swf app for login/header/footer/navigation 6 common swc libraries 10+ Module projects Can I still optimize modules for an application if

Re: [flexcoders] MenuEvent causes 1046 error

2010-01-25 Thread William Chadwick
The embarrassing solution is that I named a function with the Adobe class name MenuEvent. My bad. William Chadwick On 1/25/10, williamchadwick wchadw...@gmail.com wrote: I have a menu bar component mx:MenuBar id=mainMenu labelField=@label click={MenuEvent(event)}

[flexcoders] How to manipulate legend in a chart

2010-01-25 Thread Patricia Han
Hi All, I tried all kinds of staff to dynamically turn on/off a series of line charts (I did not create the legend separately). The series can be turned on/off, but not the legend. How should I manipulate the legend when I only know the LineSeries? The class LineSeries only has an array of

[flexcoders] Flex/PHP securing functions

2010-01-25 Thread Scott
I've worked a lot with coldfusion and flex using cflogin/roles. I have a project that I'm working on now that the backend will be done in PHP. Since this is a pet project I'm using flash builder 4 to learn before the release (And I'm really liking it!) I've found documentation with connecting

Re: [SPAM] [flexcoders] Reading URL arguments from within initApp()

2010-01-25 Thread Penny Laus
On Tue, Jan 26, 2010 at 4:36 AM, valdhor valdhorli...@embarqmail.comwrote: The following should help you out: http://www.flexer.info/2007/11/28/access-the-query-string-variables-from-flex-application Thanks very kindly, that did the trick!

RE: [SPAM] [flexcoders] MenuEvent causes 1046 error

2010-01-25 Thread Tracy Spratt
I bet it is because you used MenuEvent for your click handler function name and there is a name collision with the built-in MenuEvent. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

Re: [flexcoders] Re: Smallest module file sizes possible...

2010-01-25 Thread Alex Harui
You can use link-reports from more than one app, and you can explicitly name classes to be kicked out using –externs. If you’re wrong and the class was needed, you’ll get an error at runtime. On 1/25/10 11:34 AM, alpdhuez alpdh...@yahoo.com wrote: Thanks for the reply. So I am

Re: [SPAM] [flexcoders] MenuEvent causes 1046 error

2010-01-25 Thread William Chadwick
Tracy, Yup. William On Mon, Jan 25, 2010 at 11:00 PM, Tracy Spratt tr...@nts3rd.com wrote: I bet it is because you used “MenuEvent” for your click handler function name and there is a name collision with the built-in MenuEvent. Tracy Spratt, Lariat Services, development services