[flexcoders] Setting unique ID with repeater and custom component

2008-06-27 Thread sdl1326
I am using the Tile Component along with a repeater and then a custom component (image control). Is it possible to give the custom component a unique id/name? I have tried to use a variable associated with the current repeater item ({repeater.currentItem.name}), however, it does not seem that this

[flexcoders] FlexUnit error while using stage

2008-06-27 Thread Vinoth Babu
Hi, FlexUnit is showing error in my test class for stage.showDefaultContextMenu = false; Please let me know, if you experienced this kind of error Thanks in advance, Vinoth

RE: [flexcoders] AS3 interface question

2008-06-27 Thread Rick Winscot
Can't sleep again. blogged a solution to implementing covariant return types. http://www.quilix.com/node/17 Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Bokelberg Sent: Thursday, June 26, 2008 9:22 AM To: flexcoders@yahoogroups.com

[flexcoders] Report Formatting

2008-06-27 Thread Dan Pride
Hi I want to print out a report. The data goes beyond the scope of a datagrid. I suppose I could use php but is there a way to do a long multi page report in Flex? Dan

Re: [flexcoders] Report Formatting

2008-06-27 Thread Richard Rodseth
I haven't used it, but take a look at AlivePDF. On Fri, Jun 27, 2008 at 12:32 AM, Dan Pride [EMAIL PROTECTED] wrote: Hi I want to print out a report. The data goes beyond the scope of a datagrid. I suppose I could use php but is there a way to do a long multi page report in Flex? Dan

RE: [flexcoders] Report Formatting

2008-06-27 Thread Rick Winscot
Oh! Oh! http://www.alivepdf.org/ Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Pride Sent: Friday, June 27, 2008 3:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Report Formatting Hi I want to print out a report. The data

Re: [flexcoders] Re: how to make coldfusion working with LCDS?

2008-06-27 Thread Tom Chiverton
On Friday 27 Jun 2008, markflex2007 wrote: I did the selection but I do not know how to make it work You don't do anything else. That's it. LCDS standalone will not run CFML - that's not what it does. -- Tom Chiverton This email is sent

Re: [flexcoders] Proper syntax for sending an array of value objects from ColdFusion to Flex

2008-06-27 Thread Tom Chiverton
On Thursday 26 Jun 2008, holmgren.eric wrote: When I try to cast the result of the remote object to an ArrayCollection, I get the following: TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] to mx.collections.ArrayCollection. The response in Service Capture looks

[flexcoders] Regarding Alert Box

2008-06-27 Thread Tandon, Rishi
Hi, How to show a Alert box, when there is no data in result event. Thanks, Rishi - Original Message From: markflex2007 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, June 26, 2008 8:47:04 PM Subject: [flexcoders] how to make coldfusion working with LCDS? Hi I

[flexcoders] Charting - setting yField property for a PlotSeries when dataProvider is XML

2008-06-27 Thread wreedijk
I am trying to create a PlotChart with series (y is constant) from an XML object that is defined as follows: series yVal='Weight' dataPoint date='12/01/2004'/ dataPoint date='12/25/2004'/ dataPoint date='1/1/2005'/ dataPoint date='1/22/2005'/ /series I want the xField to be derived from

[flexcoders] Priting to Zebra Label printer?

2008-06-27 Thread edward.syrett
Is there any proper, crossplatform way of printing to LPT1 directly from an AIR App? We need to send ZPL directly to a Zebra Label printer from a local AIR app. ZPL is a simple text-based language specifically for the Zebra range of printers. We cannot use the method of printing offered by AIR

[flexcoders] #2031: Socket Error

2008-06-27 Thread edward.syrett
I'm trying to send a simple string to a Printer Server on our network. The text is a language called ZPL which is going to our little print server box that has a Zebra Label printer on its parallel port. Here's my test app: ?xml version=1.0 encoding=utf-8? mx:WindowedApplication

[flexcoders] Re: How to Position a Popup relative to the control that invoked the popup?

2008-06-27 Thread pbrendanc
Thx a bunch - this looks like what I need - however for some reason I'm seeing -ve numbers for my x + y coordinates and my popup is partway off my form/window - any further suggestions. Since my grid is dynamically created are there any other issues/gotcha's I need to consider here? TIA --- In

[flexcoders] currentstate in custom component

2008-06-27 Thread Ingo Stoecker
hello, I put some custom components in view states. The components have functions to change the currentstate to base view. But it doesnt work. Hhow can I switch views (from the main.mxml) in these functions? greets, Kobe __

[flexcoders] Re: How to Position a Popup relative to the control that invoked the popup?

2008-06-27 Thread pbrendanc
No that is not part of the question - I have all the components working and the popup opens and closes correctly - what I'm trying to do is (re)position the popup relative to the location of the grid button that caused it to open - this should be simple but I can't find an example how to do

[flexcoders] Olapdatagrid : Only rows or columns

2008-06-27 Thread Vickus van Zyl
Hi Guys / Girls Do you know if it is at all possible to display a Olapdatagrid with only rows or only columns? Many Thanks

[flexcoders] Datagrid Weirdness - Lose arrow key functionality

2008-06-27 Thread Barry
Hi, Can anyone help me out here? I have a datagrid which when using the up and down arrow keys changed the selected index of the grid. All normal there. However, when I add an itemRenderer to one of the dataGrid Columns, I lose that functionality. mx:DataGrid x=0 y=40 width=100%

Re: [flexcoders] Keyboard macros or bindings for Eclipse?

2008-06-27 Thread Tom Chiverton
On Wednesday 25 Jun 2008, crazyluck55 wrote: Any help? Check out the Snippits view (and it's hot keys). -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered

RE: [flexcoders] Re: How to Position a Popup relative to the control that invoked the popup?

2008-06-27 Thread Dimitrios Gianninas
maybe its related to what you are specifying as the parent of the PopUp? Make sure it is the same parent that the button is contained within. Dimitrios Gianninas RIA Developer and Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com

RE: [flexcoders] Charting - setting yField property for a PlotSeries when dataProvider is XML

2008-06-27 Thread Battershall, Jeff
I'm not sure how you're going to stipulate a yField that doesn't exist in the dataprovider. If you have control over the XML format, add the additional attribute to each datapoint item. If you don't, then you'll need to take what you're given and add the yVal attribute to each item. Jeff

Re: [flexcoders] Regarding Alert Box

2008-06-27 Thread Tom Chiverton
On Friday 27 Jun 2008, Tandon, Rishi wrote: How to show a Alert box, when there is no data in result event. Err... ? if (!event.hasOwnProperty('data')){ Alert.show(this is nothing here); } -- Tom Chiverton This email is sent for and

[flexcoders] Re: Setting unique ID with repeater and custom component

2008-06-27 Thread Amy
--- In flexcoders@yahoogroups.com, sdl1326 [EMAIL PROTECTED] wrote: I am using the Tile Component along with a repeater and then a custom component (image control). Is it possible to give the custom component a unique id/name? I have tried to use a variable associated with the current

Re: [flexcoders] RadioButton change event not firing in Flex 3 when button in group is deselected

2008-06-27 Thread Jonathan Branam
You should use svn diff. I usually do it from within Eclipse. It has a command called Create a Patch or something. But I think just: svn diff patch.txt will work. On Fri, Jun 27, 2008 at 1:22 AM, Josh McDonald [EMAIL PROTECTED] wrote: The problem's in RadioButtonGroup, I've posted the

Re: [flexcoders] Olapdatagrid : Only rows or columns

2008-06-27 Thread Tom Chiverton
On Friday 27 Jun 2008, Vickus van Zyl wrote: Do you know if it is at all possible to display a Olapdatagrid with only rows or only columns? I'm not sure what you mean, can you provide an example and/or picture ? -- Tom Chiverton This

[flexcoders] Re: Setting unique ID with repeater and custom component

2008-06-27 Thread sdl1326
Thanks. I believe that's exactly what I need. I will also check out the 'help' section for the repeater. Thanks again. --- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, sdl1326 azsl1326-email@ wrote: I am using the Tile Component along with

Re: [flexcoders] RadioButton change event not firing in Flex 3 when button in group is deselected

2008-06-27 Thread Josh McDonald
Not using eclipse' SVN, I hate it :) I went with regular old diff. I can always re-submit it again some time, but I'm not recompiling the whole source since that'd take weeks (exaggerating only a little), Flex's compiler ain't quick. I'm just monkey-patching changes into my test-project source

[flexcoders] Auto include of compile date within SWF

2008-06-27 Thread bbloggs96
I want the ability of being able to display within a flex app the date of compilation of the swf file from the Flex code. Is this achievable? I remember from using VB 6 many years ago that you could set your own version number and have it increment every time the VB was compiled to an exe.

Re: [flexcoders] Auto include of compile date within SWF

2008-06-27 Thread Tom Chiverton
On Friday 27 Jun 2008, bbloggs96 wrote: I remember from using VB 6 many years ago that you could set your own version number and have it increment every time the VB was compiled to an exe. Ideally I want this but I think it is impossible, so I will make do with date / time if possible. You

[flexcoders] Which event is dispatched when the view is shown by a stage change?

2008-06-27 Thread João
Hello, I have a: - Container with two states ( and editing) - A view (LocaleEditor.mxml) that is shown when the container changes to the state editing: mx:states mx:State name=editing mx:RemoveChild target={listaDeLocales}/

[flexcoders] flex and automation

2008-06-27 Thread netdeep
There are no flex user groups in my area and I've been trying for a long time to find a solution to this problem with no success. I need to generate a series of charts every few minutes/hours/days on an automated basis. I pull the data for the charts from the database and draw the chart,

Re: [flexcoders] DateTimeAxis hours AND date

2008-06-27 Thread Tom Chiverton
On Thursday 26 Jun 2008, Richard Rodseth wrote: Has anyone figured out a simple way to get a DateTimeAxis to display dates and hours when the number of hours shown spans more than one day? Sounds like a job for a label function... -- Tom Chiverton

[flexcoders] Populating column chart with PHP MySQL

2008-06-27 Thread ghus32
Hello, I have done this with many datagrids and had success but cant seem to get it to work with the column charts. I have several different queries in php where I get the data from but I dont know the format. an example of the php code below I would like to have $num_signage and $num_website

[flexcoders] Browser Container

2008-06-27 Thread emaxima
Hi, Is there a good browser framework so I can embed my flex application (deployed offline on desktop) not exactly by launching IE, but with customization, such as how it handles exit. I want to warn user to save their work before exiting, but the onbeforeunload() in javascript is truly an

[flexcoders] One custom component referring to another

2008-06-27 Thread Merrill, Jason
I thought this would be simple - having one custom display object modify another through a reference: mx:Application c:MyComponentA / c:MyComponentB / /mx:Application I want to have MyComponentA refer to objects/methods inside of MyComponentB. I tried passing a reference in:

[flexcoders] Re: One custom component referring to another

2008-06-27 Thread Michael Labriola
Jason, In an ideal world, component A would throw events up. Those events would be caught in the application (in this case) and call corresponding methods in component B. You really, really don't want to start coupling these components together by calling the internals of one from the other

Re: [flexcoders] Browser Container

2008-06-27 Thread Tom Chiverton
On Friday 27 Jun 2008, emaxima wrote: Is there a good browser framework so I can embed my flex application (deployed offline on desktop) not exactly by launching IE, but with customization, such as how it handles exit. I want to warn user to Umm, AIR ? -- Tom Chiverton

Re: [flexcoders] No of Lines of Code

2008-06-27 Thread Christian Giordano
Maybe this can help you, or at least its source. https://blogs.conchango.com/filthyria/archive/2008/05/19/code-stats-as-air-app.aspx Cheers, chr ___ { Christian Giordano's site and blog @ http://nuthinking.com } On Wed, Jun 25,

RE: [flexcoders] Re: One custom component referring to another

2008-06-27 Thread Alex Harui
My vote would be for changes in A to affect a central model. B would watch the model change and reflect those changes. Everything B needs from A would be reflected in the model. That's pretty much what Mike said, except I'm not a fan of throwing events up if that means bubbling. A should

[flexcoders] Re: Charting - setting yField property for a PlotSeries when dataProvider is XML

2008-06-27 Thread wreedijk
Thanks Jeff for responding. Yes, the yField does not exist in the dataProvider itself but it does in the parent of the dataProvider. Is there no way to reference this? or can the dataProvider be specified in a different way? Is there a way to set the value to a constant in the mx:PlotSeries tag?

RE: [flexcoders] RadioButton change event not firing in Flex 3 when button in group is deselected

2008-06-27 Thread Alex Harui
Yeah, we want SVN patches. They're supposedly easier to manage. I assume there isn't much to this fix so we can probably work from the diff. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Friday, June 27, 2008

Re: [flexcoders] over pixelated scaled images

2008-06-27 Thread Tom Chiverton
On Thursday 26 Jun 2008, David Pariente wrote: Hello, I'm showing some pics in a gallery, and they are showing smaller than real size. You mean you are explicitly setting the width/height to a different value to what the file really has for some reason ? The problem is that they appear

RE: [flexcoders] Datagrid Weirdness - Lose arrow key functionality

2008-06-27 Thread Alex Harui
If you renderer steals focus, DG arrows will stop working. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Barry Sent: Friday, June 27, 2008 5:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid Weirdness - Lose arrow

[flexcoders] Re: Setting unique ID with repeater and custom component

2008-06-27 Thread valdhor
I don't know about most people but I never need to know the id of a repeated item. All of the items I have in a repeater are instances of a specific object. This object has class members and functions and can do everything it needs to do on its own. If I need it to (Which is infrequent) each

[flexcoders] Re: over pixelated scaled images

2008-06-27 Thread kenny14390
I had this problem a couple days ago. See this site: http://www.actionsnip.com/snippets/vixiom/how-to-get-smooth-image-scaling-in-flex --- In flexcoders@yahoogroups.com, David Pariente [EMAIL PROTECTED] wrote: Hello, I'm showing some pics in a gallery, and they are showing smaller than real

[flexcoders] Acrobat 9 and Flex

2008-06-27 Thread Anatole Tartakovsky
I am considering the new Acrobat 9 embedding capabilities for Flex applications. Are there any planned 1. integration libraries 2. changes to PrintJob specific to Acrobat hosting 3. serialization/deserialization package that would that would be used as a replacement to Capture classes for client

[flexcoders] Re: Report Formatting

2008-06-27 Thread bredwards358
There is also FlexReport which also looks just as promising http://www.kemelyon.com/bts/ --- In flexcoders@yahoogroups.com, Rick Winscot [EMAIL PROTECTED] wrote: Oh! Oh! http://www.alivepdf.org/ Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: currentstate in custom component

2008-06-27 Thread Tim Hoff
Hi Kobe, If you're asking how to change the current state of main.mxml from inside a custom component, here are a few ways: * The simplest way, is to use parentDocument.currentState = myBaseStateName. For more deeply nested components, you can also chain these like:

[flexcoders] Re: One custom component referring to another

2008-06-27 Thread Jason
Thanks Alex and Mike, I was kinda starting to suspect I needed to do it that way, even as I was writing the e-mail. Makes perfect sense, I'll do that. Thanks! Jason Merrill Bank of America  Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash

[flexcoders] Re: Which event is dispatched when the view is shown by a stage change?

2008-06-27 Thread Tim Hoff
Hi João, This is kind of a hack, but you could try: mx:State name=editing onEnter=localeEditor.myTextBox.setFocus() If you used this, you would want to execute the setFocus code on creationComplete of the editor; for the first time that the editor is shown. Instead of useing states for

Re: [flexcoders] Re: internationalization @ switching runtime

2008-06-27 Thread Richard Rodseth
This is working out nicely for me (the eval trick, and the fact that ResourceManager.getString can take arguments). The one case where I can't push a direct ResourceManager call all the way into a binding expression is when labelFunctions or dataTipFunctions are required. In that case, assuming I

RE: [flexcoders] Server to client calls

2008-06-27 Thread Seth Hodgson
Hi Luciano, You have two options for controlling/filtering which messages are pushed to subscribed Consumers. 1. Assign a selector expression to your Consumer before subscribing; this acts as a server-side filter that is evaluated against headers of messages sent to the destination. It's

[flexcoders] Getting parent information from AdvancedDataGrid

2008-06-27 Thread Amy
Hi, all; I have been using AdvancedDataGrid to display information in a HierarchicalCollection. The parent (container) items contain information on how the child items should be viewed. So the same child might be in the tree three different types under different parents. I left the view

RE: [flexcoders] #2031: Socket Error

2008-06-27 Thread Seth Hodgson
When you hit a 2031 error, to troubleshoot further I'd recommend running Wireshark (formerly, Ethereal) to capture the TCP packets sent/received when you run your test. Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of edward.syrett Sent: Friday, June 27, 2008 1:47

RE: [flexcoders] flex and automation

2008-06-27 Thread Seth Hodgson
If you're rendering the charts in the browser player and then pushing a bitmap back to the server, that needs to run in a browser (or in AIR, also not headless). Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Friday, June 27, 2008 7:44 AM To:

RE: [flexcoders] Re: Managed Collections with null objects

2008-06-27 Thread Seth Hodgson
This sounds like an issue that's been fixed in the 2.5.1 hotfixes and in 2.6. If either of you have support contracts, please request the latest 2.5.1 hotfix. You may also want to give 2.6 Beta a try. Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of richcianci

Re: [flexcoders] Repeater not repeating

2008-06-27 Thread Joseph Balderson
You could always extend ArrayCollection so that the extended-AC notifies its bound objects when its Array source changes. It depends whether you want the code change made to the 'source' of the data (in which case you'd update the AC, not the Array, as Tom mentioned), or the 'destination'

Re: [flexcoders] Which event is dispatched when the view is shown by a stage change?

2008-06-27 Thread Jonathan Branam
Hey João, Posted online with SWF and View Source: http://jonathanbranam.net/node/56 http://jonathanbranam.net/solutions/detect-state-addchild There are two solutions that I've found to work in this case. This first is to add a new public method to the component called activate() and then call it

Re: [flexcoders] Browser Container

2008-06-27 Thread Mike Chang
what if AIR is really not an option? I HAVE to deploy it through a browser because of an existing framework. On Fri, Jun 27, 2008 at 8:22 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 27 Jun 2008, emaxima wrote: Is there a good browser framework so I can embed my flex application

[flexcoders] Re: Which event is dispatched when the view is shown by a stage change?

2008-06-27 Thread Tim Hoff
Yep, my bad. As Jonathan points out, this should be enterState instead of onEnter (grr). mx:State name=editing enterState=localeEditor.myTextBox.setFocus() -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi João, This is kind of a hack, but you could try:

Re: [flexcoders] Repeater not repeating

2008-06-27 Thread Jonathan Branam
How would you do that, exactly? How could your extended ArrayCollection know the Array had changed? It's just not possible. On Fri, Jun 27, 2008 at 1:05 PM, Joseph Balderson [EMAIL PROTECTED] wrote: You could always extend ArrayCollection so that the extended-AC notifies its bound objects

Re: [flexcoders] RadioButton change event not firing in Flex 3 when button in group is deselected

2008-06-27 Thread Jonathan Branam
I found the command line tools to compile the Flex SDK to be very speedy for the amount of code it's working with. I just use eclipse for editing and SVN. It really doesn't take much time at all. Its FB3 that's apparently so slow. Either that or the framework code is easier to compile than my app,

[flexcoders] Uploading binary file and RemoteObject call

2008-06-27 Thread lytvynyuk
I have situation that in addition to my RemoteObject call, which invokes medthod on my server with object containing some fields, I need to send content of some file as well. I thought I can some how load it to the client the make it like one of the fields of RO. But I don't think I can read local

RE: [flexcoders] AIR/LCDS/EJB Authentication lost when a different RTMP worker thread is used

2008-06-27 Thread Seth Hodgson
For NIO-based connections to the server, authentication is handled in a container specific fashion (in your case using the TomcatLoginCommand) and the resulting Principal returned by the container is stored in either the FlexSession or FlexClient instance on the server corresponding to the

[flexcoders] How to enable the enter key for all buttons onFocus

2008-06-27 Thread dnk
Good day all, How would one go about enabling the enter key for all buttons in your flex app? I know you an do the defaultKey for a form, or add keyDown to your button (but that reacts to all keys then - not good). As it stands now, the spacebar will react to every button onFocus.. .I was

[flexcoders] Using Datagrid Data

2008-06-27 Thread ghus32
Hello everyone, Is it possible to send data from a poulated datagrid?? For example, I want to send row1 and make it a var.. is this possible? Thanks

RE: [flexcoders] Re: One custom component referring to another

2008-06-27 Thread Mike Nimer
Be careful here. There is a possible performance problem with a application level central model. If you push all of your data through a central model, then whenever you change ANY property in the model a propertyChangeEvent is thrown from the model class. So every UI element in your application

[flexcoders] Re: flex and automation

2008-06-27 Thread netdeep
Seth, thanks for the reply. What I'm wondering is how to trick the server into running the browser in a headless environment. Does anyone know how to get flex to run this way, in the background? Thanks, DJ --- In flexcoders@yahoogroups.com, Seth Hodgson [EMAIL PROTECTED] wrote: If

[flexcoders] Re: One custom component referring to another

2008-06-27 Thread Amy
--- In flexcoders@yahoogroups.com, Jason [EMAIL PROTECTED] wrote: Thanks Alex and Mike, I was kinda starting to suspect I needed to do it that way, even as I was writing the e-mail. Makes perfect sense, I'll do that. Thanks! It's not best practice, but you absolutely can pass references

RE: [flexcoders] Re: One custom component referring to another

2008-06-27 Thread Alex Harui
I think that's if you actually use mx:Model I generally write my own model singletons and customize the change events. IMHO, it also makes it easier to reflect the model in the URL in BrowserMgr. But the two Mikes actually do this for money and I don't so maybe there's stuff they know that

[flexcoders] Re: Repeater not repeating

2008-06-27 Thread Amy
--- In flexcoders@yahoogroups.com, Jonathan Branam [EMAIL PROTECTED] wrote: How would you do that, exactly? How could your extended ArrayCollection know the Array had changed? It's just not possible. Extend Array as well...?

Re: [flexcoders] Re: flex and automation

2008-06-27 Thread Chris Hunter
If there is, I haven't found it. We've got a similar requirement for being able to capture charting output on a scheduled basis and have determined that we'll more than likely have to drop the requirement unless we can get a browser and supporting libraries installed on the server. --chris On

Re: [flexcoders] Re: flex and automation

2008-06-27 Thread Florian Sprenger
DJ, Peter Martin has description how to run gflashplayer in a framebuffer here: http://weblogs.macromedia.com/pmartin/archives/2007/01/ continous_integ.html HTH florian Am 27.06.2008 um 20:20 schrieb netdeep: Seth, thanks for the reply. What I'm wondering is how to trick the server

[flexcoders] Re: How to Position a Popup relative to the control that invoked the popup?

2008-06-27 Thread valdhor
This should give you an idea: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=onCreationComplete(event) mx:Script ![CDATA[ import mx.controls.Button; import

Re: [flexcoders] Re: Repeater not repeating

2008-06-27 Thread Jonathan Branam
And what would be the point of that? You can use an ArrayCollection as a substitute for Array in just about any situation and it will take care of the problem. If he could swap the original Array for a different class, just swap it for ArrayCollection and be done. That's what I would recommend

Re: [flexcoders] Using Datagrid Data

2008-06-27 Thread Fidel Viegas
On Fri, Jun 27, 2008 at 6:35 PM, ghus32 [EMAIL PROTECTED] wrote: Hello everyone, Is it possible to send data from a poulated datagrid?? For example, I want to send row1 and make it a var.. is this possible? Thanks What exactly are you trying to achieve? Send data to a webservice, remote

[flexcoders] Re: Best Practice Data Binding

2008-06-27 Thread securenetfreedom
Any thoughts? In an DataModel class what is the best way to bind data. 1) Make the Setter Bindable, or 2) Make the Getter Bindable and dispatch an event on the Setter? What are the advantages and disadvantages of each? // Binding #1 [Bindable] public function set foo(val:String):void{

[flexcoders] Re: Using Datagrid Data

2008-06-27 Thread ghus32
Yah I am I want to send each row as a var to a webservice. Thanks --- In flexcoders@yahoogroups.com, Fidel Viegas [EMAIL PROTECTED] wrote: On Fri, Jun 27, 2008 at 6:35 PM, ghus32 [EMAIL PROTECTED] wrote: Hello everyone, Is it possible to send data from a poulated datagrid?? For

[flexcoders] swfLoader not working when in an mxml component?

2008-06-27 Thread grimmwerks
I've got a swfLoader and code that doesn't fire whenever in a subcomponent -- a button calls the swfLoader to load -- and although it seems to fire that it's done, there's nothing displayed. I take this same code and put it on the application level, and it fires just fine. Am I missing

[flexcoders] Re: Weird Validate Binding problem

2008-06-27 Thread valdhor
This may or may not help. It is a combination of the examples in the help for DateValidator and Binding: ?xml version=1.0 encoding=utf-8? !-- Simple example to demonstrate the DateValidator. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script import

[flexcoders] Re: flex and automation

2008-06-27 Thread valdhor
Am I missing something. Can't you just set the headless server option? From the Manual: A headless server is one that is running UNIX or Linux and often does not have a monitor, keyboard, mouse, or even a graphics card. Headless servers are most commonly encountered in ISPs and ISVs, where

RE: [flexcoders] swfLoader not working when in an mxml component?

2008-06-27 Thread Alex Harui
One possibilty is the layout rules when not in the app care about the SWFLoader's measurements. If they do, the SWFLoader will measure to 0,0 and so will not have any size to it. That's because its content isn't loaded yet. If resizeToContent is false on its parent container, the SWFLoader may

RE: [flexcoders] AS3 interface question

2008-06-27 Thread Gordon Smith
As far as I know, Adobe plans to follow the emerging Ecmascript 4 standard. We're unlikely to support covariant return types in ActionScript unless ES4 has them. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] Re: internationalization @ switching runtime

2008-06-27 Thread Gordon Smith
Try calling invalidateList() on the list-based component that you want to update with the new locale. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Friday, June 27, 2008 9:48

Re: [flexcoders] flex and automation

2008-06-27 Thread Pascal Robert
It might work with a command-line browser (curl, wget)? There are no flex user groups in my area and I've been trying for a long time to find a solution to this problem with no success. I need to generate a series of charts every few minutes/hours/days on an automated basis. I pull the

[flexcoders] Re: One custom component referring to another

2008-06-27 Thread Merrill, Jason
Well, we're using Cairngorm on this project, so I think I'm going to use Cairngorm events and commands and centralize this, instead of trying to establish any tight coupling between components. It's a control bar with checkboxes effecting the view of another visual componet in another part of

Re: [flexcoders] Re: internationalization @ switching runtime

2008-06-27 Thread Richard Rodseth
Actually, they're mostly charts. And this is somewhat theoretical, since I'm just trying to be runtime-switch-ready - it's not a requirement yet. Thanks. On Fri, Jun 27, 2008 at 12:40 PM, Gordon Smith [EMAIL PROTECTED] wrote: Try calling invalidateList() on the list-based component that you want

Re: [flexcoders] Re: Best Practice Data Binding

2008-06-27 Thread Richard Rodseth
I do 2) all the time. Didn't know 1) was even an option. On Fri, Jun 27, 2008 at 12:08 PM, securenetfreedom [EMAIL PROTECTED] wrote: Any thoughts? In an DataModel class what is the best way to bind data. 1) Make the Setter Bindable, or 2) Make the Getter Bindable and dispatch an event on

Re: [flexcoders] Re: Best Practice Data Binding

2008-06-27 Thread Doug McCune
If you define a getter and a setter you can add the [Bindable] metadata to either the getter or setter, it does the same thing either way. The only time you have to use a custom event to trigger the binding is when you have read-only properties (a getter but no setter). Doug On Fri, Jun 27, 2008

[flexcoders] Re: Setting unique ID with repeater and custom component

2008-06-27 Thread sdl1326
Adobe must have thought at least more than one person would need the functionality otherwise I don't think they would have thoroughly documented it in the help section. --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: I don't know about most people but I never need to know

RE: [flexcoders] Re: internationalization @ switching runtime

2008-06-27 Thread Gordon Smith
I'm not very familiar with the chart classes, but setting the labelFunction to null and then back again will probably make them display the new locale. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] Re: Best Practice Data Binding

2008-06-27 Thread Alex Harui
Last time I looked, #1 wrapped your getter setters in another pair of function which is somewhat wasteful. That's why you'll never see pattern #1 in the framework code. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug McCune Sent:

[flexcoders] Re: Getting parent information from AdvancedDataGrid

2008-06-27 Thread Amy
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: Hi, all; I have been using AdvancedDataGrid to display information in a HierarchicalCollection. The parent (container) items contain information on how the child items should be viewed. So the same child might be in the

RE: [flexcoders] Re: Using Datagrid Data

2008-06-27 Thread Tracy Spratt
We will need much more detail on what you want to do. Use your words. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ghus32 Sent: Friday, June 27, 2008 3:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

RE: [flexcoders] Acrobat 9 and Flex

2008-06-27 Thread matt wicks
No, there are as I understand it two modes of integration (i) using a flex / flash widget which can communicate with the basic Acrobat Javascript API via External Interface (ii)using the new ACROBAT api which provides a series of interfaces specifically for building PDF Portfolios neither

[flexcoders] Create border for inner subgrids within a grid - How?

2008-06-27 Thread pbrendanc
Another noob question - I've created a dynamic (n*n) grid and need to provide some visual delineation of the inner grids - e.g. a 4*4 grid contains 4 inner 2*2 subgrids. How can I create a border around each of these subgrids? (This will also need to be done dynamically). TIA, Patrick FWIW -

RE: [flexcoders] Re: Setting unique ID with repeater and custom component

2008-06-27 Thread Tracy Spratt
Repeater is much more flexible than many people think. It is often thought of as a way to make a list, but is really more a dataProvider driven wrapper for addChild and removeChild, with a few other cool things built in. I can imagine several use cases for needing to reference a repeated item.

RE: [flexcoders] Re: How to Position a Popup relative to the control that invoked the popup?

2008-06-27 Thread Tracy Spratt
You may need to use the local / global conversion functions, like localtoGlobal() Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pbrendanc Sent: Friday, June 27, 2008 5:57 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Getting parent information from AdvancedDataGrid

2008-06-27 Thread Tracy Spratt
Amy, I have a request. Please consider placing your response above the history? You have good stuff to say, but always having to scroll through the history is aggravating, and provides no value. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: Getting parent information from AdvancedDataGrid

2008-06-27 Thread Amy
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Amy, I have a request. Please consider placing your response above the history? You have good stuff to say, but always having to scroll through the history is aggravating, and provides no value. Funny, I find top

[flexcoders] Re: Best Practice Data Binding

2008-06-27 Thread securenetfreedom
I found this page to be helpful but not authoritative (This is where I found the use of binding the setter); http://livedocs.adobe.com/flex/3/html/help.html?content=databinding_8.ht\ ml http://livedocs.adobe.com/flex/3/html/help.html?content=databinding_8.h\ tml // Binding #1 [Bindable] public

  1   2   >