[flexcoders] Re: Flex 1.5 price

2005-04-04 Thread cazzaran
it gives us a better understanding of how the product is being used, the sorts of problems people are facing, and so on, by interacting with real users rather than 'customers'. ... and participating in this forum is not necessarily a part of our job. And we love you for it! ;-) -Josh

[flexcoders] Syntaxhighlighting in Dreamweaver

2005-04-04 Thread Michael Hnat
Hi, is it possible to do syntax highlighting for MXML in Dreamweaver instead of FlexBuilder? Can someone tell me which files to copy? Thanks, Michi Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group,

[flexcoders] Cairngorm 1.0 release date?

2005-04-04 Thread dan_tropp
I've recently started investigating Flex. Although the information is spread all over the place, I've read some good things about the Cairngorm framework. Anyword on when 1.0 will be released? Will this include any signifant changes or extensions from the 0.9 release? Also, the 0.9 release

[flexcoders] Re: Cairngorm 1.0 release date?

2005-04-04 Thread dan_tropp
Ooops. For some reason a search for cairngorm didn't bring up Steven's message (#12011 Re: Any Idea about Cairngorm 1.0?). This answers my questons...perhaps except: Will this include any signifant changes or extensions from the 0.9 release? and Also, the 0.9 release seemed to leave a

RE: [flexcoders] Re: Cairngorm 1.0 release date?

2005-04-04 Thread Steven Webster
Hi Dan, Will this include any signifant changes or extensions from the 0.9 release? There will be some new additions to the framework, but nothing that breaks your existing usage of the framework. My hope is to pull together an email in the near future, summarising what the new additions

RE: [flexcoders] Re: Flex Events (UK South)

2005-04-04 Thread Simon Fifield
Hi Aral, Thanks for the reply. Yes I would be interested. I have also had an email from "Greenfishinwater" that also expressed interest and I have mailed them back to see if they would be interested in meeting up. As I said to Greenfish (don't know their real name yet) I have never

[flexcoders] loading swf files at runtime

2005-04-04 Thread Duccio Del Ministro
Hi, how can i import an swf file that use actionscript classes in Flex? The documentation says that i have to load the swf file at runtime but i have no idea on how to do it. Regards Duccio Del Ministro ___ Nuovo Yahoo! Messenger: E' molto più

RE: [flexcoders] ActionScript pos function

2005-04-04 Thread Abdul Qabiz
Hi Devis, There are string methods to make your life easier :), Try indexOf(..), lastIndexOf(..) methods of String class.. var txt:String = CIAO MONDO; If(txt.indexOf(MONDO)!=-1) { //substring exists return true; }else { return false; }

Re: [flexcoders] ActionScript pos function

2005-04-04 Thread Manish Jethani
On Apr 4, 2005 4:40 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: exists in AS a function that retrive if a subString exists. For example var txt :String=CIAO MONDO; //this is not ActionScript 0 SubString exists if(txt.pos('MONDO')0) return true; else return false; ActionScript

[flexcoders] Euro symbol

2005-04-04 Thread [EMAIL PROTECTED]
Sorry stupid question, maybe it's already post but i don't find. How i can display in my label the ¤ symbol, sorry if it's already post. Devis Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send

RE: [flexcoders] Euro symbol

2005-04-04 Thread Dane, Sid
---BeginMessage--- Hi, You can just type it (using an editor which supports the symbol, like FlexBuilder does) or use HTML text. S!d -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Mon 04/04/2005 14:44 To: Flex Coders Subject: [flexcoders] Euro symbol

RE: [flexcoders] un-selecting a row in datagrid

2005-04-04 Thread Doodi, Hari - BLS CTR
Thanks Gordon, it did work. Thanks! Hari -Original Message- From: Gordon Smith [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 4:21 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] un-selecting a row in datagrid Try setting dg.selectedIndex = undefined. - Gordon

[flexcoders] Long combobox list display

2005-04-04 Thread Tom Fitzpatrick
In a custom component, I have a comboBox with a long list (27 items). When the combobox displays the list, it appears above the combobox - since it would go beyond the bottom of the browser window if it displayed downward, I guess. Trouble is, the list as shown is cut off about halfway through

RE: [flexcoders] Long combobox list display

2005-04-04 Thread Abdul Qabiz
Keep the rowCount to a less value... mx:ComboBox rowCount=10 / Let user scroll...Long lists are irritating sometimes... -abdul -Original Message- From: Tom Fitzpatrick [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 7:47 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Long combobox list display

2005-04-04 Thread Mika Kiljunen
Does the combobox show all the 27 seven items at once? If it does then no wonder it wont fit. Have you tried using: rowCount: Number Maximum number of rows visible in the ComboBox control list. This should show specified number of items on the list and others should be scrollable.

RE: [flexcoders] Long combobox list display

2005-04-04 Thread Tom Fitzpatrick
Abdul Mika - Thanks - I had set the rowcount to be dynamic before lengthening the list. All is well. - Tom At 10:23 AM 4/4/2005, you wrote: Keep the rowCount to a less value... mx:ComboBox rowCount=10 / Let user scroll...Long lists are irritating sometimes... -abdul -Original

RE: [flexcoders] Euro symbol

2005-04-04 Thread Anthony Merryfield
Have you tried ctrl + alt + 4 to insert the symbol? Alternatively try the euro; code. mx:Label styleName=price text=Totale:euro;{price.format(shoppingCart.total)}/ T -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 04 April 2005 16:19 To:

RE: [flexcoders] Euro symbol

2005-04-04 Thread Abdul Qabiz
You can save your file with UTF encoding. It should work. Not sure, which Text editor you use. But you can do it with Notepad. Open your mxml file in NotePad, then Save As, notice in Save As dialog, there Encoding combobox. Select UTF-8 from it and save your file. -abdul -Original

[flexcoders] How do you do this in flex

2005-04-04 Thread nostra72
Make an if statement that will run based on two conditions rather than just one. Is this possible to do in Flex? Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your

Re: [flexcoders] How do you do this in flex

2005-04-04 Thread John Daharsh
This seems like a simple enough question... Scenario 1, 1 condition: if(condition1) { execute code; } Scenario 2, 2 conditions: if(condition1 condition 2) { execute code; } You do that in Actionscript -- this is a very basic idea in programming. Did I misread your question? On Apr

Re: [flexcoders] Euro symbol

2005-04-04 Thread [EMAIL PROTECTED]
Hi, i'm using this mx:Label styleName=price text=Totale:euro;{price.format(shoppingCart.total)}/ but throws this message pelase help Devis 2 Errors found. Error C:\jakarta-tomcat-5.5.7\webapps\samples\test\CartView.mxml:74 The entity euro was referenced, but not declared. Error

Re: [flexcoders] Euro symbol

2005-04-04 Thread [EMAIL PROTECTED]
Yeah, work, i'm using TextPad, and in my file i haven't use Encoding UTF-8, ;-(. Thank's now work fine Devis Abdul Qabiz ha scritto: You can save your file with UTF encoding. It should work. Not sure, which Text editor you use. But you can do it with Notepad. Open your mxml file in NotePad,

RE: [flexcoders] Euro symbol

2005-04-04 Thread Abdul Qabiz
Hi Davis, Please read my previous mail on this same topic. Try saving your file with UTF-8 encoding, this should solve the problem... It's better to save file in UTF-8 encoding... -abdul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 04,

Re: [flexcoders] How do you do this in flex

2005-04-04 Thread Jim Laing
ActionScript supports all the standard boolean operators. for and, || for or, etc. So if(cond1 || cond2) { ... } Is that what you mean? On Apr 4, 2005 11:49 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Make an if statement that will run based on two conditions rather than just one. Is

RE: [flexcoders] How do you do this in flex

2005-04-04 Thread Abdul Qabiz
Hi, If you are talking about some mx:If mxml tag, sorryits not there. Because there are better ways of doing the same. As suggested, you can use actionscript for such things... Feel free to dig into archives or ask here for any further queries... -abdul From: [EMAIL PROTECTED]

RE: [flexcoders] Euro symbol

2005-04-04 Thread Anthony Merryfield
I suggest you follow Abduls advice, as when I typed the character in and it worked first time. I would have thought using euro; would work as well but I get the same error as you... If I do this: mx:Script ![CDATA[ var monetaryType:String = euro;; ]] /mx:Script mx:Label

Re: [flexcoders] Euro symbol

2005-04-04 Thread Manish Jethani
On Apr 4, 2005 8:48 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sorry i'm using copy and paste but flex throws this mx:Label styleName=price text=Totale:{price.format(shoppingCart.total)}/ Use the character code directly. mx:Label text=#8364; / If the font supports that character,

RE: [flexcoders] Problem with showBusyCursor on a popupWindow

2005-04-04 Thread Matt Chotin
Do you know what method its trying to call?  I suppose the window could be introspecting the contained objects but that would be weird.  A workaround would maybe be to move the RemoteObject outside the TitleWindow into another class and simply have your functions call the outside remote

Re: [flexcoders] Events and Components

2005-04-04 Thread Ashley Streb
You can bind to the result from the GetResults function directly, flex takes care of generating the binding code for you. (no need to dispatch events) E.g., mx:ComboBox dataProvider={this.parent.Webservice1.GetResults.result}/ Or, if you need to invoke a method with the results mx:ComboBox

[flexcoders] Re: Events and Components

2005-04-04 Thread gevgelija50
Tried that and got the following Warnings: 2 Warnings found. Warning /Component.mxml:219 Changes for dynamic property, parent, with no declared [ChangeEvent] will not be detected. Warning /Component.mxml:219 Changes to unknown property, result, will not be detected --- In

Re: [flexcoders] AS - adding dynamic properties to an object

2005-04-04 Thread Harris Reynolds
In AS you always have the option of taking advantage of the dynamic type system and just adding properties to an untyped object on the fly. What is the type of the object? Is that an option? ~harris --- viraf_bankwalla [EMAIL PROTECTED] wrote: Hi, How do I add dynamic properties to an

[flexcoders] Re: AS - adding dynamic properties to an object

2005-04-04 Thread viraf_bankwalla
While I can do an object.propertyName in AS to create the property with a known name, I do not know the property name till runtime (specified in the dataset that I receive), and did not know how to create the property at runtime. The object to which I am adding the property is one of my

Re: [flexcoders] AS - adding dynamic properties to an object

2005-04-04 Thread Manish Jethani
On Apr 5, 2005 1:08 AM, viraf_bankwalla [EMAIL PROTECTED] wrote: How do I add dynamic properties to an obect ? These properties are received over the HTTPService request. If you have an instance of a dynamic class, you can just stick them onto the object. var o:Object = new Object(); //

Re: [flexcoders] Re: AS - adding dynamic properties to an object

2005-04-04 Thread Manish Jethani
On Apr 5, 2005 1:20 AM, viraf_bankwalla [EMAIL PROTECTED] wrote: While I can do an object.propertyName in AS to create the property with a known name, I do not know the property name till runtime (specified in the dataset that I receive), and did not know how to create the property at

RE: [flexcoders] Dynamic link population

2005-04-04 Thread Tracy Spratt
It does. The Flex compiler need to know the type of the references in order to generate the event listeners/dispatchers. I don't know why that didn't stop the warnings for you though. Tracy -Original Message- From: Cynthia Lee [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005

[flexcoders] Developer Edition whitelist?

2005-04-04 Thread Kevin Conboy
Hello, all. Our Trial version of the Flex 1.5 server has expired, and we're having a hard time finding the (what we assume to be an) XML file where we enter the 5 allowed IP addresses owned by the developers on the local network so that they can continue to develop their application. Any

RE: [flexcoders] Events and Components

2005-04-04 Thread Matt Chotin
In 1.5 the web service doesnt cleanly support adding event listeners at runtime, youd need to do it at compile-time through the tag (this is changing in the next version). But you could delegate this work if you wanted by using something like a Responder as mentioned in the Cairngorm

RE: [flexcoders] Re: Events and Components

2005-04-04 Thread Tracy Spratt
Binding does not work well when you reach up to a parent component. You will have better luck passing a reference into the sub-component. In the main app(Myapp): MyComponent id=mc1 app={this} .../ And in MyComponent: public var app:MyApp; //data typing is required! then:

Re: [flexcoders] Run MXML on PC, Calling to Java on Remote Server - Help

2005-04-04 Thread Libby Chantel
Is this not doable? --- Libby Chantel [EMAIL PROTECTED] wrote: I am a newbie with Flex, trying to get it going for a proof of concept. I have Flex installed on my remote Java Server (Websphere). I can successfully make calls from Flash apps on my pc to the java programs running on the

RE: [flexcoders] Run MXML on PC, Calling to Java on Remote Server - Help

2005-04-04 Thread Peter Farland
If you're using RemoteObject, you can set the endpoint property to a remote Flex / Flash Remoting server in the mx:RemoteObject tag. The default is generated from the url set in the /WEB-INF/flex/flex-config.xml file, which happens to be a relative URL by default (to your local machine). Also,

Re: [flexcoders] Run MXML on PC, Calling to Java on Remote Server - Help

2005-04-04 Thread Matthew Shirey
My guess would be that most don't have enough information to help. I am not sure what you are trying to attempt here. You may want to be more specific about what it is you are trying to do. What kind of java programs are you trying to'make calls' to? What do you mean by 'make calls'... --

RE: [flexcoders] Run MXML on PC, Calling to Java on Remote Server - Help

2005-04-04 Thread Matt Chotin
The sample apps (Flex Explorer for the simplest) and apps on various blogs have plenty of examples of using RemoteObject to connect to Java servers. The livedocs also has a whole section on it, you can start here: http://livedocs.macromedia.com/flex/15/flex_docs_en/0772.htm

RE: [flexcoders] Can you Use a Repeater without a dataprovider?

2005-04-04 Thread Matt Chotin
Just create an array that has 4 elements in it and ignore the contents if this is really what you want to do. It may just be easier to copy and paste the code 4 times though. mx:Repeater dataProvider={[0,0,0,0]} / Matt From: javawebgrrl [mailto:[EMAIL PROTECTED]

[flexcoders] Re: Can you Use a Repeater without a dataprovider?

2005-04-04 Thread javawebgrrl
Thanks very much Matt. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Just create an array that has 4 elements in it and ignore the contents if this is really what you want to do. It may just be easier to copy and paste the code 4 times though. mx:Repeater

RE: [flexcoders] Can you Use a Repeater without a dataprovider?

2005-04-04 Thread Tracy Spratt
I have to ask, if they are not dynamic, what is the advantage of using a repeater? I think you will need to create a dataProvider, even if its: DataProvider={[1,2]} ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Repeater id=repeater1

[flexcoders] Re: Can you Use a Repeater without a dataprovider?

2005-04-04 Thread javawebgrrl
Hi, I wanted to use some looping mechanism so that I can process the combo box's in a loop in my actionscript. When the user clicks save I don't want to go have to check 4 differant combo box id's to see what was selected, if I create them in a loop, I can just loop through the results.

[flexcoders] Sort Order in a DataGrid

2005-04-04 Thread Matthew Shirey
Might someone point me in the right direction for altering the sort order method(s) for a DataGrid? It's currently annoying litteral. I'd like to alter it so it is case insensitive. Currently the column orders somewhat like this: A B C . . Z a b c . . . z while I'd like it to order like: A a

[flexcoders] Experiences with XMLSocket?

2005-04-04 Thread Eric Raymond
We are looking at using XMLSocket and a data push model to improve some real-time aspects our application. Has anyone had real experience using XMLSOcket with a large set of users? I guess I'm looking for cases where it doesn't work (e.g., firewall issues) or doesn't work well. Yahoo!

RE: [flexcoders] Sort Order in a DataGrid

2005-04-04 Thread Tracy Spratt
For really fine grained sorting you can sort the dataProvider in action script and use Array.sortOn. DataGrid has sortItemsBy. DataGrid is supposed to recognize numeric columns and sort accordingly. If it is not working, make sure you really have numbers and not strings that look

RE: [flexcoders] Sort Order in a DataGrid

2005-04-04 Thread Abdul Qabiz
Hi, You can use your own sorting method(algorithm) to sort entire grid. Or you can apply your algorithm on a particualr column. Look at DataGrid.sortItems(sortFunc:Function, order):Void method. Also look at DataGridColumn.sortCompareFunction:Function property DataGrid.sortItems(..)

RE: [flexcoders] Experiences with XMLSocket?

2005-04-04 Thread Abdul Qabiz
Hi Eric, I am sure you will get some feedback on this list. I will suggest you to look into another mailing list, which is chattyfig's flashcoders list. You can get some real good feedback/information from there also. You might want to search the flashcoders archive...

Re: [flexcoders] Sort Order in a DataGrid

2005-04-04 Thread Matthew Shirey
Excellent, setting the sortCompareFunctionto my own sort comparer that did the comparison ignoring case worked perfectly. Thank you! -- Matthew On Apr 4, 2005 5:14 PM, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi,You can use your own sorting method(algorithm) to sort entire grid. Or youcan apply

Re: [flexcoders] Experiences with XMLSocket?

2005-04-04 Thread JesterXL
Jobe Makar from Electrotank is the man to talk too. He's been touting the features of XMLSocket, and it's ability to server thousands of users daily for his multiplayer games. http://www.electrotank.com/corporate.electro - Original Message - From: Eric Raymond [EMAIL PROTECTED] To:

RE: [flexcoders] Experiences with XMLSocket?

2005-04-04 Thread Abdul Qabiz
And what about, Colin Moock :), but Jobe is more vocal in community lists... http://www.moock.org -abdul -Original Message- From: JesterXL [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 6:18 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Experiences with

Re: [flexcoders] Experiences with XMLSocket?

2005-04-04 Thread Darron J. Schall
Abdul Qabiz wrote: And what about, Colin Moock :), but Jobe is more vocal in community lists... While we're at it, there's also Oregano-Server, which is an open source alternative (both electroserver and moock's unity aren't free). http://www.oregano-server.org/ Be warned though,

[flexcoders] How to get access to HttpSession in a stateful-class

2005-04-04 Thread cazzaran
I have some remote business delegates that are stateful. Is there a way to get access to the session that they are being held in? For example, I have a UserDelegate that handles user based business logic for the current logged in user, and it maintains a member variable of the user so I don't

RE: [flexcoders] How to get access to HttpSession in a stateful-c lass

2005-04-04 Thread Matt Chotin
TADA! http://livedocs.macromedia.com/flex/15/flex_docs_en/2247.htm :-) Matt From: cazzaran [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 6:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to get access to HttpSession in a stateful-class I

[flexcoders] Re: AS - adding dynamic properties to an object

2005-04-04 Thread viraf_bankwalla
Thanks - the example below would have worked if I had knowledge of the property name when I wrote the code. This is not the case (the property name is retrieved with a service request). The solution that I found was to use the associative array syntax - obj[propertyName] = yy; Now the

RE: [flexcoders] Re: AS - adding dynamic properties to an object

2005-04-04 Thread Ben Elmore
A quick way to do it (ugly admittedly) is to use the 'instanceof' or 'typeof' operator. if ( obj[propertyName] instanceof Date ) You might need to cast into number or date before you check the instance of to see if it is valid. -Original Message- From: viraf_bankwalla

Re: [flexcoders] Re: AS - adding dynamic properties to an object

2005-04-04 Thread JesterXL
A rundown of them all: Who's on here? - function showProps(o:Object):Void { for(var p in o) { trace(-); trace(p + : + o[p]); trace(typeof: + typeof(o[p])); trace(is a String: + (o[p] instanceof String)); trace(is a

RE: [flexcoders] Re: AS - adding dynamic properties to an object

2005-04-04 Thread Ben Elmore
Is this the answer to the age old question of 'Who's on first?' :) -Original Message- From: JesterXL [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 10:35 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: AS - adding dynamic properties to an object A rundown of

Re: [flexcoders] Re: AS - adding dynamic properties to an object

2005-04-04 Thread JesterXL
interface Abbot { public function question():Function; } class First { public function question():Function { return question; } } import IAbbot; import First; var firstBase:IAbbot = new First(); function whosOnFirst() { while(true) { var answer:Function

[flexcoders] web service error from flex ProxyServlet - any ideas?

2005-04-04 Thread vonrosen2000
We are getting an intermittent error when calling web services via flex. Our server is IBM websphere. It appears that a request with no data is being sent the FlexProxy. See debug output below for details: request: (note there is NO soap envelop attached to this request) [4/4/05

Re: [flexcoders] How to get access to HttpSession in a stateful-c lass

2005-04-04 Thread Dan Tropp
This may be a stupid question, but if your flex app is wrapped in in a jsp file (using something like mm:mxml source=.../) can you access variables in request scope? Or can you pass selected variables into a flex app? I got around it by having initialize=callHttpServiceToGetInitData() in my