[flexcoders] Re: Security Sandbox Violation for module accessing localhost rest service in dev

2012-02-03 Thread greg_lafrance
I'm running within Flash Builder, to be able to set and hit breakpoints. How can I do this and not run from file:// ? Its strange that this is happening only for this one module. What could be making a difference? --- In flexcoders@yahoogroups.com, Alex Harui aharui@... wrote: Use a testing

[flexcoders] Re: Styling Button Down States: fillColors and fillAlpha ?

2009-04-28 Thread greg_lafrance
Use skins: downSkin, overSkin, upSkin, etc. --- In flexcoders@yahoogroups.com, greg h flexsa...@... wrote: For Flex 3 buttons, beyond textSelectedColor can styling be used for styling Button down states? Up and Over states can be styled using fillColors and fillAlphas. However, fillColors

[flexcoders] Re: New Into Flex

2009-04-27 Thread greg_lafrance
If you would like to gain a deep understanding of Flex 3, the best way remains to go through the Flex Builder 3 help system or Adobe LiveDocs online, page by page, compiling each sample app, and tweaking it to learn if you have time. It will take several weeks or months, but you will truely

[flexcoders] Re: flex builder's message?

2009-04-27 Thread greg_lafrance
Are you trying to create an MXML component based on mx:Application? Can't do that, as mx:Application is the root tag for Flex app. Perhaps I am misunderstanding the situation. Please clarify. --- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote: - Original Message - From:

[flexcoders] Re: Dictionary vs Arraycollection

2009-04-27 Thread greg_lafrance
You will probably have to parse the ArrayCollection and add the items to the dictionary, adding keys as you go. See the FB3 help on dictionaries or LiveDocs. --- In flexcoders@yahoogroups.com, senthilkumarirtt senthilkumari...@... wrote: hi all, i want to collect data from Arraycollection to

[flexcoders] Re: VIEWSTACK question.

2009-04-27 Thread greg_lafrance
I think creationPolicy='all' only works with content added via MXML, not added after creationComplete. This might work better adding the content in AS. --- In flexcoders@yahoogroups.com, sailorsea21 sailorse...@... wrote: Hi everyone, I have a question on viewstacks. I have my viewstack

[flexcoders] Re: List sizing - height=100%

2009-04-23 Thread greg_lafrance
Maybe its your itemRenderer. This code works: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] private var ac:ArrayCollection = new ArrayCollection([ one, two,

[flexcoders] Re: Multi Language Support

2009-04-21 Thread greg_lafrance
Flex 3 supports displaying Arabic and other RTL text to a degree, but it is a big buggy. Flex 3 does not support mirroring components in the layout. Flex 4 will have much better support. --- In flexcoders@yahoogroups.com, srinuguda srinug...@... wrote: Dear Friends, How to achieve Multi

[flexcoders] Re: repeater binding

2009-04-21 Thread greg_lafrance
The Repeater executes once, and then you can't access it as you have. I think you give the repeated components an id, like myTxt, and then outside the repeater you refer to them as myTxt[0], myTxt[1]. See the FB 3 help sys for more info. --- In flexcoders@yahoogroups.com, johndoematrix

[flexcoders] Re: Item Rendererer Question

2009-03-20 Thread greg_lafrance
Maybe check if the item already exists before adding it to the collection. Greg --- In flexcoders@yahoogroups.com, djhatrick djhatr...@... wrote: Tracy, You are right... i am polling with my service These duplicates are happening when my service is polling and items are added to the

[flexcoders] Re: Gallery Drag and Drop

2009-03-20 Thread greg_lafrance
See this FB3 help sys topic: Using Drag and Drop --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Friday 20 Mar 2009, christophe_jacquelin wrote: I have 2 Tile List of images (2 galleries). How to do drag and drop between the 2 galleries ? DragManager. --

[flexcoders] Re: round timer

2009-03-20 Thread greg_lafrance
You may be able to adapt this FB3 help sys topic example: Example: Simple analog clock Greg --- In flexcoders@yahoogroups.com, claudiu ursica the_bran...@... wrote: Hi, unfortunately I cannot give you any code since is company property. However we have something similar. It was designed in

[flexcoders] Re: Pb with DateField

2009-03-20 Thread greg_lafrance
Your description of the problem is not sufficient. Please describe it in greater detail. --- In flexcoders@yahoogroups.com, christophe_jacquelin christophe_jacque...@... wrote: Hello, I have a DateField that is a birth date. But is is long to set the year of the birth date. Do you

[flexcoders] Re: Arraycollection to xml

2009-03-20 Thread greg_lafrance
You could parse the ArrayCollection and build up JSON data, then pass the data to PHP and convert to XML there. --- In flexcoders@yahoogroups.com, venkat eswar cooler...@... wrote: Hi all, I am using advanceddatagrid with treestructure. I used Arraycollection as Dataprovider for

[flexcoders] Re: Datefield Itemrenderer problem

2009-03-20 Thread greg_lafrance
Your dataField for the column with the DateField is dt but I think it should be date. When you change it to date though it seems the string cannot be converted to a date. Might need a labelFunction. --- In flexcoders@yahoogroups.com, venkat eswar cooler...@... wrote: I have a problem with

[flexcoders] Re: Pb with accordion

2009-03-18 Thread greg_lafrance
This will get you started: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ private function nextHandler():void{ if(accordion.selectedIndex == accordion.numChildren-1){ accordion.selectedIndex = 0;

[flexcoders] Re: Adding and removing values from a VAR

2009-03-18 Thread greg_lafrance
This code will get you started: --- data6.xml ?xml version=1.0 encoding=utf-8? myData dataItem displayValueOrlando/displayValue dataValue001/dataValue selectedfalse/selected /dataItem dataItem displayValueAtlanta/displayValue

[flexcoders] Can't Change Custom Border Custom Styles - Please Help !!!

2009-02-25 Thread greg_lafrance
I created a custom border class to create a dashed line border, and I added two custom style properties dashlen and gaplen, but I can't set them. In the attached code, the default dashlen and gaplen are 5. I create three VBox using the DashBorder, and although I have created a type selector

[flexcoders] Re: Can't Change Custom Border Custom Styles - Please Help !!!

2009-02-25 Thread greg_lafrance
Bump. I really need to solve this. Any ideas? Thanks! --- In flexcoders@yahoogroups.com, greg_lafrance glafra...@... wrote: I created a custom border class to create a dashed line border, and I added two custom style properties dashlen and gaplen, but I can't set them

[flexcoders] Re: One project - Multiple SWFs

2009-02-06 Thread greg_lafrance
You could always compile the code into separate Flex applications. Then load their SWFs in the main app and let them interact. You might even just be able to compile them into SWC libraries, which might be the better choice. --- In flexcoders@yahoogroups.com, nishantkyal nishantk...@...

[flexcoders] Re: array not being refreshed

2009-02-06 Thread greg_lafrance
You may want to use an ArrayCollection instead of an Array. Also, are you taking advantage of Flex binding? --- In flexcoders@yahoogroups.com, stinasius stinas...@... wrote: hi i have a tilelist and i use the selectedItem to populate an array which i then used as a dataprovider for my

[flexcoders] Re: Save Configuration

2009-02-06 Thread greg_lafrance
You could read the SharedObject during the application initialize event, and then apply its data to the Panel during the application creationComplete event. --- In flexcoders@yahoogroups.com, thelordsince1984 lore...@... wrote: Hi, suppose that i have a main application and here i can

[flexcoders] Re: Replacing ADG dataProvider

2008-10-27 Thread greg_lafrance
Are you using data binding? [Bindable] d:ArrayCollection; ... mx:AdvancedDataGrid dataProvider={d}.../ Greg --- In flexcoders@yahoogroups.com, whatabrain [EMAIL PROTECTED] wrote: How do you replace the dataProvider of an AdvancedDataGrid? I'm reorganizing the data, and, for efficiency, I'd

[flexcoders] Re: about MVC

2008-10-26 Thread greg_lafrance
--- In flexcoders@yahoogroups.com, srikanthkpn [EMAIL PROTECTED] wrote: Pls any one can send MVC exampls? Here is a Flex Cookbook entry I wrote on MVC: http://www.adobe.com/cfusion/communityengine/index.cfm? event=showdetailspostId=11246productId=2loc=en_US Greg

[flexcoders] Re: system events

2008-10-24 Thread greg_lafrance
--- In flexcoders@yahoogroups.com, srikanthkpn [EMAIL PROTECTED] wrote: pls can one help me what is Preinitialize? what is Initialize? what is creation complete? what is application complete? preinitialize Dispatched when the component has been attached to its parent container, but

[flexcoders] CheckBox DataGrid column itemRenderer not updating. Please help.

2008-08-24 Thread greg_lafrance
I have a column in a datagrid using CheckBox as itemRender, and user checks CheckBoxes they want to send email for. But after user checks the CheckBoxes, the data provider has not been updated. Should I try to get the dataProvider to get the updated checked/unchecked state of the CheckBoxes

[flexcoders] Re: CheckBox DataGrid column itemRenderer not updating. Please help.

2008-08-24 Thread greg_lafrance
rendererIsEditor=true mx:itemRenderer mx:Component mx:CheckBox/ /mx:Component /mx:itemRenderer /mx:DataGridColumn Don Kerr --- In flexcoders@yahoogroups.com, greg_lafrance glafrance@ wrote: I have a column in a datagrid using CheckBox as itemRender, and user checks CheckBoxes they want