RE: {Disarmed} [flexcoders] Just getting started, hitting walls...

2007-06-01 Thread Gordon Smith
Hello Flex Community, I am a very experienced CF developer, and I want to get into Flex. Based on your first impressions, how does the support from the Flex community compare with than in the ColdFusion community? - Gordon From: flexcoders@yahoogroups.com

[flexcoders] Re: Disable Clicks while on busyCursor

2007-06-01 Thread Bjorn Schultheiss
This is quite slow. I wait for the app to disable, then any animations running while the app is disabled lag. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Did you try Application.application.enabled = false? From:

RE: [flexcoders] My problems with Events

2007-06-01 Thread Gordon Smith
If you're listening for MouseEvent.CLICK, you're not going to get it when the mouse pointer simply enters anything. You get it only when you click the mouse button! If you want to detect entering and leaving sprites, use MouseEvent.ROLL_OVER and MouseEvent.ROLL_OUT. - Gordon

RE: [flexcoders] Re: Treat a string as a reference to an object?

2007-06-01 Thread Gordon Smith
I'm not sure what obj1, obj2, etc. are in your example. But if they're instance variables in your class, then obj1.foo this.obj1.foo this.obj1[foo] this[obj1].foo this[obj1][foo] are all equivalent. So you can look up a property by name on an object by name as

[flexcoders] Application file doesn't launch

2007-06-01 Thread Kevin
Does anyone know the reason an flex application would not launch and instead just fail silently in Eclipse? I am trying to run the main application file and the launcher starts up, but then stops and nothing is launched in the browser. However, if I create a new blank test project, then

[flexcoders] More DataBinding problems

2007-06-01 Thread asherritt9
So I have a singleton object holding data that I've bound controls to. To make sure changes in the control affect the object's properties I've explictly bound the other way in the mxml. Problem is when I want to use the same page for Updating, one Binding is firing before the other and

[flexcoders] Re: mx:Image / centering loaded content

2007-06-01 Thread joshspooning
I think that is working. I haven't had time to accurately check it because I've been on other project but I know that is the right direction or right. Thank you! --- In flexcoders@yahoogroups.com, dr_stone_1024 [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, joshspooning

[flexcoders] form post to url

2007-06-01 Thread boybles
How do you implement a form post in Flex to a url which will then go to that URL in the browser (where the target is _self? Thanks Boybles

[flexcoders] Re: Flex and Yahoo Pipes

2007-06-01 Thread joshspooning
Ok, I've tried a different approach w/ another pipe I made but I'm still getting nothing. How do you correctly set up vars to go w/ a request? CODE ?xml version=1.0 encoding=utf-8? mx:ApolloApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical

RE: [flexcoders] Error #1009 - Problem running swf on production server

2007-06-01 Thread Alex Harui
The MyTreeItemRenderer class is compiled in otherwise you'd get a verify error. Somewhere in the data setter it is getting a null reference. If you turn on verbose-stacktrace it will give you the line number. If the item renderer loads images/icons dynamically, the timing of when the loading

Re: [flexcoders] Hyperlink in datagrid

2007-06-01 Thread Hara Jn
One way is to use the changeEvent. The other way is to use the itemRender and insert a Txt component in to the cells. The you can play with the text and make it like a actual hyper link On 6/1/07, Ekta Aggarwal [EMAIL PROTECTED] wrote: Hi, I am displaying some data in a datagrid where

[flexcoders] Re: Flexbook - always open?

2007-06-01 Thread bjorn -
No one has done this? I've experimented with updating the canTurnForward() method in FlexBook.as, like this: private function canTurnForward():Boolean { if((_currentPageIndex+2) = maximumPageIndex) { return false; } return (_state == STATE_NONE)? (_currentPageIndex+1

Re: [flexcoders] Re: Actionscript SAX Parser ?

2007-06-01 Thread Peter Hall
For my use-case, the XML is not large at all (~20k). However, the user experience of having something displayed immediately, and the remaining content displaying as it loads, is really noticeable. Even if the difference is sub-second. It's small things that make the application feel faster.

RE: [flexcoders] Re: DataGrid HeaderRenderer Recreates every click

2007-06-01 Thread Alex Harui
When a header gets clicked a HEADER_RELEASE event fires. That's a good opportunity to save away the sort information somewhere. I once recommended to someone that they actually subclass ArrayCollection and override the sort property so it didn't actually sort the underlying data, but instead

RE: [flexcoders] Re: Disable Clicks while on busyCursor

2007-06-01 Thread Alex Harui
Try calling validateNow after setting enabled to false. Animations can shut down validatiom. If you can disable and re-validate before the animations start, that would be best. However, what it does, and what modal dialogs do is put up a mouse shield over the whole app. It's a relatively

RES: [flexcoders] Flex Builder 2 HTML wrapper will not launch MyApp.html with Tomcat

2007-06-01 Thread Luciano Ricardo Santos
Joe, You forgot the AC_OETags.js file. Put it in your MyApp directory. This file is also generated by Flex Builder. Luciano. _ De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de joseph_freemaker Enviada em: quarta-feira, 30 de maio de 2007 18:42 Para:

RE: [flexcoders] Re: PopUpManager.createPopUp

2007-06-01 Thread Tracy Spratt
Rohan, did you miss the solutions posted by Mike and Flexing? I would prefer Mikes solution myself. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rohan Pinto Sent: Thursday, May 31, 2007 10:59 AM To: flexcoders@yahoogroups.com

[flexcoders] hotfix 2 and webservices

2007-06-01 Thread Paolo Bernardini
Hi, I've a problem with webservices after updating to hotfix 2 for flex builder. this is the soap for the method I'm having problems with: soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=

Re: [flexcoders] Re: PopUpManager.createPopUp

2007-06-01 Thread Michael Schmalle
Hi, I gave an answer to this a couple threads back. See all the threads to this post and you will see the answer. Peace, Mike On 5/31/07, Rohan Pinto [EMAIL PROTECTED] wrote: exactly.. see my demo app: http://demo.rohanpinto.com if you click on the logo, the TileWindow opens over and

Re: [flexcoders] Disable Clicks while on busyCursor

2007-06-01 Thread Bjorn Schultheiss
This is quite slow. I wait for the app to disable, then any animations running while the app is disabled lag. On 01/06/2007, at 3:51 AM, Alex Harui wrote: Did you try Application.application.enabled = false? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Access a viewstack

2007-06-01 Thread Gordon Smith
I didn't look at your code, but the simplest solution is to use parentDocument (not parent). However, this will make your component usable only within that ViewStack. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giro Sent:

Re: [flexcoders] Problem removing popup window

2007-06-01 Thread Peter Hall
Having the same problem here. Stepping through the code, I get to this function in mx.managers.SystemChildrenList. public function removeChild(child:DisplayObject):DisplayObject { var index:int = owner.mx_internal::rawChildren_getChildIndex(child); if (owner[lowerBoundReference] = index

RE: [flexcoders] layout help

2007-06-01 Thread Alex Harui
Try setting minHeight on the Canvas to 0 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rohan Pinto Sent: Thursday, May 31, 2007 11:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] layout help hi folks, i'm building this

[flexcoders] Re: Deploying Flex app to web server

2007-06-01 Thread sarah_e_boys
The problem relates to the class samples.MyTreeItemRenderer.as. If I remove the reference to this class the flex app deploys correctly to the web server. Should I be compiling the app with a particular option so that the .as class gets included? --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Error #1009 - Problem running swf on production server

2007-06-01 Thread sarah_e_boys
Thanks Bhuvan, I added a check for null as you suggested and that fixed the problem. I am confused why it the extended renderer would work without this check when run locally in the Flex builder but needed it when the app was compiled and moved to the server. --- In

[flexcoders] Re: Dead space in TabNavigator

2007-06-01 Thread Nick Durnell
I tried to create a sample app which showed the problem but it worked flawlessly :) I think it must be the way I am instantiating/setting the properties styles of the TabNavigator and its content in my main app. The entire UI is built at runtime by parsing an external XML file so perhaps I

Re: [flexcoders] Hyperlink in datagrid

2007-06-01 Thread Hara Jn
As you say.. you are right when we use a small text like fail in pass. I was trying to be generic that is all. But still when you use a link button it will not replicate the style of the datagrid. It will look different in the DG. But thats my point of view. As a matter of fact I am using the

[flexcoders] Mask Financial

2007-06-01 Thread rafael_magalhaes007
Good night everyone! Im using an maskedTextInput component to mak field like CEP, etc. it works really well!!! but I need one mask for financial values and have a good precision. could anybody help me? i tried to do the way its shown down below but it didnt work. when mopre than 5 digits are

[flexcoders] Creating Local Folder on user HDD thru Flex

2007-06-01 Thread Gaurav Kaushik
Hi Guys, I am working on Apollo Application where I need to create Local Folder Structure on the Client System. I am using Flex builder 2 for the same. Can anyone help in as to how to create Local Folders thru Flex? Thanks Guys. Cheers!! Best Regards Gaurav Kaushik Flash Application

[flexcoders] Re: Labels on inner side of axis for Charts

2007-06-01 Thread Aaron Wright
Yeah, I tested it on the horizontal axis to avoid that problem, hehe. --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Yep... thought of that... but if your label widths change that labelGap value is bunk... I've tried playing around with binding to the gutterWidth

RE: [flexcoders] Best way to set styles in actionscript?

2007-06-01 Thread Mark Ingram
Thanks - http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhel p.htm?context=LiveDocs_Book_Partsfile=skinstyle_149_7.html - was the link I needed! Mark -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: 01 June

Re: [flexcoders] Best way to set styles in actionscript?

2007-06-01 Thread Muzak
http://livedocs.adobe.com/flex/2/docs/1747.html http://livedocs.adobe.com/flex/2/docs/1748.html http://livedocs.adobe.com/flex/2/docs/1752.html http://livedocs.adobe.com/flex/2/docs/1753.html http://livedocs.adobe.com/flex/2/docs/1661.html - Original Message -

[flexcoders] Re: Dead space in TabNavigator

2007-06-01 Thread Nick Durnell
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, that is because the TabNavigator has a default paddingTop style of 10 pixels. TabNavigator { paddingTop:0; } will solve it for all of them in your application. Peace, Mike It does indeed!

[flexcoders] Re: Dead space in TabNavigator

2007-06-01 Thread Nick Durnell
Hmmm I may have spoken too soon. I have set paddingTop to zero and the content now starts at the top of the tab with no gap. However - there is now a 9 pixel gap at the *bottom* of the tab! I tried setting paddingBottom to zero as well but then the gap at the bottom *increases* to 18 pixels!

RE: [flexcoders] Charts and Business day axis

2007-06-01 Thread Sunil Bannur
Pierre, You should ideally be using DateTimeAxis, by which you can control the labels and ticks. -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pgherveou Sent: Thursday, May 31, 2007 8:16 AM To: flexcoders@yahoogroups.com

Re: [flexcoders] Deploying Flex app to web server

2007-06-01 Thread Hara Jn
Its a common error... anybody can get it... I dont think there is nothing related to the webservice. Few things you need to check with are.. 1. Check is any component is being processed even before it has been created. Example if you use a viewstack, you can show only one tab at a time. But you

Re: [flexcoders] Hyperlink in datagrid

2007-06-01 Thread Harish Sivaramakrishnan
it you are going the itemRenderer way, you could use the link button to open the link. I personally wont do the rowIndex, colIndex based way because it is not intutive to me as to what triggered the opening of URL since the click is done on the cell itself. On 6/1/07, Hara Jn [EMAIL PROTECTED]

Re: [flexcoders] Hyperlink in datagrid

2007-06-01 Thread Hara Jn
LInk button wont solve your problem unless if the link is very text is very small. when you use a domain name or a long URL Text component is the best. On 6/1/07, Harish Sivaramakrishnan [EMAIL PROTECTED] wrote: it you are going the itemRenderer way, you could use the link button to open the

RE: [flexcoders] What functions do I need to override to return correct component size?

2007-06-01 Thread Mark Ingram
Hi Mike, that sounds pretty similar to what I'm trying to implement. Drag selecting via mouse and one or more component selection (either from drag select, or clicking with mouse). I've implemented drag selection by using a UIComponent and the following function - startSelection,

[flexcoders] Applying filters to an image to use as a icon asset for a button

2007-06-01 Thread Paolo Bernardini
Hi, I want to applying some filters to an image before I use it as an icon asset for a button. I tryied this: **public function getButtonIcon(btn:String):Class { var result : Class; switch ( btn ) { case cart: result = model.assets.cartIconBig; break; case find:

[flexcoders] Best way to set styles in actionscript?

2007-06-01 Thread Mark Ingram
Hi, I have a custom component that I want to define styles for. What is the best way of setting up styles? I understand that if a style has been set, getStyle never returns undefined? So, should I have something like: public class MyClass extends UIComponent { public function

[flexcoders] Mask Financial

2007-06-01 Thread rafael_magalhaes007
Good night everyone! Im using an maskedTextInput component to mak field like CEP, etc. it works really well!!! but I need one mask for financial values and have a good precision. could anybody help me? i tried to do the way its shown down below but it didnt work. when mopre than 5 digits are

Re: [flexcoders] Hyperlink in datagrid

2007-06-01 Thread Harish Sivaramakrishnan
well , I was following the example which has fail and pass which needs to be hyperlinked. I still feel link button is the best as it is *not* very common to display the url itself as a link in the applicattion On 6/1/07, Hara Jn [EMAIL PROTECTED] wrote: LInk button wont solve your problem

Re: [flexcoders] Best way to set styles in actionscript?

2007-06-01 Thread Muzak
FYI, each livedoc page has a shortcut url at the bottom of the page, which is more readable (and usually doesn't wrap in emails) Same page as you posted.. http://livedocs.adobe.com/flex/201/html/skinstyle_149_7.html regards, Muzak - Original Message - From: Mark Ingram [EMAIL

[flexcoders] Re: Deploying Flex app to web server

2007-06-01 Thread sarah_e_boys
I solved the problem by checking for nulls in the extended treeitemrenderer class. I am confused why the check for nulls wasn't needed in Flex builder but was necessary when the code was compiled and moved to the server. --- In flexcoders@yahoogroups.com, arieljake [EMAIL PROTECTED] wrote:

Re: [flexcoders] Best way to set styles in actionscript?

2007-06-01 Thread Muzak
You need to create the CSSStyleDeclaration only once. var css:CSSStyleDeclaration = new CSSStyleDeclaration(); css.setStyle(borderColor, 0x316AC5); css.setStyle(tileAlphas, [1,1]); css.setStyle(borderColor, 0x316AC5); css.setStyle(borderAlpha, 1.0); css.setStyle(fillColor, 0x316AC5);

[flexcoders] Re: Disable Clicks while on busyCursor

2007-06-01 Thread Bjorn Schultheiss
Al, you mentioned the 'mouse shield' in the modal situation. This is cool, but does the alpha setting of this shield have an affect on the application rendering speed? Hence, animations running behind this shield slowing in performance? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL

RE: [flexcoders] Best way to set styles in actionscript?

2007-06-01 Thread Mark Ingram
OK, that doesn't work. What's wrong with my code? private static var m_staticInitialised:Boolean = DragSelection.staticConstructor(); private static function staticConstructor():Boolean { if (!StyleManager.getStyleDeclaration(DragSelection)) { // If there is no CSS

[flexcoders] Remote controlling multiple Flex2 apps - Push, sockets anything ?

2007-06-01 Thread oneproofdk
I'm looking for a way to control several Flex2 apps, running on their own client. This is my scenario: We need to build a videowall using 6-8 30 monitors, where our monthly magazine is displayed spread by spread. This is to be able to see the flow of the magazine in real time (it changes by the

[flexcoders] FileReference and dragdrop

2007-06-01 Thread Ivor Paul
Hi I am playing around with an apollo/rails app that allows you to upload/download files between the server and the apollo client. I am using FileReference to do the upload and download and this works like a charm. What I would like to do is to create 2 lists - local and server (like total

RE: [flexcoders] Best way to set styles in actionscript?

2007-06-01 Thread Mark Ingram
That's brilliant - thanks Muzak! (And thanks for the hint about URLs) Mark -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: 01 June 2007 13:03 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Best way to set styles in

Re: [flexcoders] Disable Clicks while on busyCursor

2007-06-01 Thread robert was
What about Cairngorm or another architectural solutions. If user actions trigger interactions with server they may be disabled via event manager. -- Robert

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-06-01 Thread Michael Schmalle
Hi Mark, The selectionQueue is a queue that holds a list of all the selected UIComponents. I use this for my resize, snap, rotation and move managers. Basically, you add a component as a client of the selection manager, it then registers listeners to the client like mouseDown, mouseOver, add,

[flexcoders] Module Mania

2007-06-01 Thread Dave @ VitalPodcasts.com
Im trying to create a modular application using SuperPanel. I have the Main application, which calls a funciton that creates a SuperPanel ( a floating Panel ) which loads a Module. Now in this Module, I load a Tab Navigator that loads up a bunch of buttons, which on click, runs a function

[flexcoders] Re: Flash Poll Application but with Flex Integration Charts

2007-06-01 Thread dazweeja
Hi Sher, Did you solve your problem? That pie chart looks quite nice to me. Did you create the pie chart component yourself? The reason I am asking is I'm doing a similar project right now and would appreciate your advice. It's my understanding that the Flex Component Kit allows you to import

[flexcoders] Re: Module Mania

2007-06-01 Thread Dave @ VitalPodcasts.com
for anyone wanting to find this out... Use: parentApplication and your golden.

[flexcoders] Re: Flash Poll Application but with Flex Integration Charts

2007-06-01 Thread sher_ali2004
Hello Darren, No the problem is still there. Yes I coded this pie chart following some tutorials from online communities but this is not pure 3D like you can see on many sites which sell these 3d charts on license basis, but I cannot also use those because those charts don't allow smooth

[flexcoders] Re: Actionscript SAX Parser ?

2007-06-01 Thread powertool786
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: I'd be interested to know what your use case is that requires a SAX parser. In my application, I had two list/search forms which: * query billing-related events (fairly static) * query/rank/prioritise tickets in a

[flexcoders] Drag Drop functionality in Flex/AS3

2007-06-01 Thread zzberthod
I would like to do drag and drop on panels. To do this, I'm using a Canvas containing 3 panels like this: -| || | PANEL 1 | || - - |

RE: [flexcoders] hotfix 2 and webservices

2007-06-01 Thread Peter Farland
I think this is the same as an issue we're looking at internally. I'll contact you offlist with details so that we can test a fix - please email me directly at [EMAIL PROTECTED] Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paolo

[flexcoders] Data Grid Column Headings

2007-06-01 Thread one786786
I am binding an ArrayCollections of objects to a data grid. The objects are of a custom type. The data grid column headings show the variable names of the custom object. For example, let us assume that object has the following variables declared: questionId, questionType, questionText. Then, I

[flexcoders] Re: PopUpManager.createPopUp

2007-06-01 Thread Rohan Pinto
thanks bhavan that really really helped... thanks a ton... whew !! Rohan --- In flexcoders@yahoogroups.com, Flexing... [EMAIL PROTECTED] wrote: Rohan, Its not complex. Here's a sample app which will demonstrate what I had suggested in my email:

[flexcoders] itemRenderer null object error

2007-06-01 Thread pdflibpilot
I am so happy I was able to create an itemRenderer with an initialize event that dynamically set the style for each item based on the source data. This worked flawlessly for one HorizontalList ( List A) so I tried to implement the same on a TileList (List B) on the same layout. They have virtually

Re: [flexcoders] [SOLVED] itemRenderer null object error

2007-06-01 Thread Ben Marchbanks
After experimenting I found the solution was to change the event trigger from initialize to render. Happy to have resolved the problem but still puzzled why initialize worked for one itemRenderer and not the other since from all appearances the implementations are identical ??? pdflibpilot

[flexcoders] Re: PopUpManager.createPopUp

2007-06-01 Thread Rohan Pinto
I tried running the example code as is.. COPY/PASTE.. and get this error: private var tw:MyTitleWindow = new MyTitleWindow(); 1046: Type was not found or was not a compile-time constant: MyTitleWindow 1080: Call to a possibly undefined method MyTitleWindow tw = new TitleWindow(); 1080: Call to

[flexcoders] YouTube style video (Video vs VideoDisplay)

2007-06-01 Thread Mark Ingram
Hi, I need to create a YouTube style video control. What is the best starting point - Video or VideoDisplay? I've seen this code which automatically downloads a preview of the video, but is it the best solution? http://www.flashcomguru.com/tutorials/progressive_preview.cfm Essentially I want

[flexcoders] Re: [SOLVED] itemRenderer null object error

2007-06-01 Thread Aaron Wright
Maybe I've a little naive but I like making nearly everything in actionscript 3, especially itemRenderers. Then, you can handle all the positioning and styles in the updateDisplayList function if you want. This generally follows the Adobe approach to it as well. I say start with looking over Adobe

[flexcoders] Re: YouTube style video (Video vs VideoDisplay)

2007-06-01 Thread Rohan Pinto
Are you looking at displaying a thumbnail in the VideoPlayer itself ? look at Jeron Wijering's flvplayer (http://www.jeroenwijering.com/?item=Flash_video_Player) you could use that... probably... it does display a preview thumbnail... Rohan --- In flexcoders@yahoogroups.com, Mark Ingram [EMAIL

[flexcoders] AddChild problem

2007-06-01 Thread Clint Tredway
I am not sure this as much a problem as I am probably doing something wrong. I am adding child components at runtime to a vbox. These new components can be dragged to a new position. This all works. The 'problem' is that when anytime a new child is added, all the child components move the top left

Re: [flexcoders] Re: Is there any way to call super.super.method in AS3?

2007-06-01 Thread Troy Gilbert
Whoa... I didn't realize $ was a valid identifier character... that's interesting. On 6/1/07, Gordon Smith [EMAIL PROTECTED] wrote: Alex meant to say If a method is overridden, you can NOT skip around the override like you can in some other languages. And you can't directly, with

[flexcoders] Data binding will not be able to detect changes when using--I know I know

2007-06-01 Thread James
I'm sick of seeing Data binding will not be able to detect changes when using square bracket operator. For Array, please use ArrayCollection.getItemAt() when using an arrayObj[arrayPropertyOrIndex] inside of an MXML property. I know that it won't be propagated down if the array changes, but

[flexcoders] WebService and ArrayCollections - only 1 is being sent ..!

2007-06-01 Thread paulwelling
Hello List, I am sending up a complex object in a WebService. The complex object has an attribute that is an ArrayCollection, with the ac having multiple items that have been .addItem(object); The WSDL has the objects's attribute in question defined as a Set of these objects. No matter how I

[flexcoders] Re: PopUpManager.createPopUp

2007-06-01 Thread Rohan Pinto
Hi Mike, i did follow all threrads and tried every possible combination... I could not get it to work.. here's my index.mxml mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; autoLayout=true layout=vertical creationComplete=openWin() horizontalScrollPolicy=off

[flexcoders] Really complex buttons (aka what WPF got right)

2007-06-01 Thread borekbe
Hi, I'm still learning Flex and during the last few hours, I've been struggling with some button-related problems. I am trying to create a button which contains not only label and icon but any arbitrary contents. If Flex was WPF, you could do something like mx:Button mx:VBox mx:Label ...

[flexcoders] Client.Message.Encoding driving me nuts...!

2007-06-01 Thread johnnythebubble
I am running an application with a veriety of Remote obkect requests to coldfusion. requests invoked without arguments and simply returning query data back to flex are working fine. Today though some of my calls that have been working fine have suddenly stopped with errors of type 'Unknown

[flexcoders] Re: PopUpManager.createPopUp

2007-06-01 Thread Rohan Pinto
I got it to work using the following approach: (please let me know if i've done something stupid) index.mxml i have this function public var isOpen : Boolean = false; public function openWin():void{ if(!isOpen){

[flexcoders] Using others language to connect Flex to database

2007-06-01 Thread phattarin_s
Hello, everyone. I'm a Flex newbie developer from Thailand. I am feeling that I am understanding the concept of Flex in front-end, but in back-end, concerning. I have read many article and posted, but I found most of us use cold fusion instead of Java or asp.net. I want to implements Flex

RE: [flexcoders] Re: [SOLVED] itemRenderer null object error

2007-06-01 Thread Alex Harui
I'd be careful about using render it can get called often. Always assume that data could be null. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Wright Sent: Friday, June 01, 2007 8:41 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: Custom Attributes

2007-06-01 Thread gary_mangum
Still haven't figured this one out...is this a bug in flex? --- In flexcoders@yahoogroups.com, gary_mangum [EMAIL PROTECTED] wrote: I am unsuccessfully trying to pass an integer constant to a custom integer attribute of a custom component. Confused yet? Here's an example of what I am trying

RE: [flexcoders] AddChild problem

2007-06-01 Thread Alex Harui
Adding children runs layout which for VBox will wrestle everything into a vertical stack. Canvas is better for random' positioning. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Tredway Sent: Friday, June 01, 2007 8:31 AM To:

RE: [flexcoders] Really complex buttons (aka what WPF got right)

2007-06-01 Thread Ely Greenfield
Hi Borek. I can give you the short answer, which is that composition is an important goal of the flex framework. But we have two design goals which WPF doesn't have - specifically - keeping the framework something that will perform well on the 98% of the machines on the internet

RE: [flexcoders] Data Grid Column Headings

2007-06-01 Thread Alex Harui
Assign your own columns mx:DataGrid mx:columns mx:DataGridColumn headerText=Question ID dataField=questioned From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of one786786 Sent: Friday, June 01, 2007

Re: [flexcoders] AddChild problem

2007-06-01 Thread Clint Tredway
Good to know. I did find a work around by adding the children to the main app container and that now works. I will change my vbox to a canvas and see what happens. On 6/1/07, Alex Harui [EMAIL PROTECTED] wrote: Adding children runs layout which for VBox will wrestle everything into a

[flexcoders] Re: An odd problem with the 'width' and 'height' of Sprite

2007-06-01 Thread esaltelli
Troy, One thing to note in my trial and error, changing the height and width then resetting the scales properly displays the content...until you want to do a scaling operation. The very next scaling (i.e. via scaleX = blah) operation uses the height and width computed from 'resetting' the scale.

Re: [flexcoders] Data binding will not be able to detect changes when using--I know I know

2007-06-01 Thread Troy Gilbert
I would expect you to only get that warning if you're using binding with the MXML property... if you're not using binding, then it shouldn't care (it'll just initialize the value at the time of instantiation). Does your MXML look like this: mx:Label text={arrayObj[0]} / I'm guessing you're

[flexcoders] Re: Data binding will not be able to detect changes when using--I know I know

2007-06-01 Thread James
Thanks for the help. You guessed correctly. Here is how I am using it: mx:ComboBox dataProvider={Application.application.StateListArray} prompt= id=LICST/ So now with your advice it would be: mx:ComboBox creationComplete=event.currentTarget.dataProvider=Application.application.StateListArray

RE: [flexcoders] Re: Custom Attributes

2007-06-01 Thread Alex Harui
Aren't you getting compiler warnings about binding to statics? What is myComponent? MyComponent is the class, but myComponent must be something else? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gary_mangum Sent: Friday, June

RE: [flexcoders] Re: Data binding will not be able to detect changes when using--I know I know

2007-06-01 Thread Alex Harui
Actually, whether you create an ArrayCollection or not, we will so it is the same memory either way. List classes and ComboBox only actually work with collections. If you hand us a bare array, we wrap it, if you hand us an ArrayCollection, we take it as is. IMHO, I recommend: mx:ComboBox

[flexcoders] Re: form post to url

2007-06-01 Thread boybles
Figured it out. I used URLRequest,URLRequestMethod.POST and navigateToURL [i.e.navigateToURL(request,_self);] Boybles --- In flexcoders@yahoogroups.com, boybles [EMAIL PROTECTED] wrote: How do you implement a form post in Flex to a url which will then go to that URL in the browser (where

[flexcoders] Re: Data binding will not be able to detect changes when using--I know I know

2007-06-01 Thread James
Great Advice, I appreciate it Alex.

[flexcoders] RemoteObject.setCredentials() and Hotfix 2

2007-06-01 Thread Sam Shrefler
Has there been a change to setCredentials on RemoteObject from HotFix 2? I'm using Service capture to view the requests and after HotFix 2 and these are the following differences of the CommandMessage being sent to my gateway... DSId (String): nil - this is added to the headers object

Re: [flexcoders] Re: An odd problem with the 'width' and 'height' of Sprite

2007-06-01 Thread Troy Gilbert
Yeah, I agree, the magic in the scaleX/Y and width/height properties is frustrating... it would be nice if someone (Adobe, hint, hint, nudge, nudge) would provide a detailed explanation of what's happening under the hood and what the expected functionality should be. The only guaranteed thing I

Re: [flexcoders] Really complex buttons (aka what WPF got right)

2007-06-01 Thread Doug McCune
How about this: http://dougmccune.com/blog/2007/06/01/new-component-canvasbutton-added-to-flexlib/ Doug On 6/1/07, Ely Greenfield [EMAIL PROTECTED] wrote: Hi Borek. I can give you the short answer, which is that composition is an important goal of the flex framework. But we have two

[flexcoders] Bug when resizing IE7 vertically (only), movie doesn't resize to fit

2007-06-01 Thread thegators_2002
I have a Flex 2.01 Application that has a Panel (and then a bunch of sub-components). It is set to height and width of 100% in the container aspx file. When I run it in IE7, if I only resize the browser vertically, the SWF does not resize to fit. If I make the window taller, there will be blank

[flexcoders] Re: Data binding will not be able to detect changes when using--I know I know

2007-06-01 Thread simonjpalmer
Quite agree, it's a bloody nuisance that one. If you find out, post an answer. --- In flexcoders@yahoogroups.com, James [EMAIL PROTECTED] wrote: I'm sick of seeing Data binding will not be able to detect changes when using square bracket operator. For Array, please use

[flexcoders] Coldfusion/Flex Application WIzard settings problem...

2007-06-01 Thread David
Hi all, Really in a bind here and can't figure this out for the life of me. Do you know if there is a way to use the settings (.cffaws file) of one project for another? I accidentally clicked clean and it erased my swf and html files in my bin folder and I've tried creating a new project based

Re: [flexcoders] Re: [SOLVED] itemRenderer null object error

2007-06-01 Thread Ben Marchbanks
So what would be an alternative ?? Is it best practice to create IRs using AS3 ? I am all for whatever works consistently. If I am pushing the envelop trying to use an MXML component as an Item Renderer and adding events to produce dynamic styles and object then by all means somebody save me

[flexcoders] TextField autosize a bunch of ****

2007-06-01 Thread thirtyfivemph
Okay, maybe my brain took the weekend off early, but I just can't get TextFields to cooperate... (BTW, this is an AS3 Project, so no Label or Text or other UIComponent suggestions, please!) I create a TextField: var text:TextField = new TextField(); That I want formatted like so:

[flexcoders] Re: textAlign not working for TabBar

2007-06-01 Thread phall121
Yes, Thank You! I was trying to set the textAlign property on the TabBar directly. You've reminded me that the TabBar is a collection of tabs. The CSS approach apparently is needed to set the style of the children tabs through the tabStyleName setting. Thanks, this was a great help!! Below

[flexcoders] databing to model object with arraycollection

2007-06-01 Thread akurland
Hi, I have a custom object (defined in .as) with this property: [Bindable] public class ExperimentModel implements IXmlSerializable { ... //element type is subclass of Therapy public var therapies:ArrayCollection = new ArrayCollection(); public

  1   2   >