RE: [flexcoders] Re: font in comboBox and Title not the same SIMPLE TEST CASE

2007-09-11 Thread Alex Harui
Typically, to use embed fonts in a CB, you embed both normal and bold faces under the same font name and do not specify a fontStyle in the styledecl. I modified your example. Both embed font CB's are now the same: http://www.adobe.com/2006/mxml"; layout="absolute" backgroundGradientColors

RE: [flexcoders] modules & httpservice

2007-09-11 Thread Alex Harui
I think the original poster is hitting a shared code issue. HTTPService might be in two different modules? If putting a dummy HTTPService in the main app makes it go away, then that's what it is. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On B

RE: [flexcoders] type 1009 because of zoominstance?

2007-09-11 Thread Alex Harui
Seems like you're hitting a timing issue. Effects during a busy period like creation time can be slightly skewed. Make sure the effect targets are in fact created and ready. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Se

RE: [flexcoders] changing a component's currentstate...

2007-09-11 Thread Alex Harui
Recent flash player downloads should be ok. 9,0,0,28 or later. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Tuesday, September 11, 2007 10:07 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] changing a com

[flexcoders] Flex 3 - accepting a drop event from a datagrid into a chart

2007-09-11 Thread vijay95052
Hi, I checked out the new drag and drop support for charts - it is cool. I need to be able to drag a row from a datagrid and drop it onto a chart. Is that supported? I tried the usual mechanism - specifying dragEnabled="true" on the datagrid, and on the chart, specifying dragEnter="doDragEnter (

[flexcoders] type 1009 because of zoominstance?

2007-09-11 Thread grimmwerks
2 different machines are now throwing this error that hadn't before; TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.effects.effectClasses::ZoomInstance/play() at mx.effects::EffectInstance/startEffect() at mx.effects.effectC

Re: [flexcoders] changing a component's currentstate...

2007-09-11 Thread grimmwerks
Anybody know exactly where I can find what version of the flash plugin flex 2 expects? I'm getting alerts saying I'm not updated, and am trying to make sure it's all installed right -- I think I even installed the h.264 update... On Sep 12, 2007, at 12:08 AM, grimmwerks wrote: > Ok, I've

Re: [flexcoders] generate thumbnail fro swf file

2007-09-11 Thread Johannes Nel
load the swf, tell it to gotoAndStop on that frame and use BitmapData.drawto capture the image On 9/12/07, Ary <[EMAIL PROTECTED]> wrote: > > Hi, > > is it possible to capture certain frame from a swf > file? > and display it as thumbnail? > > thanks in advance > ary. > > ___

[flexcoders] generate thumbnail fro swf file

2007-09-11 Thread Ary
Hi, is it possible to capture certain frame from a swf file? and display it as thumbnail? thanks in advance ary. Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! ht

Re: [flexcoders] modules & httpservice

2007-09-11 Thread grimmwerks
I'm getting the same error now; it's been working fine for awhile; I'd uninstalled and now just reinstalled the flash plugin: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.effects.effectClasses::ZoomInstance/play() at mx.effects:

[flexcoders] argh -- errors now

2007-09-11 Thread grimmwerks
I wanted to test a swfobject install for detecting the player so I uninstalled flash (mac os). Now that I've reinstalled the debug player I'm getting: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.effects.effectClasses::ZoomInstance/pla

[flexcoders] changing a component's currentstate...

2007-09-11 Thread grimmwerks
Ok, I've got a main application, with a registration component that has many states. With one button I want to set the main application's currentstate, as well as the component's currentstate. When I do click="{currentState="_registration"; login.currentState="bday"}; the main app works an

RE: [flexcoders] how to change selection color in textinput?

2007-09-11 Thread Gordon Smith
Unfortunately, the Flash Player doesn't support setting the color of selected text, or the color of the background of the selected text. You're stuck with white on black. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Larry Zhan

[flexcoders] how to change selection color in textinput?

2007-09-11 Thread Larry Zhang
Hello all I want to change the selection color in textinput component in Flex. It seems the default color is black, and there is no such style in the TextInput style list. Can any one help me? Thanks == Make Every Day Count Larry Zhang

[flexcoders] Re: Variables in HTTPService url via flashVars

2007-09-11 Thread NeoBlu
Jeff, Thx. That was just the ticket I was looking for. -M --- In flexcoders@yahoogroups.com, "Battershall, Jeff" <[EMAIL PROTECTED]> wrote: > > Or you could make one bindable item: > > [Bindable] > public var myURL:String; > > private function initPackageVar():void { > myU

Re: [flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Troy Simpson
Thanks Michael. On 9/11/07, Michael Schmalle <[EMAIL PROTECTED]> wrote: > > Troy, > > I meant to quote this... > > > have the event bubble from the itemRenderer, and that is about it. And > listen for it > > Don't do that, your idea is right. > > Peace, Mike > > On 9/11/07, Michael Schmalle <[E

RE: [flexcoders] colour values: fill "threshold" colour to change black to white labels?

2007-09-11 Thread Gordon Smith
When converting from RGB to greyscale, it's common to use the formula (R, G, B) -> (Y, Y, Y) where Y = 0.30 * R + 0.59 * G + 0.11 * B R, G, and B range from 0 to 255, and Y will as well since 0.30 + 0.59 + 0.11 == 1.0. So using the value of 127.5 (halfway between black and white) as th

[flexcoders] Gradient filter?

2007-09-11 Thread Roy Tang
Hi, Is there a way to apply a gradient filter to a display object? Something like the color transform filter, except I would want the color to gradually transition from one end to the other. Any ideas? Thanks! Roy

RE: [flexcoders] Getting xml in code only

2007-09-11 Thread Tracy Spratt
I think you will be safest to stick with relative urls (no leading slash). That has been most successful for me. On the other hand, I often pass an application specific url into the Flex app via flashvars. That way the url is certain and does not have to be under the project. Tracy __

[flexcoders] colour values: fill "threshold" colour to change black to white labels?

2007-09-11 Thread barry.beattie
I'm having custom fill colours on a chart and placing label text on top of them. since the colours are just unsigned Int's is there a simple thrashold of fill values I can use to switch the label text from black to white? fill.. | .label black ... white dk blu .. white lt blu .. black yellow ..

Re: [flexcoders] Getting xml in code only

2007-09-11 Thread Steve Hueners
Right...loading at runtime. But understand that /xml is direct off the root - just like /com and /bin - all sibling levels. Can I expect the same behavior (understandable or not) once I deploy to a server or should I be prepending a fully qualified URL? On 9/11/07, Muzak <[EMAIL PROTECTED]> wrote

Re: [flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Michael Schmalle
Oh yeah, One other thing. I put your child creation in createChildren for performance. The one thing I didn't add was you need a way to restore the state of the radio buttons based on your model. Do this in commit properties like where you are setting the label. Otherwise everything will get mes

Re: [flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Michael Schmalle
Troy, I meant to quote this... > have the event bubble from the itemRenderer, and that is about it. And listen for it Don't do that, your idea is right. Peace, Mike On 9/11/07, Michael Schmalle <[EMAIL PROTECTED]> wrote: > > > I was thinking that I could listen for the click event on the radio

Re: [flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Michael Schmalle
> I was thinking that I could listen for the click event on the radio buttons, capture the event, and dispatch a new custom event. Troy, Do this. I don't recommend bubbling events especially in itemRenderers. You are just asking for trouble down the road. Unless your event is called AASDSD_32213

Re: [flexcoders] Re: Breakpoint jumps away

2007-09-11 Thread Doug McCune
I've seen this mostly when you're debugging code that was compiled, then you altered the code and are still debugging the old one. So if you're debugging and then you add in 2 whitespace lines to the code, the debugger gets thrown off by two lines. I've also seen this when I try to debug a module a

Re: [flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Sheriff
his is how i had it work, sorry no wear near the FlexIDE till tommrrow so pardon my mistakes Main Component private function initApp():void{ //name of the component in the dataGrid this.DataGrid.addEventListener(DataGrid.CUSTOM_EVENT_BUBBLING,doWahtever) say u want a dataGrid

Re: [flexcoders] Re: Breakpoint jumps away

2007-09-11 Thread Michael Schmalle
I have had this problem also, seems sporadic. You double click on a executing line and it jumps to a weird line 3-8 lines down out of the method. Peace, Mike On 9/11/07, Tracy Spratt <[EMAIL PROTECTED]> wrote: > >Check the project settings to be sure you still have generate html > wrapper se

Re: [flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Troy Simpson
Would you have an example of how to do this with the example code that I provided? I was thinking that I could listen for the click event on the radio buttons, capture the event, and dispatch a new custom event. Thanks, On 9/11/07, Sheriff <[EMAIL PROTECTED]> wrote: > >have the event bubble

RE: [flexcoders] Re: Breakpoint jumps away

2007-09-11 Thread Tracy Spratt
Check the project settings to be sure you still have generate html wrapper selected. Then look for errors in the problems tab. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Hueners Sent: Tuesday, September 11, 2007

RE: [flexcoders] How to load data from a file in mxml

2007-09-11 Thread Tracy Spratt
You could escape the string before saving the file and unescape it before you display it. Or you could get the string at run-time instead of compiling it in. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of greenfishinwater Sen

Re: [flexcoders] Re: Breakpoint jumps away

2007-09-11 Thread Steve Hueners
After Project | Clean the project would no longer connect the debugger. It'd timeout complaining at the absence of appName-debug.* apparently, non-recreatable. Had to restore to a checkpoint. Is this 'just the way it is' or are there best practices for IDE stability optimization published? Appre

Re: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-11 Thread Kyle Neath
Ah sorry, I missed that question. There's 30 visible columns right now (70-ish total), with about 20 visible rows (depends on your viewport height).

Re: [flexcoders] Is CSS child selector supported?

2007-09-11 Thread Kyle Neath
Nope :( CSS is more of a bullet-point feature of Flash/Flex than the awesomeness it is in HTML. It can help style some elements without mucking up your MXML too much, but it only supports tag names and style names -- and only styles (fontWeight, fontSize), not properties (like width, height).

Re: [flexcoders] Getting xml in code only

2007-09-11 Thread Muzak
erhm, scratch that.. you're loading an xml file at run time ;-) I thought you were compiling it in. Sorry for the confusion. regards, Muzak - Original Message - From: "Muzak" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 11, 2007 11:51 PM Subject: Re: [flexcoders] Getting xml in cod

[flexcoders] Is CSS child selector supported?

2007-09-11 Thread williamkusumo
I am trying to style the GridItem of a grid that has a specific style name, I tried to do this: .editFormGrid GridItem { ... } and the styles won't take...is child selector supported in Flex CSS? Thanks!

Re: [flexcoders] Getting xml in code only

2007-09-11 Thread Muzak
So if I understand this correctly you have: projectroot/com/TTS.ModuleMenu/model/enum/file.xml projectroot/com/xml/file.xml then "/com/xml/file.xml" is what you need. regards, Muzak > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Steve Hueners > *Sent:* Tuesday,

[flexcoders] Localization Proxy and Compiler Warnings

2007-09-11 Thread Mike Krotscheck
I am attempting to create a localization strings ValueObject class that acts as a proxy to an XML file. The following code below works just as designed, however everytime I try to bind to it the compiler throws a warning that the application will not be able to detect changes to said variable. Is t

Re: [flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Sheriff
have the event bubble from the itemRenderer, and that is about it. And listen for it - Original Message From: Troy Simpson <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, September 11, 2007 3:40:27 PM Subject: [flexcoders] How to dispatch event from ItemRenderer?

RE: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-11 Thread Alex Harui
Can you tell me how many columns there are total and how many are visible? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kyle Neath Sent: Tuesday, September 11, 2007 12:04 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Dat

[flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Troy Simpson
I have created a List with a custom ItemRenderer. The ItemRenderer creates a label and two Radio Buttons for each item in the list. When one of the RadioButtons is selected, how would I notify other components that the a radio button was selected? Would I capture the click event in the ItemRende

[flexcoders] modules & httpservice

2007-09-11 Thread keithtucci
i am attempting to use ModuleLoader to load a module that is using httpservice and i keep getting a 1009 error. i am not sure if this is a known issue or i am just doing something incorrectly... any ideas...? TypeError: Error #1009: Cannot access a property or method of a null object referenc

RE: [flexcoders] Re: How to get Textinput position?

2007-09-11 Thread Gordon Smith
Assuming that what you want is global coordinates, it's even simpler to do event.currentTarget.localToGlobal(new Point(0, 0)).x which works because the upper-left of any component is (0, 0) in its own local coordinate system. - Gordon From: flexcoders@ya

Re: [flexcoders] Communicating with modules

2007-09-11 Thread Michael Schmalle
Hi, use an interface that you module and application know about. IE public interface ITalk { function get welcomMessage():String; } public class MyModule extends Module implements ITalk { public function welcomeMessage():String { return "Hello Application";

[flexcoders] Re: Problem with E4X insertchildafter and insertchildbefore

2007-09-11 Thread danielvlopes
Thanks Dan, now work. :D --- In flexcoders@yahoogroups.com, "Daniel Freiman" <[EMAIL PROTECTED]> wrote: > > 'xml.catalog.item[0]' isn't a child of 'xml'. 'xml.catalog.item[0]' is a > descendant of of 'xml'. Try ' xml.catalog[0].insertChildAfter( > xml.catalog.item[0], fries);' Sorry I didn't ca

[flexcoders] Communicating with modules

2007-09-11 Thread M@ Sheppard
Sorry if this seems dense: But how do I communicate to and from modules? I've got them compiling and loading fine, but I'm having a hard time finding a clear example of how to communicate from module to application and back. M@

[flexcoders] How to load data from a file in mxml

2007-09-11 Thread greenfishinwater
I have been using How can I do the same but using non XML data? I tried this: The file happens to have Action script code in it. But when the flex project is compiled I get compile errors from other parts of the mxml file. It appears to be trying to insert the data in testAS.as into the mxml

Re: [flexcoders] Apply filter to image bigger then 2880 px - Picnik

2007-09-11 Thread Troy Gilbert
> Does anybody know how they have managed to achieve applying a filter > to an image larger then 2880 px. If they are applying it to images larger than 2880px, then they *have* to be breaking it into tiles. For filters that have a larger convolution filter than the pixels they modify (like a blur

[flexcoders] Re: Breakpoint jumps away

2007-09-11 Thread Mike Morearty
The only time Flex Builder does this is when, as Sherriff said, the line where you set the breakpoint doesn't have any code on it. Obviously in this case something has gone wrong, and Flex Builder thinks there is no code on that line when there is in fact code there. A couple of things to try (I

[flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-11 Thread ben.clinkinbeard
Oh, sweet. Its an IE-only problem. Bug #2, thanks Doug! --- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote: > > So here is what I'm seeing with a freshly-loaded app in IE7 on > Windows XP Pro, FlashPlayer 9.0.47.0: > > I click and hold the mouse button on the titlebar of

Re: [flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-11 Thread Michael Schmalle
> "every free, open source resize manager I've come across." I know, was about to say that but then I would have your nice response right now. :) I have an mdi pane coming out soon but is implemented totally different. It's actually a TabNavigator that transforms into mdi and back to tabs. Using

[flexcoders] Flex and Verisign

2007-09-11 Thread Jeff Hindman
Has anybody out there implemented a totally Flex e-commerce website with Verisign? I'm having trouble implementing the Verisign seal I downloaded from them (already have a certificate). Also ... is it possible to test the functionality on a test server as opposed to a production server? I look

[flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-11 Thread Doug Lowder
Mike, I should have said "every free, open source resize manager I've come across." :) I haven't looked at very many for-purchase packages. Yours is excellent! I especially like the anchor indicators and resize effect. --- In flexcoders@yahoogroups.com, "Michael Schmalle" <[EMAIL PROTECTED

RE: [flexcoders] Variables in HTTPService url via flashVars

2007-09-11 Thread Battershall, Jeff
Or you could make one bindable item: [Bindable] public var myURL:String; private function initPackageVar():void { myURL = 'assets/' + Application.application.parameters.myPackage + '/clipart.xml'; } -Original Message- From: flexcoders@yahoogroups.com [mailto:

[flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-11 Thread Doug Lowder
So here is what I'm seeing with a freshly-loaded app in IE7 on Windows XP Pro, FlashPlayer 9.0.47.0: I click and hold the mouse button on the titlebar of Window 2 to begin dragging. Moving the cursor to any browser-window edge (I moved it left), Window 2 follows and stops when it's aligned wit

RE: [flexcoders] Variables in HTTPService url via flashVars

2007-09-11 Thread Battershall, Jeff
The binding braces need to be the outermost item: url"{'assets/' + myPackage + '/clipart.xml'}" Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of neoblu1 Sent: Tuesday, September 11, 2007 3:03 PM To: flexcoders@yahoogroups.com Subject: [flexco

Re: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-11 Thread Kyle Neath
Hey Alex, I know, it's hard to believe -- but I guess you'll just have to trust me on this one ;) I've made this same renderer about 10 times and spent a good 40-50 hours trying to improve the performance -- even going so far as removing all logic from it at times. It's not the renderer itself th

[flexcoders] Variables in HTTPService url via flashVars

2007-09-11 Thread neoblu1
I'm passing a var into Flex via flashvars and am trying to use it with HTTPService in the url field to read an xml file where part of the path is the variable. I am receiving the var fine, but just can't find a way to incorporate into the url field in a way that the HTTPService will read it. Is thi

Re: [flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-11 Thread Michael Schmalle
Doug, > You have solved a problem I've seen in pretty much every resize manager I've come across so far: Did you see mine? :) You have to create a cleanUp method that will fire on mouseUp and mouse leave, the mouse leave can't execute the same code as mouseUp since the operation becomes invalid.

Re: [flexcoders] Re: dynamic textArea sizing

2007-09-11 Thread Guillermo Villasana
For everyone out there, here is the final class that made the trick any thoughts would be appreciated :). Also I checked out and it also does the correct resizing using .htmlText property Thanks Alex for the help. package mylib { import mx.controls.TextArea; import flash.text.TextField; public

RE: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-11 Thread Alex Harui
No matter what, 600 is a lot. How many columns are we talking about? By making the DG wider and clipping it in a container you will be taking a much larger startup hit as you make all columns, even the ones that aren't visible. A lightweight renderer should be at least twice as fast as the on

RE: [flexcoders] Re: Help with event.stopImmediatePropagation();

2007-09-11 Thread Alex Harui
Usually,the stack trace will show you. What does the stack trace look like? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sheriff Sent: Tuesday, September 11, 2007 11:32 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re:

[flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-11 Thread ben.clinkinbeard
Hi Doug, Thanks for the feedback and compliments! We actually had sample content in the windows for some of our testing but decided not to include it in the explorer. Maybe we should put it in there... Performance was pretty decent I think, but can't say for sure as I don't think I ever added 30

Re: [flexcoders] Re: Help with event.stopImmediatePropagation();

2007-09-11 Thread Patrick Driggett
Have you tried using a try{}catch( e:Error){} block and using an Alert box to show the target or object you're in? -Patrick Driggett On 9/11/07, Sheriff <[EMAIL PROTECTED]> wrote: > > i see so is there anyway to find what listener is causing that problem, > since i only have one in my code. thi

Re: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-11 Thread Kyle Neath
Hey Alex, As mentioned -- I did try that (using the code from your blog), even using a labelFunction instead of dynamically detecting the on/off: it was still about the same speed. The performance hit is somewhere else deep inside DataGrid. I've spent many hours researching performance of my Dat

[flexcoders] Re: How to verify the password and confirmPassowd and show error message?

2007-09-11 Thread hammer995
This is the simply way that I do it...I think I picked this up from another example on the interweb...:) private function validatePass():void { if (password.text != password_confirmation.text) { password.errorString = "Password and P

Re: [flexcoders] Breakpoint jumps away

2007-09-11 Thread Steve Hueners
Here's the code in question. I set it on (call it) line #5 - listOfTitles.push. It jumps down to the leftbrace of the next function. Not to the function declaration itself...to the line below. [sigh] The problem i'm troubleshooting is related to that array - listOfTitles. So I figured at least I c

RE: [flexcoders] Re: dynamic textArea sizing

2007-09-11 Thread Tracy Spratt
Use that extended class exactly the same way you would use the base classs. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Sent: Tuesday, September 11, 2007 2:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] R

[flexcoders] Re: dynamic textArea sizing

2007-09-11 Thread Mark
Sorry for wasting your time... This is only for display purposes so I can just use . That does it on its own. Thanks!

Re: [flexcoders] Re: Help with event.stopImmediatePropagation();

2007-09-11 Thread Sheriff
i see so is there anyway to find what listener is causing that problem, since i only have one in my code. this is just for understaning. - Original Message From: ben.clinkinbeard <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, September 11, 2007 12:53:38 PM Subject: [fl

Re: [flexcoders] Breakpoint jumps away

2007-09-11 Thread Sheriff
you have to set it on a Line of Code and not just an empty line or a line with comments, sometimes i do that and the same thing happens to me. - Original Message From: Steve Hueners <[EMAIL PROTECTED]> To: flexcoders Sent: Tuesday, September 11, 2007 1:19:14 PM Subject: [flexcoders] Br

[flexcoders] Re: dynamic textArea sizing

2007-09-11 Thread Mark
Thanks, yeah I saw that but I'm not sure how to now add this Class to the textArea component. So here's my Class (just like he had) - package com { import mx.controls.TextArea; import flash.text.TextLineMetrics; public class AdvancedTextArea extends TextArea {

[flexcoders] Breakpoint jumps away

2007-09-11 Thread Steve Hueners
I've set a breakpoint at a specific line - a blue dot verifies the accuracy of my double click...then when I click debug the dot jumps all the way out of the function to a spot of zero interest to me. whatzzthat? thx --steve...

RE: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-11 Thread Alex Harui
Kyle, Sorry to break this to you, but any renderer based on Image is way too heavy to have 600 visible items. You should embed the checkbox image, then make a subclass of UIComponent that always generates an instance of the images as a child, then makes it invisible or visible based on the

[flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-11 Thread Doug Lowder
Great work, this is really nice stuff! I've worked on a couple of these myself, so I know how many details there are getting something like this implemented. I have a few questions and comments: . How is the performance with windows filled with content (say, a tree, grid, and/or chart) as opp

[flexcoders] automationName in Components

2007-09-11 Thread Michael Herron
Hi, I was wondering if it is possible to dynamically set the automationName property of a control at runtime? For example, if I have a component that contains a label: MyComponent.mxml And I want to include more than one instance of this component in a single application:

Re: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-11 Thread Kyle Neath
As an aside: I'm starting to think that optimizing the horizontal scrolling is simply not going to be possible. What do you think of futzing with the scrollbar so I can make it render on the left side instead of the right side (for vertical scrolling) ? Would that be terribly difficult? If I did

Re: [flexcoders] Getting xml in code only

2007-09-11 Thread Steve Hueners
And of course, during development the swf sits tucked inside /bin which _should mean 'xml/...' wouldn't work. But I agree and rarely argue with success. thx On 9/11/07, Tracy Spratt <[EMAIL PROTECTED]> wrote: > >Yes, this is not as simple as it might be. The concept of "… file that > uses it

[flexcoders] Custom ToolTip that accepts user interaction?

2007-09-11 Thread David Ham
I have a custom ToolTip class. When the user rolls over an item in a list, the app creates an instance of the custom toolTip. I'd like to have a LinkButton or linked htmlText in the toolTip that the user could click on, but in the default behavior, the tooltip disappears as soon as I roll off the i

RE: [flexcoders] dynamic textArea sizing

2007-09-11 Thread Alex Harui
See this thread: From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Sent: Tuesday, September 11, 2007 10:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] dynamic textArea sizing Is there a way for the textArea to size its

[flexcoders] Re: Filtering XML best practices

2007-09-11 Thread donvoltz
Thanks for the reply. I tried what you suggested and it works great. This is a great user group, thanks for all of the help Don

[flexcoders] Re: Help with event.stopImmediatePropagation();

2007-09-11 Thread ben.clinkinbeard
The addEventListener() method has a priority parameter (the fourth one), which specifies the order in which your listener functions will be called. The parameter defaults to 0, and when there are multiple listeners with the same priority they are called in the order in which they were added. event

[flexcoders] Issues scrolling a scaled image. Can it be fixed?

2007-09-11 Thread carl_steinhilber
I have a fairly simple Flex 2 app that uses a canvas container to scroll the display of a child image element. Consider the following mxml, with three images: 300x100px, 300x200px, and 500x600px. The canvas has: - both scroll policies set to auto (thought eventually, horz will be set to off - fix

RE: [flexcoders] dynamic textArea sizing

2007-09-11 Thread Tracy Spratt
There is a curent thread on this subject. Also, I extended the Text component to set its height on creationComplete. It is not dynamic, won't adjust to programmatic changes, but that might be doable, maybe by overriding set text(). Something similar might work for TextArea Tracy http://www.

[flexcoders] 2038 error on download

2007-09-11 Thread Justin Huff
We're getting 2038 errors on a small percentage of our *downloads* using FileReference. Some users seem to run into problems nearly 100% of the time, others just occasionally. We can't find any commonality in User-Agents. In all the cases I can find, the HTTP connection succeeds perfectly as view

[flexcoders] Help with event.stopImmediatePropagation();

2007-09-11 Thread Sheriff
so i am having a problem understand what event.stopImmediatePropagation();, so i was wondering if there is a way that i could use the trace function to tell me what is happening. Reason is if i dont include the event.stopImmediatePropagation(); then i get a runtime error about how the Display o

[flexcoders] dynamic textArea sizing

2007-09-11 Thread Mark
Is there a way for the textArea to size its Height to fit the text, as apposed to setting a height in pixels? I don't want the scroll bars and it's no good for printing. Any examples out there? Thanks, Mark

Re: [flexcoders] How to make TextArea resize to fit content

2007-09-11 Thread Guillermo Villasana
Using the Textfield made the trick I also set to off the scroll policies so they wouldn't show Thanks Terius Alex Harui wrote: > > measureText doesn’t know how to wordwrap. > > I would try: set the .text on the textField, set the textField’s width > to explicitWidth-10, and return the textHeight

RE: [flexcoders] DateTimeAxis without the weekends

2007-09-11 Thread Sunil Bannur
Have you tried using the new DateTimeAxis in Flex 3, this provides disabledDays and disabledRanges properties, where in you can provide what days of a week could be disabled or what ranges of dates needs to be disabled respectively. You can find more at http://labs.adobe.com/wiki/index.php/

Re: [flexcoders] DataGrid: Horizontal Scrolling very slow

2007-09-11 Thread Kyle Neath
They're display only. Here's my renderer: http://warpspire.com/misc/WAGridBooleanRenderer.as I also tried using an embedded image -- seemed like the performance was pretty similar between the two methods. Thanks! Kyle

[flexcoders] Re: goto flex command?

2007-09-11 Thread djdyland
Thanks for your help! I think the problem was I was trying to reference the label in the repeater and not the Box holding it. The label does not seem to have and x y value set when its in the repeater. --- In flexcoders@yahoogroups.com, Scott - FastLane <[EMAIL PROTECTED]> wrote: > > Dylan - >

Re: [flexcoders] Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-11 Thread Peter Witham
Hi, This looks very cool. Nice work. I'm just getting into Flex after many years of Flash and have to say I'm impressed with the stuff I'm seeing so far. Regards, Peter Witham On 9/11/07, Tracy Spratt <[EMAIL PROTECTED]> wrote: > >Very nice. I gotta find a way to use that, it would make m

RE: [flexcoders] Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-11 Thread Adolfo Ruiz
Its nice the vista effect congratulations Tracy Spratt <[EMAIL PROTECTED]> escribió: Very nice. I gotta find a way to use that, it would make me look really good! Tracy - From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTE

RE: [flexcoders] Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-11 Thread Tracy Spratt
Very nice. I gotta find a way to use that, it would make me look really good! Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Tuesday, September 11, 2007 12:07 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Flash Player Instance Unique ID

2007-09-11 Thread Mark Ingram
Unfortunately I don't have that luxury as I need to support multiple versions of my application and multiple mini-applications within each of mine. I think I've got a way around it though, when I load the SWFs into my application I will pass some flash vars in which tell it the name of the current

RE: [flexcoders] Filtering XML best practices

2007-09-11 Thread Tracy Spratt
I don't know any shortcut, and I looked before I implemented my own node sort. I'll find and post that function if you would like. It is specific to my use, and not a general sort and I don't remember how hard I worked on efficiency since I only had 3-5 nodes to sort. Tracy __

[flexcoders] Re: Formatting incoming numerical data

2007-09-11 Thread candysmate
--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Tuesday 11 Sep 2007, [EMAIL PROTECTED] wrote: > > Anyway, I thought I'd try using a number formatter to help things. > > A number formatter with an id of 'newNumber' has been created, and > > I've used dataChange="ou

[flexcoders] Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-11 Thread ben.clinkinbeard
Hello all, just wanted to make you aware of a project that Brian Holmes, Brendan Meutzner and myself just launched. flexmdi is a framework for creating MDI interfaces in Flex that is open source, extensible and fairly comprehensive in its capabilities. I have posted the official announcement with s

Re: [flexcoders] Filtering XML best practices

2007-09-11 Thread Ben Marchbanks
Related to filtering - it would be nice if one could sort XML using something like var newXMLList = myXMLList.(myField.sort()) Otherwise is there any shortcut method for sorting XML on client-side ?? Ben Marchbanks ::: alQemy ::: transforming information into intelligence http://www.alQemy.com

Re: [flexcoders] Flash Player Instance Unique ID

2007-09-11 Thread Ralf Bokelberg
In the past i was using a single LocalConnection, which worked like a registry and has a well known name. Every new client asks this registry for a id, which then can be used to create their own LocalConnection. Cheers, Ralf. On 9/11/07, Mark Ingram <[EMAIL PROTECTED]> wrote: > >Hi, is there

RE: [flexcoders] Filtering XML best practices

2007-09-11 Thread Tracy Spratt
I would create a [Bindable] instance variable typed as XMLListCollection and bind the dg.dataProvider to that. Then, in the button handlers, set the bound variable: var xlFilteredData:XMLList = userXML.(category=='guest'); _xlcData = new XMLListCollection(xlFilteredData); Tracy __

  1   2   >