[flexcoders] Re: call an ActionScript function from ActionScript

2009-02-21 Thread yossi.baram
Ok I managed, I just placed the function in an ActionScript class, not a file and called the instance of that class from the other ActionScript Thaks any way --- In flexcoders@yahoogroups.com, "yossi.baram" wrote: > > Hi guys, > > I have the following ActionScript file: > [Bindable] > public f

[flexcoders] call an ActionScript function from ActionScript

2009-02-21 Thread yossi.baram
Hi guys, I have the following ActionScript file: [Bindable] public function callJavaScript():void { ExternalInterface.call("sayString", "Hello World, from ActionScript"); } When I try to call callJavaScript() in a different ActionScript class, it gives me a none recognize error :(

RE: [flexcoders] Feedback and ideas re: publishing a collection of poems

2009-02-21 Thread Alex Harui
What is it about the text that you want to control? I would think if the panel is a fixed width and you enter line breaks and spaces in the text, the text will have the correct line breaks and spacing. You also have the option of loading the next page's image before someone opens to that page

[flexcoders] Feedback and ideas re: publishing a collection of poems

2009-02-21 Thread brucewhealton
Hello all, I started publishing a collection of poems for someone a while back when I was very much new to Flex. I chose to use an accordion component to hold one poem or a single page of a poem that spanned several pages. The accordion is contained in a Panel. Each group of 4 or 5 poems

Re: [flexcoders] Re: How to implement right click drill down for either PieChart or ColumnChart

2009-02-21 Thread Sam Lai
A really hacky way would be to store the current mouse X and Y whenever the mouse moves anywhere on your Flex app, so when they click on a item in your context menu, you will have the mouse X and Y and can use the findDataPoints method on the chart to get the ChartItem(s), and hence the dataprovide

RE: [flexcoders] Bug? Width of single-character label...

2009-02-21 Thread Alex Harui
It is the side-effect of a "workaround". We found lots of "errors" measuring a single character so if you give us just one char, we actually measure a longer test string ("Wj"). Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: fl

[flexcoders] RE: Positioning logic for pop-up?

2009-02-21 Thread Alex Harui
In the simple case where the popup has its width and you can guarantee the popup is smaller than the stage, I think it is as simple as: Popup.x = Math.max(0, Math.min(popup.x, stage.stageWidth - popup.width)); Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://b

[flexcoders] Re: Repeaters and Referencing Component IDs

2009-02-21 Thread Amy
--- In flexcoders@yahoogroups.com, "Jason" wrote: > > > > I'd have to test it to know for sure, but I was just theorizing on why > > you were not able to access the id array for the image. I could > further > > theorize that the image tag, being a child of the repeated container, > is > > tr

Re: [flexcoders] Re: Flex server language

2009-02-21 Thread Paul Hastings
Amy wrote: > An important difference between ColdFusion and php, as you rightly > pointed out, is that php is installed on the server only--you don't so is cf. > need any special software to write php code, and you don't need any > background knowledge other than what you need for any other we

Re: [flexcoders] Re: Gumbo / Flex 4 release date estimate?

2009-02-21 Thread Jeffry Houser
It was a pre-release version; I'm not sure if they called it beta. Vivian Richard wrote: But I guess they already have the beta version of Flex builder 4 ready! As I understood Flex Builder 4 beta version was distributed among the participant of MAX last year at SF. Am I right?

Re: [flexcoders] Re: Flex server language

2009-02-21 Thread Jeffry Houser
Amy wrote: > I don't remember why, when I'd never had PHP installed on my machine, > I knew that the place to start out with PHP was to install WAMP. It > was probably one of those random facts I'd filed away when I didn't > need to care for when I did. I suspect I'm not uncommon in knowing >

[flexcoders] Re: Flex server language

2009-02-21 Thread Amy
--- In flexcoders@yahoogroups.com, Jeffry Houser wrote: > > > It's easy to get things done / setup if you already know what you're > doing. But, lets compare apples to apples here. > > It seems logical to me that someone wanting to install CF would start > at Adobe.com , and from there c

Re: [flexcoders] Re: Gumbo / Flex 4 release date estimate?

2009-02-21 Thread Nick Collins
I'm pretty sure that was more of an Alpha, or very, very early beta... from the information on the opensource.adobe.com it seems they're still hashing out core features such as the FX namespace for Gumbo components, etc. so it's nowhere near production ready. On Sat, Feb 21, 2009 at 1:10 PM, Vivia

[flexcoders] Re: XML Parsing - maintaining a record pointer

2009-02-21 Thread sunild999999
Another idea would be to put your data into an XMLListCollection, get a view cursor to the list with createCursor(). Now you can use the the view cursor to iterate over your XMLListCollection and use the cursor's bookmark property to remember your position when necessary. Probably more work

Re: [flexcoders] Re: Gumbo / Flex 4 release date estimate?

2009-02-21 Thread Vivian Richard
But I guess they already have the beta version of Flex builder 4 ready! As I understood Flex Builder 4 beta version was distributed among the participant of MAX last year at SF. Am I right? On Sat, Feb 21, 2009 at 10:35 AM, Jeffry Houser wrote: > > You can get nightly builds of

[flexcoders] Positioning logic for pop-up?

2009-02-21 Thread Tracy Spratt
I need to constain a popup to stay with the application boundries. I will certainly be able to grind this logic out, but am wondering if anyone might have done it already. Hmm, if I can find a standard component that does this, that would also be a place to look. Tracy Spratt Lariat Services F

Re: [flexcoders] Re: Gumbo / Flex 4 release date estimate?

2009-02-21 Thread Jeffry Houser
You can get nightly builds of the Flex SDK from here: http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4 As to when they'll slap a "Beta" name on it or release a lex Builder 4 beta is anyone's guess. Sometimes that occurs 4-6 months before release, so I'd expect to see somethi

Re: [flexcoders] Re: Gumbo / Flex 4 release date estimate?

2009-02-21 Thread Vivian Richard
When the beta version of Flex Builder 4 will be released? On Sat, Feb 21, 2009 at 1:26 AM, Cato Paus wrote: > How to handle the bugeting, we have the Upgrade Plan and Maintenance on > Flex builder and LCDS it works greeat each year we pay Adobe a sum, and > we always have the last software

RE: [flexcoders] Re: ToggleButtonBar xml based dataProvider

2009-02-21 Thread Tracy Spratt
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 Lariat Services Flex development bandwidth available From: flexcoders@y

[flexcoders] Re: ToggleButtonBar xml based dataProvider

2009-02-21 Thread markgoldin_2000
No, can't get it work: taskList = XMLList(resultXML.floortasks); floorTasks.dataProvider = taskList; floorTasks is my ToggleButtonBar. I am getting: The dataProvider of 'floorTasks' must not contain objects of type flash.display.DisplayObject. With XMLListCollection I am getting: taskList = XMLLi

[flexcoders] Re: Question for Cairngorm with Flex Module?

2009-02-21 Thread Claudiu Ursica
--- In flexcoders@yahoogroups.com, "markflex2007" wrote: > > Hi, > > I build a Flex Module with cairngorm ,I load the module in main > application and I need to load it many times. > > it works fine when I load the module at first time but I get error > when I load it again. > > The error messa

[flexcoders] Eliminating Horizontal scroll on AdvancedDataGridColumn

2009-02-21 Thread yossi.baram
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 build the columns dynamicaly in my AC var column:AdvancedDataGridColumn = new Adva

[flexcoders] Re: Gumbo / Flex 4 release date estimate?

2009-02-21 Thread Cato Paus
How to handle the bugeting, we have the Upgrade Plan and Maintenance on Flex builder and LCDS it works greeat each year we pay Adobe a sum, and we always have the last software :) http://www.adobe.com/support/programs/customer/platinum.html --- In flexcoders@yahoogroups.com, "Jason" wrote: >