[flexcoders] Re: dynamically created access and event elements problem and

2007-04-04 Thread alex steel
can somebody help me please this is second post with question and yet nobody answers and I am sure this is pretty easy I count on people here, but if you think I should try to find better place for help please let me know Alex ... This piece of code helps me create dynamically checkboxes in one

RE: [flexcoders] Re: Reference to a class variable

2007-04-04 Thread Tracy Spratt
The AsyncToken is dynamic. You can add pretty much anything you want to it: var callToken:AsyncToken = myDataService.send(); callToken.myProperty = whateverIWantToPutInHere: private function onResult(oEvent:ResultEvent):void { var callToken:AsyncToken = oEvent.token; var

Re: [flexcoders] Re: Scriptable data binding

2007-04-04 Thread Janis Radins
I know all that. Problem with [Bindable] keyword is that i can't use it with custom number of values I receive from server side. I suppose [Bindable] is managed at compile time. 04 Apr 2007 11:09:30 -0700, craig.drabik [EMAIL PROTECTED]: Have a look at the BindingUtils in the flex docs. That

[flexcoders] Tiling a Background Image

2007-04-04 Thread Paul Whitelock
I've just started work on the UI/Graphic Design for a Flex application and I need to tile a seamless image as the application's background. I've found that while it is possible to specify an image for the application background, I see no way to tile the image. I assume that I'll need to write my

RE: [flexcoders] Re: Tree and Array

2007-04-04 Thread Tracy Spratt
I would loop over the array and build XML. The Tree likes XML. Either use the e4x methods to build the XML, or just build a string and parse it into XML using varxml:XML = XML(strXML); Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] HTTP Response

2007-04-04 Thread Tracy Spratt
Try: text={userRequest.lastResult.toXMLString()} But I advise using a result event handler function instead of binding directly to lastResult. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manolet Gmail Sent: Wednesday,

[flexcoders] Re: Binding xml to dataGrid - dynamic columns

2007-04-04 Thread kho7002
Thanks for your reply. actually, my bind function looks like: this.invalidateList(); this.invalidateProperties(); this.invalidateProperties(); this._boundData = new XMLList(data_); this.dataProvider = this._boundData..Row; It will redraw the table, but it will not generate more

RE: [flexcoders] Re: HTTP Response

2007-04-04 Thread Tracy Spratt
Always use toXMLString() with XML. toString() and trace() do not handle single nodes properly. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of iko_knyphausen Sent: Wednesday, April 04, 2007 12:49 PM To:

[flexcoders] Is Cairngorm 2.2 available yet?

2007-04-04 Thread billy_d_white
Has Cairngorm 2.2 been released yet? I saw that they beta was available over on the cairngorm-devel group a few months ago but there has been no discussion of it since and there is nothing about it on Adobe Labs. I posted on that groups but it looks like that group does not have much traffic.

[flexcoders] Re: Nested Repeater Issues

2007-04-04 Thread Geoffrey
Bump --- In flexcoders@yahoogroups.com, Geoffrey [EMAIL PROTECTED] wrote: I have a Repeater of CheckBoxes, which may or may not have a sublayer of CheckBoxes. It should look something like: [] archive 1 [] archive 2 [] dataSource 1 [] dataSource 2 []

[flexcoders] implements, include, MX and AS...

2007-04-04 Thread simonjpalmer
I have an interface definition and an AS include file which contains a concrete implementation which I include in various places around my code. For all my AS classes this is a very economical programming model which I have used to great effect. I just tried to use it for an MX control and I get

[flexcoders] Re: Module Interface Problems

2007-04-04 Thread Michael Ritchie
In my context, a module loading another module using ModuleLoader. The reference to the child of the ModuleLoader is always null. I have even set up a timer event that keeps checking back to see if the child is not null. Is there something specific about what I am trying to do that would cause

RE: [flexcoders] implements, include, MX and AS...

2007-04-04 Thread Brian Holmes
Add import pmco.interfaces.IActionOwner in your code block b.. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Wednesday, April 04, 2007 1:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] charting and predefined axis styles

2007-04-04 Thread myasandy2
I have been working through the Flex 1.5 charting tutorial (http://www.adobe.com/devnet/flex/articles/charting.html). Page 5 (Using CSS to Style Subcomponents - 2) says: Flex ships with a number of predefined axis styles; for this tutorial, use the linedNumericAxis and hangingCategoryAxis

[flexcoders] Re: Would you like to debug? No causes browser to crash.

2007-04-04 Thread ben.clinkinbeard
FWIW, I don't get any popups or anything. My browser just hangs/crashes. Ben --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: BTW, The popup dialog says; The installed Flash Player is the wrong version. Reinstall Flex Builder or a debug version of Flash

[flexcoders] Re: Tree and Array

2007-04-04 Thread nhp_ny
thanks, but i have already seen all these pages. they all talk about xml lists and collections. nothing about working with arrays. i Know that a tree can also read from an array dataprovider.. so i need to know how to add nodes, branches, elemets , parents or whatever is needed to build a tree

[flexcoders] Save to database

2007-04-04 Thread nxzone
Hi, I don't know how I can save a lot of content that can be modified or not. First, when we load all the content from database for a timeline(main object) and transfert all these table to many Objects in flex. [Bindable] TimelineModelLocator dateType presentation from to

[flexcoders] Re: implements, include, MX and AS...

2007-04-04 Thread simonjpalmer
Just tried that, doesn't appear to make any difference. --- In flexcoders@yahoogroups.com, Brian Holmes [EMAIL PROTECTED] wrote: Add import pmco.interfaces.IActionOwner in your code block b.. From: flexcoders@yahoogroups.com

[flexcoders] Re: Tree and Array

2007-04-04 Thread nhp_ny
is there a sample somewhere? can i start from and empty XML? can i add elements and child elements simply putting a parent id ? thanks --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I would loop over the array and build XML. The Tree likes XML. Either use

RE: [flexcoders] Re: implements, include, MX and AS...

2007-04-04 Thread Peter Farland
Can you avoid using include and perhaps use MXML to extend a custom AS base class that implements your interface and still extends Canvas? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Wednesday, April 04, 2007 4:23 PM

[flexcoders] Re: Save to database

2007-04-04 Thread simonjpalmer
If you are connecting to a db on the server then you have a couple of obvious choices. 1. You can use the built-in capabilities of flex data services which will manage the modifications for you and only notify your server components of changes. 2. You can use an ORM like Hibernate to do the

Re: [flexcoders] Save to database

2007-04-04 Thread Ray Horn
Modify data elements as they are changed. Use LiveCycle Data Services 2.5 to achieve collaboration model that allows many users to collaborate as they view/edit data - all clients would have to by sync'd with changes to data. For those who love PHP but don't like Java this same sort of thing

RE: [flexcoders] Re: Tree and Array

2007-04-04 Thread Tracy Spratt
You must build either XML, or an ArrayCollection of ArrayCollections. Are you asking how to construct the logic to read your array and build the dataProvider? It will depend on the exact character of the array data. For example, are you assured that a parent will be defined before any of

[flexcoders] Re: implements, include, MX and AS...

2007-04-04 Thread simonjpalmer
good spot Peter. I inserted a class in my inheritance hierarchy which does the interface specification and incorporates the concrete implementations too through include. This seems to work but it is pretty inelegant. Not that I'm complaining about that. Thanks for the reply. --- In

[flexcoders] Re: Would you like to debug? No causes browser to crash.

2007-04-04 Thread Mike Morearty
Hmm. Please try uninstalling the Flash Player (using the Control Panel), and then reinstalling it (using Flex Builder's player\debug\Install Flash Player 9 AX.exe to install the Internet Explorer ActiveX plugin, and/or player\debug\Install Flash Player 9.exe to install the Firefox plugin). -

[flexcoders] Re: How to disable the default drop shadow for a chartseries?

2007-04-04 Thread anewgene
That serves the purpose. Thanks. --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: set the seriesFilters property on the chart. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Filtering/Sorting data from Flex Data Services

2007-04-04 Thread VVV
I am using flex data services for accessing lot of records ( more than 1 records). Page size is set to 500 records. Data returned as array collection is bound to datagrid. Is it possible to sort/filter the whole data set on the client side. How does sorting/filtering work on an array

RE: [flexcoders] charting and predefined axis styles

2007-04-04 Thread Ely Greenfield
No, they're there. blockNumericAxis linedNumericAxis dashedNumericAxis blockCategoryAxis hangingCategoryAxis dashedCategoryAxis (You can look in AxisRenderer.initStyles to see where they're set up). Ely. From: flexcoders@yahoogroups.com

[flexcoders] How do put HTML in an Alert

2007-04-04 Thread Carlos Humberto
How do put HTML in an Alert? Don't work: Alert.show(bHi/b, Alert !, 3, this, handler_alert); Obs: I'm Brazilian. Excuse my terrible English! Thanks a lot ! Carlos H

[flexcoders] Re: How can I tell if I have the latest hotfix installed correctly?

2007-04-04 Thread Collin Peters
Hmmm... no responses. Does this mean it is impossible to tell what version of the Flex SDK my Flex Builder is using? On 4/3/07, Collin Peters [EMAIL PROTECTED] wrote: I just installed hotfix 1 from http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=kb401224 How can I tell if it is

[flexcoders] Re: Tree and Array

2007-04-04 Thread nhp_ny
ok... i built tree structures in many other languages, so i know how to do it. In other langauges i usually use methods to do it .. like: Tree.AddItem(Key, Item, Parent) or set Node = GetNode(parent) Node.AddChild(key, item) so, what i need.. are these methods in flex. How can i add data to a

RE: [flexcoders] Re: Tree and Array

2007-04-04 Thread Tracy Spratt
The main method you will be using is appendChild(). See the docs: http://livedocs.adobe.com/flex/201/langref/XML.html Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nhp_ny Sent: Wednesday, April 04, 2007 8:41 PM To:

RE: [flexcoders] Re: Tree and Array

2007-04-04 Thread Tracy Spratt
Oh, and to start from scratch, do: var _xml:XML = root; then: var xmlNode:XML = node; [EMAIL PROTECTED] = somevalue; _xml.appendChild(xmlNode) Shold give you: root node attr=somevalue / /root From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: Nested Repeater Issues

2007-04-04 Thread Tracy Spratt
Can you post a small runnable example? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Sent: Wednesday, April 04, 2007 3:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Nested Repeater Issues Bump ---

Re: [flexcoders]PHP and Flex questions

2007-04-04 Thread dorkie dork from dorktown
thank you On 04 Apr 2007 01:27:44 -0700, dordea cosmin [EMAIL PROTECTED] wrote: When a Flex application in a browser communicates with a php page for the first time a session is created. This is the same behavior as user receiving a PHP page in their browser. - true , but the session is

[flexcoders] What method to use? DataGrid, Rich Tooltip

2007-04-04 Thread lostinrecursion
Hi there, This is pretty simple, but I am having trouble figuring how I should do it. I have a DataGrid with a dataProvider that has an imageURL property. Here's what I want to do: When the user rolls over a row in the grid, an image pops up (sort of like a tooltip would) displaying the image.

Re: [flexcoders] How do put HTML in an Alert

2007-04-04 Thread Ray Horn
I chose to make my own Flex component based on a Canvas or some other suitable object into which I placed TextArea object that would allow me to display HTML using a suitable message. I did have to write some code to mimic the behaviors of Alert.Show() to make my pop-up modal and on top of

[flexcoders] If you don't pass anything to IModuleInfo load()...

2007-04-04 Thread footube42
If you don't pass anything (ie. null) to IModuleInfo load() does it load the module into the current domain or does it create a child domain?

RE: [flexcoders] If you don't pass anything to IModuleInfo load()...

2007-04-04 Thread Alex Harui
child From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of footube42 Sent: Wednesday, April 04, 2007 7:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] If you don't pass anything to IModuleInfo load()... If you don't pass anything

RE: [flexcoders] Re: How can I tell if I have the latest hotfix installed correctly?

2007-04-04 Thread Alex Harui
UIComponent has a static version property. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Collin Peters Sent: Wednesday, April 04, 2007 5:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How can I tell if I have the latest

RE: [flexcoders] Re: Module Interface Problems

2007-04-04 Thread Alex Harui
If you don't make an instance of the main class in your module which gets around to tickling the module's ModuleLoader, that ModuleLoader won't load its module. Did you see it get loaded and dispatch READY? This is all within a single domain right? From:

RE: [flexcoders] editable combobox

2007-04-04 Thread Alex Harui
I think that's been reported as a bug. Try setting the .text property to the correct value. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scotty Scott Sent: Wednesday, April 04, 2007 9:52 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: dynamically created access and event elements problem and

2007-04-04 Thread Alex Harui
You should keep variables referencing the checkboxes, call addEventListener to listen to the change event and set the selected property of the other checkbox From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alex steel Sent: Wednesday, April

RE: [flexcoders] Extending LinkButton - please help, no hair left!

2007-04-04 Thread Alex Harui
I would set the textfield's props in createChildren after super.createChildren. Calling measure from updateDisplayList is too late. The framework should have called it for you especially if invalidateSize got called. From: flexcoders@yahoogroups.com

RE: [flexcoders] Tiling a Background Image

2007-04-04 Thread Alex Harui
I'd make a custom border class. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Whitelock Sent: Wednesday, April 04, 2007 11:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tiling a Background Image I've just started

RE: [flexcoders] Re: question about string equality

2007-04-04 Thread Alex Harui
=== I believe it doesn't affect strings. if name == null and category = new String() then they are not == or ===, but their valueOf may be From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Wednesday, April 04, 2007

RE: [flexcoders] DataGrid, error using DateField as the item editor

2007-04-04 Thread Alex Harui
editorDataField=selectedDate From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cosma Sent: Wednesday, April 04, 2007 8:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid, error using DateField as the item editor Hello,

RE: [flexcoders] Re: datagrid image itemRenderers don't maintainAspectRatio

2007-04-04 Thread Alex Harui
You could subclass Image, override updateDisplayList and set the contentHolder's width/height afters super.updateDisplayList From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Wednesday, April 04, 2007 7:54 AM To:

RE: [flexcoders] Re: Scroll Tip on Roll Over on scroll bar of a grid

2007-04-04 Thread Alex Harui
SCB doesn't use it, but you will need to. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sanjaypmg Sent: Wednesday, April 04, 2007 3:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Scroll Tip on Roll Over on scroll bar of a

RE: [flexcoders] Re: Need to different images in datagrid column

2007-04-04 Thread Alex Harui
return o.img + .gif From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vinoth Sent: Tuesday, April 03, 2007 11:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Need to different images in datagrid column thanks for the code,

<    1   2