Re: [flexcoders] Double click on Datagrid cell

2009-09-14 Thread Angelo Anolin
Could you try to declare the double click event on the datagrid, i.e. mx:DataGrid id=myDataGrid doubleClick=yourDoubleClickFunction()   mx:columns     .   /mx:columns /mx:DataGrid and in your script, declare the function private function yourDoubleClickFunction():void {     // Place

Re: [flexcoders] Re: Regex: match a specific word.

2009-09-14 Thread thomas parquier
/^my(other)?filename$/i should match myfilename and myotherfilename, then inform user the filename they typed is not allowed. Btw, square brackets are used to match a set of characters (unordered) not a string, and ^ $ outside brackets match beginning and end of lines. thomas parquier ---

[flexcoders] WE NEED YOUR VOTE!

2009-09-14 Thread pauscato1
https://bugs.adobe.com/jira/browse/FB-16764

[flexcoders] MouseLeave won't fire if mouse is down when leaving the stage in IE8

2009-09-14 Thread reflexactions
Under IE8/FP10/Vista/FB3.2 MouseLeave fires immediately when the mouse leaves the stage when the mouse is up but it nevers fires at all if the mouse is down, even if subsequently released while off stage it won't fire. What I have found is about 50% of the time when the mouse leaves the stage

[flexcoders] Testing tools for Flex applications

2009-09-14 Thread spuy...@ymail.com
I have been asked to produce a list of testing tools for the Flex applications I am developing. These testing tools can be commercial or open-source and would need to address the following: data loss protection, sql injection, vulnerability testing, code base vulnerabilities and compiled code

Re: [flexcoders] Please set up a TomcatValve as described in the documentation problem

2009-09-14 Thread rohan26may
Hi, I tried doing this. Still getting same error. Please help. Regards, Rohan valdhor-3 wrote: From the BlazeDS Installation guide at http://opensource.adobe.com/wiki/display/blazeds/Installation+Guide: To use BlazeDS with Tomcat, follow these steps after deploying the BlazeDS WAR

[flexcoders] Re: Regex: match a specific word.

2009-09-14 Thread reflexactions
Use \b to mark word boundaries. \bBig2\b --- In flexcoders@yahoogroups.com, flexaustin flexaus...@... wrote: I don't want to match just a word though. So in my app I have two standard objects that the user can use, which are named Big and Small. The user can open Big make some

[flexcoders] Re: Regex: match a specific word.

2009-09-14 Thread flexaustin
So how do I catch the opposite of this \bBig2\b as with the following (see below) the only time I don't get a matchError is if I type in Big2. I want the reverse. vResult = reservedNamesValidator.validate(); if (vResult.type==ValidationResultEvent.INVALID)

[flexcoders] Re: Java/Flex questions answered by James Ward

2009-09-14 Thread ilikeflex
Could not find the tag 'raiCowboy' http://meta.stackoverflow.com/questions/17314/search-for-a-tag-returns-no-results/17327 It says tag 'raiCowboy' has been deleted. --- In flexcoders@yahoogroups.com, James Ward jaw...@... wrote: This would be a great question to ask on StackOverflow.com :)

Re: [flexcoders] Stripping the RichText Editor

2009-09-14 Thread Wally Kolcz
Anyway to easily move the control from the bottom to the top of the RTE? From: Tom Chiverton tom.chiver...@halliwells.com Sent: Monday, September 14, 2009 7:57 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Stripping the RichText Editor

Re: [flexcoders] Preventing SWF from dis-assembling

2009-09-14 Thread Rohit Sharma
I am not sure Nitrolm will help. I think I was not clear in mail. The problem is while we are hosting the application on our web server. Once the swf gets downloaded at client side, it can be disassembled.I want to prevent that. On Mon, Sep 14, 2009 at 10:14 PM, Jeffry Houser

Re: [flexcoders] Admin/Moderator

2009-09-14 Thread Matt Chotin
mail flexcoders-ow...@yahoogroups.com On Sep 14, 2009, at 8:40 AM, stldvd wrote: Sorry for this off-topic post but does anyone know who the moderator is for this board and how to reach them? I received an email response to one of my posts about five days ago from a new member, but they

[flexcoders] Stripping the RichText Editor

2009-09-14 Thread Wally Kolcz
I am creating software for my work. I want to have RichText support, but I do not like the RichTextEditor from the mx package. Any way to use the rich text editing (bold, italicizing, hyperlinking, etc) without using the actual component? I would like to use the RTE bar in the top of my

Re: [flexcoders] Stripping the RichText Editor

2009-09-14 Thread Wally Kolcz
Ok, found it: var displayObj:DisplayObject = this.toolbar; this.toolbar.parent.removeChild(displayObj); this.addChildAt(displayObj, 0); From: Wally Kolcz wko...@isavepets.com Sent: Monday, September 14, 2009 8:20 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Preventing SWF from dis-assembling

2009-09-14 Thread Rohit Sharma
Hello All, We are working on a commercial application being built on Flex 3.0 framework. Recently we noticed that the swf can be easily dis-assembled and the code and the components can be retrieved. Please suggest ways to prevent this or make it harder. I have read that one way is

Re: [flexcoders] Preventing SWF from dis-assembling

2009-09-14 Thread Jeffry Houser
Nitrolm.com Rohit Sharma wrote: Hello All, We are working on a commercial application being built on Flex 3.0 framework. Recently we noticed that the swf can be easily dis-assembled and the code and the components can be retrieved. Please suggest ways to prevent this or make it

[flexcoders] Re: Rich Text Editor and XML

2009-09-14 Thread stldvd
Here's modified code showing the XML, what I'm trying to achieve, and what I'm getting. Can anyone see what's going on here? If in the outRTE control you insert text={xData.toString()} then you get the bizarre behavior I referred to in my last post (setting text to the empty string doesn't

Re: [flexcoders] Stripping the RichText Editor

2009-09-14 Thread Tom Chiverton
On Monday 14 Sep 2009, Wally Kolcz wrote: Or any example on how to detect selected text and make the changes (bolding ,etc)? All my Google searches come up how to selected text that matched whatever you entered in a textinput. Not quite the same. Thanks! I believe the text components have a

[flexcoders] Re: Using RSLs in an actionscript only project

2009-09-14 Thread darrell_loverin
Only classes in the last frame can be externalized. -Darrell --- In flexcoders@yahoogroups.com, joshonemail j...@... wrote: I have an Actionscript only project that I would like to use the textLayout framework in as an RSL. The application uses a daisy chain of frames, and on the first

[flexcoders] Admin/Moderator

2009-09-14 Thread stldvd
Sorry for this off-topic post but does anyone know who the moderator is for this board and how to reach them? I received an email response to one of my posts about five days ago from a new member, but they still apparently haven't been granted access. Thanks.

Re: [flexcoders] Preventing SWF from dis-assembling

2009-09-14 Thread Jeffry Houser
You can't prevent it. Isn't it daily that a new form of DRM is broken by some hacker? But, NitroLM has some tools to encrypt your swf files; and a special loader that will load up an encrypted swf and decrypt it for running. Such encryption in place makes it a lot harder to decompile the

[flexcoders] Semi-collapsible AdvancedDataGrid

2009-09-14 Thread fumeng5
Hi, I have an AdvancedDataGrid. When you expand a row, a horizontal list of charts displays. The row is about 200px tall. When you collapse the row, I don't want it to collapse all the way. Instead, I'd like to collapse it to about 50px tall and render a much smaller version of the chart ( a

RE: [flexcoders] Preventing SWF from dis-assembling

2009-09-14 Thread Battershall, Jeff
Rohit, At one point I had lost some Flex source code for a particular project and used one of the publicly available SWF de-compilation tools for such out there. It 'worked' but realize that your MXML will not be recovered, only the AS code that exists behind it. Frankly, from the perspective

[flexcoders] Re: Custom Menu class with a Mask

2009-09-14 Thread valdhor
What you are trying to do is not just a simple change to a few items. This is a fairly major undertaking. You will have to extend the PopUpButton class. This class does not have a getMenuAt method to override so you will have to figure out a way to encapsulate the functionality you need. Also,

RE: [flexcoders] MouseLeave won't fire if mouse is down when leaving the stage in IE8

2009-09-14 Thread Alex Harui
Try 3.4 Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of reflexactions Sent: Monday, September 14, 2009 4:58 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] how to remove extra space in datagrid header?

2009-09-14 Thread coder3
my advanceddatagrid has many columns, so space is limited. virtually, each column has enough space for the headertext, but the text is trimmed because the column reserved some extra white space. for example, if the column text is name, the header shows: | na... | instead of | name | is

[flexcoders] Don't understand how to use deferred instantiation

2009-09-14 Thread biosmonkey
I am having trouble understanding how to use deferred instantiation. I have a project with a viewstack, and the viewstack has a lot of canvas containers for different pages that are activated according to user selection on a menubar. Each page inside the canvas is actually one or two

RE: [flexcoders] Don't understand how to use deferred instantiation

2009-09-14 Thread Jake Churchill
Yes, a viewstack loads everything when the app loads. If you don't want that, I think you need to use states instead Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com http://www.cfwebtools.com 402-408-3733 x103 From: flexcoders@yahoogroups.com

Re: [flexcoders] Don't understand how to use deferred instantiation

2009-09-14 Thread Wesley Acheson
http://livedocs.adobe.com/flex/3/html/help.html?content=layoutperformance_05.html Have you tried setting the creation policy? Jake It says on the above page that viewStack defers child creation by default. Regards, Wesley Acheson On Mon, Sep 14, 2009 at 9:17 PM, Jake Churchill

[flexcoders] Color of MenuBar text

2009-09-14 Thread Wally Kolcz
How can you change the color of the text of the very top level of the MenuBar, but leave the submenus another color? Here is my code: mx:MenuBar width=100% x=0 y=0 fillAlphas=[1.0, 1.0] fillColors=[#0C3E82, #0C3E82] labelField=@label itemClick=menuClickHandler(event) fontWeight=bold

[flexcoders] using curve, drawPolyLine throws error.. any suggestions

2009-09-14 Thread djhatrick
love when classes are sealed, how do i debug? mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine TypeError: Error #1010: A term is undefined and has no properties. at

[flexcoders] Re: Regex: match a specific word.

2009-09-14 Thread flexaustin
Great a little closer. I noticed weird things were happening with myF and myfile. So how do you say not this: ^medium$|^tiny$ -- meaning if I do the following, it comes back as valid if I type in medium or tiny, but I need it to come back invalid. So with the following if I type sdkfldf it

[flexcoders] Re: Using RSLs in an actionscript only project

2009-09-14 Thread joshonemail
Thanks Darrell and Alex, after I read Alex's post I realized that I was using some of the TLF classes in the first frame. I moved them into the second frame, and it still includes them. Now I just re-read Darrell's post and am wondering if you meant literally the last frame? I have 4

RE: [flexcoders] Don't understand how to use deferred instantiation

2009-09-14 Thread Alex Harui
By default, Viewstack creates all of its children, but those children do not create their children unless they are the selectedChild. You can hook up to the creationComplete of one of those grandchildren. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog:

RE: [flexcoders] Don't understand how to use deferred instantiation

2009-09-14 Thread Jake Churchill
Yeah, I always forget that you can change this. I think I meant the other way around. ViewStacks wait on everything, but other components (like Navigators) load everything up front. I think some of them extend the ViewStack don't they? Anyway, good information. Thanks for pointing out my

RE: [flexcoders] using curve, drawPolyLine throws error.. any suggestions

2009-09-14 Thread Alex Harui
Technically, sealed means not dynamic. Almost all Flex classes are sealed. Your pain is that source isn't available for everything. That's always going to be true somewhere since not everything will be opensource. Anyway, see if the debugger will show you the parameters to drawPolyLine. It

[flexcoders] Re: MouseLeave won't fire if mouse is down when leaving the stage in IE8

2009-09-14 Thread reflexactions
Tried but no difference... --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Try 3.4 Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

Re: [flexcoders] Don't understand how to use deferred instantiation

2009-09-14 Thread Jeffry Houser
That's not true. It only loads everything when the app loads if creationPolicy is set to all . ( http://livedocs.adobe.com/flex/3/langref/mx/core/Container.html#creationPolicy ). I suggest that the original poster check the creationPolicy for his viewStack. If none is set, move up the

[flexcoders] Hover Event over Text

2009-09-14 Thread stldvd
Hi All, Is there some way in Flex to have an event fire when the cursor hovers over a hyperlink? I don't want to use the TextEvent because that is only relevant to the click event. I need to make something happen when the mouse just hovers over text. Thanks in advance... David

[flexcoders] Re: Regex: match a specific word.

2009-09-14 Thread joss
try looking at this site. as well as looking at lookahead and look behind you may want to look at word boundaries and negation. http://www.regular-expressions.info/lookaround.html Your problem is that you need to match anything valid that is NOT either of big or small (ignoring case) because

[flexcoders] Re: Cairngorm Parallel Commands

2009-09-14 Thread Ryan Kruse
Looks like flex is in the clear. The events are in fact firing. My Jetty 6 server isn't handling the async requests though :(. -Ryan On Mon, Sep 14, 2009 at 1:07 AM, manuraj.dha...@gmail.com wrote: Looking at your posted code, I can't see any issue with the firing of the event. It would be

[flexcoders] HTML in text control

2009-09-14 Thread janjohannes...@rocketmail.com
I have made two applications: 1. Stores text in a MySQL database. I use RichTextEditor to make the text, and then stores the text in the database vith all the HTML tags. 2. The other application is a private homepage that loads the text from the database. I use mx:text controls to display the

[flexcoders] Combobox in DataGrid

2009-09-14 Thread kumarmenon
Hi Is there anyway i can show a DataGrid cell with Combobox with arrow shown all the time..Currently the way i have it setup is as following. And it does not show the Combobox.. mx:DataGridColumn id=xxx headerText=xxx

[flexcoders] Re: Combobox in DataGrid

2009-09-14 Thread turbo_vb
Instead of itemEditor use itemRenderer and set rendererIsEditor=true on the DataGridColumn. -TH --- In flexcoders@yahoogroups.com, kumarmenon kumarme...@... wrote: Hi Is there anyway i can show a DataGrid cell with Combobox with arrow shown all the time..Currently the way i have it

RE: [flexcoders] Hover Event over Text

2009-09-14 Thread Gordon Smith
With TextField-based text in MX components, I don't think this is easy. You'd probably have to use mouseMove to track the mouse within a TextField and low-level TextFIeld APIs to discover what range of characters the mouse is over. With TLF in Spark components, I think it is easier because a

RE: [flexcoders] HTML in text control

2009-09-14 Thread Gordon Smith
When you inspect dreamText.htmlText and dreamText.text, are they what you expect or are they empty Strings? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of janjohannes...@rocketmail.com Sent: Monday, September 14, 2009 10:02 AM

[flexcoders] anonymous access to bugs.adobe.com gone?

2009-09-14 Thread Sam Lai
I can't seem to access bugs.adobe.com without signing up for an account anymore. I used to be able to browse and search for bugs, but now all I'm getting is a login required message. There is still a message in there that says I should be able to search without registration, so I hope this is a

[flexcoders] Re: Using RSLs in an actionscript only project

2009-09-14 Thread joshonemail
I moved all references to the textLayout Framework (TLF) to the last frame, and now it compiles without the TLF files included. I seem to successfully download the RSL swz from Adobe. Some success! Now I am faced with two questions: 1) I daisy chain frames using the [Frame] metatag - the

[flexcoders] Re: Don't understand how to use deferred instantiation

2009-09-14 Thread biosmonkey
I am aware of the creationPolicy property, and it is not set anywhere in the application. As a test, I also created a small test project with a tab navigator with canvases, and with a label inside them. When tracing the preinit, init, and creationcomplete events, only the initial tab fires

[flexcoders] Playing other file formats in flash video player

2009-09-14 Thread Wally Kolcz
Is there any way to dynamically change and player other video formats (other than .flv) in the flash video player? If my users upload other video formats (since I doubt they'll convert them first) I would like to still show them in my flex appliction/site. Are there other video formats that

[flexcoders] Re: Regex: match a specific word.

2009-09-14 Thread flexaustin
Thanks, I rolled my own. --- In flexcoders@yahoogroups.com, joss jossmin...@... wrote: try looking at this site. as well as looking at lookahead and look behind you may want to look at word boundaries and negation. http://www.regular-expressions.info/lookaround.html Your problem is that

Re: [flexcoders] anonymous access to bugs.adobe.com gone?

2009-09-14 Thread Matt Chotin
This is temporary as we've been trying to diagnose some of the significant slowdowns we've been seeing on the bug system. As we resolve the performance issues we'll try to get all the functionality back. Matt On Sep 14, 2009, at 5:26 PM, Sam Lai wrote: I can't seem to access