Re: [flexcoders] Sound issues in Player 10

2008-10-22 Thread Matt Chotin
I just went there in Firefox and Safari on the Mac and heard the voiceover fine with my debug version of FP10. What browsers/OS's are you testing with? Matt On 10/22/08 2:57 PM, Steve Mathews [EMAIL PROTECTED] wrote: I started getting reports that our product quit working in Flash Player

Re: [flexcoders] Sound issues in Player 10

2008-10-22 Thread Steve Mathews
I have seen it on XP/Vista in IE7 and FF3. I asked my artists to test on a Mac tonight. On Wed, Oct 22, 2008 at 3:08 PM, Matt Chotin [EMAIL PROTECTED] wrote: I just went there in Firefox and Safari on the Mac and heard the voiceover fine with my debug version of FP10. What browsers/OS's are

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread anuj sharma
Bingo Guys Thats' exactly what i need. Tracy's Timer example works perfect for me. Again thanks a lot for your help. Anuj On Wed, Oct 22, 2008 at 2:29 PM, john fisher [EMAIL PROTECTED] wrote: Anuj I meant, search through the online adobe docs for 'timer polling example' or other keywords

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Paul Andrews
A word of caution Anuj. I don't know if your timer works once a second or once a minute, or once every two minutes. If you have only one online user, it's not too huge a deal either way. If you have a hundred users you can cause big problems for your server. The timer technique just makes the

[flexcoders] Updating row of datagrid

2008-10-22 Thread oneworld95
I've got a datagrid which displays an image (if one has been uploaded) for each record. The user can upload a new image file from within that row. I'm losing my mind trying to figure out how to update the row's image when the upload has completed. The invalidateDisplayList() and

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Paul Andrews
Just one more word of caution. The timer MUST allow enough time for the server to complete the request that you have asked of it. The last thing that you want is to stack up requests to the server. Ideally in this timer environment you won't make a request to the server while the last request

Re: [flexcoders] Sound issues in Player 10

2008-10-22 Thread Matt Chotin
Hi Steve, Our team tested and it did reproduce. We are filing an internal bug on this. It didn't reproduce on Mac for them, so it must be a Windows bug. I'll see if we find out a workaround. Matt On 10/22/08 3:25 PM, Steve Mathews [EMAIL PROTECTED] wrote: I have seen it on XP/Vista in

Re: [flexcoders] Sound issues in Player 10

2008-10-22 Thread Matt Chotin
Oh, and as a note to everyone. If you have a site that worked in FP9 and not in FP10, that's generally a bug (unless it's due to security changes) and should be filed in JIRA ASAP :-) If the url is public, that's good enough. Matt On 10/22/08 3:53 PM, Matthew Chotin [EMAIL PROTECTED] wrote:

RE: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Tracy Spratt
Obviously you must look at the overall picture, but I have a production install where 300 clients hit the server once every 15 minutes, and about 30 of those actually hit it about every 2 minutes. Because of essentially random effects sometimes there are often more than 60 hits per minute. The

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Paul Andrews
- Original Message - From: Tracy Spratt To: flexcoders@yahoogroups.com Sent: Thursday, October 23, 2008 12:17 AM Subject: RE: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help Obviously you must look at the overall picture, but I have a

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Josh McDonald
I'd start the timer only when a successful result returns, and then I'd set it for (pollingFrequencyDelay + Math.round(Math.random() * lastResponseTime)) each time, so as to slow things down a little when it's under load. -Josh On Thu, Oct 23, 2008 at 8:50 AM, Paul Andrews [EMAIL PROTECTED]

Re: [flexcoders] Sound issues in Player 10

2008-10-22 Thread Steve Mathews
Thanks Matt. I have tracked down the problem, but I don't exactly know why it wasn't working. Basically it was around a poorly written bit of code like this: private function loadBackgroundMusic():void{ var file:URLRequest=new URLRequest(background.mp3); BackgroundMusic=new Sound(file);

Re: [flexcoders] Re: viewStack is slow opening the first time

2008-10-22 Thread Fotis Chatzinikos
I would add a label on the component saying please wait calculating data and when your calculation are done dynamically switch on the proper content (after removing the label)... Instead of label you could use a progress bar showing how much time is left...or whatever pleases you :-) On Thu, Oct

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Fotis Chatzinikos
Do not dismiss Paul's advice... 300 hundrend or even 2000 clients is not a problem...Polling every second would not create a problem on a server with correct caches and so on... Add your app in facebook and then you have a problem (possibly 1-4 millions registers in first couple of months) On

RE: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Tracy Spratt
Definitely skip a poll if a previous call has not returned.. I poll every 15 minutes in general, but if a client has pending business, then I increase that clients polling frequency, and return it to normal frequency when the business is completed. I have to whine a bit here and say here

[flexcoders] ARGH shared object array -- getting data

2008-10-22 Thread grimmwerks
This is driving me nuts -- an onSync of a shared object where 'history' is an array -- I can the listing of the array, and I get the length of the arraly, but I can't get each object in the array -- what am I doing wrong?!?? private function

Re: [flexcoders] ARGH shared object array -- getting data

2008-10-22 Thread Paul Andrews
var ob:Object = arr[Number(ln)] should be var ob:Object = arr[ln-1] You don't need to cast the ln variable and arrays are indexed from 0 so the last value is at length -1. paul - Original Message - From: grimmwerks To: flexcoders@yahoogroups.com Sent: Thursday, October 23,

RE: [flexcoders] Distributing AIR applications on Widows and Mac

2008-10-22 Thread Jim Hayes
Jen, if you sign up and are accepted to the distribution agreement Matt links to below, then Adobe will provide you with access to the files and information that you need to do this. It's all very straightforward, even an ignorant and rather flakey old fool like myself managed to do it!

RE: [flexcoders] ARGH shared object array -- getting data

2008-10-22 Thread Tracy Spratt
The .length of an array is always one grater than the last element because arrays are zero based. Try: var ob:Object = arr[ln-1]; //returns the last element in the array Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks

[flexcoders] getStyle(fill) from chart series fails

2008-10-22 Thread john fisher
I must be doing something simple wrong here. What I am doing: creating a column chart entirely in AS, and controlling the colors, and series, and legend in AS. The legend will be in a grid, instead of automatic in the chart. once the XML data is acquired, the makeserviceschart assembles the

[flexcoders] List custom drawSelectionIndicator

2008-10-22 Thread j301c
I recently was looking at the flex application at http://www.mindomo.com/demo In particular, if you click the 'open' at the top left corner of the screen (an open folder icon), a window comes up with a datagrid. The datagrid has a custom gradient selection indicator and rollover indicator.

[flexcoders] Re: List custom drawSelectionIndicator

2008-10-22 Thread j301c
I managed to get half way there. This didn't format too well, but it basically replaces the selection, and highlight indicator with a box with a black border. I think it should be able to use a gradient fill and mess with the alpha properties to get the desired effects. Hope this helps anyone.

Re: [flexcoders] Sound issues in Player 10

2008-10-22 Thread Nik Derewianka
On 23/10/2008, at 9:59 AM, Matt Chotin wrote: Oh, and as a note to everyone. If you have a site that worked in FP9 and not in FP10, that's generally a bug (unless it's due to security changes) and should be filed in JIRA ASAP :-) If the url is public, that's good enough. Does the

Re: [flexcoders] Flex connection to Oracle 10g PL/SQL

2008-10-22 Thread SAAGAR SHETTY
Hi , I am a fresher and would like to know if we can connect to mysql too through HTTP Service Thanks Saagar Shetty - Original Message From: Juliano Mendes [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, 22 October, 2008 7:08:36 PM Subject: Re: [flexcoders] Flex

Re: [flexcoders] ARGH shared object array -- getting data

2008-10-22 Thread Maciek Sakrejda
And if you think zero-based array indexing is crazy, consider Edsger Dijkstra's short essay in favor of it: http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com On Thu, 2008-10-23 at 00:50 +0100, Paul Andrews wrote: var

Re: [flexcoders] sailorsea21 - Does anyone know why this code works with Firefox but not with IE?

2008-10-22 Thread SAAGAR SHETTY
Hi, Probably IE is caching the result. Try sending a random parameter using Math.random() in HTTP service. Cheers, Saagar Shetty - Original Message From: sailorsea21 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, 22 October, 2008 7:10:26 PM Subject: [flexcoders]

RE: [flexcoders] Updating row of datagrid

2008-10-22 Thread Alex Harui
Try calling invalidateList() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of oneworld95 Sent: Wednesday, October 22, 2008 3:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Updating row of datagrid I've got a datagrid which displays an image (if one has been

[flexcoders] Tab Navigator works slow when the tab is selected

2008-10-22 Thread jitendra jain
I have a AdvancedTabNavigator, in which i handle the IndexChangedEvent . I have some shared objects reading from the disk.. Whenever I click on the tabs it is very slow. Why? Thanks, with Regards, Jitendra Jain Add more friends to your messenger and enjoy! Go to

[flexcoders] How to get XML data in before self-configuring custom component needs it?

2008-10-22 Thread Mic
Not a very good description I think :-( A custom component uses XML data to build itself. With xml embedded within the AS component everything flies: var layoutXML:XML = layouts layout name='View1' description='Single View' item id='1' orientationv/orientation

<    1   2