Re: [flexcoders] [Req] What do you (love|hate|wish for) about (mx.*|Cairngorm|PureMVC|Mate|Prana|BlazeDS)?

2009-02-22 Thread Josh McDonald
Just want to thank everybody for their feedback and posts! -Josh On Tue, Feb 17, 2009 at 11:30 PM, alberto.acevedo alberto.acev...@us.army.mil wrote: Josh, I'm using Flex with Mate in the client side, Spring + BlazeDS + iBatis in the server side. I was using Cairngorm but the use of

[flexcoders] Feedback on my Enum class

2009-02-22 Thread Gregory Kelley
When I started to create this class I didn't think it would work as well as it did, but am afraid it might not be good programming. Thanks for any feedback! package com.lib.enums { import mx.collections.ArrayCollection; public class CommBatchTypeEnum { //used to bind all of the enums to

[flexcoders] property editor component

2009-02-22 Thread Sefi Ninio
Hi all. I'm looking for a property editor component (or something similar to the description below): What I need is a table (DG) based name-value pairs editor, where the value should be displayed as a label. When it gets focus, it should be editable according to the value defined type (text,

[flexcoders] How do I enable a value id datagrid cell to be linked

2009-02-22 Thread yossi.baram
Hi guys, I need some cells in my datagrid to enable navigation to a url I specify. I create all my columns in an ActionScript. How do I do it in my ItemRenderer? I looked at the AdvancedDataGridColumn API and couldnt find anything regards column link (hyperLink) all I see is LinkButton, which is

[flexcoders] Re: Eliminating Horizontal scroll on AdvancedDataGridColumn

2009-02-22 Thread Amy
--- In flexcoders@yahoogroups.com, yossi.baram yossi.ba...@... wrote: Hi, How do I eliminate horizontal scroll on AdvacedDataGrid columns? If I set horizontalScrollPolicy='off' to the datagrid it eliminates the scroll for all grid, I need the same thing but for each of the columns. I

[flexcoders] Re: How do I enable a value id datagrid cell to be linked

2009-02-22 Thread yossi.baram
Well again, As I guessed LinkButton is the right way, Thanks --- In flexcoders@yahoogroups.com, yossi.baram yossi.ba...@... wrote: Hi guys, I need some cells in my datagrid to enable navigation to a url I specify. I create all my columns in an ActionScript. How do I do it in my

[flexcoders] Re: Eliminating Horizontal scroll on AdvancedDataGridColumn

2009-02-22 Thread yossi.baram
Thanks, The thing that bothers me is when the grid first displayed it has horizontal scrollbars on some columns, but when I click on the vertical lines between the columns it dissapear for all columns and doesnt appear again,voodoo, why is that? --- In flexcoders@yahoogroups.com, Amy

[flexcoders] HELP! - Can not access Web Service!

2009-02-22 Thread Craig
I get error below if webservice asmx and URL of domain do not match... they both have to have http://www or no 'www' in order to run... otherwise I get the following error below BUT my cross domain is at the root of the webserver!! what am I doing wrong???: [RPC Fault faultString=Security

Re: [flexcoders] call an ActionScript function from ActionScript

2009-02-22 Thread Jeffry Houser
A few thoughts: Usually you have to import the class, create an instance of it and all the method from the instance. Did you do any of that? As an aside, functions are not bindable, except for get / set functions yossi.baram wrote: Hi guys, I have the following ActionScript file:

[flexcoders] Re: call an ActionScript function from ActionScript

2009-02-22 Thread yossi.baram
Hi Jeffry, Yep, with some of the methodes, others are static, so I didnt have to instansiate Thanks --- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote: A few thoughts: Usually you have to import the class, create an instance of it and all the method from the instance.

[flexcoders] nested viewstack problem

2009-02-22 Thread Derrick Anderson
hi, my app is primarily made up of 2 nested viewstacks and I want to be able to navigate to a child of the inner viewstack from the main application file. I know about the creationPolicy which right now I have set to 'all' to be able to do this- but my app is getting too big for that, it's about

Re: [flexcoders] Re: call an ActionScript function from ActionScript

2009-02-22 Thread Jeffry Houser
The method you posted was not static, so you would have to instantiate the class. With a static method, you have to import the class and call the method on the class instead of on an instance of it. yossi.baram wrote: Hi Jeffry, Yep, with some of the methodes, others are static, so I

Re: [flexcoders] [Req] What do you (love|hate|wish for) about (mx.*|Cairngorm|PureMVC|Mate|Prana|BlazeDS)?

2009-02-22 Thread Derrick Anderson
I gotta put in another good word for Mate, best framework I've used so far. d. On Sun, Feb 22, 2009 at 4:10 AM, Josh McDonald j...@joshmcdonald.infowrote: Just want to thank everybody for their feedback and posts! -Josh On Tue, Feb 17, 2009 at 11:30 PM, alberto.acevedo

[flexcoders] Re: HELP! - Can not access Web Service!

2009-02-22 Thread Craig
By the way... I am running this via a SWF file that is hosted off of a folder of the same domain. --- In flexcoders@yahoogroups.com, Craig cra...@... wrote: I get error below if webservice asmx and URL of domain do not match... they both have to have http://www or no 'www' in order to run...

[flexcoders] Re: property editor component

2009-02-22 Thread Sefi Ninio
Okay, how about this: When defining a combo box as an itemEditor, and specifying the editorDataField - How can I specify the combo box dataProvider? I can use the model to bind a dp to the combobox, but I'd like to create a generic component that does not have dependencies on external models...

[flexcoders] Display Youtube Video using htmlText in Flex 3

2009-02-22 Thread uclamerrick
I am currently using htmlText to display some html and I cannot figure out if its possible to display a YouTube video inside an htmlText. While I might want to display more than one Youtube, even if I could just display one that would be great.

[flexcoders] properties and methods of a datagrid from item renderer

2009-02-22 Thread aceoohay
How do you access the properties and methods of a datagrid from an an item renderer/inline component? I have a component that is called from multiple datagrids. In certain cases I need to call a routine that manipulates the datagrid, whichever one has the item renderer in it. I need to access

[flexcoders] Debug wont run because I have flash 10 player installed

2009-02-22 Thread brad.bueche
Flex 3.2 wont run debug because its looking for a flash 9 player, but I have flash 10 installed. It says my only option is to re-install flex. Is there another way to get flex 3.2 to be re-set for the flash 10 player? thanks in advance, brad

[flexcoders] ArrayCollection vs XMLListCollection

2009-02-22 Thread brad.bueche
How come when I'm setting up a data grid using an ArrayCollection as the datasource I dont have to specify the contents of the data grid columns? I can just do this: mx:DataGrid id=dg1 x=42 y=0 width=950 height=100 dataProvider={bookData.lastResult.books.stock} / But in

[flexcoders] Re: ToggleButtonBar xml based dataProvider

2009-02-22 Thread markgoldin_2000
Component id is floorTasks. --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: If floortasks is a component, then this makes no sense: taskList = XMLList(resultXML.floortasks); You need to use the xml data for the dataProvider not the component. Tracy Spratt

[flexcoders] Re: ToggleButtonBar xml based dataProvider

2009-02-22 Thread markgoldin_2000
data: root test id2/id labelBOXING/label /test test id5/id labelCUTTING/label /test test id8/id labelGENERAL LABOR/label /test test id6/id labelMACHINE OPERATORS/label /test test id3/id labelPACKING/label /test test id4/id

[flexcoders] Re: [silvafug] Calling C++ app or service from flex on Mac

2009-02-22 Thread Shailesh Mangal
Have you looked at Merapi? You can either use JNI with Merapi to call you dll or write similar socket based bridge in C++ -Shailesh On Feb 22, 2009, at 7:50 AM, Priya Shah wrote: Hi everyone, I am in dire need of being able to call a C++ app or service on Mac from flex. I am willing to

Re: [flexcoders] ArrayCollection vs XMLListCollection

2009-02-22 Thread Jeffry Houser
Some code magic in the background. I bet if you drill down into the component code for DataGrid and/or DataGridColumn you'll find comments that explain this. If I had to guess, it is relatively [knock on wood] easy to parse an object and find the properties on it. I think a for loop will

Re: [flexcoders] Debug wont run because I have flash 10 player installed

2009-02-22 Thread Nate Beck
A common issue, You just need to install the Flash Player 10 debug player, get it here: http://www.adobe.com/support/flashplayer/downloads.html#fp10 I kick myself a few times over this whenever a new player update comes out. HTH, Nate On Sun, Feb 22, 2009 at 1:13 PM, brad.bueche b...@bueche.com

Re: [flexcoders] HELP! - Can not access Web Service!

2009-02-22 Thread Nate Beck
Try removing the http://; Use YouTube's cross domain as a reference ( http://www.youtube.com/crossdomain.xml): ?xml version=1.0? !-- http://www.youtube.com/crossdomain.xml -- !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy

[flexcoders] How to access module app. controls from within module?

2009-02-22 Thread spinglittery
When I call itemclick=parentApplication.clickHandler(); from my Module to the main App. where clickHandler = public function clickHandler(event:ItemClickEvent):void { _modUrl = modules/ + event.label + .swf; moduleHandler(_modUrl); ... it doesn't work -although clickHandler works to load modules

[flexcoders] Re: Debug wont run because I have flash 10 player installed

2009-02-22 Thread brad.bueche
That was it. I'm D-buggn' now! Thank you! --- In flexcoders@yahoogroups.com, Nate Beck n...@... wrote: A common issue, You just need to install the Flash Player 10 debug player, get it here: http://www.adobe.com/support/flashplayer/downloads.html#fp10 I kick myself a few times over this

[flexcoders] Re: event passing when source/destination are on different parent bubbling chains?

2009-02-22 Thread Mic
Very interesting! At the moment I have bound that modelLocator var to State changes within the components, but am finding that this only goes so deep as the children below a certain depth do not exist when their parent does a State setProperty on them. Gonna try the set method now ... thanks very

[flexcoders] Parent State.setProp on child breaks after certain depth

2009-02-22 Thread Mic
This code is the TourDeFlex State example expanded. There is a ViewStack1 with 2 panes, the second pane has ViewStack2 on it with 2 panes. Added to the Register state !-- Set properties of ViewStack1 to Pane 2 -- mx:SetProperty target={viewstack1}

RE: [flexcoders] How to access module app. controls from within module?

2009-02-22 Thread Alex Harui
Not sure I understood. I would think you would get an exception give than you didn't pass any parameters into clickHandler() Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

RE: [flexcoders] ArrayCollection vs XMLListCollection

2009-02-22 Thread Alex Harui
If you don't specify columns, the DataGrid uses ObjectUtil.getClassInfo to get the list of properties. For XML, getClassInfo returns the attributes and not the child nodes Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From:

RE: [flexcoders] properties and methods of a datagrid from item renderer

2009-02-22 Thread Alex Harui
mx:DataGrid id=dg mx:columns mx:DataGridColumn mx:itemRenderer mx:Component

[flexcoders] Changing Registration Point of a component

2009-02-22 Thread shardul bartwal
I want to change the registration point of my component without moving it. Is it possible in Flex/Actionscript 3? If anybody have solution pls provide. Thnx in Advance Shardul Singh Bartwal Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/