Re: [flexcoders] Re: Using an ArrayCollection to populate a Tree component

2010-04-07 Thread Oleg Sivokon
Why make your own collection and not data descriptor: Well, this is questionable, and the question is exactly how much time are you going to spend on that and how critical this place is for you. If you can spend much time, or, as much time as you want, I'd say - make a tree control yourself, and

Re: [flexcoders] Will Flash Player 10.1 Break AIR Apps?

2010-04-07 Thread Oleg Sivokon
You probably want to mention the kind of errors you saw. I'm not implying anything, but, in most cases that I can think, the runtime errors are the developer's fault and not the runtime fault... Best. Oleg

[flexcoders] how to create a web application with Maven

2010-04-07 Thread Nini7016 Nini7016
Hello :) I have an existing application Flex. I would like to create and automatise this web application with Maven. Any body has done that before ? Do you have some tuto which can help me ? It is the first time that i use Maven :( Any information please ?? Regards Thank you very much

[flexcoders] Re: Will Flash Player 10.1 Break AIR Apps?

2010-04-07 Thread Jeffry Houser
With Flextras components, I've eeen tons of runtime errors in Flex due to version mismatch with betas and official releases. Basically, SWCs compiled with Flex 4 Beta 2 have issues running against the Flex 4 release version. The solution was to recompile the app against the release version of

[flexcoders] Re: Help! - Intermittent Network Issues - How do you handle?

2010-04-07 Thread bhaq1972
I don't have a suggestion but wanted to know if you found anything useful to help your problem? We had one customer who had this problem on one of their pc's. But I never got to the bottom of what was happening. It became a low grade issue (as it was only one pc). I couldn't replicate the

[flexcoders] Changing the Default Browse Window Directory When Uploading A File

2010-04-07 Thread James
When you allow an app to upload a file it seems the user must browse to that file. The default directory of the browse window seems to be the desktop. Is there any way of changing this so that the default directory of the browse window is the application directory itself? I want to allow my

[flexcoders] [spark] viewstack and move showeffect problem

2010-04-07 Thread Joe Cabezas
hello! mi name is Joe, i'm from Chile, Latin America, i developed in flex 3, but this time i want to practice flash builder 4. actually, i want to show a popup (a TitleWindow via PopUpManager), wich has a viewstack, and i want to animate it's contents like and ipod interface, i have this code,

[flexcoders] No Overlap Container Component

2010-04-07 Thread ebrentnelson
I want to write a component that will allow children to be added, but will prevent them from overlapping. I have played around with a few collision detection type things, but I haven't been successful. I'm posting this to see if I can get some feedback, ideas, brainstorming about this.

[flexcoders] Re: how to expand tree control from a button?

2010-04-07 Thread valdhor
In your function test() change the line to... var node:XMLList = treeData.main.view.(@hidden == 'stations_info'); 'root' is not needed. --- In flexcoders@yahoogroups.com, advancedonsite nos...@... wrote: My TEST button I want to expand and select on this XML Node view label=Info

Re: [flexcoders] Changing the Default Browse Window Directory When Uploading A File

2010-04-07 Thread Oleg Sivokon
Hi, If we are not talking about AIR, then this isn't possible, however, I think, that the default folder is picked from the opening windows history, that is the browser or OS would remember the last opened folder and then open it on the next file open dialog. At least this is how it works on

[flexcoders] Re: Changing the Default Browse Window Directory When Uploading A File

2010-04-07 Thread James
Hi Oleg. Yes it is Air that I'm ttalking about actually. It's an Adobe Air Application that I'm making. Cheers for your help so far. Is there any way to change the default browse location using AIR? --- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote: When you allow an app to

Re: [flexcoders] Re: Will Flash Player 10.1 Break AIR Apps?

2010-04-07 Thread Rick Winscot
Jeffry, This is exactly what caused the concern. I got excited with the Flash Player 10.1 pre-release and installed it... not three minutes later I was staring at runtime errors (no code was changed / prior to this the app was working fine). I understand that the Flash Player is designed in such

[flexcoders] DataVisualization Chart Axis Labels not showing up

2010-04-07 Thread taude1
Hi All, I've posted a question over at Stack Overflow on a problem that I'm having with my Axis labels not showing up on a chart. I think it has to do with my use of the framework RSL when it loads, but nonetheless, it's a big issue and I can't seem to figure it out. Also, I've tried getting

Re: [flexcoders] Re: Changing the Default Browse Window Directory When Uploading A File

2010-04-07 Thread Oleg Sivokon
Ah. You welcome, James. Then look into this discussion: http://forums.adobe.com/thread/287536 It explains it on JavaScript AIR example, but the AS3 API shouldn't be different. Best. Oleg

Re: [flexcoders] Re: Changing the Default Browse Window Directory When Uploading A File

2010-04-07 Thread Oleg Sivokon
Yeah, here you go: http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/filesystem/File.html#browseForDirectory() Best. Oleg

Re: [flexcoders] Re: Will Flash Player 10.1 Break AIR Apps?

2010-04-07 Thread Oleg Sivokon
Hi. You must be seeing RSL conflicts (the classes built into FlashPlayer won't behave in that way, since they aren't actually loaded from SWF), and if that's the RSL conflict, like you've loaded a newer version of RSLs into oldish application, then, well, that's the developer's problem, he

[flexcoders] Re: Using an ArrayCollection to populate a Tree component

2010-04-07 Thread Jeff
Correct me if I'm wrong, but the data descriptor is essentially a node visitor. It will tell the tree how to render a given node. However, it has no way of adding nodes to previous nodes (ie groups). Take this scenario: [ {group:animal, item:cat}, {group:fruit, item:apple}, {group:animal,

RE: [flexcoders] DataVisualization Chart Axis Labels not showing up

2010-04-07 Thread Battershall, Jeff
Are the labels rotated? If so, are you sure that the font used is getting loaded as well? I've seen some funny font behavior when related to loading Data Vis RSLs in the past. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

[flexcoders] Re: DataVisualization Chart Axis Labels not showing up

2010-04-07 Thread taude1
The labels definitely aren't rotated. And the fonts being used show up everywhere else in the application, including the same screens that contain the charts. (The posted chart graphics are a small subset of the entire screen.) --- In flexcoders@yahoogroups.com, Battershall, Jeff

[flexcoders] FileReferenceList

2010-04-07 Thread sderamon
Hi, I want to upload files with FileReferenceList with Flex. I know that is not possible to get the path. Because we have this limitation, I want to add files to the fileReferenceList several times, but every time that I add files, it deletes the previous files. Is possible to add files to the

Re: [flexcoders] Re: Will Flash Player 10.1 Break AIR Apps?

2010-04-07 Thread Rick Winscot
Oleg, Thanks for the help ­ I do appreciate it! I followed the instructions outlined ( http://labs.adobe.com/technologies/flashplayer10/ ) on labs... and my expectation is that updating to a more recent version of the Flash Player should be, more or less, transparent. In working through this,

RE: [flexcoders] Re: DataVisualization Chart Axis Labels not showing up

2010-04-07 Thread Battershall, Jeff
Well, rotated or not, I've definitely seen some unexpected behavior related to fonts and RSLs. In one application I ended up merging into code to address the issue. Maybe what I encountered isn't the same as what you're seeing but it sure sounds similar. Is the font being used for the axis

[flexcoders] Re: DataVisualization Chart Axis Labels not showing up

2010-04-07 Thread taude1
I definitely dont' see it when the framework and datavisualization is merged. However, not too keen on adding another 500 KB to the SWF size of an already way-too-large application. I'm going to keep tinkering with fonts. --- In flexcoders@yahoogroups.com, Battershall, Jeff

[flexcoders] Inserting Into MYSQL Table Via Air/PHP = Not Allowed?

2010-04-07 Thread James
I'm having trouble inserting data into my mysql database tables through my air app. All the code is pretty much exactly the same as in some examples I've seen but it simply won't do it. Is this because of some sort of security restriction because the air app is on my machine and the server with

[flexcoders] Re: Using an ArrayCollection to populate a Tree component

2010-04-07 Thread md_ars
I ran in to the similar requirement for my Menu application. I am also getting data from database with child-parent relationship. I am parsing that data in ArrayCollection and created a new nested ArrayCollection which I used as the data provider for my Menu. I don't know whether it is the

RE: [flexcoders] Re: Using an ArrayCollection to populate a Tree component

2010-04-07 Thread Battershall, Jeff
One of the problems with the code sample below is that its going to fire off a whole lot of events in creating the nested ArrayCollections and adding items to them. Better yet make an array and create your nested ArrayCollection in one shot, passing the source array in the constructor.

Re: [flexcoders] Will Flash Player 10.1 Break AIR Apps?

2010-04-07 Thread Alex Harui
I would not expect any interaction between the two. On 4/6/10 9:01 PM, Rick Winscot rick.wins...@zyche.com wrote: I just installed the pre-release of Flash Player 10.1 and a few minutes later ran an AIR app... and to my surprise I started getting runtime errors. Is this a fluke or is

Re: [flexcoders] Re: Using an ArrayCollection to populate a Tree component

2010-04-07 Thread Alex Harui
I”m not sure what you mean by a node visitor, but it does not process the initial collection and reorganize it. It only allows you to describe the children of each node. On 4/7/10 7:12 AM, Jeff britton.j...@gmail.com wrote: Correct me if I'm wrong, but the data descriptor is essentially

[flexcoders] Flex 4: List with itemRendererFunction

2010-04-07 Thread Claus Wahlers
Hi list, im using a Spark List with an itemRendererFunction to have it display different item renderers for different types of items, more or less like this: private function selectRenderer(item:Object):ClassFactory { var classFactory:ClassFactory = new ClassFactory(DefaultItemRenderer);

Re: [flexcoders] Flex 4: List with itemRendererFunction

2010-04-07 Thread Oleg Sivokon
Try dispatching update collection event from the collection assigned? I don't think it is a good workaround, because dispatching events from outside the dispatcher is a bad practice, but just for the experiment, I'd try. Best. Oleg

[flexcoders] Re: DataVisualization Chart Axis Labels not showing up

2010-04-07 Thread taude1
I got it working using another question that I found here (well, it was from this Yahoo! Group, but at the mail-archive.com website) http://www.mail-archive.com/flexcoders@yahoogroups.com/msg128578.html --- In flexcoders@yahoogroups.com, taude1 tpreka...@... wrote: I definitely dont' see

Re: [flexcoders] Will Flash Player 10.1 Break AIR Apps?

2010-04-07 Thread Rick Winscot
I wouldn¹t either but... I have a VM save point before and after the mentioned SDK change ­ the code being compiled in each is exactly the same. One produces runtime errors (before) and one doesn¹t (after). [ shrugs ] I¹ve had more than a few Œhead scratchers¹ as I¹ve tested 10.1... a good

[flexcoders] Grid Problems

2010-04-07 Thread Jeff
I have a component that creates a Grid container and adds many rows based on the data. There are instances where the whole grid/grid rows need to be redrawn. Removing all the rows and then adding rows seems to cause a TypeError deep in the flex core. I was bypass this error by deleting the

Re: [flexcoders] Will Flash Player 10.1 Break AIR Apps?

2010-04-07 Thread Oleg Sivokon
Ah, sorry, I see now. Well, bugs are expected in beta software... but why would you think it has anything to do with AIR - FP interaction? If you have different runtime versions there may be conflicts, especially, if one of the runtimes is still in beta...:S Best. Oleg

[flexcoders] Looking for Simple Flash Detection script

2010-04-07 Thread Angelo Anolin
Dear FlexCoders, Is there an easy way to run a detection script to detect if Flash Player is installed on a browser? I have tried numerous javascripts / vbscripts / etc but most of them does not seem to work in my case. I also tried this site:

Re: [flexcoders] FileReferenceList

2010-04-07 Thread Rick Winscot
You¹ll need to pull a swip-swap-frip-frop (code is a cut and paste below). Cheers, Rick Winscot www.quilix.com ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=ccomp(); layout=absolute minWidth=955 minHeight=600 mx:Script

Re: [flexcoders] Inserting Into MYSQL Table Via Air/PHP = Not Allowed?

2010-04-07 Thread Lee Jenkins
James wrote: I'm having trouble inserting data into my mysql database tables through my air app. All the code is pretty much exactly the same as in some examples I've seen but it simply won't do it. Is this because of some sort of security restriction because the air app is on my

[flexcoders] open source flex sdk | flex lib.swc | Missing Datavisualization.swc

2010-04-07 Thread ilikeflex
Hi I am using the open source flex sdk build Version 3.4.0 build 9271 . At the same time i am using flexlib.swc from google code base. the flexlib.swc requires access to charting compoenents classes. The charting classes are normally in datavisualization.swc. This file is missing from open

[flexcoders] RemoteClass Metadata

2010-04-07 Thread Jake Churchill
I am working on a Flex/.NET project using webOrb and we are going to use webOrb to auto-generate the value objects but the packaging is quite different between the server and the client. I want to use the RemoteClass aliasing in Flex but I'm not sure about the packaging differences. My question

[flexcoders] How to store composed images in database ?

2010-04-07 Thread Adnan Doric
Hello all, My Flex application will be some kind of image editor, with different layers containing graphic objects and images on them. I want to be able to save and retrieve those images without flattening them down. Obviously I will need some kind of mecanism for storing resulting composed

Re: [flexcoders] RemoteClass Metadata

2010-04-07 Thread Oleg Sivokon
AFAIK alias is just a string, maybe there are some restrictions on syntax (like only alphanums + .:$_), but that's about it. If you look at how ArrayCollection is aliased, you'll see it's alias is different from that class' full name. I'd rather go for registerClassAlias then [RemoteClass] meta -

[flexcoders] Re: open source flex sdk | flex lib.swc | Missing Datavisualization.swc

2010-04-07 Thread Jeffry Houser
To get the charting classes [in Flex 3] you needed to purchase Flex Builder Pro. They have been open sourced as of the release of Flex 4 / Flash Builder 4. I have no idea how that relates to 'legacy' licenses; but in theory you can download the code and compile it with the Flex 3.4 SDK and

Re: [flexcoders] Looking for Simple Flash Detection script

2010-04-07 Thread Carlos Rovira
see swfobject http://code.google.com/p/swfobject 2010/4/7 Angelo Anolin angelo_ano...@yahoo.com Dear FlexCoders, Is there an easy way to run a detection script to detect if Flash Player is installed on a browser? I have tried numerous javascripts / vbscripts / etc but most of them

[flexcoders] How to deprecate property which has getter/setter?

2010-04-07 Thread jimmartin10
If I use the [Deprecated] tag on a getter only, e.g. [Deprecated] public function get myOldProperty():int { return 0; } public function set myOldProperty(value:int):void { } Then I get a warning at the line of the setter. myOldProperty has been deprecated If I use the

Re: [flexcoders] Flex 4: List with itemRendererFunction

2010-04-07 Thread Claus Wahlers
It appears to be a Flex SDK bug: http://stackoverflow.com/questions/2231036/spark-list-reusing-the-wrong-item-renderers (Solution: reassign itemRendererFunction after changing the dp) http://stackoverflow.com/questions/2231036/spark-list-reusing-the-wrong-item-renderers Cheers, Claus. On Wed,

Re: [flexcoders] Grid Problems

2010-04-07 Thread Alex Harui
What is the stacktrace from the error? On 4/7/10 12:27 PM, Jeff britton.j...@gmail.com wrote: I have a component that creates a Grid container and adds many rows based on the data. There are instances where the whole grid/grid rows need to be redrawn. Removing all the rows and then

[flexcoders] Re: Using an ArrayCollection to populate a Tree component

2010-04-07 Thread cuttenv
I can vouch for the ILog stuff, I've used it and it's really good. However the GroupingCollection is part of the Flex SDK. The grouping collection can take a flat Array and group it into the data structure you have described below.

[flexcoders] Preventing drop on a specific node in tree

2010-04-07 Thread Greg Hess
Hi All, I have a tree component that supports drag and drop. However, I need to prevent the EU from dropping into a specific node. I would like to display the red x indicator over this specific node and have the drop rejected. I first tried to get this to work in my DragEnter event handler and

[flexcoders] Horizontal list item renderers duplicated

2010-04-07 Thread method_air
Hi there, I have a horizontal list renderer populated with Image controls whose source is bound to a url property of the data object passed to it. When the corresponding data object in it's data provider is updated, multiple item renderers are updated (one item updated is expected). How can

[flexcoders] Re: Horizontal list item renderers duplicated

2010-04-07 Thread method_air
The image control source is now updating, however when I scroll the item the horizontal list back and forth, in/out of view, the image control disappears. This happens when the image 'source' is set to a a Bitmap...the control remains visible if a url string source is used... Thoughts? --- In

[flexcoders] custom component as item in DataGrid?

2010-04-07 Thread tex_learning_flex
Is it possible to include a custom component as an item in a DataGrid? Does anyone have a reference to how this might be done? I haven't found any yet. thanks, Tex

Re: [flexcoders] custom component as item in DataGrid?

2010-04-07 Thread Douglas Knudsen
A item in a datagrid represents a data point and is independent of how it is displayed. How a item is displayed is based on a ItemRenderer. So, what you want to go a googling on is:datagrid custom itemrenderer Unlike 2005 and Flex 1.5 days, you will find a plethora of results. The Flex

[flexcoders] Flex File component?

2010-04-07 Thread markflex2007
I am looking for a Flex File component that is similar with html file that used for upload file. Thanks Mark

Re: [flexcoders] Combobox editor problem

2010-04-07 Thread Bala_V
Thank you so much Jayant, it worked fine. Jayant-4 wrote: Looks like you just need to make the combobox opaque. Set fillAlphas=[1, 1] for Combo in checkBoxEditor.mxml. -Jayant On Sun, Apr 4, 2010 at 3:30 AM, Bala_V v_vignes...@yahoo.co.in wrote: Hi. Iam using a combo box as