RE: [flexcoders] visual effect of mouse over using dispatchEvent

2007-04-02 Thread Alex Harui
We fake events all of the time w/o much trouble. The Automated Testing feature does some things like this. However, you have to know which event to fake. In this case, Buttons do not listen to MOUSE_OVER, they listen to ROLL_OVER -Alex From:

[flexcoders] Re: What's up with runtime errors silent failing.

2007-04-02 Thread iko_knyphausen
Same here... I am wondering whether its VISTA related (which I am running on my box)? Basically, if there is a trigger for a runtime error, such as e.g. referencing a null pointer, the function with the culprit will stop executing, but the rest will continue... makes debugging kind of tedious...

[flexcoders] Re: How do I do this effect?

2007-04-02 Thread Nate Pearson
thanks for the reply. Will that clip the canvas if it goes outside of it's parent container? I.E. Parent is 400 pix wide. Child that you want to slide is 200px wide and is centered in the parent. If you slide the child xTo=1 will it look like its sliding outside of its parent

RE: [flexcoders] Re: CheckBox Validator

2007-04-02 Thread Alex Harui
Not sure what the next step is, but if I had a Next button I would bind its enabled property to the selected property of the checkbox, or when Next is clicked, look at the checkbox and set its errorString if it isn't checked. From: flexcoders@yahoogroups.com

RE: [flexcoders] Accessing nested DisplayObjects programatically

2007-04-02 Thread Alex Harui
DO doesn't have children, but getChildByName returns one. So you have to cast. (app.getChildByname(topFrame) as DisplayObjectContainer).getChildByName(leftPane); From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent:

RE: [flexcoders] Toggling Menu Item?

2007-04-02 Thread Alex Harui
Should be something like: dataDescriptor.setToggled(_menuXML..menuItem.(@label==Foo), false); From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Sent: Sunday, April 01, 2007 8:16 AM To: flexcoders@yahoogroups.com Subject: RE:

Re: [flexcoders] Re: What's up with runtime errors silent failing.

2007-04-02 Thread Bjorn Schultheiss
DataBinding is funny like that. Once it fails it stop execute any further in the code block. I think at this stage it may be worth writing our own versions of databinding that handle as we wish. On 02/04/2007, at 4:11 PM, iko_knyphausen wrote: Same here... I am wondering whether its VISTA

[flexcoders] Re: How do I do this effect?

2007-04-02 Thread iko_knyphausen
Yes, this would clip. If you want to slide and minimize, you need a combination of MOVE and RESIZE. As both effects run in parallel, it looks smooth if you allow both effects the same duration. I have a few sliders in a beta app, if you want to check. http://www.aim4pro.com http://www.aim4pro.com

Re: [flexcoders] Accessing nested DisplayObjects programatically

2007-04-02 Thread Bjorn Schultheiss
Type it as a Container Object. Sorry i meant to say cast. On 02/04/2007, at 4:21 PM, Alex Harui wrote: DO doesn't have children, but getChildByName returns one. So you have to cast. (app.getChildByname(topFrame) as DisplayObjectContainer).getChildByName(leftPane); From:

[flexcoders] Re: What's up with runtime errors silent failing.

2007-04-02 Thread iko_knyphausen
Hm, how about data binding that is done declarative - meaning in curly braces... there is no code block per se? --- In flexcoders@yahoogroups.com, Bjorn Schultheiss [EMAIL PROTECTED] wrote: DataBinding is funny like that. Once it fails it stop execute any further in the code block. I think

Re: [flexcoders] Re: What's up with runtime errors silent failing.

2007-04-02 Thread Bjorn Schultheiss
Where you change the value that is being Binded to. eg. mx:Text text={model.text} / // in a command or equivalent model.text = param1; model.otherVal = param2; If binding throws an error on line1 of the command, it can prevent line 2 from executing On 02/04/2007, at 4:33 PM,

[flexcoders] Re: What's up with runtime errors silent failing.

2007-04-02 Thread iko_knyphausen
Ok, got you... I have another post out there regarding binding problems... http://tech.groups.yahoo.com/group/flexcoders/message/70163 http://tech.groups.yahoo.com/group/flexcoders/message/70163 Maybe you know an answer to that one too ;-) (praying) Thx --- In flexcoders@yahoogroups.com,

Re: [flexcoders] Re: What's up with runtime errors silent failing.

2007-04-02 Thread Bjorn Schultheiss
I read it earlier. Its hard to say exactly why it fails. There are a few ways it can happen. But i dont think there is a limit to the amount of bindings in an application. You can use the debugger to see when databinding fails. Usually you will eventually step into the databinding error

[flexcoders] Re:OS X spotlight component

2007-04-02 Thread Simon Barber
You may want to look at extending the ComboBox control and making it editable. Then somehow remove the button on the side.

RE: [flexcoders] Toggling Menu Item?

2007-04-02 Thread Sascha
Thanks Alex! How do you get the condition check working? If I try to use () in the E4x I always get a ReferenceError: Error #1065: Variable @label is not defined. i.e. trace(_menuXML..menuitem.(@label==Foo).toString()); From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

Re: [flexcoders] assets in FB

2007-04-02 Thread Tom Chiverton
On Friday 30 Mar 2007, Douglas Knudsen wrote: Do you store Flex based assets embedded in a swf inside flx-src directories in assets folder and store assets used by JSP pages in a assets folder off of webcontent folder? We've separate client and server projects. -- Tom Chiverton Helping to

Re: [flexcoders] How to disable the default drop shadow for a chartseries?

2007-04-02 Thread Tom Chiverton
On Saturday 31 Mar 2007, anewgene wrote: want to disable the drop shadow for the better appearance. However, Have you tried setting the apropiate style ? -- Tom Chiverton Helping to greatly evolve guinine communities on: http://thefalken.livejournal.com

[flexcoders] Scroll Tip on Roll Over on scroll bar of a grid

2007-04-02 Thread sanjaypmg
Hi All, I have a dataGrid and showing a tool tip on sroll by making showScrollTips=true and calling scrollTipFunction=mainScrollTipFunc.. TIP content is written in the funtion mainScrollTipFunc.. public function mainScrollTipFunc(dir : String, pos: Number):String {

Re: [flexcoders] data binding limitations?

2007-04-02 Thread Tom Chiverton
On Monday 02 Apr 2007, iko_knyphausen wrote: mx:XMLListCollection id=xlcUsers filterFunction=filterUser source={xmlSetup.lastResult.USER}/ What if you have the HTTPService result handler copy lastResult into some other variable, and bind to that instead ? -- Tom Chiverton Helping to

[flexcoders] Tree bug?

2007-04-02 Thread Nick Durnell
Hi all, I have a tree containing lots of branches. When a user opens a branch I add a load of leaf nodes to it. I am running into problems where the new nodes are not displayed correctly. Here is a sample application which demonstrates the problem: ?xml version=1.0 encoding=utf-8?

[flexcoders] ComboBox padding

2007-04-02 Thread alex steel
Hi to you all, I recently started developing in Flex, mostly because of Apollo and AS3 I am very good at Flash and AS2 anyway my problem is ComboBox padding text is very wide from sides by default which I really don't need in Flex Style explorer there is no example how to use padding for

[flexcoders] A question about rsl files and path

2007-04-02 Thread kkinaru
Hello all. I'm a new flex programmer, and I had not too many problems... since now. I have two proyects in flex builder 2 (Application and Library) and I need to use the library in my application. This library (in .swc format) must be deployed in a subfolder, but flex builder copies the unpacked

[flexcoders] can i add custom labels to my chart's x-axis?

2007-04-02 Thread dd.shah
hello group, i want to customize my chart's x-axis labels. i customized chart's vertical grid lines and i want to add labels according to that vertical lines. the labels should be outside x-axis. how can i accomplish that? can anyone help me? please. thanks in advance. tushar

Re: [flexcoders] is there a simple way to center a loaded image?

2007-04-02 Thread B. Korsmit
Hi Herklano, You probably want to use the horizontalAlign and verticalAlign styles to do this? mx:Image id=SMCDadosImg horizontalCenter=0 verticalCenter=0 horizontalAlign=center verticalAlign=middle / That's what I often use... herklano wrote: hi, i'm kinda noob

[flexcoders] Re: is there a simple way to center a loaded image?

2007-04-02 Thread herklano
Great idea :) thx Bjorn and it looks simple enough :) --- In flexcoders@yahoogroups.com, Bjorn Schultheiss [EMAIL PROTECTED] wrote: try this override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {

Re: [flexcoders] is there a simple way to center a loaded image?

2007-04-02 Thread Stefan IONESCU
Image horizontalCenter='0' / --- Doug McCune [EMAIL PROTECTED] wrote: What about using a VBox or a HBox instead of Canvas and using the horizontalAlign=center attribute? horizontalAlign isn't available for canvas, but it is for the box containers. Doug On 01 Apr 2007 18:03:31 -0700,

[flexcoders] Re: is there a simple way to center a loaded image?

2007-04-02 Thread herklano
Got it to work :) some bad math in that prevous code :( my solution: private function changeSMCDadosImg(event:Event):void { var pW_SMCDadosImg:Number; var pH_SMCDadosImg:Number; var tempSize:Number;

RE: [flexcoders] Flex Builder-Mac

2007-04-02 Thread Matt Chotin
Hi, there is a different download for the plugin version of FB on Mac. I think you probably should grab that rather than copying plugins around. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Barrett Sent: Friday, March

[flexcoders] y value of UIComponents added inside of VBox

2007-04-02 Thread keith
Goal: I want to make my verticalScrollBar scroll to the Y position of the Selected UIComponent in the Flex application. Problem: When using addChild to add UIComponents to a VBox container I'm I only get 0 for each UIComponent placed in a row down the VBox container. Maybe there is a easier way

[flexcoders] Job Posting: UI Architect with Flex and Actionscript proficiency

2007-04-02 Thread dayresnky1
This is Dave Ayres with Fusion Alliance. -Fusion's practice areas include application development, infrastructure and interactive services. We currently have a need for a UI Architect to perform some presentation layer design. If you are available to discuss further, please contact me

[flexcoders] Re: Accessing nested DisplayObjects programatically

2007-04-02 Thread Alen Balja
Cheers, it works. The return type of getChildByName() is DisplayObject so I didn't even think of typing it to something else. Now I can easily drill down the UI hierarchy and create references to important UI elements in class. I just started with Flex and the idea is to remove all the code from

[flexcoders] Drawing a box over top of an image

2007-04-02 Thread cardinalflexjeremy
OK here is the deal. I need to take a jpg image, and display it to the user. I need the entire image displayed. From there I need to give the user the ability to click and hold with thier mouse, and draw a box over the top of the image. I can kinda get it to work. I am using the image as the

Re: [flexcoders] Loading animated gifs

2007-04-02 Thread Tom Chiverton
On Saturday 31 Mar 2007, André Rodrigues Pena wrote: How can I load an animated gif within my application? I searched google and the reference and didn't find a free solution. Have you seen the Image component ? -- Tom Chiverton Helping to enormously network B2C experiences on:

[flexcoders] INCLUDING mxml data?

2007-04-02 Thread Steve Kellogg
Hello, I (obviously) know how to include using the Script tag, but is it possible to move portions of my MXML structures to an external, included file? I have things like a bunch of effects, etc that I'd like to organize into a separate file for easier maintainability. Thanks in

Re: [flexcoders] setFocus on TextInput

2007-04-02 Thread Jeff Tapper
Has this issue ever been resolved? Is there a reliable work around to automatically assign focus to the flash movie on startup? With this simple code ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical

[flexcoders] Filled Polygon

2007-04-02 Thread Carolyn Cole
Hello, For some reason I can not seem to get my polygon created by lineto to fill. The polygon gets drawn, but the fill never happens. Does anyone have any suggestions? The code I am using is bellow: recColor = 0xFF; transp=0.5;

[flexcoders] flex authenticating and sessions...

2007-04-02 Thread ripe101
OK, I have only found several posts asking, and many answers that don't seem to really address the issue. How is user authentication and session management handled best in Flex? Taking into consideration the following: * All business logic is server side and available only to an

Re: [flexcoders] Filled Polygon

2007-04-02 Thread Adam Royle
Hi Carolyn, I would say that it's because you are calling graphics.moveTo and graphics.beginFill during your loop, whereas it should be graphics.lineTo Change your logic so that you do this (pseudo-code): clear lineStyle moveTo - (starting point) beginFill loop { lineTo - (each point)

[flexcoders] Does Flex provides support for WS-Notification?

2007-04-02 Thread Hitesh Raghav
Dear All, Does Flex provides support for WS-Notification? In my development scenario, I've couple of AXIS 2.0 based web-services and one Flex based web-application (i.e. client). One of the web-services sends push based notifications. I need some understanding about Flex support for

RE: [flexcoders] Loading animated gifs

2007-04-02 Thread Robert Chyko
I don't believe the Image component will actually animate the animated gif. The only thing I've seen is a component (not free) written by Doug McCune - http://dougmccune.com/blog/2007/01/17/animatedgifloader/. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: Tree bug?

2007-04-02 Thread Nick Durnell
Oops - forgot to include the TestObj definition: public class TestObj { public var id:String; public var hasChildren:Boolean = false; public var children:Array; } Nick.

Re: [flexcoders] y value of UIComponents added inside of VBox

2007-04-02 Thread Daniel Freiman
I think the verticalScrollPosition property is actually a direct mapping to the top viewable y pixel location so you should be able to set the location by setting verticalScrollPosition to the y coordinate. I'm not sure what you mean by you only get 0 for each UIComponent. If you mean that the

RE: [flexcoders] A question about rsl files and path

2007-04-02 Thread Brian Holmes
When working with applications and flex libraries side by side just include the library as a project. Right click project properties Flex Build Path Library Path Add Project You then may need to change the build order of your projects to make sure the Library gets built before the

Re: [flexcoders] Filled Polygon

2007-04-02 Thread Carolyn Cole
Hi! Thanks for the advice! If you look at the code a bit closer (I know it's a bit complex) You would see that the moveto is only done on the first point in the loop. I believe the code does follow you advice as this example will show. Suppose I have a 4 point array: point[0] {

[flexcoders] Re: is there a simple way to center a loaded image?

2007-04-02 Thread herklano
hi, i tried that aprouch but the problem is that i want to scale the image to the canvas boundaries, so i really think the only way to do it is through AS. --- In flexcoders@yahoogroups.com, B. Korsmit [EMAIL PROTECTED] wrote: Hi Herklano, You probably want to use the horizontalAlign and

[flexcoders] invalidateSize() in tandem with invalidateDisplayList()

2007-04-02 Thread lostinrecursion
Hi all, I just watched a great session from 360Flex. Ely Greenfield talks about his DisplayShelf component from soup to nuts. He mentions that when you know you need to change the size of something, you call invalidateSize() and when you know you need to redraw something, you call

RE: [flexcoders] Re: Accessing nested DisplayObjects programatically

2007-04-02 Thread Tracy Spratt
I have heard the Adobe folks advise against using getChildByName() because name is internal and may not forever equal id. Why aren't you just using id? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alen Balja Sent:

RE: [flexcoders] directory tree lister

2007-04-02 Thread Tracy Spratt
Short answer, you can't. Longer answer: Flex is a client-side technology running via the Flash Player in a browser. Very tight security restrictions prevent you from accessing ANY client side assets, including the local file system. Even the file upload functionality is designed to prevent

RE: [flexcoders] data binding limitations?

2007-04-02 Thread Tracy Spratt
Binding directly to lastResult is hard to debug. I advise using a result handler function to set an instance variable, and bind to that. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of iko_knyphausen Sent: Monday, April 02, 2007

[flexcoders] Problems with htmltext

2007-04-02 Thread Guillermo Villasana
Hi everyone, I am puting the following code in the Htmltext area: pspan style=font-size: 14pt; font-weight: bold; color: rgb(255, 165, 0);En/span hoteles de playa proporcionamos habitaciones con vista al mar y en algunos casos, jacuzzi o alberca privada. Nuestro Lounge ofrece diariamente

[flexcoders] Re: How do I do this effect?

2007-04-02 Thread Nate Pearson
AH! Very cool! I like the minimize with the move. Thanks, you have answered my question. --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote: Yes, this would clip. If you want to slide and minimize, you need a combination of MOVE and RESIZE. As both effects run in

Re: [flexcoders] Problems with htmltext

2007-04-02 Thread Brian Dunphy
I don't think your style attributes will have any affect on the rendering of the htmlText, as far as I know only simple tags (i.e. bold, italics, anchor, linebreak, paragraph, image, etc) work. Cheers, Brian On 02 Apr 2007 09:43:48 -0700, Guillermo Villasana [EMAIL PROTECTED] wrote: Hi

Re: [flexcoders] Problems with htmltext

2007-04-02 Thread Guillermo Villasana
sorry I checked out the information and htmltext has less than 10 html tags implemented

Re: [flexcoders] Filled Polygon

2007-04-02 Thread Adam Royle
Sorry, you are right, I didn't study your code in great detail. Are you able to post a full code sample that shows your drawing commands in action? Cheers, Adam - Original Message - From: Carolyn Cole To: flexcoders@yahoogroups.com Sent: Tuesday, April 03, 2007 12:50 AM

[flexcoders] Re: Help with finding days between a start and end date

2007-04-02 Thread Doug Lowder
Your math is OK, but for timezones that support Daylight Savings Time your logic isn't. In those timezones, not every day will be exactly 24 hours long. A quick way to verify is to make the following change: hListArray.addItem(lastDate.toUTCString()); If you need dates converted to local

[flexcoders] Check out our Apollo screencast

2007-04-02 Thread Tom Bray
Hey everybody, We've just launched a new Apollo app and you can check out the demo here: http://labs.searchcoders.com/dashboard/demo/ Let us know if you have any questions or feedback. Thanks! Tom

[flexcoders] Re: Drawing a box over top of an image

2007-04-02 Thread cardinalflexjeremy
Using an image tag, I can get it to work, but when I draw the box it shows up 'behind' the image, so that doesnt do what I want. When using an HBox and setting the background image param, the pic is getting clipped. When I set the backgroundScale attribute, to 100% it squishes the image to fit

RE: [flexcoders] Re: Drawing a box over top of an image

2007-04-02 Thread Alex Harui
The graphics layer is below all children, so you need to add other visuals as children over the image. Below is the code I prototyped for an Image with a close button and resize handle. public class CloseResizeImage extends Image { public function CloseResizeImage() { super(); }

RE: [flexcoders] Does Flex provides support for WS-Notification?

2007-04-02 Thread Seth Hodgson
The Flex web service library does not currently support WS-Notification. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Hitesh Raghav Sent: Monday, April 02, 2007 6:57 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Simple beginner question concerning Flex Server

2007-04-02 Thread manfred.maierhofer
Hi everybody, I'm just starting to develop Flex Apps, so I have a little question. On http://www.adobe.com/devnet/flex/articles/flexfaq.html#itemA-22 they talk about the Flex Server. Does Flex Server mean Flex Data Services? Background is, I want to develop an application in Flex that doesn't use

RE: [flexcoders] Re: is there a simple way to center a loaded image?

2007-04-02 Thread Alex Harui
OK, I'm now confused. If you want an image to fill a canvas then you don't really need to center it (unless there's going to be distortion from aspect ratio changing). And, if you fill the Canvas, I'd think you'd just use the backgroundImage instead. Can you provide more details on the

RE: [flexcoders] Filled Polygon

2007-04-02 Thread Alex Harui
I think there's two calls to beginFIll? Make sure there's only one and it is before the moveTo. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carolyn Cole Sent: Monday, April 02, 2007 7:50 AM To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] setFocus on TextInput

2007-04-02 Thread Alex Harui
Apparently, only for IE, using JS similar to what google uses. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Tapper Sent: Monday, April 02, 2007 6:54 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] setFocus on TextInput

RE: [flexcoders] Scroll Tip on Roll Over on scroll bar of a grid

2007-04-02 Thread Alex Harui
You'll probably have to add ROLL_OVER handlers to the scrollbar and put up your own tooltip. You can probably borrow a bunch of code from ScrollControlBase.as From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sanjaypmg Sent: Monday, April

RE: [flexcoders] Toggling Menu Item?

2007-04-02 Thread Alex Harui
I tried it on another menu test I have and didn't get a reference error, but I did have to make one small change: dataDescriptor.setToggled(_menuXML..menuItem.(@label==Foo)[0], false); From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [flexcoders] Simple beginner question concerning Flex Server

2007-04-02 Thread João Fernandes
This article was related to Flex 1.5 where a flex server was required but not anymore, you can deploy your app anywhere. João Fernandes

RE: [flexcoders] Simple beginner question concerning Flex Server

2007-04-02 Thread Tracy Spratt
That FAQ really only applies to Flex 1.5. No server is required with 2.x if you do not use FDS. You can access webservices directly from a Flex client subject to crossdomain security policy. i.e., the server from whom you are requesting the resource must have a crossdomain.xml file that gives

Re: [flexcoders] Tree bug?

2007-04-02 Thread Stephane Guyot
Nick, the same trouble for me, I've noticed strange behavior with Tree manipulation. I think it's maybe not your code. Have a look at : http://www.adobe.com/devnet/flex/quickstart/ working_with_tree/ take the first example : Add Operation Employee Add many employees to force scrollbars to

Re: [flexcoders] Check out our Apollo screencast

2007-04-02 Thread Mark Doberenz
Awesome, I somehow randomly made your video!! I'll assume this will be my 15 minutes of fame. :) Mark On 4/2/07, Tom Bray [EMAIL PROTECTED] wrote: Hey everybody, We've just launched a new Apollo app and you can check out the demo here: http://labs.searchcoders.com/dashboard/demo/ Let us

[flexcoders] Re: Drawing a box over top of an image

2007-04-02 Thread cardinalflexjeremy
Sorry its been a long day. Is there any simple explanation of how to bring the graphics layer to the front? Here is my code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute width=100% height=100% backgroundColor=#FF mx:Script

[flexcoders] Question for Adobe folks

2007-04-02 Thread Dmitry Miller
Hi, I am implementing a custom Label control which has a 'selected' property upon which the label text is either bold or normal. I am using setStyle method to set the font weight of the control My question is where should I implement a setStyle call for the control: commitProperties() or

[flexcoders] Re: Drawing a box over top of an image

2007-04-02 Thread cardinalflexjeremy
re-reading this it sounds more negative than I meant it to. Simply put, I dont see in the code, where you are adding a child to the image is all. If there is some code I need to implement below, so as to not have to re-work the image component I would be greatly appreciative for any help or

[flexcoders] [Bindable] object not updating on changes

2007-04-02 Thread klar1ty
I think I might be misunderstanding the use of bound objects in Flex. I have a bound object as follows: [Bindable] public var entryValueData:Object ={redValue:0,greenValue:4,blueValue:0}; I have a function that updates one of the values as follows: public function

RE: [flexcoders] Tree bug?

2007-04-02 Thread Robert Chyko
have you tried using invalidateList? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephane Guyot Sent: Monday, April 02, 2007 1:58 PM To: flexcoders@yahoogroups.com Cc: Nick Durnell

[flexcoders] OS X Command line

2007-04-02 Thread Bill Dawson
I've got FlexBuilder and the Flex SDK installed on my machine. I've set the $PATH variable to include my SDK directory - and everything appears to run correctly. When I execute mxmlc against a valid MXML file, the compiler runs - but never outputs a SWF file. I've put it in a root directory to

RE: [flexcoders] [Bindable] object not updating on changes

2007-04-02 Thread Geoffrey Williams
Use mx.utils.ObjectProxy. The way you have it, only setting the value of entryValueData fill fire an event. [Bindable] public var entryValueData : ObjectProxy = new ObjectProxy ({redValue:0, greenValue:4, blueValue:0}); From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

[flexcoders] Re: Error with calling coldfusion report from Flex

2007-04-02 Thread TJ Downes
Hi Bruce, did you figure this out? i am experience a similar issue. The funny thing is it happens on the client's server but not in my test environment. Thanks! --- In flexcoders@yahoogroups.com, boy_trike [EMAIL PROTECTED] wrote: I have a CFC that tries to run a coldfusion report builder

[flexcoders] VerifyError: Error #1030

2007-04-02 Thread Daniel Freiman
VerifyError: Error #1030: Stack depth is unbalanced. 1 != 0. This is thrown when I past text into an extension of UITextField. I think it's trying to verify the function that's listening for the KeyboardEvent.KEY_DOWN. For the record, I don't know what that last sentence means. Anybody have a

[flexcoders] Re: data binding limitations?

2007-04-02 Thread iko_knyphausen
Thanks everyone for your help and input. I finally figured it out. I have a little bit of egg in my face ;-), but maybe this will help someone else avoid the same mistakes.. 1. I recently installed Flex Builder on a VISTA machine. Had to copy a working XP installation as the setup program

RE: [flexcoders] Question for Adobe folks

2007-04-02 Thread Alex Harui
In commitProperties. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Miller Sent: Monday, April 02, 2007 11:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question for Adobe folks Hi, I am implementing a custom

Re: [flexcoders] y value of UIComponents added inside of VBox

2007-04-02 Thread khair
Yes the y coordinated is coming back as number 0, yes you understood. I would like to set a Panel verticalScrollBarPosition according to the y coordinate of any UIComponent selected inside of Panel container. I'm trying validateNow and validateDisplayList, no luck yet. I will keep tooling

[flexcoders] Child window

2007-04-02 Thread Alejandro Narancio
Hi guys, I want to know if it is possible to have child windows in flex? I will try to explain my problem, I have a simple flex app (only a button with an alert message), this is the code: ?xml version=1.0? !-- Simple example to demonstrate the Alert control. -- mx:Application

[flexcoders] Filter Function on ArrayCollection with httpservices as there source

2007-04-02 Thread bnprrsh
Hi, I am trying to use the filter function on anrray collection with a http service lastResult source. I can't get passed this error TypeError: Error #1034: Type Coercion failed: cannot convert mx.collections::[EMAIL PROTECTED] to Array. It seems to work fine when using my had coded object

[flexcoders] Smart Accordion

2007-04-02 Thread gotjosh819i
Does anyone some code or samples on how to add a image to the accordion panel button that shows how much the form in that accordion pane is completed? I have seen some demos done by Adobe when briefing Flex Data services and that feature caught my eye. Now I am curious on how it can be done.

RE: [flexcoders] Child window

2007-04-02 Thread Alex Harui
Possible, but there is no property or style you can set to make it happen. You'll have to change your app to not use Alert and instead have a state that displays a TitleWindow that looks like alert over the app and slip a shield' underneath it to block interaction. You can steal some of the

[flexcoders] Re: Filter Function on ArrayCollection with httpservices as there source

2007-04-02 Thread iko_knyphausen
You could e4x as resultFormat and then bind this to an XMLListCollection, which in turn you can filter with a function. In e4x you would omit the root tag (probably =stockreport in your case) and use stockFeed.lastResult.products.product as a source for databinding --- In

[flexcoders] Re: is there a simple way to center a loaded image?

2007-04-02 Thread herklano
the image is dynamic loaded through a database. i want to scale proportionally the image to the canvas boundaries and then center it. i allready got it working with this code, but thx for the help anyway :) mx:Canvas x=10 y=10 width=190 borderStyle=none backgroundColor=#d0d0d0 height=190

RE: [flexcoders] VerifyError: Error #1030

2007-04-02 Thread Alex Harui
You cannot write code that generates a verifyError. A verifyError is either a bug in the compiler, or a mismatch between player versions and compiler output, which can sometimes be caused by linking against old AS code. If you don't have that situation, can you post the example?

[flexcoders] Re: Simple beginner question concerning Flex Server

2007-04-02 Thread manfred.maierhofer
Thanks a lot. I already know about the problem with the crossdomain.xml and I am trying to solve it for webservices on a SAP server. If I have bigger problems with it, I will come again and open a new Thread. But thanks for the fast answer, Mane --- In flexcoders@yahoogroups.com, Tracy Spratt

RE: [flexcoders] y value of UIComponents added inside of VBox

2007-04-02 Thread Alex Harui
I would recommend adding a button to your app that, when you click the button, picks the y value off a component and sets verticalScrollPosition to it. If that works then you have a timing problem with invalidation and validation. If not, post that example. -Alex

[flexcoders] Re: How to disable the default drop shadow for a chartseries?

2007-04-02 Thread anewgene
Thanks for the reply. But what is the appropriate style to set for a series. From the reference, I known I can set for fill and stroke. What else I can set to disable the drop shadow? Lei --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Saturday 31 Mar 2007,

[flexcoders] Bug in SliderEvent.as

2007-04-02 Thread One Person
Starting on line 197 of SliderEvent.as there is a constructor for the SliderEvent object. This constructor takes the following parameters: type:String, bubbles:Boolean = false, cancelable:Boolean = false, thumbIndex:int = -1, value:Number = NaN, triggerEvent:Event = null,

[flexcoders] question about string equality

2007-04-02 Thread simonjpalmer
take a look at this code snippet... 01 // check one doesn't already exist with this name 02 bFound = false; 03 for (isc = 0; isc ss.scenarios.length !bFound; isc++) 04 { 05 sc = Scenario(ss.scenarios.getItemAt(isc)); 06 if (sc.name.valueOf() == oc.category.valueOf()) bFound = true; 07

[flexcoders] Custom Legend: Extending LegendItem: How do I move the label?

2007-04-02 Thread ronnlixx
I've got this working, i add the textField for each legendItem My problem is I can't seem to find a way to move the label. I was able to move the marker to accomodate the space taken up by the added textField using: super.marker.move(25, super.marker.y); Any help would be greatly appreciated.

[flexcoders] New Flex.org Site Launching Tomorrow at 9:00 AM ET

2007-04-02 Thread Mike Potter
The new Flex.org website will be launching on Tuesday morning at http://www.flex.org/ The site has received great feedback so far. Here's a few comments: Overall the new Flex.org is a huge step forward. Love the looks of site. I love the design. The new site will go live tomorrow morning, at

[flexcoders] Re: Filter Function on ArrayCollection with httpservices as there source

2007-04-02 Thread bnprrsh
Thanks so much it worked a treat! --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote: You could e4x as resultFormat and then bind this to an XMLListCollection, which in turn you can filter with a function. In e4x you would omit the root tag (probably =stockreport

[flexcoders] Reference to a class variable

2007-04-02 Thread manfred.maierhofer
Hi, I am using ActionScript classes to define my data models. Now I want to set the value of my variables dynamically. I have a function that generates a webservice call. I would like to pass a parameter to this function that contains a String or a reference to the variable that the result is

[flexcoders] DateField Bug

2007-04-02 Thread Chad Callahan
When selecting the date that the DateField object is already set to, the DateField text display becomes empty. Does selecting the same date as is already selected cause the new selected date to become null? Is there a property I can set to disable this feature? CHAD CALLAHAN

[flexcoders] Does Flex provides support for WS-Notification?

2007-04-02 Thread Hitesh Raghav
Dear All, Does Flex provides support for WS-Notification? In my development scenario, I've couple of AXIS 2.0 based web-services and one Flex based web-application (i.e. client). One of the web-services sends push based notifications. I need some understanding about Flex support for

Re: [flexcoders] FlexBuilder Keyboard Not Responsive on the Mac

2007-04-02 Thread Kevin
My MacBook runs Flex fine, although I use the Eclipse plug-in and not Flex-Builder. The only weird problem I seem to have is that every so often the Keyboard shortcuts do not work so I have to save via the file menu and can't launch certain functions with my fn keys. I am not sure if this

  1   2   >