Re: [flexcoders] Coldfusion and Flex2 - Am I missing something.

2006-11-15 Thread Tom Chiverton
On Wednesday 15 November 2006 00:36, heisrmann wrote: Invalid server root. Server root must contain a WEB-INF/flex folder. Well, what did you enter (if anything) ? Disclaimer: I don't (can't) use Flex Builder myself. I thought being a CF developer would give me an edge to integrate with Flex;

Re: [flexcoders] Re: Datagrid Date Columns

2006-11-15 Thread Tom Chiverton
On Tuesday 14 November 2006 18:12, Mike Matthys wrote: Thanks. You wouldn't, by any chance, have an example of such a label function? There are a few in the docs, but: sortFunction: private function sortNames(obj1:Object, obj2:Object):int{ var

Re: [flexcoders] Compiling with mxmlc.exe

2006-11-15 Thread Tom Chiverton
On Tuesday 14 November 2006 18:18, Mark Lapasa wrote: Thx Matt and Tom for replying. I tried what you were saying and it still doesn't work. What *does* it do ? Please cut and past the error out of the terminal window and into an email, then we might be able to figure out what is up :-) --

Re: [flexcoders] Debugging Databinding

2006-11-15 Thread Tom Chiverton
On Wednesday 15 November 2006 04:22, Bjorn Schultheiss wrote: I’ve got one particular issue In my view: //script [Bindable] private var userData:UserVO = ShellModelLocator.getInstance().userConfig_model.currentUser; [Bindable] private var model:Model = ShellModelLocator.getInstance();

Re: [flexcoders] MXNA Errors

2006-11-15 Thread Tom Chiverton
On Wednesday 15 November 2006 12:04, Rich Tretola wrote: http://weblogs.macromedia.com/mxna/ Fine here. -- Tom Chiverton Helping to economically monetize end-to-end m-commerce This email is sent for and on behalf of Halliwells LLP.

Re: [flexcoders] Runtime CSS support

2006-11-15 Thread Tom Chiverton
On Wednesday 15 November 2006 16:23, Joan Lafferty wrote: there will be the ability to compile a css file into a swf file. These swf files will then be loaded and unloaded at runtime through some new APIs of the StyleManager. We don't want you spending too much time on a Hurrah ! We'd love

Re: [flexcoders] Re: flex and mobile devices

2006-11-15 Thread Tom Chiverton
On Wednesday 15 November 2006 11:26, bhaq1972 wrote: is Flash Lite development like flex or more like flash mx (which i have no experience of). FlashMX, I'd guess, but it's hovering just off the edge of my radar at the mo. -- Tom Chiverton Helping to collaboratively transform slick

Re: [flexcoders] Remote object - Nullable type

2006-11-15 Thread Diego Guebel
Hi Darron, Many thanks for reply, that altenative you mentioned was something I was thinking of doing, but I preferred to ask first for any better solution, it seems there is not... have you ever posted about that custom datatype alternative? I wonder how you implemented that thanks again,

Re: [flexcoders] Runtime CSS support

2006-11-15 Thread Daniel Wabyick
That is very cool, but not quite what I am looking for. We are creating a product where end-users may not have Flex, but we want them to be able to edit a CSS style sheet to update our application. It wouldn't be that hard to create a parsing utility that looks up CSS values and overrides

Re: [flexcoders] onPress Event in Flex 2.0 on Button?

2006-11-15 Thread Pascal Schrafl
Hi Mike, Thanks for your answer. I wanted the second part, that the event gets fired as long as the button is pressed. Is there a way, how this can be done easily? Thanks for your answer, Pascal Mike Keesey wrote: What do you mean by fires once, instead of the whole time? The onPress

RE: [flexcoders] Runtime CSS support

2006-11-15 Thread Gordon Smith
This should be possible, but we're not taking that approach because loading CSS as text won't get you the graphical or programmatic skins that a Flex-style CSS often references. The Flex compilers are free, and it should be easy to give your users a .bat file or something to turn their CSS file

[flexcoders] FileReference Upload Problem/Bug in Firefox?

2006-11-15 Thread Gi Hyun Lee
Hello. I am currently working on a Flex app and I have run into a problem, which I believe may be a bug when using Firefox. My situation: I am trying to upload a file in my Flex app using the FileReference.upload() method. This works perfectly well when I test this in IE7 and IE6. When I try

RE: [flexcoders] Re: Cairngorm 2.1 why the ServiceLocator dosen't extends UIComponent anymore?

2006-11-15 Thread Leggett, Samuel B CTR NETPDTC, N634
I'm not trying to spar with you Ben. This discussion has been beneficial to myself and others who have read it, but it is degrading. So, I would like to add more clarity to my statements because it appears that there are some misunderstandings. Perhaps because I did not articulate myself fully?

Re: [flexcoders] onPress Event in Flex 2.0 on Button?

2006-11-15 Thread Pascal Schrafl
Hi Andrew and camlinaeizerous, autoRepeat=true did the job for me. I will check with the repeatInterval and the repeatDelay, perhaps it may enhance the function a bit. Thank you very much, you made my day. Cheers, Pascal Andrew Trice wrote: Just turn on the autoRepeat property of the

[flexcoders] Re: Setting alpha style on a single stacked column

2006-11-15 Thread oliver langan
--- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Oliver...my answer to you would be essentially the same as my answer to Tom earlier in the conversation. You'll need to write a custom renderer for each series in your stack if you want to render the first column

RE: [flexcoders] Re: Setting alpha style on a single stacked column

2006-11-15 Thread Ely Greenfield
Hi Oliver. That's correct...there's no built in way to tell the chart to style a particular 'row' of the data differently. Rather than trying to access and modify a renderer directly, you'll have to somehow provide the information your particular application needs as an input to your custom

RE: [flexcoders] Re: Namespace help please

2006-11-15 Thread Gordon Smith
Yes, that's the right code. But I think it's Gordian Knot. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Iko Knyphausen Sent: Wednesday, November 15, 2006 11:08 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re:

[flexcoders] Fonts questions

2006-11-15 Thread Bjorn Schultheiss
1. Where is the flex-config.xml located where you can specify the preference order of which font manager you wish to use? 2. Anyone successfully embedded and used Myriad Pro Semibold? Via TTF, I know I can get it work using FlashFonts. Regards, Bjorn Schultheiss Senior Flash Developer QDC

[flexcoders] DateField - Select month and year only

2006-11-15 Thread gotgoose09
Is there a way to design something very similar to the DateField but without a day picker? For example, I want the user to be able to select a year and month to display events in my CalendarAdmin program. I don't really need them to pick a day, I just need the month and year. Anyone have a clue

[flexcoders] Fonts questions

2006-11-15 Thread Bjorn Schultheiss
Stupid questions. Sorry, solved both Regards,   Bjorn Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Thursday, 16 November 2006 12:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Fonts

[flexcoders] Login Example - Cairngorm 2.1?

2006-11-15 Thread Michelle Grigg

[flexcoders] Re: Cairngorm 2.1 why the ServiceLocator dosen't extends UIComponent anymore?

2006-11-15 Thread ben.clinkinbeard
I subclass ServiceLocator with an AS class rather than an MXML file. In that class I declare the service variables, set some properties on them (I usually set makeObjectsBindable to false), and in the initServices() function call loadWSDL() on each of them. The external xml file I spoke of is a

[flexcoders] Dynamically adding views to a viewstack

2006-11-15 Thread jjmal27
Hi, I want to dynamically create views in a viewstack by taking the view template information from the DB and then drawing my view components. The components will hold text and the views should be switched by the user clicking on a button or some clickable text. I'm new to flex and

[flexcoders] Como faço pra adicionar e remover os nodes de uma tree no flex 2?

2006-11-15 Thread Renan Fretta
Olá galera! Eu sou Renan Fretta, colunista de CF do MX Studio. A muitos anos eu já sou a favor da tecnologia RIA, desde o flash 5, quando tudo começou a ser possível, mas agora estas tecnologias explodiram na web, mas o Flex 2 como é muito recente ta muito difícil de achar conteúdo e pessoas e/ou

RE: [flexcoders] Re: Namespace help please

2006-11-15 Thread Iko Knyphausen
Of course, you are right. It's the Gordian Knot. I just googled for gordic and sure enough there were many hits, i.e. many as ignorant as me ;-) Life is great: From Namespaces to Alexander the Great in one day... After 2 days of desperate poking your help did away with all my frustration. You made

RE: [flexcoders] Dynamically adding views to a viewstack

2006-11-15 Thread Gordon Smith
You would write AS3 code that uses the 'new' operator to create a component and the addChild() method of a container to add that new component to its parent, as in var newView:Canvas = new Canvas(); myViewStack.addChild(newView); var textInput:TextInput = new TextInput(); textInput.move(100,

[flexcoders] Bar/Columns on graph are Invisible

2006-11-15 Thread phipzkillah

[flexcoders] Panel Title Embedded Font

2006-11-15 Thread Bjorn Schultheiss
Hi, Is it possible to apply an embedded font to a Panel's title via CSS? Here's the simplest example I could create [Main (PanelTitleFontCSS.mxml)] mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:my=* my:MyPanel / /mx:Application [Panel (MyPanel.mxml)]

RE: [flexcoders] Source Path Build Problems with parallel source folders

2006-11-15 Thread Matt Chotin
Talked to an engineer, we think your config is invalid. You cannot have the main source folder be the root and then add additional subfolder underneath. If you made the main source folder src\flex and then had an additional source folder test\src\flex we think it will work. Matt

RE: [flexcoders] Re: Displaying a list of managed users

2006-11-15 Thread Matt Chotin
You could use binding to help make sure the user gets notified. Or just add an event listener for move and in the event handler update the User. If you've used DataService when you change the user's x and y they will automatically notify the data service that the object needs to be updated.

RE: [flexcoders] Add call property to RemoteObjectAMF0

2006-11-15 Thread Matt Chotin
Ok, so service[method]() isn't working? Is this because of the parameter requirement? In that case you'd do service[method].apply(service, argsArray) and it should work. If you need RemoteObjectAMF0 to support this it must be a Proxy subclass. Matt

RE: [flexcoders] Re: FlexSessionListener sessionDestroyed() doesn't get called when using polling

2006-11-15 Thread Matt Chotin
What I mean is that as long as your flex app is running in a browser it will be pinging the server, therefore the session won't expire. You need the app to not be running for the length of the timeout before the server will think the session ended. Matt

RE: [flexcoders] Duplicate an Image

2006-11-15 Thread Matt Chotin
Store the embedded image in a class variable and then instantiate it, and assign the instantiated class to the image source. [Embed(source=someImage.jpg)] private var myImage:Class; instance1 = new myImage(); instance2 = new myImage(); image1.source = instance1; image2.source =

RE: [flexcoders] Unable to Refresh Custom Component after sorting DataProvider

2006-11-15 Thread Matt Chotin
You need to add a CollectionEvent.CHANGE event handler on the dataProvider in component2. When collection is refreshed you'll get notified and you can redraw. There are more details in the event in case there are things where you want to ignore and not redraw. Matt

RE: [flexcoders] array to xml

2006-11-15 Thread Matt Chotin
Use a for..in loop inside a for loop? Something like this (pseudocode): Var tasksXML:XML = tasks/; For (var i:int=0; I taskArray.length; i++) { //output your opening tag for a task For (var key:String in taskArray[i]) { Var str:String = + key + + taskArray[i][key] + / + key +

RE: [flexcoders] Flex Builder Linux

2006-11-15 Thread Matt Chotin
Do you mean the Flash Player or Flex Builder? There is no Flex Builder for Linux. The Flash Player is in beta but will hopefully be released early next year. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of devisbalsemin Sent:

RE: [flexcoders] strange security sanbox error

2006-11-15 Thread Matt Chotin
Do you have more of a stack trace on the error? You're using sockets separately or you're using sockets to reach the RemoteObject? Best to isolate the networking and see what's failing. Maybe there's a config error somewhere? Localhost:0 looks like some concatenation of domain and port, where

[flexcoders] Books Flex and Action Script

2006-11-15 Thread KP
Can some one suggest some good books Available in Flex2.0 and Action Script3.0? Kumar

Re: [flexcoders] Flex Builder Linux

2006-11-15 Thread sinatosk
on that note... will there be a Flex Builde for Linux? On 11/16/06, Matt Chotin [EMAIL PROTECTED] wrote: Do you mean the Flash Player or Flex Builder? There is no Flex Builder for Linux. The Flash Player is in beta but will hopefully be released early next year. Matt