RE: [flexcoders] Re: addchild error

2007-03-27 Thread Alex Harui
Ok, but why would you want to add the same view twice? Do you want to add two different instances? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wifi19 Sent: Wednesday, March 28, 2007 12:07 AM To: flexcoders@yahoogroups.com Subject: [fl

[flexcoders] Re: addchild error

2007-03-27 Thread wifi19
Hie, and thanks i'd like make a windows with every page that i want to print before printing to select it addpage is for print job isn't it ? --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > You can't add a child twice. Did you mean to call addPage? > > ___

[flexcoders] Re: Sorting Datagrid column headers

2007-03-27 Thread jason vancleave
I did this as a somewhat hardcoded solution, I only have a few sections in the app so if this helps anyone or if anyone knows a more efficent way: var arrayToMatch:Array = new Array ("id", "disabled", "date", "title", "content"); // var tmpArray:Array = new Array(); // datagridColumns = datagr

Re: [flexcoders] Re: New Adobe Products and Flex

2007-03-27 Thread Bjorn Schultheiss
loving it.. On 28/03/2007, at 3:30 PM, Matt Chotin wrote: Wait till you guys see the Doritos plugin J From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Tuesday, March 27, 2007 10:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

RE: [flexcoders] Re: New Adobe Products and Flex

2007-03-27 Thread Matt Chotin
Wait till you guys see the Doritos plugin :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Tuesday, March 27, 2007 10:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: New Adobe Products and Fl

Re: [flexcoders] Re: New Adobe Products and Flex

2007-03-27 Thread Bjorn Schultheiss
Its probably Kevin 'Escobar' Lynch who comes up with this. On 28/03/2007, at 2:57 PM, hank williams wrote: wow. thats funny. Hank On 27 Mar 2007 18:42:52 -0700, Doug McCune <[EMAIL PROTECTED]> wrote: We're talking about a company (Macromedia) that had code names for products like "Blaze"

Re: [flexcoders] List Control with checkbox items

2007-03-27 Thread Doug McCune
Not sure if this is what you were asking, but here's what I came up with: http://dougmccune.com/blog/2007/03/27/list-control-for-the-one-armed-man/ Doug On 3/27/07, Rick Root <[EMAIL PROTECTED]> wrote: On 3/27/07, Clint Tredway <[EMAIL PROTECTED]> wrote: > > here is a couple of ideas. (I di

Re: [flexcoders] Hi

2007-03-27 Thread Nasir Siddiqui
When we make flex application that is to be written in MXML file and it is compiled into swf file it defines the interface of the application. Action Scripting can also be done in MXML file or in Separate .as file and XML is used for different purposes. On 3/27/07, eshpaleti <[EMAIL PROTECTED]> w

[flexcoders] wanted to share...

2007-03-27 Thread Clint Tredway
I posted this on the component list, but I know not all of you are on that list. I made a simple Count Down Timer component and I am sharing it. http://www.clinttredway.com/components/CountDownTimer.zip Feel free to do whatever you wish with it. -- http://indeegrumpee.spaces.live.com/

Re: [flexcoders] Re: New Adobe Products and Flex

2007-03-27 Thread hank williams
wow. thats funny. Hank On 27 Mar 2007 18:42:52 -0700, Doug McCune <[EMAIL PROTECTED]> wrote: We're talking about a company (Macromedia) that had code names for products like "Blaze" and "8 Ball". Somehow a product release date of 4/20 seems to make sense... On 27 Mar 2007 17:02:19 -0700,

[flexcoders] newbie question: Timer across components..

2007-03-27 Thread iilsley
Is it possible to have a Timer in one component and have another component execute a function when that timer fires ? eg: Comp1 has a timer set for 3 seconds .. In Comp2 I want to 'capture' the TimerEvent.TIMER from Comp1 to execute a function defined in Comp2.. --- I currently have something

[flexcoders] labelRenderer problem

2007-03-27 Thread Mikhail Shevchuk
Hello, group. I have to render labels for horizontal axis, so I use the following MXML code: Where MyLabelRenderer.mxml is just a MXML component inhereted from Label. I assigned an init() function to the creationComplete event. In that function I can set any text to the 'text' property of

Re: [flexcoders] Global access in AS3

2007-03-27 Thread André Rodrigues Pena
Troy, thanks for the help. My Singleton works fine now, I'm gonna see how does Monostate work. And Petro. I don't see how your sugestion may help me. On 27 Mar 2007 15:45:50 -0700, Troy Gilbert <[EMAIL PROTECTED]> wrote: public class MySingleton { private static var _instance:MySingleto

RE: [flexcoders] Re: Bad Results referencing local variables in nested loops

2007-03-27 Thread Gordon Smith
I noticed two peculiarities in your code: You declare myAnimationFunction() and myEventFunction() in verifyContainer() to return void rather than Boolean. But when I declare them to return Boolean and actually return true, I still see your problem. In stepping through it in the FlexBuilder debugg

Re: [flexcoders] onChange()

2007-03-27 Thread Bjorn Schultheiss
run the debugger, or use some trace message in your costCalc(), it should be easy to determine. Else send me the whole file... On 28/03/2007, at 11:59 AM, Jeremy Watson wrote: I'm calling on onCreationCompletel(event) creationComplete="onCreationComplete(event); " //Alert.show(Reque

RE: [flexcoders] Re: Whatever happened to Peter Ent's scrolling text ticker?

2007-03-27 Thread Gordon Smith
I think you'll get more predictable timing. doLater() [sorry - I really meant callLater()] doesn't guarantee anything about how much later it might be. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Tuesday, M

[flexcoders] Quickest way to turn a result from mySQL into a chart

2007-03-27 Thread Patrick Lemiuex
Question: I've been given a day or less to make a chart application and I need to pop some webstats into a flex chart. What's the simplest way to take a result from Amfphp remoting wapping into an array collection and then populate a chart? Does anybody have any quick examples? Thanks, Pa

RE: [flexcoders] Re: UIComponent: focus problem?

2007-03-27 Thread Alex Harui
That means you haven't added the component as a child of some other component on the stage (like the main app). You have to be on the display list in order to get keystrokes. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of carlo.cavallieri

Re: [flexcoders] onChange()

2007-03-27 Thread Jeremy Watson
I'm calling on onCreationCompletel(event) creationComplete="onCreationComplete(event); " //Alert.show(RequestType); if (RequestType == "1") { EndValue(); CostCalc() }

RE: [flexcoders] Scaling Custom Components

2007-03-27 Thread Alex Harui
Nope, it is essentially an array. If I have var a:Array = [ "Nate", "Alex"]; a[2] = "Bjorn"; a.shift(); a[2] is no longer "Bjorn", you are now at a[1]. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Tuesday, Marc

RE: [flexcoders] Re: Custom Component Width when 100%?

2007-03-27 Thread Alex Harui
In theory, if you started with UIComponent, you need to implement a measure() method to tell the parent how big you want to be. That parent will then call setActualSize which should result in your updateDisplayList being called with non-zero values. Again, if extending UIComponent, you should be

Re: [flexcoders] Re: New Adobe Products and Flex

2007-03-27 Thread Doug McCune
We're talking about a company (Macromedia) that had code names for products like "Blaze" and "8 Ball". Somehow a product release date of 4/20 seems to make sense... On 27 Mar 2007 17:02:19 -0700, Nancy Gill <[EMAIL PROTECTED]> wrote: ah .. Amazon. I heard they jumped their NDA by close to

Re: [flexcoders] List Control with checkbox items

2007-03-27 Thread Doug McCune
What are you trying to do? Say you've got: _ item 1 _ item 2 _ item 3 _ item 4 _ item 5 _ item 6 If I click the checkbox on item 2, then I click the checkbox on item 5, is that supposed to select all items between item 2 and item 5? So would it then look like: _ item 1 * item 2 * item 3 * item

Re: [flexcoders] List Control with checkbox items

2007-03-27 Thread Rick Root
On 3/27/07, Clint Tredway <[EMAIL PROTECTED]> wrote: here is a couple of ideas. (I didnt test these, but either 'should work') 1. have a function tied to the click event of the checkbox that adds that index to the selectedItems of the list control 2. when submitting the info, loop through the

[flexcoders] SOLVED: Setting the Font Color for a Selected ComboBox Item

2007-03-27 Thread Paul Whitelock
I gave up on using MXML to write the list item renderer and instead wrote it in ActionScript using a TextField. The ComboBox now doesn't have the problem with setting list items to the color assigned to the control. Sometimes MXML is just more trouble than it's worth ;-) Paul --- In flexcoders@

Re: [flexcoders] Scaling Custom Components

2007-03-27 Thread Bjorn Schultheiss
Hey Alex, if 0 == childA can you insert childB at 99 for example. if so if you remove childA does childB's index change? can you ensure that you're child will remain at an index? On 28/03/2007, at 11:12 AM, Alex Harui wrote: Children renumber after one is removed 0 = childA 1 = childB 2

RE: [flexcoders] Scaling Custom Components

2007-03-27 Thread Alex Harui
Children renumber after one is removed 0 = childA 1 = childB 2 = childC After removeChildAt(0) 0 = childB 1 = childC Look at the code for removeAllChildren. It will either removeChildAt(0) j times or iterate backwards. From: flexcoders@yahoogroups.com [m

Re: [flexcoders] Scaling Custom Components

2007-03-27 Thread Bjorn Schultheiss
Do you require to move change any shape properties when the scale occurs. If not you cant just avoid redrawing them again by setting a flag after they've been drawn. If so, you could approach it a few ways. I guess the only way you could ensure removeChildAt() to work is to use addChildAt

RE: [flexcoders] Error: Repeater is not executing.

2007-03-27 Thread Tracy Spratt
First you are not doing the repeater quite right. Try this: The currentItem propeerty already holds a reference to the dataProvider item that is generating the current repeater instance. Second, the Label needs a text value, which will be one of the properties on your dataProvider item

RE: [flexcoders] Re: TypeError: Error #1034: Type Coercion failed :

2007-03-27 Thread Alex Harui
Because it is a common problem. Try putting a ToggleButtonBar in the main app first to prove it one way or another. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Tuesday, March 27, 2007 2:36 PM To: flexcoders@yahoogroups.com

Re: [flexcoders] Scrollbar for small browser windows

2007-03-27 Thread Bjorn Schultheiss
By default scroll policy's are set to auto, so unless these have been set to 'off' you should at least be getting the mx:application scrollbars On 28/03/2007, at 10:59 AM, ivansebastiansurya wrote: Hi everyone, I'm developing a Flex application for large monitor screen. HOwever, when I di

Re: [flexcoders] onChange()

2007-03-27 Thread Bjorn Schultheiss
Send through more of your code. Are you calling this logic on the creationComplete event? On 28/03/2007, at 10:43 AM, Jeremy Watson wrote: AnyoneAm I calling the function correctly in flex actionscript? J. - Original Message From: Jeremy Watson <[EMAIL PROTECTED]> To: fl

[flexcoders] Re: Bad Results referencing local variables in nested loops

2007-03-27 Thread Rod Perkins
I had a typo in the post for a line in the setup function. The line: "[v:" + vItemNo + " i:" + itemNo + " a: " + aItemNo + " e: " + eItemNo + "]" should be: "[v:" + pageNo+ " i:" + itemNo + " a: " + aItemNo + " e: " + eItemNo + "]" - rod --- In flexcoders@yahoogroups.com, "Rod Perkins" <

RE: [flexcoders] Data binding will not be able to detect changes... ?

2007-03-27 Thread Tracy Spratt
You will want to use XMLListCollection or plain XML. XMLList, like Array, does not emit the events necessary to update the controls. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Morphis Sent: Tuesday, March 27, 2007 10:06

Re: [flexcoders] onChange()

2007-03-27 Thread Jeremy Watson
AnyoneAm I calling the function correctly in flex actionscript? J. - Original Message From: Jeremy Watson <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, 27 March, 2007 7:48:38 AM Subject: [flexcoders] onChange() Howdy again. Th

Re: [flexcoders] Flex access to cookies

2007-03-27 Thread Clint Tredway
pass in the cookie value thru the flashVars. On 3/27/07, Tony Obermeit <[EMAIL PROTECTED]> wrote: I need to access the cookies already created in the browser in order to determine if the user has been authenticated using oracle single sign on. 1. Which flash object / class do I use to access

RE: [flexcoders] AS3-only HEAD request

2007-03-27 Thread Matt Chotin
Unfortunately HEAD is only supported when using HTTPService with the Proxy, the Player doesn't allow that method. We're hoping that Apollo might and that a future version of the Player might as well. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PRO

[flexcoders] Flex access to cookies

2007-03-27 Thread Tony Obermeit
I need to access the cookies already created in the browser in order to determine if the user has been authenticated using oracle single sign on. 1. Which flash object / class do I use to access the cookies? 2. Anyone have tips / code to share that they've used to authenicate user with ora

[flexcoders] Scaling Custom Components

2007-03-27 Thread Nate Pearson
I have a custom component that adds multiple shapes during UpdateDisplayList. When I scale the browser it calls update display list and draws over all of my shapes. I have tried: j = this.numChildren; for (i=0; i

Re: [flexcoders] Re: New Adobe Products and Flex

2007-03-27 Thread Nancy Gill
ah .. Amazon. I heard they jumped their NDA by close to a week. Too bad. Officially, there has been no specific date given .. at least not to the testing teams. Thanks, Nancy - Original Message - From: Paul Whitelock To: flexcoders@yahoogroups.com Sent: Tuesday, March 27, 2

[flexcoders] Re: New Adobe Products and Flex

2007-03-27 Thread Paul Whitelock
I've seen it pop up a few places on the web, but most notably it's the date that Amazon lists as the ship date. It's probably just a "best guess" that Adobe gave to retailers, but I'm hoping that it's an accurate guess :-) Paul --- In flexcoders@yahoogroups.com, "Nancy Gill" <[EMAIL PROTECTED]> w

[flexcoders] AS3-only HEAD request

2007-03-27 Thread Daniel Thompson
The HTTPService has the ability to make a HEAD request. Is there a way to do the same in an ActionScript-only project? (I tried using a simple socket, but I can't ensure a wide-open crossdomain policy.) Basically, what I need to accomplish is to determine the URL of a resource (an MP3 or FLV) aft

[flexcoders] Re: Custom Component Width when 100%?

2007-03-27 Thread Nate Pearson
Ahhh HA! I was reading the adobe documentation and it turns out that when you do addchild() it calls updateDisplayList again. This is why my program wasn't working, I had an infinite loop when I called addchild. I fixed it by adding an if function with a flag. if (_newBackground){ ... } Since m

[flexcoders] Bad Results referencing local variables in nested loops

2007-03-27 Thread Rod Perkins
I have been having a great time using ActionScript 3.0 and Flex but I have encountered problems which seem to be caused by Flexbuilder or the Flashplayer runtime. The following problem is based on a situation I have in my application uses a data structure of embedded objects. I replicated t

[flexcoders] Scrollbar for small browser windows

2007-03-27 Thread ivansebastiansurya
Hi everyone, I'm developing a Flex application for large monitor screen. HOwever, when I display my application in smaller screens, the scroll bar won't appear. Is there any way to make my application create a scrollbar as needed? Thanks, Ivan.

Re: [flexcoders] Global access in AS3

2007-03-27 Thread Troy Gilbert
public class MySingleton { private static var _instance:MySingleton; public static function get instance():MySingleton { if (!_instance) _instance = new MySingleton(); return _instance; } public function MySingleton() { if (_instance) throw new Error("MySing

Re: [flexcoders] New Adobe Products and Flex

2007-03-27 Thread Nancy Gill
Where did you hear April 20th? I have asked and looked extensively and haven't found anyone who knows a specific date. The press release says "during April and May" for the web and design suite products .. but nowhere have I found a specific published date. where did you see this date? Thank

Re: [flexcoders] Are Events OK in the MVC (S) pattern

2007-03-27 Thread Troy Gilbert
Brett, Events are actually an a pretty fundamental component of an MVC implementation. Events are most often used by the model to notify the view and/or controller of changes (Observer pattern). If your model is responding to *any* events then its really not acting as a model in the traditional

Re: [flexcoders] Re: TypeError: Error #1034: Type Coercion failed :

2007-03-27 Thread Robert Cadena
howdy, i'm not sure what classes are defined in your modules or if you're using load-externs and external-library-path when compiling your module projects. but what i have found is that if a module has a class linked in that is the exact same class (and comes from the same swc, say framework.

[flexcoders] Re: IoC framework for Action Script

2007-03-27 Thread jwp2k_uva
I have to agree with you, Carlos. It would be nice have a package like "SpringAS" or something of the sort in Cairngorm or else where. - Jae --- In flexcoders@yahoogroups.com, "Carlos Rovira" <[EMAIL PROTECTED]> wrote: > > An IoC flex solution would really useful. The possibilities to inyect c

Re: [flexcoders] Randomizing Array (from actionscript cookbook3 and other places)

2007-03-27 Thread Patrick Lemiuex
Alex: The error was actually in my next line of code however the debugger wasn't stopping at the right line. Silly me. The code works fine. Thanks, Patrick Yeah, the error was on the next On Mar 26, 2007, at 10:51 AM, Alex Harui wrote: This compiles and runs for me. private function

[flexcoders] Re: FDS/Hibernate/MySql data update question

2007-03-27 Thread jwp2k_uva
Robert, Thanks for the design input. I guess there is no helping it if I want MySql database to have heterogeneous accessors. My preliminary search indicates that Oracle my be the only db that supports change event. By the way, nice work with SearchCoders.com/felx app. It looks awesome. - J

[flexcoders] Re: Custom Component Width when 100%?

2007-03-27 Thread Nate Pearson
So I think i got unScaledWidth to work during UpdateDisplayList. When I debug it seems like it's called twice. Once with 0 unscaledWidth and once with the correct unScaledWidth. Should I be worrying about this? I didn't override the measure function. Should I? So to draw in UpdateDisplayList y

[flexcoders] Re: UIComponent: focus problem?

2007-03-27 Thread carlo.cavallieri
if in my component i add this line of code trace(systemManager) i get "null" > public function Stage() > { > super(); > trace(systemManager); > > } --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > You component must implement IFocusManagerComponent if you

[flexcoders] Re: TypeError: Error #1034: Type Coercion failed :

2007-03-27 Thread nxzone
Why you think this bug is due to this cause? Why loading the shared content before should solve the "Type Coercion failed: cannot convert mx.controls::[EMAIL PROTECTED] to mx.controls.ButtonBar" ? --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Check out the shared

[flexcoders] Personalized Popup

2007-03-27 Thread leoaraguas
Hi, i need to make a popup that show me an image that represent the item selected (one of my tilelist that is showed using render) can anyone help me please? Its just like an image explorer. Thanks

[flexcoders] Re: Whatever happened to Peter Ent's scrolling text ticker?

2007-03-27 Thread simonjpalmer
any particular reason why? --- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > I recommend using a Timer rather than calling doLater(). > > - Gordon > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of s

[flexcoders] Re: Setting the Font Color for a Selected ComboBox Item

2007-03-27 Thread Paul Whitelock
The itemRenderer is very simple. The source is below -- is there another that way I should code it? Thanks for any suggestions! Paul http://www.adobe.com/2006/mxml"; backgroundAlpha="1" horizontalScrollPolicy="off" verticalScrollPolicy="off" > .normal { color: #0B333

RE: [flexcoders] addchild error

2007-03-27 Thread Alex Harui
You can't add a child twice. Did you mean to call addPage? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wifi19 Sent: Tuesday, March 27, 2007 1:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] addchild error I am having some

RE: [flexcoders] UIComponent: focus problem?

2007-03-27 Thread Alex Harui
You component must implement IFocusManagerComponent if you want it to receive focus. public class Stage extends UIComponent implements IFocusManagerComponent If you want to capture all keystrokes, listen to the stage. systemManager.stage.addEventListener( KeyboardEvent.KEY_DOWN, onKeyDown );

RE: [flexcoders] textInput for passwords

2007-03-27 Thread Karl Johnson
Set displayAsPassword to "true" on the text input field. Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chad Gray Sent: Tuesday, March 27, 2007 5:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] textInput for passwords How do you get a te

[flexcoders] Re: textInput for passwords

2007-03-27 Thread Shaun
displayAsPassword = true shaun --- In flexcoders@yahoogroups.com, "Chad Gray" <[EMAIL PROTECTED]> wrote: > > How do you get a text input to hide the characters you type in like you do with in HTML? >

[flexcoders] textInput for passwords

2007-03-27 Thread Chad Gray
How do you get a text input to hide the characters you type in like you do with in HTML?

[flexcoders] Re: Modules not positioning children correctly

2007-03-27 Thread Shaun
Here is the link to the release notes. Check out the known issues section as there are some other useful tidbits in there that tripped me up until I read through it. http://www.adobe.com/support/documentation/en/flex/2/releasenotes_flex 201_sdk.html Shaun --- In flexcoders@yahoogroups.com, "

[flexcoders] addchild error

2007-03-27 Thread wifi19
I am having some trouble with addchild var thePrintView:FormPrintView = new FormPrintView(); //myHbox.addChild(thePrintView); var _caPan:Canvas = new Canvas(); _caPan.height=300; _caPan.width = 200;

[flexcoders] UIComponent: focus problem?

2007-03-27 Thread carlo.cavallieri
Hi, i have a simple "Test Component" that display the key pressed by the user, but it doesn't log anything package { import flash.display.*; import flash.events.*; import mx.core.*; public class Stage extends UIComponent { public function Stage() { super();

RE: [flexcoders] FDS sitting behind SSL accelerator

2007-03-27 Thread Seth Hodgson
Hi, First, I'd recommend grabbing the 2.5 beta release on labs which supports this deployment more naturally than the 2.0.1 release. If you're using HTTP based channels you'd want to define your channel definition like so: https://{ip for your BIG-IP}" class="flex.messaging.endpoints.HTTPE

Re: [flexcoders] Re: Modules not positioning children correctly

2007-03-27 Thread Mark Doberenz
Thanks for that. I'd rather do that than have an empty class. I couldn't find this info in the release notes though. I did find a reference to Modules, but nothing about Modules not sizing to 100%. Mark On 27 Mar 2007 13:12:14 -0700, Shaun <[EMAIL PROTECTED]> wrote: Try setting percentWid

RE: [flexcoders] Re: Setting the Font Color for a Selected ComboBox Item

2007-03-27 Thread Alex Harui
The key will be in your renderer code for the ComboBox. How did you set up coloring? On occasion, the entire List is destroyed and re-created which can reset your renderers. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Wh

RE: [flexcoders] FDS sitting behind SSL accelerator

2007-03-27 Thread Allen Riddle
We set up our environment similar to yours. We are using apache with mod_ssl and proxypass to route requests our flex client makes over ssl to our flex data services app. In the flex configuration, your default channels must be the secure channels (my-secure-http, or my-secure-amf) and you must rou

Re: [flexcoders] List Control with checkbox items

2007-03-27 Thread Clint Tredway
here is a couple of ideas. (I didnt test these, but either 'should work') 1. have a function tied to the click event of the checkbox that adds that index to the selectedItems of the list control 2. when submitting the info, loop through the list and check to see if any check boxes are checked.

Re: [flexcoders] Capturing an event in a separate component

2007-03-27 Thread Marlon Moyer
Thanks Alex. I was able to do this only by using the code-behind technique from labs.adobe.com, but at least it works! On 26 Mar 2007 11:22:17 -0700, Alex Harui <[EMAIL PROTECTED]> wrote: Make sure you set the bubbles=true when you construct the Event object. The parent should be able to

[flexcoders] Re: Modules not positioning children correctly

2007-03-27 Thread Shaun
Try setting percentWidth and percentHeight to 100 in your module tag. This is a known issue posted on the 2.0.1 release notes page, and setting percentWidth works around it. Shaun --- In flexcoders@yahoogroups.com, "Mark Doberenz" <[EMAIL PROTECTED]> wrote: > > Well, in case anyone else has

Re: [flexcoders] List Control with checkbox items

2007-03-27 Thread Rick Root
Anyone else got any ideas here? On 3/27/07, Rick Root <[EMAIL PROTECTED]> wrote: (wow, gmail makes it difficult to quote emails from yahoo groups!) That almost works here's my MXML: The problem here is that the checkboxes do not relate to the actual selected status of the items. Fo

[flexcoders] Re: URLRequest.requestHeaders

2007-03-27 Thread Paul DeCoursey
Alright, so here is the real problem. FileReference.upload never shares session/cookies/headers/(all the stuff we can't set) with the browser or other requests made from Flash. This is a huge problem. How are we supposed to manage a secure server environment when the security issues on the clien

[flexcoders] Flex Library Project??

2007-03-27 Thread Brian Holmes
Is it possible to put mxml files in a flex library project? *** The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and

[flexcoders] Re: Modules not positioning children correctly

2007-03-27 Thread Mark Doberenz
Well, in case anyone else has this issue, I found a bit of a hack to get it to work. I just created an mxml class called CustomModule.mxml and this is all that's in it: http://www.adobe.com/2006/mxml"; width="100%" height="100%"> Now, whenever I make a new module, I just point it to the Cus

Re: [flexcoders] Re: FDS/Hibernate/MySql data update question

2007-03-27 Thread Robert Cadena
Jae, glad to help. I doubt there is a change event support in the jdbc connector, but I may be wrong. One way you'd be able to notify your fds webapp that a change occurred is to expose an internal facing service (webservice,restful, jms?) to your other app. For example, our searchcoders.com/

[flexcoders] Re: remoteCredentials and CFCs

2007-03-27 Thread Maury Sword
Chad, I normally pass the username and an encrypted password in the html wrapper by modifying the flashvars parameter in the index.template.html file and set the remote credentials in the creationComplete handler of the Application. This is only needed when the CFC is in a directory secured b

[flexcoders] Flex added to CodeFetcher.com

2007-03-27 Thread Robert Walters
Hello, I just added a Flex category to my open source code site www.CodeFetcher.com Would love if we can get a good group of Flex programmers involved. Thanks.Rob

[flexcoders] Re: FDS/Hibernate/MySql data update question

2007-03-27 Thread jwp2k_uva
Robert, Thanks a million for pointing out DataServiceTransaction ;) This is awesome. I wonder now whether there is a db change event support in MySql/JDBC connector that allows a java object to call DataServiceTranaction functions as you described below whenever the database of interest is cha

[flexcoders] Re: Need help with a dataGrid itemRollOver

2007-03-27 Thread Mark
Sorry, got it... I used listEvent and got it to work. Thanks public function rollOverCtry(evt:ListEvent):void { trace(evt.itemRenderer.data.name); } --- In flexcoders@yahoogroups.com, "Mark" <[EMAIL PROTECTED]> wrote: > > I'm afraid I still don't understand what needs to be done -- > >

[flexcoders] Re: Need help with a dataGrid itemRollOver

2007-03-27 Thread Mark
I'm afraid I still don't understand what needs to be done -- public function rollOverCtry(evt:Event):void { trace(evt); } --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > For the column with dataField="name", when an itemRollOver occurs, the > event.itemR

[flexcoders] Re:

2007-03-27 Thread craig.drabik
--- In flexcoders@yahoogroups.com, "flexjeremy" <[EMAIL PROTECTED]> wrote: >One last thing if I > were getting a value out of the database is there a way to say that > item is selected? I've written a class that allows you to data-bind a combo similar to how you bind a text field.. You set the v

RE: [flexcoders] remoteCredentials and CFCs

2007-03-27 Thread Peter Farland
ColdFusion's adapter(s) that plug in to FDS's Remoting Service take those remote credentials and make them available to a CFC or CFM via the CFLOGIN scope. There appear to be a few blog postings about this too. http://www.google.com/search?q=CFLOGIN+Flex+setRemoteCredentials

Re: [flexcoders] Re: IoC framework for Action Script

2007-03-27 Thread Carlos Rovira
An IoC flex solution would really useful. The possibilities to inyect code at runtime and configure your application by xml joined with the code reduction acomplised with reflexion would be the next step...maybe the next iteration for frameworks like Cairngorm?. Hope so ;). 27 Mar 2007 10:00:54 -

Re: [flexcoders]Databinding two way

2007-03-27 Thread dorkie dork from dorktown
seemed to easy to be true but this works. On 3/27/07, dorkie dork from dorktown <[EMAIL PROTECTED]> wrote: I have a textarea that is bound to a datagrid. It is actually bound to the selectedItem. Whenever a user clicks a row in the datagrid the text from selectedItem.description is dis

[flexcoders] Pre-announcing the new Flex.org

2007-03-27 Thread Mike Potter
I'm happy to announce that we've redesigned the existing Flex.org site, and I'd like your feedback on it before we push it live. The site can be accessed online at http://www.flex.org/beta/ The final URL for the site will be http://www.flex.org/ I'm hoping to push it live sometime next week.

[flexcoders] FDS sitting behind SSL accelerator

2007-03-27 Thread box110a
We're working on our production environment design and would like to put FDS behind an SSL accelerator (H.A.) like nCipher's nFast or a BIG-IP server. We haven't purchased any hardware yet, so a proof of concept will require something like apache/mod_jk/mod_ssl. Has anybody had any success doing th

RE: [flexcoders] Re: IoC framework for Action Script

2007-03-27 Thread Matt Chotin
Not that I'm aware of. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jwp2k_uva Sent: Tuesday, March 27, 2007 12:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: IoC framework for Action Script Matt, Adobe, et al.

[flexcoders] remoteCredentials and CFCs

2007-03-27 Thread Chad Gray
I posted to the Apollo forum, but this is more of a Flex question. How would one use this setRemoteCredentials() method? http://livedocs.adobe.com/flex/201/langref/mx/rpc/remoting/RemoteObject.html#setRemoteCredentials() Do I place it in my submitJob function in the example code below? Here i

[flexcoders] Re: Correct way to load Flex SWF IF correct player version?

2007-03-27 Thread wdsnapper
FYI, Javascript is a non-starter for us. Sites like myspace block script tags so the best tool we have would be an embed or object tag and have a swf that can do what we need. Have any of you deployed a Flex application that can be embedded in other web pages that you do not own that do not allow

Re: [flexcoders] Re: Flex 2, AMFPHP and charset

2007-03-27 Thread Rafael Guédez
Thanks Ryan, I tried with varchar and text datatype and I got the same problem. For example: the char "á" look fine in the flex application, but in the database is "á" And my php class is like the old amfphp 1.2 without the method table. If I use the same flex application with AMFPHP 1

RE: [flexcoders] Flex Builder

2007-03-27 Thread Brian Holmes
I use the plugin as well for the same reason as Clint. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Barrett Sent: Tuesday, March 27, 2007 6:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Builder Hi, I have a

[flexcoders] Re: Setting the Font Color for a Selected ComboBox Item

2007-03-27 Thread Paul Whitelock
Yes, that's what I would have thought too :-) On the ComboBox close event this is all I'm doing: if (cb.selectedItem.status == "a") cb.setStyle("color", "#0B333C"); else cb.setStyle("color", "#AA"); If I select an item in the list that has the color #0B333C (the default dark gray font col

[flexcoders]Databinding two way

2007-03-27 Thread dorkie dork from dorktown
I have a textarea that is bound to a datagrid. It is actually bound to the selectedItem. Whenever a user clicks a row in the datagrid the text from selectedItem.description is displayed in the textarea. What I can't figure out is how to bind the text in the textarea back to that property. Usage S

Re: [flexcoders] List Control with checkbox items

2007-03-27 Thread Rick Root
(wow, gmail makes it difficult to quote emails from yahoo groups!) That almost works here's my MXML: The problem here is that the checkboxes do not relate to the actual selected status of the items. For example, if I click 3 different items without holding down the control key, all 3 it

Re: [flexcoders] Hi

2007-03-27 Thread Tom Chiverton
On Tuesday 27 Mar 2007, eshpaleti wrote: > can somebody tell me the flow of Flex Application and when to write > the code in MXML and when to write in normal XML . MXML is a dialect of XML that the Flex compiler can turn into a SWF flash file. But I'm not sure what you are asking ? -- Tom Chi

[flexcoders] Re: event creation

2007-03-27 Thread JWOpitz
Also you need to override the clone method. --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Define a new class that extends flash.events.Event and call > dispatchEvent. Other code calls addEventListener to listen to it. > Check out the docs > >

RE: [flexcoders] Sorting Datagrid column headers

2007-03-27 Thread Alex Harui
You probably have to get children() from the XML and create your own array of DataGridColumns at runtime. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jason vancleave Sent: Tuesday, March 27, 2007 1:19 AM To: flexcoders@yahoogroups.com S

  1   2   >