[flexcoders] Using states and addChild, the children gets new ID's. How to get around this?

2007-03-22 Thread pmotzfeldt
Hi I am having a problem when I add components with the use of addChild when switching states, and that is that the component's ID is not what I specify in the code. It is the VBox that I scpecify should have an id = vbAdvanced, but when I iterate over the children of pState when switched

[flexcoders] Re: Module issue

2007-03-22 Thread fabio_sebastiano
Hi, thanks for the reply. I checked the lib-path and i found that it's the right one, the one that flexBuilder automatically put when i create a project. I've also tried to change the path and point the 2.0.1 one, recompile the application and deploy it to the server...but it still give the same

[flexcoders] Re: ColumnChart x-axis

2007-03-22 Thread Lieven Cardoen
And how do you do that? --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: You can manually set the minimum of the horizontal axis to whatever you want. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

[flexcoders] Re: Coercion failed ArrayCollection with Objects inside Object AMFPHP 1.9

2007-03-22 Thread thuijzer
Yes it contains up to 600 items. --- In flexcoders@yahoogroups.com, michael_ramirez44 [EMAIL PROTECTED] wrote: Does your PHP array contain more then one item when your testing? Michael Ramirez --- In flexcoders@yahoogroups.com, thuijzer thuijzer@ wrote: Whoops, I didn't write this

[flexcoders] Client IP Address

2007-03-22 Thread Bhuvan Gupta
Hi All, I want to send client's (browser's) IP address to the backend. As I understand, Flex doesn't provide support to fetch the client IP Address. What is the best and browser independent way to send client IP to the backend ? Thanks

Re: [flexcoders] Client IP Address

2007-03-22 Thread Adam Royle
The server can tell you what their IP address is. In PHP it would be something like this: $_SERVER['REMOTE_ADDR']; But remember that IP addresses can be faked. And in the example above you might get their proxy's IP address, and not the actual IP address of their computer/router. Cheers,

[flexcoders] Re: Help - Flex application no longer works!

2007-03-22 Thread Nick Durnell
Should I file a bug report for this? Nick. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I think there are issues with resources in loaded apps. The apps can end up looking at the main app for their resources instead of their own app.

Re: [flexcoders] Client IP Address

2007-03-22 Thread Bhuvan Gupta
I didn't frame my query properly. It was incomplete. My bad. Here's the scenario. - I am using Java backend (tomcat) - I am using Remote Object functionality. Now from flex I wish to send the client IP when I invoke a method on the Remote Java Object. What is the best way (if at all there is

Re: [flexcoders] Client IP Address

2007-03-22 Thread Adam Royle
If you want the machine's IP on their internal network, such as 192.168.1.5, etc, I don't think you are able to get at this. Otherwise, these links might help you (some examples show how to get REMOTE_ADDR in Java). Not sure if it's relevant.

Re: [flexcoders] Client IP Address

2007-03-22 Thread Bhuvan Gupta
ya, this is not relevant as I am using RemoteObject functionality. I guess I will have to switch to HTTPPost instead of RemoteObject and create a servlet at the backend to process the request. Thanks for the help. On Mar 22, 2007, at 2:51 PM, Adam Royle wrote: If you want the machine's IP on

RE: [flexcoders] Client IP Address

2007-03-22 Thread Dirk Eismann
Are you using Flex Data Services? If so you can get the ServletContext from with your RemoteObject like this: String ipAddress = FlexContext.getHttpRequest().getRemoteAddr(); Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Client IP Address

2007-03-22 Thread Dirk Eismann
sorry you can get the ip address I mean :) Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent: Thursday, March 22, 2007 10:54 AM To: flexcoders@yahoogroups.com Subject: RE:

RE: [flexcoders] Developing Rich Clients, Source Code?

2007-03-22 Thread Alistair McLeod
Hi, Apologies, the server needed some TLC so I've given it a kick. You can now download the source from http://flexbook.iterationtwo.com Cheers, Alistair -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lostinrecursion Sent: 21 March 2007 10:26

Re: [flexcoders] FDS 2 becomes LDS 2.5 | See labs.adobe.com

2007-03-22 Thread Vadim Melnik
Out of curiosity, will LCDS 2.5 support XFA JetForm in XML format (XDP) in addition to PDF one? In other words according to Beta 2 documentation XFAHelper.open method accepts only PDF stream, but we need in XDP format as well, e.g: XFAHelper x = new XFAHelper(); x.open(C:\\some_form.pdf); //

[flexcoders] Toggling Check MenuItem from within AS?

2007-03-22 Thread Sascha
Hi, Can somebody give me a hint how I can toggle a Flex2 check type MenuItem from within ActionScript? So far I found that I can access the menuItems via the MenuBar's menuBarItems property, i.e. . trace(MenuBarItem(menuBarItems[0].data)); But I'm sure there is a more elegant way to

[flexcoders] Re: Coercion failed ArrayCollection with Objects inside Object AMFPHP 1.9

2007-03-22 Thread thuijzer
It must be something basic, but I can't find it. I dubbelchecked every class Remote and in Flex. They are all the same. Locations are all the same. Now I checked what is comming from the remote server. Alle Classes are typed correct. But where there should be ArrayCollections, there are Array's,

[flexcoders] Flex compiler API

2007-03-22 Thread Vadim Melnik
Does anyone know what is Flex OEM Kit, and where is Flex Compiler API location? Flex 2.0.1 documentation provides flex2_compiler_api_ug.pdf document, mentioning flex-compiler-oem.jar. I am looking for standard way for run-time in-memory compilation (to produce dynamic modules from the generated

Re: [flexcoders] Advanced DataGrid / Destination Aware intros tight coupling?

2007-03-22 Thread Tom Chiverton
On Thursday 22 Mar 2007, lostinrecursion wrote: Can someone point out what I am missing here or make any points why my thoughts are incorrect? No, I think your points are reasonable. Custom display components should broad cast events, or offer call back functions rather than just have the

Re: [flexcoders] Data Binding Issue

2007-03-22 Thread Tom Chiverton
On Tuesday 20 Mar 2007, madhukiranm wrote: [Bindable] tag before the declaration of the variable (in both MXML and Custom Component). Everything works fine except when the variable In the custom component, have you given it a default value, eg: [Bindable] public var

Re: [flexcoders] Re: Flex Caching Data?

2007-03-22 Thread Tom Chiverton
On Tuesday 20 Mar 2007, Matt Maher wrote: I think, because of this, the two files being written I am concerned about (cache) are temporary internet files and normal swap-like disk caching. There's nothing you can do about the O/S swapping out the region of RAM with your data in to disk, and

[flexcoders] How to pass some values along with invalidateDisplayList

2007-03-22 Thread Janis Radins
Hello ppl! I have run into some problems in here. I'm making menu which is supposed to react on Mouse position. Actually I'm trying to recreate macintosh menu dock. When menu is in active state i subscribe to MouseEvent.MOUSE_MOVE and whenever it's called I fire invalidateDisplayList which leads

Re: [flexcoders] How to pass some values along with invalidateDisplayList

2007-03-22 Thread Roman Protsiuk
You can store mouse coordinates in some private fields before calling invalidateDisplayList() and then use them in updateDisplayList(...). R. On 3/22/07, Janis Radins [EMAIL PROTECTED] wrote: Hello ppl! I have run into some problems in here. I'm making menu which is supposed to react on

[flexcoders] Re: Advanced DataGrid / Destination Aware intros tight coupling?

2007-03-22 Thread lostinrecursion
Thanks Tom. As I go through the book, I am seeing more and more of that approach. Also shocking to me is that, although it has become a widely accepted way to develop large apps, Cairngorm isn't even so much as given a footnote in the book. Well, it is a great resource anyway, but not what I

[flexcoders] Re: small problem with Bar Chart showing days

2007-03-22 Thread Mark
When you're right, you're right! 5 minutes later and I now have a nice gradient fill in my bars. Half a day of beginGradientFill and all I had to show for it was well, nothing. Thanks Ely! Here's the code if anyone runs into this need ( and please post back if anyone see places for

[flexcoders] ColumnSeries NumberFormatting

2007-03-22 Thread Lieven Cardoen
I would like the columnSeries to format their data before showing. Now sometimes I have values in my chart like 55,9. How do I do this? In DataGridColumn I did it like this : mx:DataGridColumn dataField=type

[flexcoders] Re: Migration from 1.5 to 2.0

2007-03-22 Thread deravi2000
Ya took that approach and the problem is sorted now..thanks.. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Create a new file for 2.0.1, verify it compiles ok, then paste in the contents of the 1.5 file. If it works, compare to see what is different from the one

[flexcoders] UI Design

2007-03-22 Thread lostinrecursion
Hi all, A lot of emphasis in the Flex community has been put on the business logic and structure of good Flex applications. Although I started life as a graphic designer in this business, I often find myself being critical of my layouts the most. It's not unusual for me to code a lot of the

[flexcoders] How do I get this effect(float panel) like Adobe's Maptacular application?thx

2007-03-22 Thread jexchan
I want to get this effect,just like Maptacular application,the left panel is float,when I move mouse to the left area,the panel slide from outside? thx

[flexcoders] DataGrid, itemRenderer, button with custom image resizing

2007-03-22 Thread wdsnapper
Hello, I have a datagrid I use to represent a shopping cart. One of the columns will contain a button used for deleting an item from the cart. The button is skinned with a custom graphic. I have been able to get the button into the column. I did this by subclassing Button in ActionScript,

[flexcoders] embedded fonts in customized component

2007-03-22 Thread lw0110
Helle all, I am using RollOverEffect on my customized component now, but the label on the button can be affected by the RollOverEffect. I search the help file, it told me that i should use embedded fonts. But I should use the embedded fonts in the main application which uses my customized

[flexcoders] Re: Advanced DataGrid / Destination Aware intros tight coupling?

2007-03-22 Thread maury.sword
--- In flexcoders@yahoogroups.com, lostinrecursion [EMAIL PROTECTED] wrote: Evening folks, I finished reading a chapter in the new book, RIAs with Flex and Java. Specifically, I was reading Chapter 11: Advanced Datagrid which introduces the concept of a destination aware component which

[flexcoders] Re: Advanced DataGrid / Destination Aware intros tight coupling?

2007-03-22 Thread lostinrecursion
Maury, Good points. And forgive me for the totally ignoring bit. It was late and I was cranky. :) You do make a valid point when you say that it seems no different than the StatesComboBox that displays US States all the time. I guess I am getting hung up on this because I primarily use

Re: [flexcoders] Re: Advanced DataGrid / Destination Aware intros tight coupling?

2007-03-22 Thread Tom Chiverton
On Thursday 22 Mar 2007, lostinrecursion wrote: Thanks Tom. As I go through the book, I am seeing more and more of that approach. For the purposes of learning, taking your first few steps and building the first few apps, it's fine. You don't want an example of X made unclear by also doing lots

[flexcoders] Re: DataGrid, itemRenderer, button with custom image resizing

2007-03-22 Thread maury.sword
Is your button class the itemRenderer ? Have you tried creating an itemRenderer that extends a container and includes your button as a child ? I think I have seen checkBox itemRenderers implemented in this manner. --- In flexcoders@yahoogroups.com, wdsnapper [EMAIL PROTECTED] wrote:

[flexcoders] Load Tree Icon at Runtime

2007-03-22 Thread Shaun
I'm trying to load a tree icon at runtime (don't want to embed because it will have already been cached by the browser before the flex app). I have a function like: private function treeIcon(item:Object):Class { if (item is CustomObjectVO) { } } I can't seem to figure

Re: [flexcoders] Re: Advanced DataGrid / Destination Aware intros tight coupling?

2007-03-22 Thread Douglas Knudsen
me2. Built a employee search component to search through our DB of 20,000+ employees. I wanted this component to be a 'drop in and work' component existing on it on, thus the RO calls and such are inside it. DK On 3/22/07, maury.sword [EMAIL PROTECTED] wrote: --- In

RE: [flexcoders] Bug? Remote Object to AS conversion.

2007-03-22 Thread Peter Farland
This would happen if you didn't have a dependency on an ActionScript class in your application otherwise the mxmlc doesn't know to link it into the SWF. At runtime if the Flash Player does not find a class with a registered alias for the remote type, it just creates an anonymous ActionScript

[flexcoders] Re: UI Design

2007-03-22 Thread Paul DeCoursey
Check out About Face 2.0 by Alan cooper, I had the first edition and that helped me a lot in the beginning. An older one, but one I found indespensible, Macintosh Human Interface Guidelines. There is also one for java that I don't recall the name of and can't seem to find right now. On the more

[flexcoders] Re: flash remoting

2007-03-22 Thread rchadgray
Ok now I am starting to break down Clint's example so I understand what is going on. I tossed out the AS just to kind of make me understand how the tags are working together. My question now is why cant I do this in my button click event: myFlashRemote.echoString({send.text}) Here is my

[flexcoders] Re: Advanced DataGrid / Destination Aware intros tight coupling?

2007-03-22 Thread maury.sword
Kenny, No problem. I haven't used Cairngorm. I'm working in an environment where we have 30,000+ CF pages and 1000+ Flex 1.5 files. We've been using CF since the Allaire days. I'm currently finishing up the migration of my Flex 1.5 code to Flex 2. We have several applications that

[flexcoders] how to create dataprovider for plotchart dynamically by flex2.0

2007-03-22 Thread gdedward
how to create dataprovider for plotchart dynamically by flex2.0 I am able create dataprovider statically .but i want create it dynamically . i tried many way but could'nt get the result. please any one can discuss?

[flexcoders] Re: Coercion failed ArrayCollection with Objects inside Object AMFPHP 1.9

2007-03-22 Thread thuijzer
Finaly I found a solution for my problem. I created this class in PHP: class ArrayCollection { var $_explicitType; var $source; function ArrayCollection() { $this-_explicitType = flex.messaging.io.ArrayCollection; $this-source = array(); } } When I use

Re: [flexcoders] How to pass some values along with invalidateDisplayList

2007-03-22 Thread Janis Radins
Allready thought about that. It wouldnt work, just because between invalidateDisplayList() and updateDisplayList() those values would change. 22 Mar 2007 05:39:18 -0700, Roman Protsiuk [EMAIL PROTECTED]: You can store mouse coordinates in some private fields before calling

Re: [flexcoders] Re: flash remoting

2007-03-22 Thread Clint Tredway
Thats not how remoting works. By sending an object to the server, the gateway translates it into a or many structures that is in the argument scope of CF. to pass a string to a CFC do this: public function sendToCFC():void{ var cfObj:Object = {input:source.text};

[flexcoders] Re: flash remoting

2007-03-22 Thread rchadgray
Another question. When using the web service tag i was able to specify with operation and request tags what function in the CFC i wanted to use and what parameter i was passing to the web service. mx:WebService id=myWebservice wsdl=http://demo.dev/test.cfc?wsdl; useProxy=false

Re: [flexcoders] How to pass some values along with invalidateDisplayList

2007-03-22 Thread Mike Collins
Why worry about the mouse position? Why not set the state of your menu object to indicate which menu is selected, which one is hovered over, which ones are open, etc. These state values get set in the MOUSE_MOVE event before you invalidate and then the updateDisplayList already knows the state

Re: [flexcoders] Re: flash remoting

2007-03-22 Thread Clint Tredway
Look at my example that I sent just a bit ago. You send objects to the cfc when you call a method of the RemoteObject tag. On 3/22/07, rchadgray [EMAIL PROTECTED] wrote: Another question. When using the web service tag i was able to specify with operation and request tags what function in

RE: [flexcoders] Re: flash remoting

2007-03-22 Thread Peter Farland
Did you see the example in the documentation for mx:RemoteObject? http://livedocs.adobe.com/flex/2/langref/mx/rpc/remoting/mxml/RemoteObje ct.html There's a code example at the bottom of the page. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

[flexcoders] Re: flash remoting

2007-03-22 Thread rchadgray
Ok... makes sense. I will have to read your AS code closer to understand what it is doing. I am very new to AS so i am slowly learning. The code is working, but not returning a value to the textarea. I am watching the traffic with a program called serviceCapture and i can see the data going

RE: [flexcoders] Re: flash remoting

2007-03-22 Thread Chad Gray
Ah.. I did not see that. I was searching for flash remoting yesterday. Did not think of searching for flex remoting. Thanks! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Farland Sent: Thursday, March 22, 2007 10:43 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: FDS 2 becomes LDS 2.5 | See labs.adobe.com

2007-03-22 Thread mthielman11
I am wondering if there will be a new pricing model?? We have a dire need for the PDF features of this product but nothing else. Will any PDF building abilities ever be added to flex itself? Will pricing still be the same for LCDS? If only using the PDF generation functions will LCDS express

[flexcoders] Re: How do I get this effect(float panel) like Adobe's Maptacular application?th

2007-03-22 Thread mthielman11
I wanted this too and stumbled apon where the code for that came from. It looks like sliding drawers .6 I downloaded it and now have it running in my app it is great. Would like to see some kind of tab or features or somethign though, that would be really cool! Here is the link.

[flexcoders] Re: flash remoting

2007-03-22 Thread rchadgray
Using the mx:arguments tags in the mx:method tag worked also. Wish i would have found that help page yesterday! :) Here is my final code using the arguments. ?xml version=1.0 encoding=utf-8? mx:ApolloApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute pageTitle=Flex

[flexcoders] Re: Working with ads (DART) in flex ? How can you possibly do that ?

2007-03-22 Thread Jean-Luc ESSER
Hello Shannon, Thank you for taking the time to look into this. I don't really understand what you're doing here... Are you saying that with your code, you can show in your flash app the swf or gif that gets writen by the js call ? The main problem is that the js call may be a call to another js

Re: [flexcoders] ColumnSeries NumberFormatting

2007-03-22 Thread Brendan Meutzner
Are you talking about the axis or the datatip values? Brendan On 22 Mar 2007 06:00:09 -0700, Lieven Cardoen [EMAIL PROTECTED] wrote: I would like the columnSeries to format their data before showing. Now sometimes I have values in my chart like 55,9. How do I do this?

[flexcoders] Re: How do you suppress repeating values in DataGrid columns?

2007-03-22 Thread Michael Levine
Adam, You are correct, default datagrid sorting does not work properly with my solution. I will either have to provide custom sorting or find another solution. I had thought that what I'm trying to accomplish here is not that unusual in tabular data displays and have been somewhat surprised that

RE: [flexcoders] how to create dataprovider for plotchart dynamically by flex2.0

2007-03-22 Thread Tracy Spratt
Where is the data, what is its format and how do you plan to get it into Flex? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gdedward Sent: Thursday, March 22, 2007 9:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] Re: Working with ads (DART) in flex ? How can you possibly do that ?

2007-03-22 Thread Jean-Luc ESSER
Sorry, i get your code now. What you is what i tried before, that is triggering the writing of the dart ad from flex, and positionning it in a div on a layer over your flex app. There are two limitations here : You cannot deal with expandable ads (because the ad is contained in a div) You cannot

[flexcoders] Re: Clear out content of a display.Loader

2007-03-22 Thread superabe superabe
Note to self... pay more attention to docs..:-) loader.unload() On 3/21/07, superabe superabe [EMAIL PROTECTED] wrote: I am using a flash.display.Loader to load in an image. On a subsequent event I would like to clear out the image in the Loader and leave the Loader object intact, without

[flexcoders] Re: Yahoo map API

2007-03-22 Thread ashifsayani
What's the error? One thing to check is to make sure you set private const SWFDOMID value to your actual swf file name Ashif --- In flexcoders@yahoogroups.com, jd_lingwai [EMAIL PROTECTED] wrote: Hey, I've been working with the new yahoo API for AS3, but I'm getting an error when working

[flexcoders] Re: How to pass some values along with invalidateDisplayList

2007-03-22 Thread huangnankun
do you mean something like this? http://exintroverted.com/LingoGUI.swf There's no need to worry about invalidateDisplayList and i used something like mike's suggestion and it seem to work =) --- In flexcoders@yahoogroups.com, Mike Collins [EMAIL PROTECTED] wrote: Why worry about the mouse

[flexcoders] question about embedded fonts in customized component

2007-03-22 Thread Chestnut
Hello all, I am using RollOverEffect on my customized component now, but the label on the button can be affected by the RollOverEffect. I search the help file, it told me that i should use embedded fonts. But I should use the embedded fonts in the main application which uses my customized

Re: [flexcoders] Relative paths in CSS embeds?

2007-03-22 Thread Tom Chiverton
On Wednesday 21 Mar 2007, Brett Levine wrote: I've built a theme swc in a library project using Flex Builder 2.0.1. But I just can't figure out how to get Embeds in my theme's CSS file to use relative paths. This is a problem since my team is mixed between PC and Mac users. Here's an

[flexcoders] null pointer exception when creating DragProxy and assigning value?

2007-03-22 Thread tddclare
I'm trying to create a custom DragProxy and assign a property of it that controls its appearance, but am getting a null pointer exception... ugh! I have a list that is driven by an arraycollection of Document objects. I want the items on the list to be draggable, and when they are dragged, to

[flexcoders] display current time

2007-03-22 Thread Chad Gray
I need the current time in my flex app. Also is it possible to display the current time in the flex app having it always current? So the user would watch the seconds and minutes change? How is best handled? Is this an actionscript thing? Thanks, Chad

[flexcoders] htmlText Bug in Label and UITextField

2007-03-22 Thread maury.sword
When I try and embed an html link in the Label and UITextField components the link does not work with a left mouse click but the right click brings up the link contextMenu. Has anyone else run across this problem ? This functionality works correctly in the other text controls. Here's a

[flexcoders] Re: display current time

2007-03-22 Thread Paul DeCoursey
I just did something like that.. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute initialize=this.init(); mx:Script ![CDATA[ import flash.utils.setInterval; import flash.utils.clearInterval;

RE: [flexcoders] display current time

2007-03-22 Thread Tracy Spratt
Yes, use a Timer, and the Date() method, which will use the client's system clock. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chad Gray Sent: Thursday, March 22, 2007 11:03 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] SFTP plugin for FlexBuilder?

2007-03-22 Thread Rick Schmitty
I've stumbled a cross a few ones, but was just wondering if anyone had very good success or very bad luck with one or another http://sourceforge.net/projects/esftp http://www.klomp.org/eclipse/org.klomp.eclipse.team.sftp/ http://www.jcraft.com/eclipse-sftp/ and recently CFEclipse's

[flexcoders] Re: display current time

2007-03-22 Thread Paul DeCoursey
I just did something like that.. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute initialize=this.init(); mx:Script ![CDATA[ import flash.utils.setInterval; import flash.utils.clearInterval;

[flexcoders] Icons disappear from Menu at Compile Time

2007-03-22 Thread missgiggygirl
When I use the same code for making a menu is the main app, it works, when I move it into its own component and call it from the main app, the icons disappear. And no, it is not a path problem, the code compiles fine with no warnings. Here are more details: I am using a menu that has labels and

Re: [flexcoders] Re: display current time

2007-03-22 Thread Chestnut
Should be careful with initialize and [Bindable] . Joe - Original Message - From: Paul DeCoursey To: flexcoders@yahoogroups.com Sent: Friday, March 23, 2007 12:33 AM Subject: [flexcoders] Re: display current time I just did something like that.. ?xml version=1.0

[flexcoders] Flex coldfusion simple question

2007-03-22 Thread cardinalflexjeremy
Simple question here for the group. If I want to make a flex app to tie to a Database, and I want to use Coldfusion components to access the Database stuff, and connect Flex and coldfusion, do I need FDS to use the coldfusion adapter pieces? Please let me know if a company would require FDS in

[flexcoders] Re:Unhandled SecurityErrorEvent in FireFox

2007-03-22 Thread Nate Beck
I can't find the URL that I read this on. But it's my understanding that this is a caching issue, that is caused by the history iframe. The way to fix is to disable the Enable history management check box in the Flex Compiler. So if you application doesn't benefit from using the back/forward

RE: [flexcoders] Re: small problem with Bar Chart showing days

2007-03-22 Thread Ely Greenfield
Just as a coding suggestion...you can put expressions inside [] array initializers. So instead of this: var g1:GradientEntry = new GradientEntry (0xFF9900, 0, 1); var g2:GradientEntry = new GradientEntry (0xFFCC00, .20, 1); var g3:GradientEntry = new GradientEntry (0xA35901, .50, 1); var

RE: [flexcoders] ColumnSeries NumberFormatting

2007-03-22 Thread Ely Greenfield
labelFunctions on the Axes for the axis labels, dataTipFunction on the chart for the data tips. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lieven Cardoen Sent: Thursday, March 22, 2007 5:54 AM To:

Re: [flexcoders] Flex coldfusion simple question

2007-03-22 Thread Tom Chiverton
On Thursday 22 Mar 2007, cardinalflexjeremy wrote: If I want to make a flex app to tie to a Database, and I want to use Coldfusion components to access the Database stuff, and connect Flex and coldfusion, do I need FDS to use the coldfusion adapter pieces? No. You can use Flex's RemoteObject

[flexcoders] Re: Load Tree Icon at Runtime

2007-03-22 Thread Shaun
Is this just not possible? I keep trying to get an runtime image cast as Class so that I can set it to the icon field of a tree (or other controls for that matter), but I've had no success. An embedded image is accessible as a Class, so it would seem that a runtime image could easily be

Re: [flexcoders] Flex coldfusion simple question

2007-03-22 Thread Clint Tredway
You can use FDS, Flash Remoting, HTTP Service, or web services. I posted a simple example on my blog showing how to use Flash Remoting. On 22 Mar 2007 09:47:41 -0700, cardinalflexjeremy [EMAIL PROTECTED] wrote: Simple question here for the group. If I want to make a flex app to tie to a

[flexcoders] Re: UI Design

2007-03-22 Thread scalenine
Kenny, I've got a list of UI design books on the resources page of ScaleNine: http://www.scalenine.com/resources.html They've helped me. Also, check out the showcase section for samples of other Flex/Apollo projects. There's some great stuff there to get inspired. Juan scalenine.com --- In

Re: [flexcoders] Re: Can validation prevent text input entry?

2007-03-22 Thread Lex
I managed a workaround with the following itemEditor (that is accepting e4x data): ?xml version=1.0 encoding=utf-8? mx:TextInput xmlns:mx=http://www.adobe.com/2006/mxml; implements=mx.core.IFactory updateComplete=dataChanged() change=dataChanged() mx:Script ![CDATA[ import

RE: [flexcoders] Re: ColumnChart x-axis

2007-03-22 Thread Ely Greenfield
LinearAxis(myChart.horizontalAxis).minimum = 20; Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lieven Cardoen Sent: Thursday, March 22, 2007 1:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ColumnChart

Re: [flexcoders] Re: Load Tree Icon at Runtime

2007-03-22 Thread Tom Chiverton
On Thursday 22 Mar 2007, Shaun wrote: Is this just not possible? I would think you could set a styleName for the item, and load a runtime stylesheet. -- Tom Chiverton Helping to dramatically coordinate cutting-edge patterns On: http://thefalken.livejournal.com

[flexcoders] Finding index of thumbnail in itemRenderer (and passing it along to popUpManager

2007-03-22 Thread tosadavemgr
I have a TileList that uses an itemRenderer to display thumbnails of products. When the user clicks the thumbnail, it launches a product detail window component as a model popup. I need to be able to display the detail information for the product that was clicked in the detail window. So I'm after

[flexcoders] Re: Icons disappear from Menu at Compile Time

2007-03-22 Thread missgiggygirl
Here is one example of the exact same problem, though no solution is provided: http://tech.groups.yahoo.com/group/flexcoders/message/61299 -- Ann

[flexcoders] Announcing SearchCoders/Flex: the fast and easy way to search the FlexCoders archive

2007-03-22 Thread Tom Bray
This group is one of the most valuable resources that anyone learning Flex could have. Unfortunately, there are so many messages per day that it’s difficult to keep up and, until now, there hasn’t been a fast and easy way to search the archives. Today, Robert Cadena and I have launched

[flexcoders] Re: Load Tree Icon at Runtime

2007-03-22 Thread Shaun
Thanks for the suggestion Tom. Quick question: Would that cause the image to be cached twice by the browser - once in my website, and once in my flex app when I load it via runtime css. This is what I'm actually trying to avoid. If the runtime css doesn't load it again because the image was

RE: [flexcoders] How to pass some values along with invalidateDisplayList

2007-03-22 Thread Gordon Smith
Try calling validateNow() after invalidateDisplayList(). This should cause updateDisplayList() to get called immediately. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Janis Radins Sent: Thursday, March 22, 2007 7:19 AM To:

[flexcoders] Re: Flex coldfusion simple question

2007-03-22 Thread cardinalflexjeremy
Are there any code examples or tutorials on this? That is, any samples using coldfusion (not webservices or httpRequest) to access CFCs? thanks. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 22 Mar 2007, cardinalflexjeremy wrote: If I want to make a

[flexcoders] State Transition using Percentages...

2007-03-22 Thread Kevin
How can I make this simple state transition work? Each layout works on it's own, but not when combined as a state, although I can get it to work if I put in pixel values, but not using percentages for the HDividedBox child containers width properties. I am also wondering why the HBox

RE: [flexcoders] Re: Load Tree Icon at Runtime

2007-03-22 Thread Alex Harui
External image files come in as an instance of Bitmap and are therefore not convertible to a Class. I would recommend a custom TreeItemRenderer that expects its icon to be externally loaded. You can steal most of the code from the FlexStore examples for the TileList renderer. -Alex

RE: [flexcoders] Re: How do you suppress repeating values in DataGrid columns?

2007-03-22 Thread Gordon Smith
A filterFunction is applied to a record (item) as a whole, so that wouldn't work. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of iko_knyphausen Sent: Wednesday, March 21, 2007 3:59 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Announcing SearchCoders/Flex: the fast and easy way to search the FlexCoders archive

2007-03-22 Thread Doug McCune
Now I'm not saying sites like this one and the Flex forum that someone recently launched aren't useful... but they're not useful to me. I obviously gotta be careful if I criticize a Flex community resource since I'm involved in one as well. But I'm getting the feeling like these info aggregator

RE: [flexcoders] Finding index of thumbnail in itemRenderer (and passing it along to popUpManager

2007-03-22 Thread Alex Harui
If you implement IDropInListItemRenderer, the listData property has an owner property that points to the TileList. You can also just assume that parent.parent is the TileList. However, in theory, all the data you need is in the data property so you shouldn't need index.

Re: [flexcoders] Re: Flex coldfusion simple question

2007-03-22 Thread Clint Tredway
http://grumpee.instantspot.com/blog On 3/22/07, cardinalflexjeremy [EMAIL PROTECTED] wrote: Are there any code examples or tutorials on this? That is, any samples using coldfusion (not webservices or httpRequest) to access CFCs? thanks. --- In flexcoders@yahoogroups.com

[flexcoders] Re: How do you suppress repeating values in DataGrid columns?

2007-03-22 Thread iko_knyphausen
Oh... thenI misunderstood, I thought he wanted to eliminate duplicate records.. Sorry --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: A filterFunction is applied to a record (item) as a whole, so that wouldn't work. - Gordon

[flexcoders] Re: Load Tree Icon at Runtime

2007-03-22 Thread Shaun
Thanks Alex. I'll do that. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: External image files come in as an instance of Bitmap and are therefore not convertible to a Class. I would recommend a custom TreeItemRenderer that expects its icon to be

RE: [flexcoders] Icons disappear from Menu at Compile Time

2007-03-22 Thread Alex Harui
It's not a bug. It has to do with variable scoping. I'll assume you have data like { label: foo, icon : myTopIcon } The icon property is a string, not a class. The menu renderer wants a class. You could set up your data like: { label: foo, icon: myTopIcon } Then icon is a

Re: [flexcoders] Relative paths in CSS embeds?

2007-03-22 Thread Brett Levine
Yes, of course. If the .css file and the .mxml file using it are in the same project that works great. However, since my css file is in my theme project, it doesn't work. I get these errors: Invalid Embed directive in stylesheet - can't resolve source 'Embed (source =

Re: [flexcoders] E4X: Parsing XML with xml-stylesheet PI

2007-03-22 Thread Roger Braunstein
http://www.partlyhuman.com/blog/roger/using-e4x-with-xhtml-watch-your-namespaces#comment-1320 I think in this example the processing instruction is a red herring. You were testing: ?xml-stylesheet href=my.css type=text/css? root xmlns=http://example.com/;; xml:id=wtf / right? But I think that's

  1   2   >