RE: [flexcoders] Large XML data binding to FLEX Chart

2006-03-29 Thread Seet Hing Long
Thanks alot Matt.I had checked also linerealtime.mxml which says "In a real life scenario, you could poll the server here, or use an XMLSocket or Flash Communication Server approach to push data from the server to the client." Can you elaborate more on XMLsocket and how it works?I will try out

RE: [flexcoders] Re: need help with programatic skin

2006-03-29 Thread Jason Hawryluk
If I understand you question correctly. Have a look at the textIndent style this can be set via css or property, otherwiseyour going to have to extend the button. for example css file mx:Style.IndentedtextButton{cornerRadius: 0;textIndent:15;fontWeight:"normal";} /mx:Style mx:Button

[flexcoders] Bug : Popupbar when in viewstack [Flex 2.0 b2]

2006-03-29 Thread sourcecoderia
So there seems to be a bug in the view stack not redrawing it's children, or a bug in the popupbutton. The dropdown menu is not being cleared. The only way to avoid it is to add the menu as a child to the popupbuttons parent container and don't include it in the layout. See below code. Run it

[flexcoders] Re: Internal Build Error

2006-03-29 Thread Tim Sawyer
Found it. The compiler is throwing a fit on this line of code: var kpiList:Array = (this.myData as Array)[0]; if I remove as Array, then it compiles and the compiler no longer explodes. I actually added the as Array in because Flex gave me a warning that I was casting Object to Array and I

Re: [flexcoders] Re: Internal Build Error

2006-03-29 Thread Michael Schmalle
Hi, Not to butt in or anything but, var kpiList:Array = (this.myData as Array)[0]; That is probably not a very good way to write the _expression_ anyway. I can see why there might be a glich, var kpiList:Array = myData[0] as Array; would probably be better. Peace, Mike On 3/29/06, Tim

[flexcoders] Re: need help with programatic skin

2006-03-29 Thread shemeshkale
not what i meant. a button in flex have a default gap (padding in html/css) between text and the buttons border - on both leftright sides. how do i change this? --- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote: If I understand you question correctly. Have a look at the

Re: [flexcoders] Re: need help with programatic skin

2006-03-29 Thread Michael Schmalle
Hi, >From what I gather your are looking for the 'marginRight' and 'marginLeft' css styles. Button does not support 'marginTop' and 'marginBottom' css styles. If I were to have made this Button I would have included this. Adobe, what was your reasoning for not allowing us to have top and

[flexcoders] Flex2 - Asynchronous Completion Token

2006-03-29 Thread bhaq1972
This is another one of those questions 'i could do this in flex1.5 but now cant in flex2b2'. in flex1.5 this worked well var call = service1.HelloWorld(); //service1 is a mx:WebService call.onResult = mx.utils.Delegate.create(this, returnHelloWorld); i cant do this in flex2b2 event after

[flexcoders] Re: Internal Build Error

2006-03-29 Thread Tim Sawyer
Still shouldn't blow up the compiler though should it. :-) Our old beta 1 code says: var kpiList:Array = Array(this.myData)[0]; and the compiler warning is Array(x) behaves the same as new Array(x). To cast a value to type Array use 'x as Array' instead of Array(x). so I changed it to var

Re: [Norton AntiSpam] [flexcoders] Flex2 - Asynchronous Completion Token

2006-03-29 Thread Jeff Tapper
Take a look at the makeRemoteCall() method of the DataManager class I wrote (http://jeff.mxdj.com/as3_datamanager.htm). This does the flex 2 version of what you are looking for. At 06:51 AM 3/29/2006, bhaq1972 wrote: This is another one of those questions 'i could do this in flex1.5 but now

Re: [flexcoders] Re: Internal Build Error

2006-03-29 Thread Michael Schmalle
Well, Considering this is a brand spankin new compiler, anything is possible. Also, knowing the magnitude of change from Flex2 b1 to Flex2 b2, there could be a possibility there was that much adjustemnt in the compiler also. Peace, MikeOn 3/29/06, Tim Sawyer [EMAIL PROTECTED] wrote:

[flexcoders] Re: how to get the Bitmap/BitmapData of controls

2006-03-29 Thread wujunjr
I have a similar question. How to get the image as part of the screen and save it to local disk/or server side (maybe using java)? Thanks a lot! --- In flexcoders@yahoogroups.com, feiyhy [EMAIL PROTECTED] wrote: somebody can tell me how to get the Bitmap/BitmapData of a control,such as the

RE: [flexcoders] Re: need help with programatic skin

2006-03-29 Thread Jason Hawryluk
Or paddingleft and right? Which depends on the version of flex your using beta 1or 2. Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Michael SchmalleEnvoyé: mercredi 29 mars 2006 13:39À: flexcoders@yahoogroups.comObjet:

[flexcoders] Too many mistakes

2006-03-29 Thread snail
hello,everyone When I read the help content of Flex Builder 2 beta 2,I find many mistakes,such as use Link instead of LinkButton which is not exist in Flex 2. And the example code also make mistakes. When I follow the help,many errors occour. So boring. I am a beginner,I find flex 2 is not

[flexcoders] How to create database connectivity with flex programming? or how to access database by flex/cold fusion connectivity?

2006-03-29 Thread srini vasan
HiI am new to flex programming.How to create database connectivity with flex programming? or how to access database by flex/cold fusion connectivity?. I searched many flexlearning articles. I did not get any solution. Please help me.Advance Thanks Jiyo cricket on Yahoo! India

RE: [flexcoders] Message destinations in the context of a multi-room chat app

2006-03-29 Thread Stefan Richter
I haven't actually had a chance to play with FDS yet (and I am unfamiliar what exactly a destination is in this context) but what you describe sounds like a definite limitation. Would you be able to post some code that shows how and where this problem surfaces? Stefan From:

[flexcoders] Setting the focus to a tree branch

2006-03-29 Thread Clarke Bishop
I've just finished moving my app from Flex2 b1 to Flex2 b2, but I've still got one problem I can't solve. I'm trying to set the focus to a specific branch of a tree component. Here's the function that worked in Beta 1: private function initTree():void {

Re: [flexcoders] Image and click event??? Flex 2 B2

2006-03-29 Thread Douglas Knudsen
On 3/28/06, Manish Jethani [EMAIL PROTECTED] wrote: On 3/29/06, Douglas Knudsen [EMAIL PROTECTED] wrote: Ok, so I have a TileList using a itemRenderer known as Thumb.mxml. In Thumb.mxml I have mx:Image id=up source={upArrow} visible=false click=mx.controls.Alert.show('hello');/ I

Re: [flexcoders] creating states with effects programatically

2006-03-29 Thread Johannes Nel
if you mean states as declared in mxml, yes they work fine. this code ported seemlesly from beta1 to beta2 (adobe's port tool doing the trick) and te transition never worked in either.On 3/28/06, Jignesh Dodiya [EMAIL PROTECTED] wrote: Hi, Nell, thanx for ur strict comment on some thread

[flexcoders] Re: Using mxml without flex framework (Flex 2 Beta 1 and 2)

2006-03-29 Thread bussesven
Yes and if i would actually buy Flex Builder, i really would like to use the tool to my own needs. When making up the architecture of my app, i want to be able to decide a - if i want to use the flex framework b - if i want to use mxml or if i just want to make an actionscript project And i

Re: [flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-29 Thread Richard Rodseth
I haven't used OL, but I'm surprised no one has mentioned their support for alternate runtimes (eg. one markup generating either AJAX or Flash). I would imagine that might appeal to those for whom the non-open-source nature of the Flash player is an issue, or those who have other concerns about

Re: [flexcoders] Re: need help with programatic skin

2006-03-29 Thread Michael Schmalle
Did they take it all out? Heh, I havn't even tried, so if that is the case disregaurd my post ;-) Peace, MikeOn 3/29/06, Jason Hawryluk [EMAIL PROTECTED] wrote: Or paddingleft and right? Which depends on the version of flex your using beta 1or 2. Jason -Message

Re: [flexcoders] creating states with effects programatically

2006-03-29 Thread Jignesh Dodiya
ok.. i was mainly concern about the transition effect..coz in my code, states transition effect codeding inmxml file and i justfollowed transitionFlexStore example)also works fine..but only the thing is the Transition Effect. I am not saying that it completely not work but its working

[flexcoders] Re: Fex2 - Asynchronous Completion Token

2006-03-29 Thread bhaq1972
Thank u Jeff. That worked! Very nice looking class you got there. Couldn't agree with u more. BTW I did have a work around which looked like this service1.HelloWorld.send(); service1.HelloWorld.addEventListener(result, returnMe); or service1.HelloWorld.addEventListener(ResultEvent.RESULT,

Re: [flexcoders] creating states with effects programatically

2006-03-29 Thread Johannes Nel
like how?On 3/29/06, Jignesh Dodiya [EMAIL PROTECTED] wrote: ok.. i was mainly concern about the transition effect..coz in my code, states transition effect codeding inmxml file and i justfollowed transitionFlexStore example)also works fine..but only the thing is the Transition Effect.

[flexcoders] Re: need help with programatic skin

2006-03-29 Thread shemeshkale
that is the direction of my thought, but... allready tried that - it seems to have some minimum!! i cant do marginRight=0... when i do that i still have this damn space that i cant get rid of. i saw in the Button.as a property called 'extraSpacing' that it does exactly that.. how do i make it zero

Re: [flexcoders] Too many mistakes

2006-03-29 Thread Sachin Dharmapurikar
Hi Michael, You are absolutely correct. Beta products are not production ready and they have mistakes. I am thinking to use the Flex charting in my application. I can see that Flex 2 is in beta and Flex 1.5 is prod stable but lack in features. Moreover, if I now invest time in Flex 1.5 there

RE: [flexcoders] Re: need help with programatic skin

2006-03-29 Thread Jason Hawryluk
you could use extraSpacing="0" even though the property does not appear in the list. I just tried it. The default is 20 and it does get ride of the extra space. mx:Button extraSpacing="0"label="Add Task" / For anything else you want to try, try extending the button.. in line Create a

Re: [flexcoders] Too many mistakes

2006-03-29 Thread Michael Schmalle
Honestly, This beta 2 ROCKS! There are only things that you will need to to tweak down the road. I have created a full AS3/MXML documenter/renderer like JavaDOC inside Flex starting from the alpha release. Things are going great. My approach was; Build the application's logic and structure

[flexcoders] Run shortcut

2006-03-29 Thread Stefan Richter
I am having trouble configuring a keyboard shortcut for 'Run'. The preferences suggest that Ctrl-F11 should work but it doesn't for me and neither do any newly configured ones. Could someone walk me though this? I kinda fancy Ctrl-Enter as my shortcut to run my app (Ctrl-Shift-enter for

Re: [flexcoders] Re: need help with programatic skin

2006-03-29 Thread Michael Schmalle
Well, unfortunatly... If you can't find the answer, when the actual source comes out(public release) you can just extend the Button to do as you wish. I can't wait till I can see implementations so I can progress with some more complicated extensions of these components Right now it's a

Re: [flexcoders] creating states with effects programatically

2006-03-29 Thread Jignesh Dodiya
Hi, I have strange transition problem is as follow.. written code in mxml. and not in AS-3 i have a combobox and two redio button..in my appliccation clicking on one radio button, the panel length increases to accomodate another combobox and a send button, clicking on another redio button,

RE: [flexcoders] Too many mistakes

2006-03-29 Thread Jason Hawryluk
Mike, I have to second that. I’m in exactly the same position. Concentrate on the backend and front end non UI related architecture. Consider that any UI you do, do is prototyping to give you a feel for the app and allow you to test the other back end stuff. I have been working since

Re: [flexcoders] Too many mistakes

2006-03-29 Thread Scott Langeberg
Actually, LinkButton does exist! (Not Link).ScottOn 3/29/06, snail [EMAIL PROTECTED] wrote: hello,everyone When I read the help content of Flex Builder 2 beta 2,I find many mistakes,such as use Link instead of LinkButton which is not exist in Flex 2. And the example code also make

Re: [flexcoders] Too many mistakes

2006-03-29 Thread Jignesh Dodiya
hi Snail, i would like to share my experience my experiencewas same as u described earlier ...but then after i have decided to take help from the other resources. Flex coder yahoo group is the best i think, also other master developer's blog helped me a lot and still helping and i am leaning

[flexcoders] Re: databinding issue for combobox

2006-03-29 Thread rgwilson26
Basically I am calling a query that will populate a combobox. Then the user will be able to use a click event that will send that value from the combo box to a datagrid. Right now it sends a value from the combobox to the datagrid, but what is displayed is [object Object] instead of the

Re: [flexcoders] Re: databinding issue for combobox

2006-03-29 Thread Anatole Tartakovsky
And you are looking for cmbDept.selectedItem.data or cmbDept.selectedItem.label? - Original Message - From: rgwilson26 To: flexcoders@yahoogroups.com Sent: Wednesday, March 29, 2006 10:15 AM Subject: [flexcoders] Re: databinding issue for combobox

[flexcoders] Re: need help with programatic skin

2006-03-29 Thread shemeshkale
THANK U VERY MUCH.. this is a big step a head... me happy ! it seems that i need to learn about this method of extending and building components. where can i learn this? can u refer me to some place that explain this all procedure? --- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL

RE: [flexcoders] Too many mistakes

2006-03-29 Thread Sachin Dharmapurikar
Guys, as I said earlier we are planning to integrate charting with our application.We are using very scalable J2EE platform for backend logic. Our architecture is as follows -DB - J2EE(Servlets Classes) - XML to Browser - XSLT for presentationI am unhappy with the presentation

[flexcoders] Still need some help with my menu bar

2006-03-29 Thread Jeremy Rottman
after a few hours of playing with the menu bar issue I was having yesterday, I am still stuck trying to figure out why my menu handler function wont work with my menu bar. This function is suposed to change teh state when someone changes thier selection to one of the child menu items. It appears

Re: [flexcoders] creating states with effects programatically

2006-03-29 Thread Johannes Nel
show the code.and can someone please look at my problem as well, pretty please. On 3/29/06, Jignesh Dodiya [EMAIL PROTECTED] wrote: Hi, I have strange transition problem is as follow.. written code in mxml. and not in AS-3 i have a combobox and two redio button..in my appliccation

RE: [flexcoders] Too many mistakes

2006-03-29 Thread Jason Hawryluk
About the size, it's beta, so the compiler has not been optimized. Newt I would not base my ultimate decision of using or not using a product by looking at a beta quality product. 40mb is nothing as far as foot print IMHO (IE + yahoo loaded =20mb) The size could also depend on your

[flexcoders] Re: databinding issue for combobox

2006-03-29 Thread rgwilson26
I tried using both cmbDept.selectedItem.data or cmbDept.selectedItem.label, but it displays nothing inside the datagrid. With cmbDept.selectedItem it displays [object Object] for each click event. --- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: And you are

RE: [flexcoders] Re: Cairngorm problem

2006-03-29 Thread Jonathan Miranda
Yeah it seems to work, and thanks guys for looking into this. Any ideas why I would have to do this though for just the chart? _ Jonathan Miranda Flexible Master of the Web Try not to become a man of success, but a man of value. - Albert

[flexcoders] Flex2 :: mx:Text :: Problem with html property

2006-03-29 Thread Michael Schmalle
Hi, Has anyone had problems with the 'html' property being set to true on the Text component? I have mine set to true and it is still showing p tags, not html formatting? Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ:

[flexcoders] Has anyone had problems rotating UIText fields in flex2 beta2

2006-03-29 Thread ken_bob_miller
I am using UItextField, using an embedded font, worked OK on beta 1 but does not now appear to work, has anybody come accross a similar problem?? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Problem with target areas on UIComponent flex2 beta 2

2006-03-29 Thread ken_bob_miller
I have several UIComponents listening for events on fields for example see below, but since going to beta 2, the target seems to be fired higher and to the left of the UIComponent itself?? Has anyone come accross anything similar?? //var lXAxis:UIComponent = new UIComponent;

[flexcoders] Flex Job - Lead Software Engineer - Newly VC Funded Startup (San Mateo, CA)

2006-03-29 Thread Eric Raymond
This is a unique opportunity to define a new type of consumer software. You will be involved in every aspect of development and will have the opportunity to make a huge impact.We're looking for more than just an experienced developer who is an expert in a specific language or technology. We

RE: [flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-29 Thread Bryan Rieger
Richard, To be perfectly honest the ability to publish to alternative runtimes was the deciding factor for us to initially look at OpenLaszlo. Having a language abstracted from it's runtime was/is very appealing as it (in theory) allows you to republish your applications on future platforms so

[flexcoders] Re: databinding issue for combobox

2006-03-29 Thread Cristian Pop
Hi, First problem I see with this code (... label=Add click={addRow()} ..) is tha in the click event I don;t think you need the {}. You can put AS code there. Second what happens is probably that CF adapter returns the array of objects with properties in upper case, so .DATA and .LABEL. The

[flexcoders] Integrating flexunit with flexbuilder2

2006-03-29 Thread Aldo Bucchi
HI all, As we have it right now ( using Flexunit ) there is a lot of boiler plate code needed to write a testcase, and the separation of tests from the actual classes adds some overhead to refactoring. This is not new, but an old PITA that, in my opinion, is already common enough to be refactored

RE: [flexcoders] Re: need help with programatic skin

2006-03-29 Thread Matt Horn
Start with the Creating and Extending Flex Components book: http://download.macromedia.com/pub/documentation/en/flex/2/flex2_createcomps.pdf Hth, Matthew J. Horn Flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent:

[flexcoders] Flex2 :: DocumentX :: Flex document solution comming ...

2006-03-29 Thread Michael Schmalle
Hi all, I have been talking about this thing for awhile you can check out my blog post for more info. http://www.flex2components.com/f2cblog/2006/03/29/flex2-documentx-a-document-solution-for-flex/ Peace, Mike-- What goes up, does come down. -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Re: FLEX and Open Lazslo Comparision

2006-03-29 Thread dos dedos
(eg. one markup generating either AJAX or Flash)As far as I'm aware, there are multimedia functions that can be done in Flex that cannot be done in Ajax. e.g. capturing audio and video streams from the user's PC, mixing audio streams, and other stuff that are not possible (yet) in

[flexcoders] Flex2 Beta2 skinned Combobox is really looooong

2006-03-29 Thread riskyseven
My comboBoxes are being rendered very long after skinning? If I remove the skin, the comboBox is normal. I've tried PNGs, and 9- sliced SWFsthey are all rendered about 200 pixels too long. If I manually shorten them, the data gets cut off. Am I missing something? Thanks.

[flexcoders] Does a selector filter messages on the server or the client?

2006-03-29 Thread Tom Bray
From this example in the docs: private function logon() { consumer = new Consumer(); consumer.destination = ChatTopic; consumer.selector = prop1 5; consumer.subscribe(); } Does the prop1 5 evaluation happen on the server or the client? In other words, do

RE: [flexcoders] Too many mistakes

2006-03-29 Thread Ely Greenfield
1) make sure you're looking at the release swf size, both on disk and in memory, not the debug swf 2) it does not grow linearly with the complexity of the UI, but rather with the number of definitions you pull in. Building a flex app brings in a core set of definitions. Each new _type_

Re: [flexcoders] Re: Internal Build Error

2006-03-29 Thread Mike Chambers
fyi, I forwarded this to the Flex Builder team. mike chambers [EMAIL PROTECTED] Tim Sawyer wrote: Still shouldn't blow up the compiler though should it. :-) Our old beta 1 code says: var kpiList:Array = Array(this.myData)[0]; and the compiler warning is Array(x) behaves the same as

Re: [flexcoders] Too many mistakes

2006-03-29 Thread Mike Chambers
Make sure to check out the beta 1 to migration document: http://labs.macromedia.com/wiki/index.php/Flex:Beta_1_to_Beta_2_Changes It covers some of the issues you mentioned. mike chambers [EMAIL PROTECTED] Sachin Dharmapurikar wrote: Hi Michael, You are absolutely correct. Beta products

Re: [flexcoders] Hardware requirements for Flex performance

2006-03-29 Thread Jignesh Dodiya
So any one has idea regarding flex-2 , in terms of memory and as described above thread, the hardware specs Jignesh On 3/29/06, Mika Kiljunen [EMAIL PROTECTED] wrote: Hi, If you have a complex app that processed and displays _lot of data _ then memory could be an issue. We run our app

RE: [flexcoders] Flex2 :: mx:Text :: Problem with html property

2006-03-29 Thread Joan Tan
To make html work for the Text component, you should be using the htmlText property. Here is an example: mx:Text width=400 mx:htmlText![CDATA[This is font color=#FFHTML text/font in a bText component/b. Using the uhtmlText attribute/u of the font color=#008800Text component/font

[flexcoders] Re: Sticky Dragging Problem

2006-03-29 Thread sufibaba
Manish, The dropLine method is being called; albeit only when the line is not being dragged ontop of another sprite that listens for the MOUSE event. I believe you are right in thinking that the object is not getting the MouseUp. This is probably a conflict with other sprites. I tried

RE: [flexcoders] Still need some help with my menu bar

2006-03-29 Thread Ashish Goyal
Try this: currentState = [EMAIL PROTECTED]; -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Wednesday, March 29, 2006 8:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Still need some help with my menu

[flexcoders] compiler errors, runtime errors, requests for enhancement (Flex 2 beta)

2006-03-29 Thread loftling
I'm posting this here in the hopes that some of the Adobe engineers active on this group will read the messages I've been posting to their own forums. I've been having a lot of problems that other haven't, and I'd love some responses. A NullPointerException in the compiler prevents me from

[flexcoders] Flex 2.0 and AMF.NET

2006-03-29 Thread Niklas Richardson
Hi Everyone, Is there any reason why AMF.NET would not work with Flex 2.0? We're about to start a project and I'd really like to be able to use AMF.NET rather than web services. Any experiences would be great. Cheers Niklas -- Flexcoders Mailing List FAQ:

RE: [flexcoders] Re: databinding issue for combobox

2006-03-29 Thread Tracy Spratt
When you do this: dgResources.addItem( {dept: cmbDept.selectedItem} ); } you are putting the whole combobox item object into the dept property of a new object. Perhaps you just want: dgResources.addItem(cmbDept.selectedItem); Tracy -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] How to create database connectivity with flex programming? or how to access database by flex/cold fusion connectivity?

2006-03-29 Thread Tracy Spratt
What version? In 1.5, flex data passes through a data service protocol(Webservice, HTTPService, or RemoteObject) to a server-side program that in turn handles database connectivity. http://livedocs.macromedia.com/flex/15/flex_docs_en/0742.htm 2.0 has more options, but is

Re: [flexcoders] Re: databinding issue for combobox

2006-03-29 Thread Jignesh Dodiya
I think there is problem at dgResources.addItem ,..not sure but may bethere the fault On 3/30/06, Tracy Spratt [EMAIL PROTECTED] wrote: When you do this: dgResources.addItem( {dept: cmbDept.selectedItem} ); } you are putting the whole combobox item object into the dept property ofa new

Re: [flexcoders] Flex2 :: mx:Text :: Problem with html property

2006-03-29 Thread Michael Schmalle
Joan, Thanks, I feel like an idiot, I just realized that right when I hit the send button. But this (@*# google mail dosn't let you see your posts until theyy have been replied to. Peace, MikeOn 3/29/06, Joan Tan [EMAIL PROTECTED] wrote: To make html work for the Text

[flexcoders] dispatching an event from an itemRenderer

2006-03-29 Thread Chris Scott
OK, this has been giving me trouble for 2 hours now. Flex 2 Beta 2, btw. So I have a component with a dataGrid in it. For one of the dataGridColumns I have itemRenderer set to another component, in which I have a few text fields. I would like to dispatch an event when one of those text

[flexcoders] Page Not Found after compile (Flex2 Beta2)

2006-03-29 Thread Ryan Pieszak
Hello all, me again. :) I'm just starting to get into building projects and I can't get my test app to compile properly. I created a new project, added a panel to the canvas, and then hit the Run.. button, and when the browser opens, I get a page cannot be found error. It is a problem with

RE: [flexcoders] dispatching an event from an itemRenderer

2006-03-29 Thread Tobias Patton
Does your event listener listen for events dispatched by the DataGrid? Make sure that the event your item renderer dispatches has bubbles=true. That way, the DataGrid will dispatch the event after the renderer dispatches it. -Original Message- From: flexcoders@yahoogroups.com

Re: [flexcoders] Message destinations in the context of a multi-room chat app

2006-03-29 Thread Tom Bray
I was able to answer my own question. In my original post I didn't realize that the selector attribute of the Consumer component filtered messages on the server side. So, Stefan, if you want see what I'm talking about, check out the sample chat application supplied with the FDS installation. In

Re: [flexcoders] Still need some help with my menu bar

2006-03-29 Thread Jeremy Rottman
Ashish Goyal wrote: Try this: currentState = [EMAIL PROTECTED]; -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman Sent: Wednesday, March 29, 2006 8:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Still

[flexcoders] Re: Still need some help with my menu bar

2006-03-29 Thread Doug Lowder
Well, the documentation for the change event of MenuBar says: - menuItem Selected menu item. Access the menu item properties as: eventobj.menuItem.attributes.attribName So I would think that would translate to oEvent.menuItem.attributes.data, but I didn't verify that those docs are still up to

RE: [flexcoders] Still need some help with my menu bar

2006-03-29 Thread Ashish Goyal
Hey Jeremy, I just tried your sample and it works fine. If you are naming your states as menu labels then @label would work and if you are using data as your state names then @data would work. For example, I added following states in your code: mx:states mx:State name=Sales

RE: [flexcoders] Re: need help with programatic skin

2006-03-29 Thread Gordon Smith
You can set the button's paddingLeft and paddingRight styles. I have no problem making the left and right padding larger, or somewhat smaller. But I can't get it down to only 2 pixels; there seems to be some extra slop. When I try using negative numbers that are too large, the label becomes

RE: [flexcoders] Re: need help with programatic skin

2006-03-29 Thread Gordon Smith
They've been renamed to paddingLeft, etc. I'm not sure why Button doesn't support paddingTop and paddingBottom, but I agree it should. I've just filed a bug about it. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael

Re: [flexcoders] Re: need help with programatic skin

2006-03-29 Thread Michael Schmalle
Oh yeah, The styles have finally been changed to what they actually are; padding! Thats to funny, I just noticed that. Peace, MikeOn 3/29/06, Gordon Smith [EMAIL PROTECTED] wrote: You can set the button's paddingLeft and paddingRight styles. I have no problem making the left and right

RE: [flexcoders] Too many mistakes

2006-03-29 Thread Matt Horn
It looks like we didn't catch all of the API changes between Beta 1 and Beta 2. We will try to make it better for the next release. Matthew J. Horn Flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of snail Sent: Wednesday, March

Re: [flexcoders] dispatching an event from an itemRenderer

2006-03-29 Thread Douglas Knudsen
IIRC, the event.target changes to the last object catching the event. I'm having the same issue with a TileList and itemRenderer DK On 3/29/06, Tobias Patton [EMAIL PROTECTED] wrote: Does your event listener listen for events dispatched by the DataGrid? Make sure that the event your item

[flexcoders] Re: Flex 2.0 and AMF.NET

2006-03-29 Thread Renaun Erickson
Does AMF.NET support the new AMF format? With Flash Player 8.5 and AS 3 there was released a newer AMF format, called AMF3. Renaun --- In flexcoders@yahoogroups.com, Niklas Richardson [EMAIL PROTECTED] wrote: Hi Everyone, Is there any reason why AMF.NET would not work with Flex 2.0? We're

Re: [flexcoders] dispatching an event from an itemRenderer

2006-03-29 Thread Douglas Knudsen
ok, I'll retract that. looks like the bubbles up retains the target. Chris, try adding this to your object inside your itemRenderer creationComplete=this.addEventListener(MouseEvent.CLICK,handleUpClick); This seems to work for me. DK On 3/29/06, Douglas Knudsen [EMAIL PROTECTED] wrote: IIRC,

Re: [flexcoders] dispatching an event from an itemRenderer

2006-03-29 Thread Chris Scott
OK, it's all kind of good, but here's what I have discovered. My itemRenderer is a component based on HBox, this is being used as an itemRenderer for a column of a dataGrid. In that component I had 3 Label items. I can create rollover effects for each like so:mx:Label id="xx" text="A Link"

[flexcoders] Beta 2: Evaluating interfaces

2006-03-29 Thread Scott Langeberg
Wondering if there is ability to find out if a Class implements an interface? As in:function checkImp(className:Class): Boolean { return (className is IMyInterface);}I'm using the PopUpManager internally, and want to check that whatever gets passed in implements my interface, first. Thanks, : :

[flexcoders] Re: databinding issue for combobox

2006-03-29 Thread rgwilson26
I actually have multiple columns in my dg which is why I am using dgResources.addItem( {dept: cmbDept.selectedItem} ); I cut down the example for simplicity. However, I did try the example you suggested and it gives me a statement incomplete error. I think it needs a identifier for each

RE: [flexcoders] Beta 2: Evaluating interfaces

2006-03-29 Thread Gordon Smith
'is' can only be used to test *instances* of classes that implement interfaces. You don't use it with the class itself. So... function checkImp(className:Class):Boolean { return new className() is IMyInterface; } will work. You could also use describeType(className) and

Re: [flexcoders] Re: Internal Build Error

2006-03-29 Thread Tim Sawyer
Excellent, thanks Mike. It'd be nice if they could find a way to output the file and line number causing the internal build error if it happens again! :-) Ta, Tim. On Wednesday 29 Mar 2006 19:20, Mike Chambers wrote: fyi, I forwarded this to the Flex Builder team. mike chambers [EMAIL

Re: [flexcoders] Re: How do u use HTTP POST in flex 2 / AS3

2006-03-29 Thread sinatosk
I think this is what your looking for lets say the id of your HTTPService is called hs and I'm assuming you know how to create HTTPServices. so do this function send_params():void { // declare variable obj and type is Object var obj:Object = new Object(); // Set properties ( without the

Re: [flexcoders] Beta 2: Evaluating interfaces

2006-03-29 Thread Scott Langeberg
Thanks.Looks ta' worked!ScottOn 3/29/06, Gordon Smith [EMAIL PROTECTED] wrote: 'is' can only be used to test *instances* of classes that implement interfaces. You don't use it with the class itself. So... function checkImp(className:Class):Boolean { return new

[flexcoders] Beta 2: TitleWindow.titleBar = No Double Clicking!

2006-03-29 Thread Scott Langeberg
I'm unable to listen for doubleClick on the titleBar in my class that extends TitleWindow. I'm able to catch the mouseDown event, but not doubleClick: this.titleBar.doubleClickEnabled = true; trace(dblclcickenable: +this.titleBar.doubleClickEnabled)

[flexcoders] Flex2Beta2: resolving relative URIs

2006-03-29 Thread Aldo Bucchi
Hi all, I need a class to resolve a uri from a baseURI and a relativeURI example resolveRelativeURI( base:String, relative:String ):String base: http://www.foo.com/bla relative: image.jpg returns: http://www.foo.com/bla/image.jpg base: http://www.foo.com/bla/blo/ relative:

Re: [flexcoders] Re: How do u use HTTP POST in flex 2 / AS3

2006-03-29 Thread Manuel Saint-Victor
That simplifies it and makes it really clear. I hadn't thought of it that way as far as loading and sending an object a-la LoadVars before nowManiOn 3/29/06, sinatosk [EMAIL PROTECTED] wrote: I think this is what your looking for lets say the id of your HTTPService is called hs and I'm

RE: [flexcoders] dispatching an event from an itemRenderer

2006-03-29 Thread Gordon Smith
event.target is whatever object called dispatchEvent(). It stays fixed through the capture and bubble phases of event dispatching. event.currentTarget is the object whose event listeners are being processed. It changes during the capture and bubble phases, but will always be an ancestor of the

RE: [flexcoders] Re: need help with programatic skin

2006-03-29 Thread Gordon Smith
Override measure() and updateDisplayList(). - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale Sent: Wednesday, March 29, 2006 5:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: need help with programatic skin

RE: [flexcoders] Beta 2: TitleWindow.titleBar = No Double Clicking!

2006-03-29 Thread Gordon Smith
I think the problem is that the TextField displaying the title is actually getting the click (rather than the title bar background) but it isn't doubleClickEnabled. We're fixing the doubleClickEnabled setter to recurse into children. - Gordon From:

[flexcoders] Re: Flex2, JBoss and SonicMQ

2006-03-29 Thread jeffrey_lage
I also need to be able to access the SonicMQ JNDI store from a flex data service. Where you able to make any progress on this? --- In flexcoders@yahoogroups.com, cshafer213 [EMAIL PROTECTED] wrote: Hello, I am running Flex2 on JBoss and it is working except for the messaging. Is there a

RE: [flexcoders] Re: databinding issue for combobox

2006-03-29 Thread Tracy Spratt
And here is an enhanced example that has both the same structure and different structures. Tracy ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; initialize=initApp() horizontalAlign=left mx:Script![CDATA[

[flexcoders] Re: Hardware requirements for Flex performance

2006-03-29 Thread george_lui
thanx for the response Mika. I was wondering if you have even experiences behavioral anomalies as a result of this? For instance, when I select a lot of data from this popup window, it displays in my main window as an iteration of Repeater tags. Problem is that some of my selections aren't

[flexcoders] HTTP method POST is not supported by this MXML?

2006-03-29 Thread Dan
I get HTTP method POST is not supported by this URL when to call the following html script form action=analyzer.mxml method=post input name=submit type=submit value=Bring me to my analyzer /form The script work well if method=get, however, I want to sumbit hidden parameters to the

  1   2   >