RE: [flexcoders] Server-Side Architecture for Flex App

2006-05-02 Thread Jason Hawryluk
Fluorine + NetConnection + .net is exactly what I'm doing right now. I was using .net web services before that. I have not got my head totally around it yet, but it seems great. The good thing in my mind is that you can easily create stub code to expose your classes as web service api, if in the

RE: [flexcoders] Beta 2 LiveDocs TOC&Search frames not working?

2006-05-02 Thread Matt Chotin
I think we may be hurt by the adobe.com migration.  I'll see if anyone is looking into it. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Tuesday, May 02, 2006 1:58 PM To: flexcoders@yahoogroups.com Subject: [

RE: [flexcoders] mx:states vs mx:viewstack when and which?

2006-05-02 Thread Matt Chotin
I think it's often a style preference.  I tend to think of a viewstack as being useful when you want to replace a whole section.  Look at view 1.  Now look at view 2.  States are better for modes of a component, now we're in expanded view, now we're in thumbnail view.  As soon as you want the sa

RE: [flexcoders] Re: Beta 2 - Error: Unknown destination 'queryManagerRO'

2006-05-02 Thread Matt Chotin
You better make sure that it's pulling in the right flex-enterprise-services.xml file that points to everything.  I believe this would be specified in flex-config.xml that FB should be pulling in. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Beh

RE: [flexcoders] Re: How does one build a ComboBox with a Data Grid as the drop down?

2006-05-02 Thread Matt Chotin
Make sure you override both the getter and the setter, I think overriding just one of them won't take hold. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Tuesday, May 02, 2006 3:40 AM To: flexcoders@yahoogroups.com Subje

Re: [flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread Manish Jethani
On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > --- In flexcoders@yahoogroups.com, "Manish Jethani" > <[EMAIL PROTECTED]> wrote: > > > > On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > > > > I have a local var node, set to the dataField of the passed in > > > DataGridColumn.

Re: [flexcoders] Re: AS3 Custom Component question

2006-05-02 Thread Manish Jethani
On 5/3/06, sufibaba <[EMAIL PROTECTED]> wrote: > Thanks for your suggestion, I tried exending from ScrollControlBase > but still had problems to get the scroll bar to show up. Did you call setScrollBarProperties() from within the ScrollControlBar-derived class? If you call this method with the

Re: [flexcoders] Sprite /Graphics in MXML Page

2006-05-02 Thread Manish Jethani
On 5/3/06, fuzzoolia <[EMAIL PROTECTED]> wrote: >    >

Re: [flexcoders] Server-Side Architecture for Flex App

2006-05-02 Thread jeremy lu
For any others such as .Net and PHP you will need touse HTTPService or WebService. Consider that your choice might  run slower than others. just one correction, you can always use NetConnection to connect to any AMF gateway (ie: amfphp, fluorine for .NET) instead of RemoteObject. -- Fle

RE: [flexcoders] NumberValidator dynamic binding problems

2006-05-02 Thread Jason Szeto
Unfortunately Validators in Flex 1.5 don't support binding in values like your example. Instead, you need to programmatically create a NumberValidator and update the maxValue property when maxVal changes. Then you'll need to call the validator's doValidation function yourself when you lose focus

[flexcoders] Sprite /Graphics in MXML Page

2006-05-02 Thread fuzzoolia
Hi can someone tell me what I'm doing wrong here: http://www.adobe.com/2006/mxml" xmlns="*" layout="absolute">            click="GraphicsExample.doDrawCircle()"/> Right now Im getting "Classes Must Not be Nested" But I know the whole setup is wrong and im probably calling it wron

[flexcoders] Re: AS3 Custom Component question

2006-05-02 Thread sufibaba
Manish, Thanks for your suggestion, I tried exending from ScrollControlBase but still had problems to get the scroll bar to show up.  I think this has to do with how I set up the custom component. Basically, I have a custom AS component that draws a bunch of boxes. This custom component is wr

[flexcoders] Re: Server-Side Architecture for Flex App

2006-05-02 Thread joao_m_fernandes
I think that the Event Gateway is not only for DataServices, if you have CF Enterprise you can use the eventGateway to do messaging between CF and Flex 2 applications (with or without FDS). João Fernandes --- In flexcoders@yahoogroups.com, "Stacy Young" <[EMAIL PROTECTED]> wrote: > > You will

Re: [flexcoders] Has anyone successfully put one TabNavigator inside another? (Flex 2)

2006-05-02 Thread Graham Weldon
Hi rigidcode, The following code works fine, and is the solution ot your previous post about using TabNavigators in ActionScript: --- package NestedTabs {     import mx.containers.Canvas;     import mx.containers.TabNavigator;     im

[flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > > I have a local var node, set to the dataField of the passed in > > DataGridColumn. > > So given this node, what do you want to display in the DataGri

[flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > > I have a local var node, set to the dataField of the passed in > > DataGridColumn. > > So given this node, what do you want to display in the DataGri

Re: [flexcoders] Has anyone successfully put one TabNavigator inside another? (Flex 2)

2006-05-02 Thread Tom Bray
The code below works, but only after I disabled history management for the nested tab navigator.  With history management enabled for both, the HistoryManager throws an error.HTH http://www.adobe.com/2006/mxml" xmlns="*" layout="absolute" >                                On 5/2/06, rigidcode <[

[flexcoders] Re: Beta 2 - Error: Unknown destination 'queryManagerRO'

2006-05-02 Thread thunderstumpgesatwork
Well, it's definitely a server vs. client compile issue. I changed the "debug path" from pointing to the html to the mxml (to invoke the server compile) and it worked! So, is it true that if you use Flex Data Services with the "compile locally" that there are issues accessing remote objects? W

Re: [flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread Manish Jethani
On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > I have a local var node, set to the dataField of the passed in > DataGridColumn. So given this node, what do you want to display in the DataGrid?   If "fa" is what you want to display, then your labelFunction should return 'item.name(

[flexcoders] Beta 2 - Error: Unknown destination 'queryManagerRO'

2006-05-02 Thread thunderstumpgesatwork
Guys, I have a RemoteObject called 'queryManagerRO' that was working in Beta 1... I am using Flex2 as a plugin to eclipse and selected "Flex Data Services - Compile Application Locally in Flex Builder" Could this have something to do with it? Does it need to be compiled on the server for this

Re: [flexcoders] F2 B2 :: Setting a DisplayObject to the highest depth

2006-05-02 Thread Manish Jethani
On 5/3/06, brian_m_riley <[EMAIL PROTECTED]> wrote: > If MovieClip.getnextHighestDepth() has been replaced with > flash.display.DisplayObjectContainer.addChild(), and > MovieClip.swapDepth() has been removed, I am wondering how I can > simply set an existing DisplayObject to the highest depth --

[flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] = > > item.leg.node = > > item.leg[node] = > > [EMAIL PROTECTED] = > > item..cpfrmsta = > > item[node] > > ? > > Manish > I have

[flexcoders] F2 B2 :: Setting a DisplayObject to the highest depth

2006-05-02 Thread brian_m_riley
If MovieClip.getnextHighestDepth() has been replaced with flash.display.DisplayObjectContainer.addChild(), and MovieClip.swapDepth() has been removed, I am wondering how I can simply set an existing DisplayObject to the highest depth -- imagine the following scenario: I have 4 portal like panel

Re: [flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread Manish Jethani
On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] = > item.leg.node = > item.leg[node] = > [EMAIL PROTECTED] = > item..cpfrmsta = item[node] ? Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archive

Re: [flexcoders] how do I prevent users from accessing my super extened class?

2006-05-02 Thread Manish Jethani
On 5/3/06, nz_mehere <[EMAIL PROTECTED]> wrote: > I have writen a class that extends the "VSlider" > > VSliders have the property of "thumbCount", which is how many little > arrows appear on the slider. > > I want to prevent people from setting there own. > > I thought I could hide it from them

Re: [flexcoders] Drawing in a List

2006-05-02 Thread Manish Jethani
On 5/3/06, Shidan <[EMAIL PROTECTED]> wrote: > var statusHash = {mike : online,drew : offline, sarah : online} > > and I want to populate the second row of a List with a green dot for > every member of statusHash online and a red dot for every member > offline. How would I do that. Use a custo

[flexcoders] xml parser

2006-05-02 Thread Kim Reddington
A few months ago, I downloaded a sample written by Michael J. Prichard that took an object and translated it to xml and then posted this to a jsp.   Somehow I lost the sample and I'm having trouble finding where it was on the web. Does anyone know where I can find this sample?   This was t

[flexcoders] Drawing in a List

2006-05-02 Thread Shidan
Hi If I have this: var statusHash = {mike : online,drew : offline, sarah : online} and I want to populate the second row of a List with a green dot for every member of statusHash online and a red dot for every member offline. How would I do that. I want to draw circles with the Graphics clas

Re: [flexcoders] Re: Flex Component Directory

2006-05-02 Thread Graham Weldon
Hi Manish, Feature 1 will definitely be available. You will be able to voice you opinion in a few ways: 1) Rating 1-5 or 1-10 2) Forums specific to that component/project 3) Bug tracking 4) Feature requests As for paid components, quite a number of people have asked me to provide this funct

RE: [flexcoders] Server-Side Architecture for Flex App

2006-05-02 Thread Alex MacCaw
  - Is there another backend technology I should be considering?   Are you going to consider “Ruby on Rails” as a backend. It’s free and makes an excellent backend to Flex. See here: http://www.liverail.net/articles/2006/04/16/rubyonrails-1-1-and-flex-2-0-pt-1 For example this line d

[flexcoders] how do I prevent users from accessing my super extened class?

2006-05-02 Thread nz_mehere
Hi there, I have writen a class that extends the "VSlider" VSliders have the property of "thumbCount", which is how many little arrows appear on the slider. I want to prevent people from setting there own. I thought I could hide it from them by overriding the "thumbCount" property with a pri

[flexcoders] Has anyone successfully put one TabNavigator inside another? (Flex 2)

2006-05-02 Thread rigidcode
In Flex 2, has anyone put a TabNavigator onto the Canvas of a tab of another TabNavigator (in Actionscript, not mxml)?  Without a fatal exception being thrown when you change tabs on either TabNavigator?  I don't find anyone else with this problem when I search.  It seems like something a lot

[flexcoders] Re: problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread djbrown_rotonews
--- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 5/2/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > > > as the "source" attrib, and they each throw an error of some form. > > can anyone tell me what I'm doing wrong? I'm using the following as > > a sou

Re: [flexcoders] Server-Side Architecture for Flex App

2006-05-02 Thread Douglas Knudsen
a advantage to RemoteObject use Steven Webster mentioned in the Adobe article on cairngorm was the fact that you can synch your objects between middle-ware and client AS, keeping your model nice and tidy.  You can use webservices to return complex custom objects, but can Flash discern these? DKO

[flexcoders] Beta 2 LiveDocs TOC&Search frames not working?

2006-05-02 Thread thunderstumpgesatwork
Hello, Is anyone else having problems getting the frame for the TOC and Search? http://www.macromedia.com/go/flex2_devapps I get "Page does not exist" when clicking the TOC link in top left. Thunder -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexc

RE: [flexcoders] Server-Side Architecture for Flex App

2006-05-02 Thread Tracy Spratt
Consider .NET and HTTPService.  Using xml over HTTP, you don’t need specialized expertise, and your data sources could be consumed by an AJAX client as well as the Flex client.  Of course, you can do xml over http with any of your backend choices.  Flex 2.0 has good xml support.   Tracy

RE: [flexcoders] Getting an Array of Values from a dataProvider

2006-05-02 Thread Tracy Spratt
As far as I know, there is no built-in way.  You will need to loop over the items(array elements) and build an array from the values of the appropriate column(property). Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nz_mehere Sent: Mon

Re: [flexcoders] problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread Manish Jethani
On 5/2/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote: > as the "source" attrib, and they each throw an error of some form. > can anyone tell me what I'm doing wrong? I'm using the following as > a source for my implementation: > http://mannu.livejournal.com/324821.html > > My returned XML take

Re: [flexcoders] Beta 3 - Custom Java Adapter

2006-05-02 Thread Daniel Cascais
Heheh... not really... On 5/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > http://mmbeta.macromedia.com/ > > does that work for you? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcode

Re: [flexcoders] Beta 3 - Custom Java Adapter

2006-05-02 Thread michael . corbridge
http://mmbeta.macromedia.com/ does that work for you? --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that i

RE: [flexcoders] Server-Side Architecture for Flex App

2006-05-02 Thread Stacy Young
You will only need the event gateway in CF for leveraging Flex DataServices, not remoting.   Cheers, Stace   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, May 02, 2006 2:37 PM To: flexcoders@yahoogroups.com Subject: R

RE: [flexcoders] Two Flex 2 Components Questions

2006-05-02 Thread Deepa Subramaniam
rowHeight is a property on List-based components. MenuBar does not derive from ListBase so you cannot set rowHeight on the MenuBar. You need to set it on the individual menus the MenuBar pops up. You can use the getMenuAt() method to grab each individual menu from the MenuBar and set rowHeight

[flexcoders] Re: Flex2B2 Resolution Change Event

2006-05-02 Thread Tim Hoff
Yes, it is, but the stageHeight is staying the same until after the resize is complete.  Looking for something like resizeComplete event.  Although, the machine that I'm using is a bit sub-standard for this kind of development (512MB ram).  I've come across several instances where the machin

[flexcoders] Re: Dispatching an event from inside a resultEvent

2006-05-02 Thread Tim Hoff
Hi Jonas, I took Jeff Tapper's dataManager and revised it to be a little simpler.  I made the onResult event generic "result", integrated the dataManagerEvent code, added a showBusyCursor parameter and renamed it dataServices.  There are better ways to do this, but until final release this is wh

Re: [flexcoders] Re: Flex2B2 Resolution Change Event

2006-05-02 Thread Manish Jethani
On 5/2/06, Tim Hoff <[EMAIL PROTECTED]> wrote: > The problem that I am having is > determining an event that is consistantly dispatched when the > browser window is resized. Are you sure the Application's "resize" event is not being dispatched when the browser window resizes? Manish --

Re: [flexcoders] Beta 3 - Custom Java Adapter

2006-05-02 Thread Daniel Cascais
Is Flex 2 Beta 3 out? It doesn't look like so in Adobe Labs. On 5/2/06, Jim Schneider <[EMAIL PROTECTED]> wrote: > With beta 3, this is now broken again. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-arch

[flexcoders] Beta 3 - Custom Java Adapter

2006-05-02 Thread Jim Schneider
Here's my standard post after every beta. We have developed a custom Java Adapter used to lookup/invoke Spring beans that implement our remote object services. With beta 3, this is now broken again. I have found some mention of factories configuration in flex-enterprise-services.xml, but don'

Re: [flexcoders] Two Flex 2 Components Questions

2006-05-02 Thread Manish Jethani
On 5/2/06, Sascha Balkau <[EMAIL PROTECTED]> wrote: > > I think rowHeight is a property (not a style). > It seems not! If I try to use it as a property on the MenuBar tag I get an > error. It's a property on Menu. So you'd have to do getMenuAt() and set rowHeight on the reference returned. M

RE: [flexcoders] Server-Side Architecture for Flex App

2006-05-02 Thread Oscar . Cortes
I would add that this can be seen in terms of portability, performance and how much knowledge exist in your company in certain technology. Java will give the greatest portability, it would run seemly in Windows shops as in Unix shops. The same is true for ColdFusion and PHP. However, this does n

RE: [flexcoders] resources for Flex2

2006-05-02 Thread Mark Lapasa
I find reading the Docs for Flex 2 to be more than adequate to get to know Flex 2. I read the following as my starting point   http://www.macromedia.com/go/flex2_gettingstarted_pdf   After that, whatever questions I had, I combed through the excellent comphensive table of contents.   I th

[flexcoders] Re: Looping Through A DataProvider In Flex 2.0

2006-05-02 Thread Doug Lowder
What about this: searchDP(FontFamily.dataProvider, "label", style.fontFamily); public function searchDP(arrToSearch:ArrayCollection, field:String, value:String):Number{   for (var idx = 0; idx < arrToSearch.length; ++idx) {   if (arrToSearch.getItemAt(idx)[field] == value) {return idx}; } r

[flexcoders] Looping Through A DataProvider In Flex 2.0

2006-05-02 Thread vestcomprogrammer
It works in flex 1.5 but I try to run the same code in Flex 2.0 Beta 2 and it gives me one element in the array.     XML FILE  My Code //Call to the funciton searchDP(mx.utils.ArrayUtil.toArray(FontFamily.dataProvider), "label", style.fontFamily); public function searchDP(arrToSearch:Ar

RE: [flexcoders] XML attribute "class"

2006-05-02 Thread Gordon Smith
I think [EMAIL PROTECTED]"class"] and x["@class"] also work. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Tuesday, May 02, 2006 5:37 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] XML attribute "cl

RE: [flexcoders] Two Flex 2 Components Questions

2006-05-02 Thread Sascha Balkau
> > > The opendelay is gone but the rowHeight hasn't changed. Is there anything > > else I need to take into account to make this work? > > I think rowHeight is a property (not a style). > > Manish It seems not! If I try to use it as a property on the MenuBar tag I get an error. Sascha

[flexcoders] resources for Flex2

2006-05-02 Thread Mark Davis
I am a complete newbie to Flex who has been tasked with learning Flex2 quickly.  I have the Flex 1.5 book, but I am quickly discovering there are so many differences between 1.5 and 2 that the book is better suited as a paperweight.  I try to run examples, get errors, then discover the wa

RE: [flexcoders] Server-Side Architecture for Flex App

2006-05-02 Thread Kelly @ Dekayd Media Inc.
The Flex server is built on Java and I think that Flex was originally developed to integrate the most efficiently with Java.   That would be my choice.       --Kelly           From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clarke Bish

Re: [flexcoders] Two Flex 2 Components Questions

2006-05-02 Thread Manish Jethani
On 5/2/06, Sascha Balkau <[EMAIL PROTECTED]> wrote: > The opendelay is gone but the rowHeight hasn't changed. Is there anything > else I need to take into account to make this work? I think rowHeight is a property (not a style). Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo

Re: [flexcoders] Flex2 :: Feature request :: NavBar button factory

2006-05-02 Thread Manish Jethani
On 5/2/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: > Using what you have given me I still get, > > "TypeError: Error #1034: Type Coercion failed: cannot convert com.teotiGraphix.workSpacefx.controls::[EMAIL PROTECTED] to mx.controls.Button" > ButtonBar assumes that its items are instances

[flexcoders] Dispatching an event from inside a resultEvent

2006-05-02 Thread Jonas Windey
Hi,   Though question here, and props for the person who can help me here. I have an mxml file and an as 3.0 class that handles the data. I also use the datamanager classes from Jeff Tapper (http://jeff.mxdj.com/as3_datamanager.htm) to handle the webservice requests.   Here’s some c

[flexcoders] Server-Side Architecture for Flex App

2006-05-02 Thread Clarke Bishop
I am in the process of choosing a server-side technology for a Flex App I'm building, and I'd like to get ideas from the experts on this list. Right now, my candidates are:   - ColdFusion - Java - PHP - .Net   I'll probably use AMF rather than web services for transfering data back and

[flexcoders] mx:states vs mx:viewstack when and which?

2006-05-02 Thread Rick Schmitty
Hello, I've seen some examples with Cairngorm using either states or a viewstack to display the current screen.  I was wondering what were the advantages/disadvantages and when you should use one over the other?  Seems like both can have the current view bound to a selection thanks -- Fle

Re: [flexcoders] Tab control with an icon on the active Tab

2006-05-02 Thread jeremy lu
yes, I have. closable and draggable tab component for Flex 2 it's basically overlaying icons over tab but I did have a hard time getting it done, read the blog post. Jeremy. On 5/2/06, Karl Johnson <[EMAIL PROTECTED]> wrote: Has anyone implemented a tab control that shows a clickable

RE: [flexcoders] Two Flex 2 Components Questions

2006-05-02 Thread Sascha Balkau
Thanks a lot Manish! I've created a style object like this       .testStyle     {       openDuration: 0;       rowHeight: 5;     }   And use it on the and with styleName="testStyle". The opendelay is gone but the rowHeight hasn

[flexcoders] Tab control with an icon on the active Tab

2006-05-02 Thread Karl Johnson
Has anyone implemented a tab control that shows a clickable icon on the active tab (that would launch an options dialog or something similiar)? I assume the only way to do it would be to extend the tab control and manipulate the width of the active tab and overlay the image object on top o

[flexcoders] Re: Flex2B2 Resolution Change Event

2006-05-02 Thread Tim Hoff
Thanks Manish, I was using the value in Application.application.stage.stageHeight to control the viewStack.  The problem that I am having is determining an event that is consistantly dispatched when the browser window is resized.  I tried all that were available (resize, render, etc..), but

[flexcoders] problems with XMLListCollection and dataProvider. please help

2006-05-02 Thread djbrown_rotonews
I'm in the process of converting some old code that took the form of: method="GET" showBusyCursor="true">  and a DataGrid hook point of: dataProvider="{mx.utils.ArrayUtil.toArray (getadvisordelays.result.delays.leg) to display my XML results in a DataGrid. It worked just fine. However

Re: [flexcoders] Flex2 :: Feature request :: NavBar button factory

2006-05-02 Thread Michael Schmalle
Manish, Using what you have given me I still get, "TypeError: Error #1034: Type Coercion failed: cannot convert com.teotiGraphix.workSpacefx.controls::[EMAIL PROTECTED] to mx.controls.Button" I still can't get the TabBar to accept 'my' tab button. It's barfing right at the createNavItem() met

Re: [flexcoders] Flex2 :: Feature request :: NavBar button factory

2006-05-02 Thread Michael Schmalle
> Putting the scrollbars on the left/top is a lot harder I did this in my flash 8 container framework. I used state object for layout. It worked awsome, I might just port that some time as an alternate Container to subclass for those 'weird' occasions you need it. then like; horizontalScroll

Re: [flexcoders] Flex2 :: Feature request :: NavBar button factory

2006-05-02 Thread Manish Jethani
On 5/2/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: >  The namespace mx_internal, where do I get it? I mean, the example dosn't work becasue the namespace is undefined. Like flash.util.flash_proxy you have to import, the same here? I am still getting my head around namespaces, I get it but

Re: [flexcoders] Flex2 :: Feature request :: NavBar button factory

2006-05-02 Thread Manish Jethani
On 5/2/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: >  > buttonWidthProp > >  What is that? ButtonBar uses "buttonWidth" TabBar uses "tabWidth" The name of the property is specified by 'buttonWidthProp', an internal variable. >  I built in a way to use the HScrollBar but, I wanted it on t

Re: [flexcoders] Flex2 :: Feature request :: NavBar button factory

2006-05-02 Thread Michael Schmalle
Hi, One more question, The namespace mx_internal, where do I get it? I mean, the example dosn't work becasue the namespace is undefined. Like flash.util.flash_proxy you have to import, the same here? I am still getting my head around namespaces, I get it but this stumps me. Can you show me a

[flexcoders] FileReference upload bytes FB2

2006-05-02 Thread sourcecoderia
Does anyone know of a way to get at the bytes for the upload process? instead of using upload(url) I would rather use remoting then a web service, and ideally I would like to send it in chunks, and have a return manifest type structure once done uploading. Any thoughts, or ideas on this? Am

Re: [flexcoders] Flex2 :: Feature request :: NavBar button factory

2006-05-02 Thread Michael Schmalle
Great! I knew there had to be hidden implementations becasue of the change in duties of the subclass's of NavBar. > buttonWidthProp What is that? I built in a way to use the HScrollBar but, I wanted it on top. That is another thing I didn't think the Container can do right? Thanks, I will t

Re: [flexcoders] Tree control problem in Flex 2 Beta 2

2006-05-02 Thread Manish Jethani
On 5/2/06, Kevin Roche <[EMAIL PROTECTED]> wrote: > I have added a tree contol to my form. When I set showroot to true, instead > of the label it is displaying the XML for each of the controls. Anyone any > idea what I have done wrong? There used to be this thing called 'labelField'. Try that.

Re: [flexcoders] Flex2 :: Feature request :: NavBar button factory

2006-05-02 Thread Manish Jethani
On 5/2/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: >  This comes from wanting to do one simple thing with the tab bar and I ended up reimplementing tab button, tab bar and making a new tab pane using a viewstack super class and compositing my tab bar. All becasue I couldn't get away from th

[flexcoders] Tree control problem in Flex 2 Beta 2

2006-05-02 Thread Kevin Roche
Hi, I have added a tree contol to my form. When I set showroot to true, instead of the label it is displaying the XML for each of the controls. Anyone any idea what I have done wrong? Kevin -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

[flexcoders] Flex2 :: Feature request :: NavBar button factory

2006-05-02 Thread Michael Schmalle
Hi, I had wirtten something to Ely about the NavBar not using a factory for it's buttons. He thought this was a good suggestion and so do I. BTW, I understand you are still creating this and getting the flow on. Although it would be nice to have factories wherever you could honestly see a subc

[flexcoders] Flex2Docs :: Feature Request

2006-05-02 Thread Michael Schmalle
Hi, Flex docers... Would you mind putting a 'Frames' link on the page that says " Adobe Flex 2.0 ActionScript and MXML Language Reference This part describes the Flex MXML and ActionScript API. The following sections are included in this reference: " I always look at the frames view local

Re: [flexcoders] Two Flex 2 Components Questions

2006-05-02 Thread Manish Jethani
On 5/2/06, Sascha Balkau <[EMAIL PROTECTED]> wrote: > Could somebody give me a hint how to disable the roll-out delay for Menu- > and Tree List Flex 2 Components? I'd like to get the menu/list contents > appearing immediately without any tween/easing effect. Set "openDuration" to 0. > The sec

Re: [flexcoders] XML attribute "class"

2006-05-02 Thread Manish Jethani
On 5/2/06, sergio_trejo_r <[EMAIL PROTECTED]> wrote: > For example, if the XML contains an attribute named "class", then the > _expression_ '[EMAIL PROTECTED]' will not compile because the word class is > reserved. > Does anyone know a workaround for this? x.attribute("class") If this is ab

[flexcoders] Two Flex 2 Components Questions

2006-05-02 Thread Sascha Balkau
Hi list, Could somebody give me a hint how to disable the roll-out delay for Menu- and Tree List Flex 2 Components? I'd like to get the menu/list contents appearing immediately without any tween/easing effect. The second question I got is how to decrease the vertical size for Menu items? I can

Re: [flexcoders] Dynamic Screen

2006-05-02 Thread Manish Jethani
On 5/2/06, Sachin Dharmapurikar <[EMAIL PROTECTED]> wrote: > 1. Server sends some screen XML which is having information about user > controls. (Date Selectors, Drop-down lists and Buttons etc.)… > 2. Depending on XML we need to render the screen. Just like XSLT. http://mannu.livejou

[flexcoders] XML attribute "class"

2006-05-02 Thread sergio_trejo_r
I noticed that XML statements (based on the E4X specification) can have compilation issues when an XML attribute is also a reserved keyword in the language. For example, if the XML contains an attribute named "class", then the _expression_ '[EMAIL PROTECTED]' will not compile because the wor

[flexcoders] Dynamic Screen

2006-05-02 Thread Sachin Dharmapurikar
Hi Everybody,   It has been some time I am playing with Flex. I came across a problem and I was wondering how we can do it in Flex.   Use Case:   1.   Server sends some screen XML which is having information about user controls. (Date Selectors, Drop-down lists and Buttons etc.

Re: [flexcoders] Re: How does one build a ComboBox with a Data Grid as the drop down?

2006-05-02 Thread Manish Jethani
On 5/2/06, raghuramab <[EMAIL PROTECTED]> wrote: > I already tried that. Including trying to assign the property in AS > code instead of MXML. In either case, I get a flex compiler error > saying "Unrecognized combobox property - dropdownFactory". I am > using Flex 2.0. Beta 2. Sorry about tha

Re: [flexcoders] Flex2B2 Resolution Change Event

2006-05-02 Thread Manish Jethani
On 5/1/06, Tim Hoff <[EMAIL PROTECTED]> wrote: > I have a panel that contains a viewStack with two children.  One of > the children is a tabNavigator and the other is a panel.  The goal is > to have the tabNavigator show if the screen resolution is 800X600 and > the panel to show for resolutions

Re: [flexcoders] dataGrid column witdths

2006-05-02 Thread Manish Jethani
On 5/1/06, Chris Scott <[EMAIL PROTECTED]> wrote: > Hi I'm wondering if anyone has done an extended dataGrid component or > can shed some light on the direction to take on building a dataGrid > that autosizes it's columns to the size of the data contained, > similar to how a normal grid compone

Re: [flexcoders] Re: Flex Component Directory

2006-05-02 Thread Manish Jethani
On 5/2/06, Graham Weldon <[EMAIL PROTECTED]> wrote: > It would be a model of the SourceForge approach of project posting and > hosting. Two things would be nice to have: 1)  A way for users to rate a component and leave comments about it 2)  The ability to have paid-for (not free of charge

[flexcoders] Re: How does one build a ComboBox with a Data Grid as the drop down?

2006-05-02 Thread bhaq1972
I also have a need to have a datagrid as a dropdown. matt's suggestion (previously to me) was to to subclass ComboBox and override the dropdown getter. However, i have never been able to get the dropdown getter to be called (my trace() never shows) override public function get dropdown()

[flexcoders] Fwd: Re: Uncaught exceptions in Flex 1.5

2006-05-02 Thread maxym.hryniv
Hi, Peter. Thank you one more time for your help. I have one more question: when I use debug player, configured by mm.cfg I receive only messages like "Warning: Uncaught exception, message text" of course it's not enough. Can I configure debug player to receive information like sender class&

Re: [flexcoders] Re: Re: Flex Builder 2.0 beta 2 with SVN?

2006-05-02 Thread jeremy lu
hey ! glad that helped :-) btw, you might have to re-install it pretty soon...On 5/2/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: Hi Jeremy, Hey, I installed Subclipse plug in and configured Flex Builder 2.0 with SVN repository. It works great! Thanks again for the right pointer

[flexcoders] Re: addEventListener In Flex 2.0

2006-05-02 Thread bhaq1972
you can do the following > In Flex 1.5 I had this: > > Parent > > DesignView[0].addEventListener("selectionChanged", > mx.utils.Delegate.create(this, valueChanged)) > > > function valueChanged(event) > { >   currentSelection = event.selection >   adjustControls(event.style) > }

[flexcoders] NumberValidator dynamic binding problems

2006-05-02 Thread KOT_MATPOC
hi all, I am using Flex 1.5 and trying to do something like that: field="model.field"/> I need to have maxValue attribute dynamically calculated as it might change and I want my validator to know what is the current maxValue for that field. However, this doesn't seem to work. I define a v

RE: [flexcoders] Re: Hibernate adapter: No channels are available for use

2006-05-02 Thread Matt Chotin
Make sure you have some default channels set up in your config.  Or in the destination make sure you specify some channels.  The commented out entries in the config file should show you what you need to do. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECT