[flexcoders] new Component() ?

2008-07-22 Thread Rafael Faria
Is there anyway to create "components" on the fly? Let me explain what i mean. I have a datagrid that has like 5 columns. Each one of them use a different itemrenderer. I understand that i can create each itemrenderer on a different file but what if i don't want to create files? is there anywa

RE: [flexcoders] LCDS data management - original data on the client

2008-07-22 Thread Jeff Vroom
Unfortunately we currently only expose the DataService.getPendingOperation(item) method. We don’t let you get at the original version of the item, list of changes, set of newly created or deleted items yet. This is something we’d like to offer but it is just not there yet. Jeff From: flexcod

[flexcoders] Re: runtime localization

2008-07-22 Thread paragmetha2000
Hi Gordon, We have written custom resource bundles for our application without modifying any core resource bundles, what we want to compile these resource bundles (.properties files) in separate swf and load them in application at runtime but while compiling we don't want to use any flex or LCDS r

[flexcoders] :: XMLSocket security error ::

2008-07-22 Thread kk_kishorek1010
Hi I am facing problem in XMLSocket conection. Please see the below of my issue first i have tried to connect one port(small part of my code) HOST="localhost"; port="8010"; var currentSocket:XMLSocket=new XMLSocket(); Security.loadPolicyFile("xmlsocket://"+HOST+":"+port); currentSocket.connect("

[flexcoders] LCDS data management - original data on the client

2008-07-22 Thread Zdenek Mikan
I am using LCDS data management with Hibernate assembler. My dataservice is configured with autoSyncEnabled set to false and in my Flex application it is possible to make various changes to data in ArrayCollection resulting from fill operation. Then before commiting the dataservice I would like

Re: [flexcoders] Measurement and scrolling

2008-07-22 Thread Josh McDonald
The only way to not have scrollbars over the content (or to only have vertical, but not all the time) is to do scrollbar management yourself rather than relying on Flex's inbuilt methods of handling it. This is a decision made by the Flex team to avoid having to double measure() stuff when adding s

Re: [flexcoders] Measurement and scrolling

2008-07-22 Thread Richard Rodseth
Below is code for a scrolling container of one child - a highly simplified version of the tiling container I've been wrestling with off and on for way too long now. The component below sizes the first/only child to fit within it, with some padding, but respects the minimums of the child, adding scr

Re: [flexcoders] Encapsulating a custom flex component?

2008-07-22 Thread Sid Maskit
I'm not sure whether either of these would serve your purposes, but I believe there are two ways to have a private property within an MXML-coded component. Declare your tree using an MXML tag, but do not give it an id attribute. For MXML components, the id is treated as the name of a public prop

RE: [flexcoders] what is vellum in flex4?

2008-07-22 Thread Gordon Smith
What file did you find it in? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Tuesday, July 22, 2008 8:43 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] what is vellum

[flexcoders] running flex\samples\explorer\build.bat

2008-07-22 Thread weezee49
I'm trying to run the build.bat file in the \samples\explorer directoy. It worked fine on one machine, but on my dev machine I get the following errors: Loading configuration file C:\flex_sdk\frameworks\flex-config.xml Error: class org.apache.xerces.util.XMLAttributesMMImpl$AttributeMMImpl can

Re: [flexcoders] what is vellum in flex4?

2008-07-22 Thread Sherif Abdou
if you do To: flexcoders@yahoogroups.com Sent: Tuesday, July 22, 2008 6:13:41 PM Subject: RE: [flexcoders] what is vellum in flex4? By the way, where did you find the namespace vellum:http: //vellum/ prerelease being used? Gordon Smith Adobe Flex SDK Team

Re: [flexcoders] what is vellum in flex4?

2008-07-22 Thread Sherif Abdou
Flex 4 Release build that is in the trunk. - Original Message From: Gordon Smith <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, July 22, 2008 6:13:41 PM Subject: RE: [flexcoders] what is vellum in flex4? By the way, where did you find the namespace vellum:http: //ve

[flexcoders] rendering problem

2008-07-22 Thread Rafael Faria
I'm not sure how many of you guys had this problem before but for some reason im getting a rendering problem with forms and datagrid and i have no ideia how to solve it. Check this example the first part is the right one, after i scroll up and down, it gets all mess up. http://www.enilsson.com/ass

[flexcoders] Re: referencing embedded images inside AdvancedDataGridGroupItemRenderer

2008-07-22 Thread Amy
--- In flexcoders@yahoogroups.com, Brandon Krakowsky <[EMAIL PROTECTED]> wrote: > > Amy, I can't seem to get the iconFunction to work with the ADG. As per the docs, "This property is ignored by data grid controls." > > It compiles but it IS in fact ignored. Do you use the groupIconFunction?

Re: [flexcoders] Why is my swf so big?

2008-07-22 Thread Doug McCune
ADG also brings in the largest classes in the Flex framework. I just did a link report on one of my projects and here are some of the results for the ADG-related classes (I stopped at classes under 1k cause who really cares). This is the output of a link report on a non-optimized swf (so the #s are

Re: [flexcoders] Encapsulating a custom flex component?

2008-07-22 Thread Josh McDonald
Not in MXML components. -Josh On Wed, Jul 23, 2008 at 9:53 AM, Nate Beck <[EMAIL PROTECTED]> wrote: > Newbish question... but after searching on google, I can't get a concise > answer. > > Is it possible to encapsulate (mark private) components within a Flex > component? > > So I have custom MXM

[flexcoders] Encapsulating a custom flex component?

2008-07-22 Thread Nate Beck
Newbish question... but after searching on google, I can't get a concise answer. Is it possible to encapsulate (mark private) components within a Flex component? So I have custom MXML component (ResourcesTree) that has a Tree inside of it. I don't want the Tree to directly be available ou

[flexcoders] Icon Click and iconFunction on ListItemRenderer

2008-07-22 Thread Vijay Anand Mareddy
I am using a simple List with icons and labelText using the iconFunction and labelfunction respectively ...is there a way to tell on mylist.itemClick if the user has clicked on the icon or the labelText ? Both ListEvent.target and ListEvent.currentTarget are mx.controls.List ...is there any

[flexcoders] Flash Player Express Install and Upgrade Conversion

2008-07-22 Thread element7791
Recently, I began tracking conversion on Express install upgrades and the numbers have been less then spectacular. I'm using SWFObject 1.5 and express install and I'm only seeing about 30% of users upgrade once prompted and 30% are hitting cancel while the rest appear to navigate away. I modified

Re: [flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Troy Gilbert
> In theory, if you have [Bindable] or [Managed] items in the collection, or > call itemUpdated appropriately, you do not need to call refresh() again when > an item's properties change. I was wondering about the binding of the ArrayCollection itself, not the elements it contains (which works as e

RE: [flexcoders] what is vellum in flex4?

2008-07-22 Thread Gordon Smith
By the way, where did you find the namespace vellum:http://vellum/prerelease being used? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Tuesday, July 22, 2008 11:40 AM To: flexcod

Re: [flexcoders] Re: changing project settings

2008-07-22 Thread [p e r c e p t i c o n]
sorry but i get this... [MessagingError message='A destination name must be specified.'] percy On Tue, Jul 22, 2008 at 3:00 PM, [p e r c e p t i c o n] < [EMAIL PROTECTED]> wrote: > you must be from the midwest :) > > > On Tue, Jul 22, 2008 at 11:42 AM, valdhor <[EMAIL PROTECTED]> > wrote: > >>

RE: [flexcoders] Why is my swf so big?

2008-07-22 Thread Alex Harui
If you turn on the shared RSL, it will shrink the swf significantly. Frameworks tend to be heavy, especially if the focus is on RAD. Just look at any MFC app. DG brings in the collections subsystem, ADG brings in hierarchical collections. The framework is not included in the Flash 9 runti

[flexcoders] Re: Trigger updateDisplayList

2008-07-22 Thread markgoldin_2000
I am doing cellreference.invalidateDisplayList() but it's getting into updateDisplayList. --- In flexcoders@yahoogroups.com, "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > Hi, > > updateDisplayList() is a method. > > You would call > > invalidateDisplayList() and the next frame, updateDispl

Re: [flexcoders] Re: changing project settings

2008-07-22 Thread [p e r c e p t i c o n]
you must be from the midwest :) On Tue, Jul 22, 2008 at 11:42 AM, valdhor <[EMAIL PROTECTED]> wrote: > I don't normally do it that way but yes, just set the source and the > endpoint and Bob's your auntie ;-} > > > --- In flexcoders@yahoogroups.com , "[p e r > c e p t i c o n]" > <[EMAIL PROTEC

[flexcoders] Upgrading or uninstalling AIR installations

2008-07-22 Thread flexdev4
Does anyone have any ideas or workarounds for the inability to silently update or uninstall an AIR app? Allow me to explain.. The documentation for redistributing the AIR runtime and silently installing an AIR application says that you *cannot* silently upgrade an application because of a possibl

[flexcoders] Why is my swf so big?

2008-07-22 Thread whatabrain
Probably an old question, but I didn't find anything useful by searching the group. I'm using the trial version of Flex Builder 3 Standard. I create a new Flex project, and, without writing any code, export a release build. The swf file size is 147KB. Then I create a project that contains noth

Re: [flexcoders] Changing the color of a textinput

2008-07-22 Thread Maciek Sakrejda
Styles, not properties, are used to change attributes such as color: http://livedocs.adobe.com/flex/201/langref/mx/controls/TextInput.html#styleSummary Use the setStyle() method to change color. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: timgerr <[E

Re: [flexcoders] Re: referencing embedded images inside AdvancedDataGridGroupItemRenderer

2008-07-22 Thread Brandon Krakowsky
Amy, I can't seem to get the iconFunction to work with the ADG. As per the docs, "This property is ignored by data grid controls." It compiles but it IS in fact ignored. Do you use the groupIconFunction? Thanks again, Brandon - Original Message From: Amy <[EMAIL PROTECTED]> To: fle

[flexcoders] Changing the color of a textinput

2008-07-22 Thread timgerr
I am creating an textinput and I was wondering how to change the color of it. I am doing this dynamically, here is what I am doing: private var txt:TextInput = new TextInput(); txt.maxChars = 255; addChild(txt); There is no option to change the color, do I have to use css to do this? Thanks, tim

RE: [flexcoders] Re: Aligning images in TileList itemRenderer

2008-07-22 Thread Alex Harui
Yes and 360Flex in San Jose From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lelander Sent: Tuesday, July 22, 2008 12:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Aligning images in TileList itemRenderer You are my h

RE: [flexcoders] Re: how to override a public var, or put it in an interface?

2008-07-22 Thread Alex Harui
You'll probably need a wrapper From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sean Clark Hess Sent: Tuesday, July 22, 2008 12:33 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: how to override a public var, or put it in

[flexcoders] Re: How do I make a flex app transparent?

2008-07-22 Thread whatabrain
I found the answer. Set the "wmode" parameter to "transparent." Now I just need to figure out how to play with the z-order. The underlying javascript is always on top. --- In flexcoders@yahoogroups.com, "whatabrain" <[EMAIL PROTECTED]> wrote: > > Is there a way to make a flex app transparent,

[flexcoders] Re: Aligning images in TileList itemRenderer

2008-07-22 Thread lelander
You are my hero. That was it, pretty much! 1000 thank yous! Will you be at MAX? JP --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > I think you can just do > > > > > http://www.adobe.com/2006/mxml > " > verticalAlign="bottom" >

[flexcoders] Got Error #2032: Stream Error invoking web service for IE6 and IE7

2008-07-22 Thread thuvu03
I am using Flex 2.0. I have been getting Error #2032: Stream Error on both IE6 and IE7 (but not Firefox) when I have mulitple UIs up in multiple IE browsers that invoke an operation of a web service. My web service uses Apache Axis 1.2 and it's deployed to jboss server. Here are the steps that

[flexcoders] Re: Aligning images in TileList itemRenderer

2008-07-22 Thread lelander
Hi Amy, thanks a ton for your help. It turns out, all I needed to do was make the item renderer out of the image tag instead of enclosing in the vbox.. and presto, all is well. Thanks! I'm off to the races! JP --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > --- In fle

Re: [flexcoders] Re: how to override a public var, or put it in an interface?

2008-07-22 Thread Sean Clark Hess
Thanks Alex. I'm trying to use this interface as a common type. Any way to do that? Right now I have to cast it as an object, or create a wrapper accessor for dataField On Tue, Jul 22, 2008 at 1:30 PM, Alex Harui <[EMAIL PROTECTED]> wrote: >You can't switch a var to a get/set pair. You ca

RE: [flexcoders] Re: how to override a public var, or put it in an interface?

2008-07-22 Thread Alex Harui
You can't switch a var to a get/set pair. You can override its default value though. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sean Clark Hess Sent: Tuesday, July 22, 2008 11:51 AM To: flexcoders@yahoogroups.com Subject: [flexcode

[flexcoders] Smooth Marquee

2008-07-22 Thread kenny14390
I tried to scroll images from right to left using DHTML, but the scrolling was choppy and it didn't look right. I want to do this in Flex, but I'm not sure where to start. The application needs to; - take a list of images (maybe in an HBox) - smoothly scroll from right to left - repeat the loop af

Re: [flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Scott Bachman
But in this case it's not an item in the ArrayCollection that changed, but instead the criteria you want to filter with, so you need to refresh manually, unless I'm missing something. Scott On Tue, Jul 22, 2008 at 3:11 PM, Alex Harui <[EMAIL PROTECTED]> wrote: >In theory, if you have [Bindab

Re: [flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Scott Bachman
Oops... I misread the source code. Actually, in the one place where I had used it it was bound to an implicit setter, like this: private function set dataChanged(data:Object):void { collectionData.refresh(); } On Tue, Jul 22, 2008 at 2:48 PM, Troy Gilbert <[EMAIL PROTECTED]> wrote: > > You ne

[flexcoders] Re: Self-resizing flex apps

2008-07-22 Thread nathanpdaniel
I don't think Flex can do it - but here's something you should look at regarding: http://www.thinkswedish.com/#ContentHolder:feed=blog&Entries:0=entriesDa te+1=0+2=20+3=Sep+4=2007 --- In flexcoders@yahoogroups.com, "whatabrain" <[EMAIL PROTECTED]> wrote: > > Let's say I want to have a flex app ex

RE: [flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Alex Harui
In theory, if you have [Bindable] or [Managed] items in the collection, or call itemUpdated appropriately, you do not need to call refresh() again when an item's properties change. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Troy Gil

RE: [flexcoders] CheckBox Question, want to confirm before toggle

2008-07-22 Thread Alex Harui
There's probably a way involving stopImmediatePropagation, but why not just let them check it and then confirm and uncheck it if not confirmed? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tchredeemed Sent: Tuesday, July 22, 2008 10:1

[flexcoders] Re: how to override a public var, or put it in an interface?

2008-07-22 Thread Sean Clark Hess
Oh, I forgot to mention. The reason why the interface doesn't work is because it was implemented as a public var instead of an accessor. On Tue, Jul 22, 2008 at 12:50 PM, Sean Clark Hess <[EMAIL PROTECTED]> wrote: > I want to make a class that works with both DataGridColumn and > AdvancedDataGrid

[flexcoders] how to override a public var, or put it in an interface?

2008-07-22 Thread Sean Clark Hess
I want to make a class that works with both DataGridColumn and AdvancedDataGridColumn. Each of these has a "dataField" property. I have subclassed each, and they both implement a common interface. In the interface, I have function set dataField(value:String):void function get dataField():String

Re: [flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Troy Gilbert
> You need to call collectionData.refresh() when the data property changes for > the itemRenderer. One way to do it would be: I always wonder what's the best practice for this. I would think that collections would have this built into them... why would one want to put a filter function on a collec

[flexcoders] Re: changing project settings

2008-07-22 Thread valdhor
I don't normally do it that way but yes, just set the source and the endpoint and Bob's your auntie ;-} --- In flexcoders@yahoogroups.com, "[p e r c e p t i c o n]" <[EMAIL PROTECTED]> wrote: > > it appears easier to do if FB3 than FB2...using remoteobject means you need > a destination...which i

[flexcoders] PrintAdvancedDataGrid Infuriation!! - More Information

2008-07-22 Thread Adrian Williams
Some additional information: Just for shiggles, I pulled the example data source and panel creation into my program using the same function and the print of the example ADG worked fine. The only difference between their data and mine is that they are using an ArrayCollection while I am using

RE: [flexcoders] what is vellum in flex4?

2008-07-22 Thread Gordon Smith
This is the new Text Component Library (formerly known as Vellum; name still subject to change). This library is a set of AS3 classes, currently packaged into the SWCs named text_xxx.swc, that sit on top of the Flash Text Engine (FTE) in Flash Player 10. Together these replace the old TextField, an

RE: [flexcoders] runtime localization

2008-07-22 Thread Gordon Smith
> keeping Flex and LCDS locale related swc on server SWCs are used only at compile time. Are you actually trying to load resource module SWFs? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Para

Re: [flexcoders] Browser scrollbars not working properly with percentage sizing of application

2008-07-22 Thread Rick Schmitty
Did you have any luck figuring out a solution? Also interested in this On Mon, Apr 28, 2008 at 6:54 PM, dannyvenier <[EMAIL PROTECTED]> wrote: > Hi, I'm hoping someone else has suffered through this problem and can save > me some additional agony. > > My objective is to have a flex app use 100% s

[flexcoders] parallel coordinates component with Flex3

2008-07-22 Thread Marcela
Hi, I'm looking for a start point on how to implement a paraller coordinates component for multidimensional visualization with Flex 3 and AS. So far, I've found only Java examples. Someone working on something similar or in the same problem? Thanks, Marcela

[flexcoders] Background radial gradient?

2008-07-22 Thread doubleyoucue
Hello. Is it possible to assign a radial gradient to the application? Thanks.

Re: [flexcoders] Re: changing project settings

2008-07-22 Thread [p e r c e p t i c o n]
it appears easier to do if FB3 than FB2...using remoteobject means you need a destination...which is set in the config...is there a way to specify a destination without it being in a config...if so that would work out for me... thanks percy On Tue, Jul 22, 2008 at 8:53 AM, valdhor <[EMAIL PROTEC

RE: [flexcoders] HBox verticalGap

2008-07-22 Thread Tracy Spratt
Ah, ok, that would be controlled by the parent container. Wrapping in another box is probably the best solution. Canvas would work too. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, July 22, 2008 1:38 PM

Re: [flexcoders] How do I make a flex app transparent?

2008-07-22 Thread Flex Frenzy
You should be able to, as flash can by setting an attribute in the html I don't remember what it is at the moment On Jul 22, 2008, at 9:40 AM, whatabrain wrote: Is there a way to make a flex app transparent, and have its events pass through to underlying javascript? For example, there's

Re: [flexcoders] HBox verticalGap

2008-07-22 Thread [EMAIL PROTECTED]
It puts a gap between the top border and the contents, (instead of between the top border and the top of the application) which is doesn't work for me. I wrapped it in another box without a border and gave it a top padidng. That works, but it seems like a hack. Tracy Spratt wrote: > > > > “

RE: [flexcoders] String Data Type Maximum Size

2008-07-22 Thread Alex Harui
Pretty sure there isn't one, you'll just run out of memory From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jurgen Beck Sent: Tuesday, July 22, 2008 9:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] String Data Type Maximum Siz

RE: [flexcoders] Re: Highlight cell from context menu

2008-07-22 Thread Alex Harui
What did you search for? I think right-click might find something. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Tuesday, July 22, 2008 9:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Highlight c

[flexcoders] How do I make a flex app transparent?

2008-07-22 Thread whatabrain
Is there a way to make a flex app transparent, and have its events pass through to underlying javascript? For example, there's a flex app that takes up the entire window. There are a couple controls in one corner, but otherwise, you can see through the app to the html page below. The html page

[flexcoders] Self-resizing flex apps

2008-07-22 Thread whatabrain
Let's say I want to have a flex app expand to include new content. One way to do this is to make a call to JavaScript to resize the container. Is there a way to do it entirely within the app?

[flexcoders] CheckBox Question, want to confirm before toggle

2008-07-22 Thread tchredeemed
When someone clicks on the checkbox, I want them to confirm before the checkbox is toggled. Basically, how can I have the click on the checkbox not toggle it, and ill toggle it myself... ?

[flexcoders] Re: Real Multicolumn Form in Flex

2008-07-22 Thread Guilherme Blanco
Also, I forgot to mention that Adobe's solution does not respect the width of each column. In my test, the first column width around 60% and the second column 40%. Regards, On Tue, Jul 22, 2008 at 2:02 PM, Guilherme Blanco <[EMAIL PROTECTED]> wrote: > Hi all, > > > Does anyone have already implem

[flexcoders] Real Multicolumn Form in Flex

2008-07-22 Thread Guilherme Blanco
Hi all, Does anyone have already implemented a multicolumn form in Flex? Before you point me to Google (GIYF), I already tried all solutions available, including the most known ones: - http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postId=9644 - http://jc.p

[flexcoders] Re: Aligning images in TileList itemRenderer

2008-07-22 Thread Amy
--- In flexcoders@yahoogroups.com, "lelander" <[EMAIL PROTECTED]> wrote: > > Hi Amy, > Thanks for sticking with me. Here is my item renderer code: > > = > > http://www.adobe.com/2006/mxml"; > horizontalScrollPolicy="off" > verticalScrollPolicy="off" > height="250" wid

[flexcoders] Re: referencing embedded images inside AdvancedDataGridGroupItemRenderer

2008-07-22 Thread Amy
--- In flexcoders@yahoogroups.com, Brandon Krakowsky <[EMAIL PROTECTED]> wrote: > > Amy: > > It seems easier this way since I'm using a dataprovider which is updated often, changing the icon. Right now I'm using a switch statement which tests "value.icon" and returns the proper embedded image

[flexcoders] 3D Column Chart - Is there a way to set the item update order?

2008-07-22 Thread EddieBerman
I'm building a 3D column chart and am finding that I need to draw the columns in a specific order other than the default, which appears to be by series. Things go just fine until the z-order depth is greater than the distance between the series. Once that occurs, the potential exists for things to

[flexcoders] Re: Highlight cell from context menu

2008-07-22 Thread markgoldin_2000
Select is fine too. All I want is to change a color of a cell that was clicked with a right mouse, thus when a user selects an action from the popup menu the cell will become diffrent in color. Searched this forum, did not find anything. --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL P

[flexcoders] asdoc - generate core framework documentation

2008-07-22 Thread John Hauf
Hi, I have tried to generate the documentation in the core framework using the following command as descriped in the flex 3 documentation: asdoc -source-path frameworks -namespace http://framework frameworks/core-framework-manifest.xml -doc-namespaces http://framework The problem is, that there

[flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Amy
--- In flexcoders@yahoogroups.com, "luis_roman_am" <[EMAIL PROTECTED]> wrote: > > Lets try to add more info. Theres a TileList with a ItemRenderer. The > ItemRenderer code is: > > > > You don't say how your variable MyArrayCollection is being set, but I suspect you're just using a r

[flexcoders] PrintAdvancedDataGrid Infuriation!!

2008-07-22 Thread Adrian Williams
Folks, I have a strange one here. I am attempting to use the PrintAdvancedDataGrid control to print my grid. When I copy and run the entire example on adobe's website (http://livedocs.adobe.com/flex/3/html/help.html?content=printing_5.html) and run it locally...then print...it works fine.

[flexcoders] Re: changing project settings

2008-07-22 Thread valdhor
Just add config files to the project and change your compiler settings to point to the config file(s)... or Create RemoteObject instances and explicitly set the properties. All that the setting does in the project wizard is add the most used items (Like config files) to your project and setup th

[flexcoders] String Data Type Maximum Size

2008-07-22 Thread Jurgen Beck
What is the maximum size of the String data type? Thanks, JB

Re: [flexcoders] Re: referencing embedded images inside AdvancedDataGridGroupItemRenderer

2008-07-22 Thread Brandon Krakowsky
Amy: It seems easier this way since I'm using a dataprovider which is updated often, changing the icon. Right now I'm using a switch statement which tests "value.icon" and returns the proper embedded image class name. I'm confused as to why I can't convert the String the "image1" to Class ima

RE: [flexcoders] XMLListCollection and swapping DataGrid items

2008-07-22 Thread Tracy Spratt
If you are moving up or down (resequencing), then you don't want to swap. You should be able to use removeItemAt(), which returns a reference to the item removed, and addItemAt() to re-insert it. You may need to manipulate the indexes if you move an item "down", because removing the item cau

RE: [flexcoders] HBox verticalGap

2008-07-22 Thread Tracy Spratt
Sorry, ignore this, I didn't see the other post. "since my box has a border it won't work" are you sure that is correct? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Tuesday, July 22, 2008 11:28 AM To

Re: [flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Scott Bachman
You need to call collectionData.refresh() when the data property changes for the itemRenderer. One way to do it would be: then add the method: private function dataChanged(data:Object):void { collectionData.refresh(); } Hopefully that does it. Scott On Tue, Jul 22, 2008 at 10:23 AM, luis

[flexcoders] Re: Smooth main chart drag effect on Google Finance

2008-07-22 Thread Matt Bennett
Just a quick follow up to this. You can create a smooth-drag effect by changing the values on the axes rather than modifying the dataset for the chart - this will give a pixel-by-pixel drag effect. See Ely Greenfield's Interactive Bubble Chart at [1] for an example. There are a few downsides thoug

RE: [flexcoders] Re: Highlight cell from context menu

2008-07-22 Thread Alex Harui
Most folks select instead of highlight. There should be examples in the archives From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Tuesday, July 22, 2008 3:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] R

RE: [flexcoders] HBox verticalGap

2008-07-22 Thread Tracy Spratt
Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, July 21, 2008 8:18 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HBox verticalGap I thought of that but since my box has a border i

RE: [flexcoders] Re: Aligning images in TileList itemRenderer

2008-07-22 Thread Alex Harui
I think you can just do http://www.adobe.com/2006/mxml " verticalAlign="bottom" height="250" width="100"> and set the TileList's labelField="product_image" From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Beh

[flexcoders] Re: Aligning images in TileList itemRenderer

2008-07-22 Thread lelander
Thanks Alex. Can you tak a look at the code in the renderer and tell me if there's anything I should change? == http://www.adobe.com/2006/mxml"; horizontalScrollPolicy="off" verticalScrollPolicy="off" height="250" width="100"> ===

[flexcoders] Re: Aligning images in TileList itemRenderer

2008-07-22 Thread lelander
Hi Amy, Thanks for sticking with me. Here is my item renderer code: = http://www.adobe.com/2006/mxml"; horizontalScrollPolicy="off" verticalScrollPolicy="off" height="250" width="100"> == --- In flexcoders@yahoogroups.com, "A

[flexcoders] NetConnection, Flex and FMS video problem.

2008-07-22 Thread grimmwerks
I'm trying to connect to an FMS video stream -- but having no luck. I'm popping Alerts on all the NetStatusHandlers - and I not only get Connection.Success but I also get NetStream.Play.Start as the final alert - but no video is appearing on stage. Also even though I'm making a new Objec

[flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread luis_roman_am
Lets try to add more info. Theres a TileList with a ItemRenderer. The ItemRenderer code is: "MyArrayCollection" has (example)200 arrays with lot of data and some of them (example, 50 of them) have the same "url" value (url=www.test.com) . The linearChart has as dataprovider "collecti

[flexcoders] XMLListCollection and swapping DataGrid items

2008-07-22 Thread tony.grimes57
I have a datagrid that is fed by an XMLListCollection dataprovider. I am trying to impliment a 'move up' / 'move down' feature with arrows so a user can reorder rows in the datagrid. I know reordering can be done via drag and drop, but does anyone have an example of what would effectively be a

[flexcoders] Re: referencing embedded images inside AdvancedDataGridGroupItemRenderer

2008-07-22 Thread Amy
--- In flexcoders@yahoogroups.com, Brandon Krakowsky <[EMAIL PROTECTED]> wrote: > > I've embedded some images like so: > > [Embed(source="images/image1.png")] > private var image1:Class; > > [Embed(source="images/image2.png")] > private var image2:Class; > > I can't seem to reference th

Re: [flexcoders] accessing styles of children

2008-07-22 Thread [EMAIL PROTECTED]
Thanks for explaining. IStyleClient(videoButtonBox.getChildAt(i)).setStyle(…). I didn't think it was an I, I actually tried |StyleClient(videoButton.. Scott Bachman wrote: > Alex's email clearly said "IStyleClient" with a capital "I" in front. > You'll also need to import it at the top

[flexcoders] Preloading a config XML along with Flex framework preloader

2008-07-22 Thread vipinck
Hi All, I need to pre-load some configuration XML before I could paint my application stage. Is there any way I can pre-load this along with the Flex framework and app loading process? (When we see the Loading box animation) Best, Vipin

[flexcoders] How to Print the text in a Text Area Component

2008-07-22 Thread kurrykid
I am trying to print the contents of a text area component. If I just do addPage(Component Name) it works but it prints the whole conponent including the scrollbars, on the page. I just want the text. If I try to put the component name.text in addPage() (i.e. addPage (TextArea.text), I get a "10

Re: [flexcoders] Trigger updateDisplayList

2008-07-22 Thread Michael Schmalle
Hi, updateDisplayList() is a method. You would call invalidateDisplayList() and the next frame, updateDisplayList() will be called AFTER measure() if invalidateSize() was called OR measurements became invalid for some other reason. Mike On Tue, Jul 22, 2008 at 8:25 AM, markgoldin_2000 <[EMAIL

[flexcoders] Re: remoteObject questions (just to understand it better)

2008-07-22 Thread valdhor
As I understand this (And I am no expert yet), you can explicitly set parameters for RemoteObjects or you can set them using XML (In files like services-config.xml and remoting-config.xml). In your case you don't have any config file(s) so the destination would be meaningless. Normally this would

[flexcoders] Trigger updateDisplayList

2008-07-22 Thread markgoldin_2000
What are the ways of triggering that event programmatically? Thanks

[flexcoders] mx:repeater RangeError when recycleChildren="true"

2008-07-22 Thread stu_bot
Hi, I'm having an issue using an mx:repeater to display the tabs inside an mx:TabNavigator. Using recycleChildren="true" seems to have a problem when the underlying dataProvider (an ArrayCollection) is changed. I've reduced the problem down to the following code: http://www.adobe.com/2006/mxml

[flexcoders] ItemRenderer

2008-07-22 Thread jap_hughes
Hi, Having a problem with using an itemRenderer in datagrid column, the custom column appears correctly but whenever I dynamically change the dataProvider I get a repeat of the custom column and as I'm potentially using a dataProvider with a different schema to the initially loaded schema I th

Re: [flexcoders] ArrayCollection filterFunction only gets called on root item

2008-07-22 Thread Scott Bachman
The filterFunction only applies to the ArrayCollection. By hierarchy, I assume you mean you have an ArrayCollection that contains ArrayCollections. In other words, objects in your original ArrayCollection have, say, a children ArrayCollection. In order to do what you're describing, you would have t

Re: [flexcoders] accessing styles of children

2008-07-22 Thread Scott Bachman
Alex's email clearly said "IStyleClient" with a capital "I" in front. You'll also need to import it at the top of your file if FlexBuilder doesn't do it for you: "import mx.styles.IStyleClient". Since getChildAt returns a generic DisplayObject, you have to cast it to a more specific type to be abl

Re: [flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Scott Bachman
I'm not sure I understand your question. You can certainly refer to data.Url inside the item renderer. If you mean using a filterFunction with data.Url, you would have to apply it inside you're item renderer and most likely make a copy of your original ArrayCollection in each itemRenderer to apply

[flexcoders] Re: Highlight cell from context menu

2008-07-22 Thread markgoldin_2000
Not a chance? --- In flexcoders@yahoogroups.com, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > Is there a way of highlighting a cell that was right mouse clicked on > right before contextmenu showed up? > > Thanks >

  1   2   >