[flexcoders] Re: Keeping DataGrid from scrolling to top on update to dataProvider

2006-06-28 Thread djbrown_rotonews
I'm still not having any luck. The reset event is being called upstream and processed in my handler, with the proper value of prevIndex calculated, but the grid still jumps to the top after the data fill: if (event.kind == CollectionEventKind.RESET) { var prevIndex:int =

RE: SPAM-LOW: RE: [flexcoders] Re: Flex 2 released tomorrow

2006-06-28 Thread Matt Chotin
We will be updating the FAQ to have an entry that looks like this: If I own Flex 1.5 with maintenance, what Flex 2 products am I entitled to? (Please note that this is only applicable for customers that have a valid, current Maintenance contract for Flex 1.5.) Flex 1.5 - I

[flexcoders] Re: Chart Data Tip Function

2006-06-28 Thread pasflex
Thanks. --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Sorry, yes, in the final release chart datatip functions take a hitData structure as its only parameter. Ely. From: flexcoders@yahoogroups.com

RE: [flexcoders] Generate sound

2006-06-28 Thread Dirk Eismann
Ahh, that hidden Metadata [FMSynthesis], eh? Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Roger GonzalezSent: Wednesday, June 28, 2006 10:30 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Generate sound Yes, but not

[flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart

2006-06-28 Thread Pan Troglodytes
I have found a bug in Flex 2 (final) showDataEffect combined with stacked columns. You get an error. If you take off the stacked setting, you do not get an error. Or, if you take off the effect and leave stacked, no error. Here's the sample code: ?xml version=1.0 encoding=utf-8?mx:Application

RE: [flexcoders] Re: Variable number of columns in ColumnChart

2006-06-28 Thread Matt Horn
Use ActionScript to add a series to the chart's series array. This should get you started: var s:LineSeries = new LineSeries(); s.yField=Points; s.dataProvider = secondPerson; var oldSeries:Array = myChart.series;

Re: [flexcoders] Generate sound

2006-06-28 Thread David Clark
I was bored and playing around with something that I wrote in c# a while ago... I guess one could generate the byte array that the Sound class holds... not much doco on the internals of that class though... maybe if it could use a simple format like wav or something... anyways, enough

[flexcoders] Hello, Testing 123, is this thing on?

2006-06-28 Thread Ted Patrick
Sorry for the test, just getting flexcoders under my new Adobe email. My role at Adobe faces the Flex developer community and is focused on helping developers succeed with Flex. If there is anything that I can do for you, please do not hesitate to email me at tpatrick(a)adobe.com. I look forward

[flexcoders] Re: Variable number of columns in ColumnChart

2006-06-28 Thread Doug Lowder
Hi Ben, If you're just looking for a way to have the legend display different items than the chart, instead of setting the Legend's dataProvider to the chart, set it to an array of items you want displayed. In Flex 1.5, I did this by setting the Legend dataProvider to a copy of the array used

[flexcoders] Serialization bug in release

2006-06-28 Thread Allen Riddle
We are currently upgrading our beta 3 developed product to the new release version. It appears that they have changed collections returned from SOAP Web Service calls to de-serialize into ArrayCollection now, versus Array the type. Ok, fine. However, when you try to invoke a web service,

Re: [flexcoders] [Flex2 final release] FlexBuilder 2 install Flash Player 9.0.15??

2006-06-28 Thread Xavi Beumala
I'm having probles here with AMF0. I'm not able to cast custom Objects sent from Java. The behaviour is quite strange so if I only launch one request it behaves as expected. But if I launch several parallel requests only the last response is getting a correct serialized result. I'll try to

RE: [flexcoders] Re: Custom Validator woes....

2006-06-28 Thread Jason Szeto
Susan, The reason that it is not static is because most validators have properties that help define the validation rules. For example, the Number validator has a maxValue and minValue property. Also, you can customize the error messages for each validator. Thus, we need instances of

RE: [flexcoders] Serialization bug in release

2006-06-28 Thread Allen Riddle
I just came across an article (http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:resources:articles:rpc_services) saying that ArrayCollection is not serializable!!! In beta 3, web service calls returned type Array, and it worked fine. I dont understand why they (Adobe) did

RE: [flexcoders] Serialization bug in release

2006-06-28 Thread Peter Farland
Can you pleaselog a bug or send me your test case offline (attach a zip, but rename the extension to .zp)? The makeObjectsBindable attribute on WebService (or any of its Operation instances) control this behavior and is now true by default. You can set it to false to stop it from creating

RE: [flexcoders] Flex final -- CF remoting issue

2006-06-28 Thread Peter Farland
Any chance you could send me more information about the data types that are being returned from ColdFusion? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sufibabaSent: Wednesday, June 28, 2006 3:26 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex

[flexcoders] Ely: StoplightRenderer example doesn't work right in release

2006-06-28 Thread Pan Troglodytes
Ely,Okay, I admit, the subject is a LITTLE misleading. Your original page for the stoplight renderer (http://www.quietlyscheming.com/blog/charts/data-based-renderers/ ) does still work. But a slight derivative of it now seems to fail.I'm specifically referring to setting the itemRenderer at

RE: [flexcoders] Serialization bug in release

2006-06-28 Thread Kelly Birr
I'm sending myArrayCollection.toArray() to web services without problem, I don't know if that will help you or not. - Kelly From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Allen RiddleSent: Wednesday, June 28, 2006 2:01 PMTo: flexcoders@yahoogroups.comSubject:

[flexcoders] Re: Keeping DataGrid from scrolling to top on update to dataProvider

2006-06-28 Thread Tim Hoff
DJ, Perhaps you could set the verticalScrollPosition on the grid's render event. I'm not sure if this would work, but it might be worth a try -TH private var updateGridVerticalScrollPosition:Boolean = false;private var gridVerticalScrollPosition:int = 0; // or use Number instead "update" button

[flexcoders] Re: Flex final -- CF remoting issue

2006-06-28 Thread sufibaba
Peter, Just figured it out, turns out that in my over-excitement of the upgrade, I forgot to set the correct Launch URL in Flex Debug Configuration. It is now working. Appreciate you looking into this for me. Cheers, Tim --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED]

RE: [flexcoders] Transitions - How to apply movement to SetStyleAction(horizontalCenter proprety)

2006-06-28 Thread Jason Szeto
Post some code so we can take a look. Jason From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nelson Batista Sent: Wednesday, June 28, 2006 8:55 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Transitions - How to apply movement to

[flexcoders] Final release--problems--please help

2006-06-28 Thread John
Hi, I am having a big problem! I can't figure this out.When I update everything to the final release, I can't compile.I use eclipse on the mac, and it uses a build.xml file. I have a Java project defined in eclipse, and in this case it is called "flexSamples". inside there I have a folder

[flexcoders] any disadvantages to using FDS + CF vs. FDS + Java?

2006-06-28 Thread Tom Bray
Since we have more CF developers in-house, we're wondering if there are any disadvantages or limitations of using CF with FDS instead of using Java. Scalability concerns? Features missing? We have existing chat/IM/presence apps that we're interested in porting over to FDS. Any thoughst are

Re: [flexcoders] Difference between two dates

2006-06-28 Thread Pan Troglodytes
I understand that. I would also like to lobby for changes to Date. Maybe I should just write my own library that expects the date to be a floating point number of days (like Delphi and others). As it stands, this illustrates the big problem with the date class: ?xml version=1.0 encoding=utf-8?

RE: [flexcoders] Sum Column in datagrid

2006-06-28 Thread Gordon Smith
Yes, best practice is to create a custom item renderer only if you need to display something more than a simple text string for each data item. That's because a custom renderer will typically involve additional DisplayObjects and therefore will take more memory and be slower. If all

RE: [flexcoders] [Flex2 final release] FlexBuilder 2 install Flash Player 9.0.15??

2006-06-28 Thread Matt Chotin
The bug was if you accessed the name off the camera or microphone in the release player (not debug apparently) it crashed. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Rovira Sent: Wednesday, June 28, 2006 12:09 PM To:

[flexcoders] Flex Builder 2

2006-06-28 Thread Tim Hoff
US $499 - Sweet! Better than expected. Nice store ap. :) -TH Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM

[flexcoders] Help with remote objects and EJB Jar files.

2006-06-28 Thread swe_reddy
Hi, I am using EJB 3 for my server side code.I have put the ejb jar files under {app-dir}\WEB-INF\lib. In my flex-remoting-service.xml I have ?xml version=1.0 encoding=UTF-8? service id=remoting-service class=flex.messaging.services.RemotingService

[flexcoders] Re: PAIN - Debugging ColdFusion CFC Flex service call

2006-06-28 Thread Erich Cervantez
What I ended up doing if anyone's interested is modifying the XP coldfusion service to "manual" mode (so it wouldn't start up automatically), then editing the jvm.config file to include these arguments:-Xdebug -Xrunjdwp:transport=dt_shmem,server=y,suspend=nthen opening a console window and

Re: [flexcoders] Generate sound

2006-06-28 Thread Ralf Bokelberg
Not from flash alone, but you can create a beep easily by using a sound sample and repeat a small area of it. The longer the area, the lower the sound. If you do it right, you can even create music with this technique. Cheers,Ralf. On 6/28/06, David Clark [EMAIL PROTECTED] wrote: I was

RE: [flexcoders] Duplicate variable definition

2006-06-28 Thread Gordon Smith
ActionScript doesn't have (and has never had) block-scoped variables. When you declare a local variable anywhere in a method, it is as if you had declared it at the top, and it is accessible anywhere in the method. Therefore having two declarations is redundant. The new warning is trying

Re: [flexcoders] Hello, Testing 123, is this thing on?

2006-06-28 Thread Ralf Bokelberg
It is on Ted Cheers, Ralf On 6/28/06, Ted Patrick [EMAIL PROTECTED] wrote: Sorry for the test, just getting flexcoders under my new Adobe email. My role at Adobe faces the Flex developer community and is focused on helping developers succeed with Flex. If there is anything that I can do for

RE: [flexcoders] Serialization bug in release

2006-06-28 Thread Allen Riddle
YOU ARE MY HERO PETE!!! That worked. Thank you so much. I dont think there is a bug to send you, now knowing that ArrayCollection is not serializable. Thanks a lot. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Farland Sent: Wednesday, June 28,

[flexcoders] [flex 2 final] Bug when binding value to property in tag

2006-06-28 Thread martin schioeth
Hi, Ive got a custom class. The class has a getter/setter method for variable called months Class MyComp extends HBox {   private var __months:Array;   public function get months():Array     {   return __months;     }   public function set months(monthArray:Array):void    

RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart

2006-06-28 Thread Ely Greenfield
Good find Jason. I've got a fix, that will go into the next update for flex. If you have purchased the charting components, and have the source available, I could talk you through a temporary fix. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan

[flexcoders] Re: Hello, Testing 123, is this thing on?

2006-06-28 Thread exporta_lite
--- In flexcoders@yahoogroups.com, Ted Patrick [EMAIL PROTECTED] wrote: snip I look forward to working with you! I guess the gain is up - you're getting some feedback :). Cheers - Chas Yahoo! Groups Sponsor ~-- See what's inside the new

Re: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart

2006-06-28 Thread Pan Troglodytes
Thanks for the quick reply. We should be purchasing Builder+charting this week.On 6/28/06, Ely Greenfield [EMAIL PROTECTED] wrote: Good find Jason. I've got a fix, that will go into the next update for flex. If you have purchased the charting components,

RE: [flexcoders] Serialization bug in release

2006-06-28 Thread Peter Farland
Yeah, unfortunately it isnt right now, but well be looking to make ArrayCollection serializable in WebService in an upcoming release. Remember that ArrayCollection wraps an underlying Array, so either the source property or Kellys suggestion of toArray() is another way to get back the

[flexcoders] Icons in menu - not working

2006-06-28 Thread Kelly Birr
I've been racking my brain trying to get icons in themenu bar. I think I'm doing exactly what the docs say but I cannot get any icon to render. Thelabel and actions work perfectly but the icondoes not show up. The icon is embedding properly as I can see it in the "icon" property of a

Re: [flexcoders] [flex 2 final] Bug when binding value to property in tag

2006-06-28 Thread Pan Troglodytes
I'm not seeing the problem you are having. Also, you have syntax errors in your code below so I'm curious if this was actually what you used. Here's my modified version, which worked fine (i.e. I got the trace output for the set): package{ import mx.containers.HBox; public class MyComp extends

[flexcoders] FLEX 2B3 - After installing Flash 9 IDE Alpha, Debug player in FB does not work

2006-06-28 Thread Hilary Bridel
Hi people, After installing Flash 9 IDE Alpha for AS3, the Debug player in FB does not work. I have reinstalled both apps, but cant get the debug player in FB to work. Can I download just the debug player from somewhere? Does the Flash 9 IDE Alpha use the same debug player as FB? Regards--

RE: [flexcoders] Ely: StoplightRenderer example doesn't work right in release

2006-06-28 Thread Ely Greenfield
Hmmm. Honestly, I'm surprised that worked in beta 3. Regardless, the series is caching instances of the itemRenderer, and not correctly releasing them when you switch to a different renderer. The only workaround I can see right now is to create a new PieSeries rather than just changing

RE: [flexcoders] Icons in menu - not working

2006-06-28 Thread Deepa Subramaniam
Hmmm well our Embed expert says that you can make the variable for the embedded asset static, but that seems to be your problem. Ill file a bug on your behalf, but for now, dont make exitOn static and the icon should show up. Let me know if it doesnt Deepa Flex SDK

RE: [flexcoders] Icons in menu - not working

2006-06-28 Thread Kelly Birr
I found my problem. It appears that the menu cannot bind to static vars for images. I solved the problem by specifying { public const myMenuIcon:Class = GlobalIcons.MyCoolIcon; } where GlobalIcons.MyCoolIcon is declared exactly as below. Then pout the local name "myMenuIcon" in the @icon

RE: [flexcoders] Help with remote objects and EJB Jar files.

2006-06-28 Thread Peter Farland
The default JavaFactory that is used by the RemotingServices JavaAdapter simply locates classes using Class.forName from the web application class path. Perhaps you could create a façade class that looked up your EJB from its JNDI name? Other alternatives are to write a new, EJB specific

RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart

2006-06-28 Thread Ely Greenfield
WHOOHOOO! ;) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent: Wednesday, June 28, 2006 4:30 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart Thanks for the quick

RE: [flexcoders] Icons in menu - not working

2006-06-28 Thread Deepa Subramaniam
Yup, you are correct. I just talked to Roger about this. What is happening is that MenuBar checks to see if an iconField is set. In your case it is, and the MenuBar looks to see if a Class, exitOn, exists with that name in the application or a property on the document with that same

RE: [flexcoders] Icons in menu - not working

2006-06-28 Thread Deepa Subramaniam
Just to be clear, this is not a bug. This is just a fact of life since were using some sort of indirection of specifying an icon attribute in the dataProvider and then using an iconField property to look up that reference. So, in cases like that the embedded asset needs to not be a

[flexcoders] Constraining a flexabile layout.

2006-06-28 Thread Ian Skinner
Hey, I have enough functionality I can now play with display aesthetics. Thanks for all the help I have received on these lists. I have a grid, displaying the days and weeks of a month. Each day cell contains a list of events. The names of the events can get rather long. I do not want them

Re: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart

2006-06-28 Thread Brendan Meutzner
Sounds like Ely's salary is directly connected to the number of Charts purchases... ;-)On 6/28/06, Ely Greenfield [EMAIL PROTECTED] wrote: WHOOHOOO! ;) From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan

Re: [flexcoders] Re: Keeping DataGrid from scrolling to top on update to dataProvider

2006-06-28 Thread Jason Y. Kwong
>From my experiences, the grid takes a beat to update its visual appearance when its data gets updated. After I know that the data has been updated, I normally use callLater() to set the scroll position. On 6/28/06, djbrown_rotonews [EMAIL PROTECTED] wrote: I'm still not having any luck. The

Re: [flexcoders] Ely: StoplightRenderer example doesn't work right in release

2006-06-28 Thread Pan Troglodytes
Really, there's no way to clear the cache? This would probably explain the problem I had in another thread (http://groups.yahoo.com/group/flexcoders/message/40839 ) which you so cruelly refused to respond to. ;)I'm looking forward to the next point release!On 6/28/06, Ely Greenfield [EMAIL

[flexcoders] Flex 2 Video Player (with funny videos)

2006-06-28 Thread John C. Bland II
In light of the Flex 2 news, I finished this little video player app just to show how Flex 2 can interact with Flash Media Server 2 for streaming videos. There isn't much visually to see but check the source (right click-View Source) to see the code (which there isn't much code there either;

[flexcoders] Adobe Style Explorer - view source error

2006-06-28 Thread Angus Johnson
A quick note to someone at Adobe... could you check the view source for the sample Style Explorer application? Link is broken... http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html I did notice security 2047 errors on a couple of refreshes.CheersAngus __._,_.___

[flexcoders] Re: Reusing code blocks

2006-06-28 Thread mthielman11
Thanks a lot guys I will try this out. --- In flexcoders@yahoogroups.com, Darron J. Schall [EMAIL PROTECTED] wrote: Yes, through the concept of base states. Build a state that has the components you want shared between multiple sub-states, then when you add a new state in Flex Builder

Re: [flexcoders] Adobe Style Explorer - view source error

2006-06-28 Thread Pan Troglodytes
Must have been a transient problem, as it's working fine now.On 6/28/06, Angus Johnson [EMAIL PROTECTED] wrote: A quick note to someone at Adobe... could you check the view source for the sample Style Explorer application? Link is broken...

[flexcoders] Embedding WSDL?

2006-06-28 Thread Kelly Birr
Is it possible to somehow embed WSDL in the compiled SWF, or read/write the actual WSDL directly to the web services without them having to request it via HTTP at runtime? Can I bind the WSDL to a string that I manually request via UrlLoader? Along with that if I have 15 different web

Re: [flexcoders] Ely: StoplightRenderer example doesn't work right in release

2006-06-28 Thread Pan Troglodytes
This brings up another point. I could just add multiple PieSeries. Unfortunately, setting a PieSeries.visible=false does not actually take it out of the chart. Even though it's hidden, it still affects the other series and such. This seems counter-productive. On 6/28/06, Ely Greenfield [EMAIL

[flexcoders] Re: FLEX 2B3 - After installing Flash 9 IDE Alpha, Debug player in FB does not work

2006-06-28 Thread Tim Hoff
Hi Hilary, I don't know if this is an issue with Flash 9 Alpha, but the Flex2 debug players are located in the C:/Program Files/Adobe/Flex Builder 2/Player/Debug directory. -TH --- In flexcoders@yahoogroups.com, Hilary Bridel [EMAIL PROTECTED] wrote: Hi people, After installing Flash 9

Re: [flexcoders] Set up FlexUnit with Flex Builder Eclipse plugin

2006-06-28 Thread Chris Velevitch
You should be using FlexUnit for Flex 2. http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au Yahoo! Groups Sponsor ~-- Great

[flexcoders] jumpy breakpoints

2006-06-28 Thread Pan Troglodytes
Anyone else got jumpy breakpoints - meaning you set it on a line of code at design-time and Flex moves it when you hit run? Anyone set breakpoints on perfectly valid code only to have Flex claim the line contains no executable code? I have ran into this problem several times. Combatting it

[flexcoders] Re: Embedding WSDL?

2006-06-28 Thread Tim Hoff
I have the same question as Kelly. It seems that the initial call to a webservice is slower because of the wsdl. Subsequent calls are fine, but there is always an initial delay. I know, switch to HTTPService or RemoteObject. For the following code, I'm thinking that I could override the

RE: [flexcoders] Adobe Style Explorer - view source error

2006-06-28 Thread Matt Chotin
Sorry about that, looks like Peter (the author) forgot to include the source when he gave it to me for distribution. Hes out of the country so it might be next week before we can get that posted. The Beta 3 version can be found here in the meantime, but there are definitely some diffs

[flexcoders] Re: Embedding WSDL?

2006-06-28 Thread Tim Hoff
Nevermind, I'll just make a background call when the ap loads to establish the wsdl. Still interested to know the answers to the questions though. Thanks again, -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: I have the same question as Kelly. It seems that the

Re: [flexcoders] Ely: StoplightRenderer example doesn't work right in release

2006-06-28 Thread Pan Troglodytes
Okay, here's how I worked around it for anyone else following the thread.I created my chart like this (pseudo-code):PieChart id=chart PieSeries id=series1 dataProvider=mydata/ PieSeries id=series2 dataProvider=mydata/ /PieChartNotice that series1/2 are NOT inside a series tag.In my update

Re: [flexcoders] Adobe Style Explorer - view source error

2006-06-28 Thread Pan Troglodytes
I'm still a bit curious. Now I can get the 2047 error sometimes, but not usually. Shouldn't I always get it? I'm talking about doing a full reload on the page or opening it in a new tab. Secondly, it still seems to work fine even after clicking close on the error. Is this not true for other

<    1   2   3