[flexcoders] The FDS didn't respond suddenly. Have you had such case?
In client environment, the FDS didn't respond suddenly. The first PC could subscribe. The second PC could subscribe. The third PC could subscribe. The fourth PC couldn't subscribe and FDS returned nothing. It doesn't happen again after they rebooted WAS. However, we need the reason because it's big financial system. Have you ever had this case? Or are there any suggestion? Shigeru Nakagaki
[flexcoders] Have to "clean" project after every code change. Help please .....
The 50 errors that only a "clean" will remove are e.g. 1120: Access of undefined property bbAvailCols. parasight/src/code codeWizard.as line 5751280889995946 137827 where bbAvailCols is an mxml object and the errors are within 'code file' codeWizard e.g. bbAvailCols.dataProvider = modelLocator.wizardVO.lstAvailProcCols; I have about 40 other .mxml files that also keep their code in a code file and get to it by source = codefile and these all work. Very occasionally I can do a compile with the codeWizard.as file displayed, and I get no errors. All my .mxml objects have been made into Modules. I have to instantiate classes at the Application level in order for them to work inside the modules so I know Modules can be picky but I have 40 where the code file can see the mxml objects on its associated module mxml. Cleaning all the time is a total pain any insight appreciated, Mic.
Re: [flexcoders] Player Security - Local SWF accessing local and network?
Cheers Alex - I'll continue playing with the settings and report back... Thanks... On 3 August 2010 18:48, Alex Harui wrote: > > > The settings manager and/or flashplayertrust files make the sandbox rules > LOCAL_TRUSTED instead of one of the other LOCAL_XXX sandboxes. I think you > have to specify locations to trust in that dialog. AlwaysAllow option may > be for internet hosted SWFs > > >
[flexcoders] Re: Updating ValueObjects
--- In flexcoders@yahoogroups.com, "Stephen" wrote: > > I have written a program where you select a record and it is displayed due to > the form being bound to the value object, when I update the record it updates > in the database okay, but when I re-query it it crashes with the following, > cant seem to make head nor tail of it... > > mx.data::Conflict { > cause = mx.data.messages::DataMessage { > body = [["heating_name"], > { > heating_id = 2 > heating_name = "Radient Heat x" > }, > valueObjects::View_heating { > heating_id = 2 > heating_name = "Radient Heat" > }] > clientId = null > correlationId = "" > destination = "view_heatingRPCDataManager" > headers = { > newReferencedIds = null > prevReferencedIds = null > } > identity = { > heating_id = 2 > } > messageId = "BEC62CE9-C4FA-4DB9-19A3-3459879B4269" > operation = 3 > timestamp = 0 > timeToLive = 0 > } > causedByLocalCommit = false > clientObject = valueObjects::View_heating { > heating_id = 2 > heating_name = "Radient Heat" > } > destination = "view_heatingRPCDataManager" > errorID = 0 > message = "Local item has changes to properties that conflict with remote > change." > name = "Error" > originalObject = { > heating_id = 2 > heating_name = "Radient Heat x" > } > propertyNames = ["heating_name"] > resolved = false > serverObject = heating_id=2 > serverObjectDeleted = false > serverObjectReferencedIds = { > } > } > Apparently this is due to loss of data management and can be corrected by going to Data/Services>DataType>View_heating and enabling data management of the valueObject on each of the CRUD service operations. Took me 5 hours to figure out by a process of elimination hope it saves some one some time.
Re: [flexcoders] Re: Refresh list with itemRenderer/ComboBox
The workaround for ComboBox bug https://bugs.adobe.com/jira/browse/SDK-25705 suggested by Ben Atkins worked for me. In fact, since I didn't have the resize issues, I reduced it to the following. I sent a separate nastygram (sorry) about regressions in the 3.x branch. public class ComboBoxPatched extends ComboBox { public function ComboBoxPatched() { super(); } //This addresses the problem where the list base wasn't reflecting changes to the data provider override public function set dataProvider(value:Object):void { super.dataProvider = value; if (dropdown) { dropdown.dataProvider = value; } } } On Thu, Jul 29, 2010 at 4:25 PM, Richard Rodseth wrote: > Yes, that was my plan, but I've since discovered that I misspoke and my > item renderer has a PopUpButton rather than a ComboBox (sorry!) > > Looking into other possible mistakes in my binding. > > On Thu, Jul 29, 2010 at 3:31 PM, Amy wrote: > >> >> >> >> >> --- In flexcoders@yahoogroups.com , Richard >> Rodseth wrote: >> > >> > Hmm. I did a diff on the 3.x and 3.5 versions of ComboBase and ComboBox, >> and >> > didn't see anything that seemed relevant - just some stuff about >> tweening. >> >> Richard, have you considered subclassing and just fixing it yourself >> (assuming the part you need to fix isn't private, of course). >> >> -Amy >> >> >> > >
[flexcoders] Re: Spam Message
Is anybody moderating here? We don't need these spam messages.
Re: [flexcoders] Player Security - Local SWF accessing local and network?
The settings manager and/or flashplayertrust files make the sandbox rules LOCAL_TRUSTED instead of one of the other LOCAL_XXX sandboxes. I think you have to specify locations to trust in that dialog. AlwaysAllow option may be for internet hosted SWFs On 8/3/10 9:52 AM, "Nick Middleweek" wrote: Hi, Hopefully the Player Security subject hasn't scared you off but I'm stumped with an issue. When I'm creating a little demo app or any Flex app really, I'm accessing the local file system for an .xml settings file and a search will access a remote HTTP or Web Service so I'm accessing both local and remove resources. I do a Release Build, test and it works. I zip it up, send to my product owner and he gets a security error. I've tried directing him to http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html to tick "Always allow", restart the browser, reload the flex app via the .html file but still no joy. Security error. Does anyone know why this works on my machine but not his? Is it because I'm using the Flash Debug player? Are there any rules around making a SWF be Security.LOCAL_TRUSTED ? I'm on Vista Business, my PO is on Windows 7. Cheers, Nick -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] ComboBox fiasco
Back in ComboBox hell, and finally read this: https://bugs.adobe.com/jira/browse/SDK-25705 I've always had problems with comboboxes and binding, but didn't realize this particular bug was *introduced* in 3.5, rather than having been there all along. Of course I updated our application to use 3.5 because of bad bugs in charting. I'm glad bug fixes continue in the 3.x branch, but it's absolutely critical that there are no regressions. So while I hope 3.6 is imminent, let's hope it's well-tested. I trust the testing infrastructure and architecture has been improved for 4.x.
[flexcoders] Player Security - Local SWF accessing local and network?
Hi, Hopefully the Player Security subject hasn't scared you off but I'm stumped with an issue. When I'm creating a little demo app or any Flex app really, I'm accessing the local file system for an .xml settings file and a search will access a remote HTTP or Web Service so I'm accessing both local and remove resources. I do a Release Build, test and it works. I zip it up, send to my product owner and he gets a security error. I've tried directing him to http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htmlto tick "Always allow", restart the browser, reload the flex app via the .html file but still no joy. Security error. Does anyone know why this works on my machine but not his? Is it because I'm using the Flash Debug player? Are there any rules around making a SWF be Security.LOCAL_TRUSTED ? I'm on Vista Business, my PO is on Windows 7. Cheers, Nick
[flexcoders] PHP Data Services - Compound Keys
I have a table in my database that uses compound keys. Apparently Flash Builder 4 does not support compound keys. Does anybody have a work around for this problem?