RE: [flexcoders] Re: Flex and Adsense
Its possible to put some html div layer on top of a flash/flex app. But, in order to that, you must use wmode as opaque or transparent. And if you do that: youll face the famous Firefox bug where most keyboard inputs for special characters is screwed up. Pretty annoying Right now, Ad servers are not ready to serve ad for flash/flex, all of them rely on Javascript Adobe might try to do something about that and ask for flash compatibility to the biggest Ad servers (Google AdSense, DoubleClick DART, RealMedia Open AdStream )? Benoit Hediard #affinitiz.com De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de alex steel Envoyé : mardi 5 juin 2007 20:09 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: Flex and Adsense if you want I can make example of html over flex, with alternative content but I'm sure almost everyone here can do that thnx Alex --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Judith Dinowitz" <[EMAIL PROTECTED]> wrote: > > Actually, Michael says that Adsense is a piece of JavaScript that remotely > pulls in content. Straightforward, but the content being pulled in, which is > essentially HTML, needs to be placed on the page in context. So if the page > is a Flex application, then the Flex application has to accept that content > and display it. > > Michael says that he's sure Flex can accept content from JavaScript and > display it, but it runs into the problem that Adsense will deliver the > content based on the contextual content of the page. Google has seen the > page and knows what's on it. So therefore, Google has to see something on > the page that says, "Hey, let's put a proper ad in." Google can't read Flash > content... That's where your problem comes in. > > So how do you solve that problem? The solution is to have the Flex > application on a page that has content, or expose all the Flex content in > the application on the page for Google to see. > > Judith > > On 6/5/07, Judith Dinowitz <[EMAIL PROTECTED]> wrote: > > > > Actually, if someone has found a way to do so, I'd love to publish it as a > > short article on FA online. :) > > > > Judith Dinowitz > > Editor-in-Chief > > Fusion Authority > > http://www.fusionauthority.com/ > > > > On 6/5/07, Romain <[EMAIL PROTECTED]> wrote: > > > > > > Maybe some Adobe Flex/Apollo evangelist could take up the gauntlet ? > > > Any in the room ? > > > > > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "James" wrote: > > > > > > > > Well if it is true that their current TOS disallows flash site usage, > > > > then we need to start a petition or something. But first we need to > > > > get Google's official stance. Anyone up to writing them a friendly > > > > email? :) > > > > > > > > -James > > > > > > > > > > > > > > > > > > > -- > > > Flexcoders Mailing List > > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > > Search Archives: > > > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > -- > > Judith Dinowitz > > Editor > > Fusion Authority > > The House of Fusion Technical Magazine > > http://www.fusionauthority.com > > > > > -- > Judith Dinowitz > Editor > Fusion Authority > The House of Fusion Technical Magazine > http://www.fusionauthority.com > <><>
RE: [flexcoders] youtube
Are you sure that it is allowed to play FLV directly without the official YouTube player? Benoit Hediard #affinitiz.com De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Manish Jethani Envoyé : samedi 5 mai 2007 11:45 À : flexcoders@yahoogroups.com Objet : Re: [flexcoders] youtube On 5/5/07, André Rodrigues Pena <[EMAIL PROTECTED] <mailto:andre.ufrj%40gmail.com> > wrote: > but loading from youtube server? You can start here: http://mannu.livejournal.com/326881.html The demo doesn't work because of cross-domain issues. But you can extract the code for fetching the FLV URL and use it in your app. PS: Yes, you can play the FLV directly from YouTube. As long as you get the URL right. <><>
RE: [flexcoders] Re: yahoomaps POI marker click event, htmltext asfunction
Are you sure you can catch events generated by an href link in the description htmlText? I think weve tried to play around with the POIMarkerClick event. But it was only dispatched when you first click on the marker to open it. Further click on a link in the htmlText description was not generating any POIMarkerClick events, so we could not catch anything. But may be, we did something wrong, we have to check it out again Benoit Hediard #affinitiz.com De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de anupam_81 Envoyé : mercredi 25 avril 2007 09:27 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: yahoomaps POI marker click event, htmltext asfunction Hi michael, I have done this and its pretty easy, You can call any flex event on the click of the marker click there is one event called onPOIMarkerClick in the Yahoo map component. You should have the latest code because this event handler was not there in the previous versions. I have written a blog entry on this... Check it out.. http://digitallyinsane.wordpress.com/2007/03/13/yahoo-maps-as3-communication -tool-kit/ Cheeers! Anupam --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , Michael Wills <[EMAIL PROTECTED]> wrote: > > For clarification, the idea is simply to allow a marker to be clicked to > open it, but then trigger an event/call a function in the cairngorm app > when clicking on a link in the description. > > Thanks, > > Michael > > Michael Wills wrote: > > > > Hello all, > > > > Just wondering if it's possible to use asfunction to call a function > > in a cairngorm app from the htmltext in the description of a POI > > marker within a Yahoomap in a Flex 2 app without making modification > > to the as2map.fla file. > > > > It's a long shot, but I was just wondering if it's been done, and > > eagerly anticipating a true AS3 map component. > > > > The new AS3 "event:" protocol of course isn't recognized by the Flash > > 8 interpreter and so it's not available. > > > > So I was hoping it would be something like: > > > > markerDesction = "" > > > > Is that a possibility at all? > > > > Thanks, > > > > Michael > > > > > <> <>
RE: [flexcoders] yahoomaps POI marker click event, htmltext asfunction
Hi Michael, We had this exact same problem just 2 days ago ;) And we have not found any working solution yet, despite some experimentation. When recompiling the as2map.fla, the generated as2map.swf doesnt work anymore, we have to use the provided as2map.swf, and you? Have you found anywhere the fla source of the customMarker.swf? One tip, we have added the following function in MapController : public function setMapSize(height:int, width:int):void { EIBuffer.addCall({method:super.swfDomId + .setMapSize + super.UUID, data:{w:width, h:height}}); } And then, on mapLoad event, you can call this function to set the map size (usually the height and width of the parent container). So you dont have to recompile the as2map.fla for a given map size Benoit Hediard #affinitiz.com De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Michael Wills Envoyé : mardi 24 avril 2007 19:25 À : flexcoders@yahoogroups.com Objet : Re: [flexcoders] yahoomaps POI marker click event, htmltext asfunction For clarification, the idea is simply to allow a marker to be clicked to open it, but then trigger an event/call a function in the cairngorm app when clicking on a link in the description. Thanks, Michael Michael Wills wrote: > > Hello all, > > Just wondering if it's possible to use asfunction to call a function > in a cairngorm app from the htmltext in the description of a POI > marker within a Yahoomap in a Flex 2 app without making modification > to the as2map.fla file. > > It's a long shot, but I was just wondering if it's been done, and > eagerly anticipating a true AS3 map component. > > The new AS3 "event:" protocol of course isn't recognized by the Flash > 8 interpreter and so it's not available. > > So I was hoping it would be something like: > > markerDesction = "" > > Is that a possibility at all? > > Thanks, > > Michael > > <> <>
RE: [flexcoders] Re: Blog sites done in Flex
Indeed, Flex might not be appropriate for a blog front-end, since it has strong html display (and search engine indexing) limitations. But as a back-end, it might have some advantages. On our plate-form (www.affinitiz.com), we use : - an HTML-based front-end for the public pages (blogs), with some Flex2-based widgets (audio/ video player, polls, photo galleries, comments, maps ), - a Flex2-based back-end for the private group communication (communities) and content publishing. The main limitation is the Flex 2 Rich Text Editor which is currently pretty basic (compared to latest WYSIWYG Ajax/JS editors) Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de one786786 Envoyé : lundi 23 avril 2007 20:33 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: Blog sites done in Flex Honestly, I think Flex would be overkill for a regular blog system. Is there anything particular that you wish to achieve? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "mapper2255" <[EMAIL PROTECTED]> wrote: > > Hello, > > Any one seen a good blogging site lately that was done in Flex? > > Thanks. > <> <>
[flexcoders] Affinitiz V3.2: english version released!
Hi everyone! A quick message to inform you that we just launched the English version of our platform (even if the English is certainly not perfect yet.). Affinitiz is a web publishing platform that allows you to easily share all your contents on Internet (text, pictures, video, audio, opinions, polls, events...), on private communities or public blogs. Our V1.0 (focused on private communities) was originally launched in 2001, in French language only. The main publishing/manager app is based on Flex2, may be one of the most advanced public-facing Flex 2 app on the market (it took me more than 2 years to develop this new version ;) ). We also have some small Flex2 apps on the public/blog pages : photo slideshows, polls, comments, audio/video player. Ex. : http://www.affinitiz.com/space/fredtrip/content/best-of-paysages_8149D124-DC C4-4977-A4BF-1985EB672743 In fact, this V3.0 is fully based on the Adobe Engagement platform : Flex 2 + ColdFusion 7 + Flash Media Server 2 (and soon to come Apollo)! To access it : http://www.affinitiz.com (have a look at the 5 min guided tour that shows the most important features). On the Web2.0 market, the two most similar recently release platforms are Marc Andreessen's Ning or SixAppart Vox Groups. We definitely know that it is still far from perfect. so your feedbacks are welcome. Have fun! Benoit Hediard #affinitiz.com
[flexcoders] FileReference.download() crashes the browser
Hi, We have many users reporting browser crashes when trying to download files from our Flex2 app. But we have never been able to reproduce the problem. Apparently, they have the latest Flash Player 9 and the problem occurs on IE (6 or 7) or Firefox (1.5 o 2.0), on Windows XP SP2. So I suppose this is linked to some additional software installed on their machine, may be Norton Internet Security 2005 (I have NIS2006 and cannot reproduce the pb...). We are currently trying to get more info on their config. Anyone has encounter a similar issue? Benoit Hediard #affinitiz.com
RE: [flexcoders] ColdFusion and Flex Integration - up to 10x gain, avoid cf object creation
That's why we don't use getter/setter functions in our CFCs VO (properties are public), so we don't have this performance issue. I suppose it gives you the performance of "struct" and the advantadges of typed/mapped objects. Benoit Hediard #affinitiz.com _ De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Dirk Eismann Envoyé : jeudi 23 novembre 2006 10:29 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] ColdFusion and Flex Integration - up to 10x gain, avoid cf object creation Yes, I also noticed this. I made a test where a cfloop is done on 2000 records and had three setups: 1) cfloop / createObject on a CFC "Bean" / add this CFC instance to an Array 2) cfloop / createObject on a JavaBean (same as Erik mentions) / add this bean to an Array 3) cloop / delegate object creation to a Java class (instatiated upfront) / Java class returns JavaBean / add bean to Array 1) is slooow (like 5000ms) 2) is fast! (like 50ms) 3) is fastest (like 30ms) the difference between 2) and 3) is not significant. But the difference between 1) and 2) is! I think the main problem is that CFC instances are not really comparable to JavaBeans / Valueobjects at runtime because every single method (getter/setter) of a CFC gets compiled into a single class. So a Person.cfc with 20 properties implemented as getters/setters gets compiled into at least 40 classes (one for every getter and one for every setter) plus some more stub code. I think this is the main reason why creating CFC ValueObjects / Beans is so expensive inside loops. IMHO it should not be regarded best practice to use CFCs as VOs - this may work for simple tasks but is definitely not good for more compley setups (e.g. using CFCs to get typed objects in the Flex frontend) Dirk. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of EECOLOR Sent: Wednesday, November 22, 2006 2:35 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ColdFusion and Flex Integration - up to 10x gain, avoid cf object creation Some time ago i experienced with java versions of the value objects. This also gives a significant improvement. Greetz Erik
RE: [flexcoders] Large Cairngorm Directory structures
Yes, dividing the app might me a solution. Our different applications (based on Cairngorm2) are organized as follow. We prefer to only use 4 main directories : model, view, controller and service (structure we share for our ColdFusion server side applications). /com/company1/commons/lib (commons libraries) /com/company1/commons/controls (commons controls) /com/company1/domain1/controller/ : CairngormEvents, shared between applications /com/company1/domain1/model/ : ValueObjects (business VO) and business managers, shared between applications /com/company1/domain1/service/ : ValueObjects (request/response service VO) and business delegates, shared between applications /com/company1/domain1/view/ : View components, shared between applications /com/company1/domain1/application/app1/controller/ : Controller and Commands, specific to app1 /com/company1/domain1/application/app1/model/ : ModelLocator, specific to app1 /com/company1/domain1/application/app1/service/ : ServiceLocator, specific to app1 /com/company1/domain1/application/app1/view/ : View components, specific to app1 /com/company1/domain1/application/app2/controller/ : Controller and Commands, specific to app2 /com/company1/domain1/application/app2/model/ : ModelLocator, specific to app2 /com/company1/domain1/application/app2/service/ : ServiceLocator, specific to app2 /com/company1/domain1/application/app2/view/ : View components, specific to app2 ... For several domain applications, sharing CairngormEvents, ValueObjects and Views usually make a lot of sense (for example when building a FrontOffice app and a BackOffice app). But there are so many ways to structure, organize and package applications... Benoit Hediard #affinitiz.com -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Wally Randall Envoyé : jeudi 2 novembre 2006 14:28 À : flexcoders@yahoogroups.com Objet : [flexcoders] Large Cairngorm Directory structures I need to construct a directory structure for a MONSTER Flex/CF application. (300 forms, 150 reports). Does anyone have large system directory structures they would be willing to share? We are attempting to divide the system into several separate applications (for obvious reasons). Assuming we have 8 to 10 "sub- systems" sharing a common front-end menu hierarchy, how should we construct a directory structure for cairngorm: applicationroot \assets \com \adobe [why is this node needed?] \subapp1 \business \comand \control \model \view \vo \subapp2 \business \comand \control \model \view \vo ...etc -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] JUST SAY NO to creationPolicy="all" !
Good question... ;) We've tried several times to isolate the bugs on more simple app, but without success. Usually, it involves ViewStack, Repeater with RadioButtons and/or Tile. The sizing of mx:Text with a width="100%" can also be very buggy. Very specific and complex cases where the only quick workaround we found was to set creationPolicy to "all". There was perhaps better and more elegant workarounds but as it was working for us, we needed to go on... Next time I face the problem, I'll try to isolate it. But again, Cairngorm ModelLocator and bindings are the way to go. They can avoid creationPolicy="all" and viewHelpers most of the time. Benoit Hediard #affinitiz.com De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Alex UhlmannEnvoyé : mardi 31 octobre 2006 18:01À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] JUST SAY NO to creationPolicy="all" ! Hi Benoit, can you tell us more where bindings didn't work for you? Best, Alex Alex Uhlmann Consultant (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6969m: +44 (0) 7917 428 951[EMAIL PROTECTED]http://weblogs.macromedia.com/auhlmann From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benoit HediardSent: 31 October 2006 15:40To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] JUST SAY NO to creationPolicy="all" ! In most cases and in a "perfect" world, it can be avoided.But in some specific cases, it is very useful, especially to workaround somebinding bugs...In our app (a pretty complex one), we use as much as possible the CairngormModelLocator and bindings.But we have some views that could not be configured by bindings or atinitialization, so we are using cairngorm ViewHelpers to do that.In order to use viewHelpers, you have to be sure that the view has beeninstantiated.Deferred instantiation is not "always the way to go".So please, do not remove this option... ;)Benoit Hediard#affinitiz.com-Message d'origine-De : [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] De lapart de Adam DorritieEnvoyé : mardi 31 octobre 2006 14:37À : [EMAIL PROTECTED]ups.comObjet : Re: [flexcoders] JUST SAY NO to creationPolicy="all" !On 10/30/06, Gordon Smith <[EMAIL PROTECTED]com> wrote:> > I've never seen a case where it is necessary to push data into thecontrols before they exist. If you must put the data somewhere in themeantime, store it in data vars, which have none of the startup cost of avisual component, and then move it into the controls after they get created.>> I guess I'm wondering why, if there is apparently no use case for this"feature" and deferrred instantiation is "the way to go," it is included inthe language at all. Is there never a case to use this option?--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] JUST SAY NO to creationPolicy="all" !
In most cases and in a "perfect" world, it can be avoided. But in some specific cases, it is very useful, especially to workaround some binding bugs... In our app (a pretty complex one), we use as much as possible the Cairngorm ModelLocator and bindings. But we have some views that could not be configured by bindings or at initialization, so we are using cairngorm ViewHelpers to do that. In order to use viewHelpers, you have to be sure that the view has been instantiated. Deferred instantiation is not "always the way to go". So please, do not remove this option... ;) Benoit Hediard #affinitiz.com -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Adam Dorritie Envoyé : mardi 31 octobre 2006 14:37 À : flexcoders@yahoogroups.com Objet : Re: [flexcoders] JUST SAY NO to creationPolicy="all" ! On 10/30/06, Gordon Smith <[EMAIL PROTECTED]> wrote: > > I've never seen a case where it is necessary to push data into the controls before they exist. If you must put the data somewhere in the meantime, store it in data vars, which have none of the startup cost of a visual component, and then move it into the controls after they get created. > > I guess I'm wondering why, if there is apparently no use case for this "feature" and deferrred instantiation is "the way to go," it is included in the language at all. Is there never a case to use this option? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] JUST SAY NO to creationPolicy="all" !
In that case, we even don't need view helpers, we could set the model directly in our commands. Sometimes, on complex app, bindings don't work as expected, so you have to find workarounds. But don't get me wrong, in 99% of the cases, bindings are the way to go. Benoit Hediard #affinitiz.com -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Tom Chiverton Envoyé : mardi 31 octobre 2006 17:24 À : flexcoders@yahoogroups.com Objet : Re: [flexcoders] JUST SAY NO to creationPolicy="all" ! On Tuesday 31 October 2006 15:40, Benoit Hediard wrote: > But we have some views that could not be configured by bindings or at > initialization, so we are using cairngorm ViewHelpers to do that. > In order to use viewHelpers, you have to be sure that the view has > been instantiated. Why don't your ViewHelpers just set something in the model, then bind to that in the view ? -- Tom Chiverton Helping to quickly participate eligible deliverables This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] BitDefender does not like Flex AMF3 remoting
FYI, it looks like the latest release of BitDefender (www.bitdefender.com) does not like AMF3 remoting by default. Pretty annoying if firewalls start to block Flex/Flash Remoting capabilities... I've not been able to reproduce the problem but it was reported by one of our user, after an update to the latest BitDefender release (it was working fine before the update). Benoit Hediard __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Background transparancy
In order to get full transparency (in an html page), you might also have to set windowMode to "transparent" in your code that insert the swf: ... ... ... wmode="transparent" ... > Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de sumeet kEnvoyé : vendredi 29 septembre 2006 08:23À : flexcoders@yahoogroups.comObjet : Re: [flexcoders] Background transparancy Hi Patrick, Ypu can set backgroundAlpha="0" in application tag.dj <[EMAIL PROTECTED]> wrote: How do you set the background alpha of an application to 0, possible?Thanks,Patrick Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Affinitiz V3.0 powered by Flex2+ColdFusion7+FMS2
You probably had a problem with the birthdate formatting? This is typical of the feedback we have about the Flex error tips... ;) Most of the users don't see the red halo around the input. It might be better if the error toolTip are displayed by default (and not only on roll over). Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Francois DejardinEnvoyé : vendredi 29 septembre 2006 12:06À : flexcoders@yahoogroups.comObjet : Re: [flexcoders] Affinitiz V3.0 powered by Flex2+ColdFusion7+FMS2 Hi, Your application looks great, but i had a bug trying sign it in .. after the second inscription form i was unable to go to the next step (confirmation) .. i had to close the window and retry again.. regards Francois - Original Message - From: Benoit Hediard To: flexcoders@yahoogroups.com Sent: Friday, September 29, 2006 10:40 AM Subject: [flexcoders] Affinitiz V3.0 powered by Flex2+ColdFusion7+FMS2 Hi everyone, FYI, we finally launched the new version of our blogs/communities platform Affinitiz (initially launched in its V1.0 in 2000)! It's a personal publishing tool for blog/communities (public/private contents), with more than 300 000 members and 25 000 communities. The main app is powered by Flex2 (developped with Cairngorm2 framework) and ColdFusion7 remote services (developped with ColdSpring framework, no FDS). ColdFusion7 is also used for the "public" pages (home, member profiles, blogs and global directories). Next month, we'll add chat/online presence powered by Flash Media Server2. A 100% "powered by Adobe" platform! I spent more than 2 years (on my own) to develop this new platform, starting it with Flex1 alpha and finishing it with Flex2... So you can imagine that I'm pretty happy to release it! In order to have an overview of it, you can go to http://www.affinitiz.com and click on the button "Voir la visite guidée" (guided tour). Sorry, it's only in french... Have fun! Benoit Hediard __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
[flexcoders] Affinitiz V3.0 powered by Flex2+ColdFusion7+FMS2
Hi everyone, FYI, we finally launched the new version of our blogs/communities platform Affinitiz (initially launched in its V1.0 in 2000)! It's a personal publishing tool for blog/communities (public/private contents), with more than 300 000 members and 25 000 communities. The main app is powered by Flex2 (developped with Cairngorm2 framework) and ColdFusion7 remote services (developped with ColdSpring framework, no FDS). ColdFusion7 is also used for the "public" pages (home, member profiles, blogs and global directories). Next month, we'll add chat/online presence powered by Flash Media Server2. A 100% "powered by Adobe" platform! I spent more than 2 years (on my own) to develop this new platform, starting it with Flex1 alpha and finishing it with Flex2... So you can imagine that I'm pretty happy to release it! In order to have an overview of it, you can go to http://www.affinitiz.com and click on the button "Voir la visite guidée" (guided tour). Sorry, it's only in french... Have fun! Benoit Hediard __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Huge memory usage in Flex Builder 2 (release version)
No, when your app start to grows, FB requires a lot of RAM for compilation. For our app, I had to add 1Go of RAM (total 2Go) on my dev machine, otherwise I had to close FB every 2 or 3 compilations... ;) Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de RBullotta Envoyé : vendredi 15 septembre 2006 15:37 À : flexcoders@yahoogroups.com Objet : [flexcoders] Huge memory usage in Flex Builder 2 (release version) In a not-so-big Flex application, I'm noticing that FB is often consuming 500MB+ of RAM. Seems something is amiss... -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex client cache and new versions
The swf is stored in the user cache. To be sure that your users get the latest version, you can simply add a version parameter in the url of the swf. Ex.: myApp.swf?version=2.0.34 Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de shrefler Envoyé : mercredi 30 août 2006 14:27 À : flexcoders@yahoogroups.com Objet : [flexcoders] Flex client cache and new versions I have a question about how client cache handles flex 2 swfs. I'm making an application where some users speed is an issue. After the initial download, should the flex application be stored in the users cache? Also, how can you force a re-download of the application if a new version is released? THanks Sam -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Flex 2 Final : Error #1009, in RadioButton/get labelPlacement()
Hi Jason, Yes, I found one workaround to this issue. Use the repeatEnd event to execute a function that will assign the groupName to each one of your RadioButton. Use also this function to assign the selected button (because the bindings are a source of the problem). Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Jason Envoyé : jeudi 24 août 2006 18:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: Flex 2 Final : Error #1009, in RadioButton/get labelPlacement() Has anyone found a workaround to the bug with RadioButton groups and repeater components described here? I have having this same problem. --jason --- In flexcoders@yahoogroups.com, "Benoit Hediard" <[EMAIL PROTECTED]> wrote: > > I've investigated this issue a little bit more. > It looks like there some problems with RadioButton when they are used > in groups. > First display is generally correct, but when the display list is refreshed, > it generates some bugs. > > In our case, the RadioButton group is used in a popup, and even after the > popup is deleted, some popup display routines are still executed. > > When debugging is on, the error is generated in RadioButton.as, at line 172, > because the property group is null : > if (_labelPlacement != "") { > value = _labelPlacement; > } else if (_group && group.labelPlacement != "") { // L.172 > value = group.labelPlacement; > } > > Workaround : always define labelPlacement in all your RadioButton (so that > the group labelPlacement is never read). > > I've also encountered a similar error in another case : RadioButton groups > used inside a Repeater, with the groupName defined during the repeater > execution (groupName="{theRepeater.currentIndex}"). > First execution is correct, but the next ones generate an error. > > When debugging is on, the error is generated in the RadioButton.as, at line > 454, for the same reason (property group is null) : > var g:RadioButtonGroup = group: > g.addInstance(this); // L.454 > > I haven't found a workaround for this one. > > It's too bad because all of this was working in previous beta but not on the > final release ;). > > Benoit Hediard > > _ > > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la > part de Benoit Hediard > Envoyé : lundi 3 juillet 2006 12:36 > À : flexcoders@yahoogroups.com > Objet : [flexcoders] Flex 2 Final : Error #1009, in RadioButton/get > labelPlacement() > > > Error #1009: Il est impossible d'accéder à la propriété ou la méthode d'une > référence d'objet nul. > (in english, something like "it is not possible to access the property or > the method of the null object reference") at > mx.controls::RadioButton/get labelPlacement() at > mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::layoutConten > ts() > at mx.controls::Button/mx.controls:Button::updateDisplayList() > ... > > In Flex2 final, I'm getting this error regularly... > Not tried yet to reproduce it on a simple regular case, but it looks like > pretty random. > I don't use the labelPlacement property in our app. > > I've never encountered this error in previous beta, only since the FP9 > / > Flex2 Final. > Looks like a very annoying low level framework error, related to the layout > of RadioButtons. > > Anyone else facing this issue? > And found a workaround? > > Benoit Hediard > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Benoit Hediard: iTunes MP3 in flash player issue
Indeed, I just made a test with a recently encoded file with iTunes and it worked. So I'm going to send you one the files that was causing a problem. Thank you for looking at this issue. Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Amir Envoyé : mercredi 23 août 2006 18:09 À : flexcoders@yahoogroups.com Objet : [flexcoders] Benoit Hediard: iTunes MP3 in flash player issue Hi This email is for Benoit Hediard: You submitted an issue saying that an MP3 that has ID encoded with iTunes doesn't play in flash player. I tried reproducing with itunes 6.0.5.20 , but it played just fine. We also knew about an iTunes bug where the ID3 is encoded incorrectly, however my understanding was that the bug was fixed, which is the reason I couldn't repro with 6.0.5.20. So I closed out the issue when you first submitted it in the beta phase. Recently, you submitted this issue again, saying that you repro'ed with 6.0.5.20. I have not been able to repro. Can you please provide me the .mp3 file that you can't run in flash player 9? You ddin't leave your e-mail address, so this is why I'm sending out a blanket one to flexcoders yahoo group. Thanks, Amir Memon Quality Engineer for Flash Player Adobe Inc. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] PopUp Windows 50% Transparent???
Have you tried to set borderAlpha=1 (by default borderAlpha=0.4)? Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Mike Anderson Envoyé : mercredi 16 août 2006 22:58 À : flexcoders@yahoogroups.com Objet : [flexcoders] PopUp Windows 50% Transparent??? Hello All, Every time I create a popup, it's transparent around the entire border area. I even tried using code, to force the Alpha value - and it still insists on showing the application residing one layer below. Is this by design, and is there a way I can inhibit this behavior?? Thanks in advance for any help, Mike -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Object is null/"""when it is passed along to Coldfusion.
Try to put stuff in your object: var oData:Object = new Object(); oData.test = "hello"; Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de maikelsibbald Envoyé : vendredi 4 août 2006 08:28 À : flexcoders@yahoogroups.com Objet : [flexcoders] Object is null/"""when it is passed along to Coldfusion. We even made a simple test: //WOKING cf.test(true); //WOKING cf.test(1); //WOKING cf.test("hello"); //NOT WOKING //in CFC we expect a struct, right!? var oData:Object = new Object(); cf.test(oData); Can anybody tell me what is wrong... -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Command classes that use multiple delegates
If your commnad is calling two different delegates, you might refactor it into two independant commands and call them in a sequence. The result would be nearly the same and it might me cleaner. Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de jrjazzman23 Envoyé : vendredi 28 juillet 2006 18:49 À : flexcoders@yahoogroups.com Objet : [flexcoders] Command classes that use multiple delegates Hi, In the case of a Command that uses multiple business delegates, what's best practice for an onResult() knowing which remote call it's handling? thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Caringorm - Visual Flowchart Poster!
As for application server side technologies, you might just put : - .NET, - J2EE, - LAMP. It would cover 99% of them... ;) Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Evan Gifford Envoyé : vendredi 28 juillet 2006 17:16 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] Caringorm - Visual Flowchart Poster! Hey Tom, you're probably right about removing the database icons. I was trying to show the diversity of technologies and services which Flex can integrate into a single, seamless presentation-tier. I wanted this to really look like a diverse, service orientated architecture and so tried to differentiate the servers with a database icon. Would it work if I put, say ... a few other technologies such as GDLib on Linux with Perl and MySQL, Oracle on J2EE and PDF generation working on IIS with MSSQL? Views? Also, I'm a little confused about Views. Since this diagram does not (yet) include the ViewHelper and ViewLocator, should I have the views labeled as "Views", or should they just be a "datagrid-like-thing" and a form, updated by databinding? I have done the following: -Removed database icons from IIS Server -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, July 28, 2006 4:08 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Caringorm - Visual Flowchart Poster! On Thursday 27 July 2006 21:42, Evan Gifford wrote: > What else am I missing? How come only the IIS server gets a database symbol :-) I'd drop them from IIS myself - it's not important what the service does. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/2006 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] textInput autocommit?
You could also use the "valueCommit"event. Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de sinatoskEnvoyé : vendredi 28 juillet 2006 10:04À : flexcoders@yahoogroups.comObjet : Re: [flexcoders] textInput autocommit? have you tried "focusOut" event?http://livedocs.macromedia.com/flex/2/langref/flash/display/InteractiveObject.html#event:focusOut On 28/07/06, ryan harlin <[EMAIL PROTECTED]> wrote: I posted a similar question with more explanation butI'll simplify since I probably bored people away fromanswering:How do I get a textInput field to autocommit to mydata source (FDS)? On leaving the field I want thechanges to update the database but I can't seem tofigure it out. I can get it work on pressing theenter key but not upon losing focus.__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Cleaning a file in eclipse ?
Hello Jean-Luc! Nice to see you here... ;) In .as files, you can re-organize your imports with Ctrl+Shift+O (very cool), but unfortunately, it does not clean the unused ones... In .mxml files, nothing to re-orgnaize your imports yet... I suppose that this kind of features as well as re-factoring are high on the enhancements list of the Flex Builder team for a future release. Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Jean-Luc ESSEREnvoyé : jeudi 27 juillet 2006 10:55À : flexcoders@yahoogroups.comObjet : [flexcoders] Cleaning a file in eclipse ? Hi all ! I'm not talking about about the 'clean project' here. Is there a way to clean your file for all unused imports for exemple ? I know this is somehow possible in Java in eclipse, but it doesn't seem to work with Flex. Best, Jean-Luc __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Securing coldfusion remoting services for flex 2
Hi Tom, We are a public facing application, so no HTTPS and no authenticated services... Thank you very much for the "method-access-level" parameter of the service XML file, this is exactly what I was looking for. So to resume... To secure your ColdFusion service CFCs for Flex 2 only : 1. Put a cross-domain.xml policy file in your web root, with the parameter So that, only swf served by your domain can call your services and load your data. 2. In your WEB-INF/flex/services-config.xml, change the parameter remote to public And use access="public" in your service CFCs, so that your service CFCs can only be called by the flex2gateway and not by webservice calls. Have fun! Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Tom Chiverton Envoyé : mercredi 26 juillet 2006 10:18 À : flexcoders@yahoogroups.com Objet : Re: [flexcoders] Securing coldfusion remoting services for flex 2 On Tuesday 25 July 2006 15:58, Benoit Hediard wrote: > What are the best practices to secure coldfusion remoting services for > Flex2? I've been trying to get them to run over HTTPS for a start, with no luck so far :-( > On the flash/flex side, we haved configured the cross domain policy > file on our server, so that only swf served by our domain can call our services. > That's fine. We've used Apache (as a front end proxy via mod_jrun) to lock things down to specific IP adress', and if you don't mind a login prompt you can use HTTP basic/digest protection too. > Is it possible to allow only flex remote object calls on our services? > That would solve the issue. What you could do is tweak the services XML file so that public methods can be invoked by Flash over remoteing, and not have any 'remote' methods in your CFCs. > Any suggestions? Consider using named destinations, one per CFC, rather than the default '*'. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Working version of Phones in Flex2/Cairngorm2?
All the org.nevis references have been replaced in the latest version. You're still downloading the old version, may be a cache issue? Here is an alternate link to workaround the cache problem : http://www.benorama.com/flex/samples/PhonesCairngorm2bis.zip Have fun. Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Wally Randall Envoyé : mardi 25 juillet 2006 19:10 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: Working version of Phones in Flex2/Cairngorm2? --- In flexcoders@yahoogroups.com, "Benoit Hediard" <[EMAIL PROTECTED]> wrote: > > Are you sure you got the latest version? > Yes I am sure. I have just downloaded the code you supplied in your earlier link: This fragment illustrates part of the problem. The 'org.nevis' prefix is no longer supported in the Cairngorm2 product. You must be compiling with an old version of the Cairngorm classes: package com.mycompany.phones.controller { import com.mycompany.phones.model.ApplicationModel; import com.mycompany.phones.service.PhoneDelegate; import com.mycompany.phones.view.ApplicationView; import mx.collections.ArrayCollection; import mx.controls.Alert; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; import org.nevis.cairngorm.business.Responder; import org.nevis.cairngorm.commands.Command; import org.nevis.cairngorm.control.CairngormEvent; import org.nevis.cairngorm.view.ViewLocator; Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Debugging the Phones Sample
Yes, this was a change in the responder interface from Cairngorm 2 for beta3 to the final release. The onResult and onFault function must have the following argument : onResult(event:* = null) onFault(event:* = null) Benoit Hediard PS: you can also download the latest version for final release. http://www.benorama.com/flex/samples/PhonesCairngorm2.zip -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Wally Randall Envoyé : mardi 25 juillet 2006 17:16 À : flexcoders@yahoogroups.com Objet : [flexcoders] Debugging the Phones Sample I have run into a construct I do not understand in trying to convert the Phones sample to the final Flex2 and Cairngorm2 environment. This statement is causing an error: public class PhoneListGetCommand implements command, Responder { ... The error states that the Responder class is implemented with an incompatible signature in the class file. How should this be re-factored? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Working version of Phones in Flex2/Cairngorm2?
Are you sure you got the latest version? I've just downloaded the zip file on another machine and compiled it successfully. You might have to clear your browser cache and re-download it. Benoit Hediard PS : do not forget to add the Cairngorm.swc to your library path. -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Wally Randall Envoyé : mardi 25 juillet 2006 17:05 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: Working version of Phones in Flex2/Cairngorm2? Thanks for looking at this Ben, however, when I downloaded the app I find that this code is the same as the previous one. 1. It is still referencing the "ORG.NEVIS." prefix on the class references in the Phones AS files. The Cairngorm2 release now uses the "Com.Adobe." prefix. 2. The 'description' property is still referenced in the event.fault error messages. There are other errors in the code when compiled with the final Flex Builder 2. Trying to debug this has been informative but frustrating. Thanks for your effort on this. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Securing coldfusion remoting services for flex 2
What are the best practices to secure coldfusion remoting services for Flex2? On the flash/flex side, we haved configured the cross domain policy file on our server, so that only swf served by our domain can call our services. That's fine. But the problem comes from coldfusion cfc "remote" access : it allows (secured) flash/flex remoting calls, but also web services calls from any client from anywhere. Not very good for security... Is it possible to allow only flex remote object calls on our services? That would solve the issue. There was an old tip for that (http://www.flash-remoting.com/notablog/home.cfm?newsid=24) but it looks like it does not work with the ColdFusion 7.0.2 update and Flex remote object calls. Any suggestions? Benoit Hediard __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Working version of Phones in Flex2/Cairngorm2?
Indeed, sorry, I did not take the time to update this sample app from beta3 to final release... This is done now : http://www.benorama.com/flex/samples/PhonesCairngorm2.zip For new comers, this is a very basic sample application to show how to use Flex2+ColdFusion7 with Cairngom2. If you have any comments/suggestions, do not hesitate. Have fun! Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Wally Randall Envoyé : mardi 25 juillet 2006 15:30 À : flexcoders@yahoogroups.com Objet : [flexcoders] Working version of Phones in Flex2/Cairngorm2? Has anyone successfully implemented the Flex2/Cairngorm2 version of the Phones sample application? I am stumped with error messages refering to obscure errors I have not yet figured out: Implicit coercion of a value of type to an unrelated class. Interface method onFault in namespace ... implemented with invalid signature in For us newcomers to the Cairngorm model we need WORKING samples, not versions of code that need to be debugged prior to use. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flex2/FP9 Final Bug : cannot play MP3 files encoded with iTunes
Hi, When trying to load an MP3 file encoded with iTunes (latest one v6.0.5.20), the MP3 starts playing but it stops when the loading is completed. An Event.COMPLETE is generated just followed by an Event.SOUND_COMPLETE (whereas the sound is not completed at all and should continue to play). After that, it is not possible to start the MP3 anymore. It might be an ID3 issue? (apparently, the ID3Info are not properly loaded) Here is a template to reproduce the problem, a copy/paste from the LiveDocs. It works fine with any MP3 files not encoded with iTunes. http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="creationCompleteHandler()"> Benoit Hediard PS: This problem has been raised during the beta, but without any answers. ;) __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Re: Flex 2 Final : Error #1034, in ChartBase dataTip functions
Indeed, I'm missed this one in the Flex 2 final changes from beta3... Thanks! Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de pasflex Envoyé : lundi 3 juillet 2006 16:03 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: Flex 2 Final : Error #1034, in ChartBase dataTip functions The method signature for a datatip function changed in from beta3 to release, it used to take ChartItemEvent as an argument now it takes HitData. --- In flexcoders@yahoogroups.com, "Benoit Hediard" <[EMAIL PROTECTED]> wrote: > > Error #1034: Echec de la contrainte de type: conversion de > mx.charts::[EMAIL PROTECTED] mx.charts.events.ChartItemEvent est impossible > at mx.charts.chartClasses::ChartBase/::invokeDTFunction() > at mx.charts::HitData/get displayText() at > mx.charts.chartClasses::DataType/set data() at > mx.charts.chartClasses::ChartBase/::updateDataTipToMatchHitSet() > ... > > Here is another error I've never encountered since FP9 + Flex 2 Final. > It is generated when doing a rollover on bar of a BarChart on our app. > > I'm going to try to isolate and reproduce the bug on a simple case. > > Anyone else facing this issue? > And found a workaround? > > Benoit Hediard > Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Error that is killing me.
Try to put a breakpoint on VendorManager_Vendor_Display_Result() and launch a debugging session : - check that result returned by the cfc is correct on the client side, - check that parentApplication.mainDisplay.vven.firstName exists. Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Jeremy Rottman Envoyé : lundi 3 juillet 2006 16:16 À : flexcoders@yahoogroups.com Objet : [flexcoders] Error that is killing me. I am working on my transaction app, and I have run into an error that I cant figure out. In my cfc I am returning a struct that holds all my data that I am trying to populate my flex form inputs with. The cfc is working correctly, I know this because I can get a proper out put when I test the function I am working with, however when I test it with my flex code I get this error. Any help with this would be greatly appreciated. ReferenceError: Error #1069: Property firstName not found on String and there is no default value. at components.views.contacts::viewSearchVendor/::VendorManager_Vendor_Displ\ ay_Result() at components.views.contacts::viewSearchVendor/__vendorDG_doubleClick() Here is my as code I am using to call my cfc function. This function is called when a user dbl clicks a record in my data grid. //*VENDOR POPULATE START*** // CALL POPULATE EDIT VENDOR private function VendorManager_Vendor_Display(UUID){ VendorManager.Vendor_Display(UUID) } // HANDLE POPULATE EDIT VENDOR RESULTS private function VendorManager_Vendor_Display_Result(result):void{ parentApplication.mainDisplay.vven.firstName.text = result.firstName; parentApplication.mainDisplay.vven.lastName.text = result.lastName; parentApplication.mainDisplay.vven.compName.text = result.compName; parentApplication.mainDisplay.vven.address.text = result.addrss; parentApplication.mainDisplay.vven.city.text = result.city; parentApplication.mainDisplay.vven.state.text = result.state; parentApplication.mainDisplay.vven.zip.text = result.zip; parentApplication.mainDisplay.vven.hPhone.text = result.hPhone; parentApplication.mainDisplay.vven.wPhone.text = result.wPhone; parentApplication.mainDisplay.vven.mPhone.text = result.mPhone; parentApplication.mainDisplay.vven.fax.text = result.fax; parentApplication.mainDisplay.vven.email.text = result.email; parentApplication.mainDisplay.vven.url.text = result.url; parentApplication.mainDisplay.vven.uuid.text = result.uuid; for (var i = 0;i < vendorTypeDP.length; i++) { if (vendorTypeDP[i].data == result.type) { parentApplication.mainDisplay.vven.type.selectedIndex = i; } } } // HANDLE POPULTAE EDIT VENDOR ERRORS private function VendorManager_Vendor_Display_Fault(event:FaultEvent):void{ Alert.show("Test Error","Program Error"); } //*VENDOR POPULATE END* Here is my datagrid. Here is my CFC function code. select * from tbl_smartPanel_vendors where fld_vendor_uid = VendorInfo['firstName'] = "#VendorDisplayQry.fld_vendor_firstname#"; VendorInfo['lastName'] = "#VendorDisplayQry.fld_vendor_lastname#"; VendorInfo['compName'] = "#VendorDisplayQry.fld_vendor_companyname#"; VendorInfo['address'] = "#VendorDisplayQry.fld_vendor_address#"; VendorInfo['city'] = "#VendorDisplayQry.fld_vendor_city#"; VendorInfo['state'] = "#VendorDisplayQry.fld_vendor_state#"; VendorInfo['zip'] = "#VendorDisplayQry.fld_vendor_zip#"; VendorInfo['hPhone'] = "#VendorDisplayQry.fld_vendor_homephone#"; VendorInfo['wPhone'] = "#VendorDisplayQry.fld_vendor_workphone#"; VendorInfo['mPhone'] = "#VendorDisplayQry.fld_vendor_mobilephone#"; VendorInfo['fax'] = "#VendorDisplayQry.fld_vendor_fax#"; VendorInfo['email'] = "#VendorDisplayQry.fld_vendor_email#"; VendorInfo['url'] = "#
RE: [flexcoders] Flex 2 Final : Error #1009, in RadioButton/get labelPlacement()
I've investigated this issue a little bit more. It looks like there some problems with RadioButton when they are used in groups. First display is generally correct, but when the display list is refreshed, it generates some bugs. In our case, the RadioButton group is used in a popup, and even after the popup is deleted, some popup display routines are still executed. When debugging is on, the error is generated in RadioButton.as, at line 172, because the property group is null : if (_labelPlacement != "") { value = _labelPlacement; } else if (_group && group.labelPlacement != "") { // L.172 value = group.labelPlacement; } Workaround : always define labelPlacement in all your RadioButton (so that the group labelPlacement is never read). I've also encountered a similar error in another case : RadioButton groups used inside a Repeater, with the groupName defined during the repeater execution (groupName="{theRepeater.currentIndex}"). First execution is correct, but the next ones generate an error. When debugging is on, the error is generated in the RadioButton.as, at line 454, for the same reason (property group is null) : var g:RadioButtonGroup = group: g.addInstance(this); // L.454 I haven't found a workaround for this one. It's too bad because all of this was working in previous beta but not on the final release ;). Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Benoit HediardEnvoyé : lundi 3 juillet 2006 12:36À : flexcoders@yahoogroups.comObjet : [flexcoders] Flex 2 Final : Error #1009, in RadioButton/get labelPlacement() Error #1009: Il est impossible d'accéder à la propriété ou la méthode d'une référence d'objet nul. (in english, something like "it is not possible to access the property or the method of the null object reference") at mx.controls::RadioButton/get labelPlacement() at mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::layoutContents() at mx.controls::Button/mx.controls:Button::updateDisplayList() ... In Flex2 final, I'm getting this error regularly... Not tried yet to reproduce it on a simple regular case, but it looks like pretty random. I don't use the labelPlacement property in our app. I've never encountered this error in previous beta, only since the FP9 / Flex2 Final. Looks like a very annoying low level framework error, related to the layout of RadioButtons. Anyone else facing this issue? And found a workaround? Benoit Hediard __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] F2.0 final - Possbile bug with PopUpButton and PopUpMenuButton
I've also encountered this issue (event dispatched twice). Here is a workaround : private function itemClickHandler(event:MenuEvent):void { if (event.index != -1) { // Workaround to ignore the second event ... } } Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de sinatoskEnvoyé : dimanche 2 juillet 2006 21:41À : flexcoders@yahoogroups.comObjet : [flexcoders] F2.0 final - Possbile bug with PopUpButton and PopUpMenuButton 4 days after the release I come to update my Flex Application from Beta 3 to Final and the 2 main components I used seem to be bugged. not very good at explaining things to bare with me please :pPopUpButton - Every time I select an item... the "itemClick" event gets dispatched twice. it just pops with with 2 Alert dialogs every time I select an itemPopUpMenButton - When I put my mouse over an item for the first time works fine... but soon as I hover over another menu item in the main level... the menu closes automatically and also if I Hover over an item that is a sub menu I can keep going in and in until there are no more children... or I could just go in once... and then soon as I hover over another item... again the menu just closes. Both times this is without click on any items in the menu I've posted the code belowFlex code being:http://www.adobe.com/2006/mxml " layout="absolute"> paddingTop="10" paddingBottom="10" paddingRight="10" paddingLeft="10" x="10" y="10" height="187" width="411"> text="Button label contains the name of the last selected menu item." /> paddingTop="10" paddingLeft="10" paddingRight="10" x="10" y="205" height="143" width="271"> text="Click the down arrow to open the menu."/> dataProvider="{treeDP2}" labelField="@label" itemClick="itemClickHandler2(event);"/> Flex code end;Is it possible these are bugs? I've tested this with flash player 9.0.15.0 ( with debug ) and 9.0.16.0 ( without debug ) __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] F2.0 final - Possbile bug with PopUpButton and PopUpMenuButton
I've also encountered this bug (event dispatched twice). Here is a workaround : private function itemClickHandler(event:MenuEvent):void { if (event.index != -1) { // Workaround to ignore the second event ... } } Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de sinatoskEnvoyé : dimanche 2 juillet 2006 21:41À : flexcoders@yahoogroups.comObjet : [flexcoders] F2.0 final - Possbile bug with PopUpButton and PopUpMenuButton 4 days after the release I come to update my Flex Application from Beta 3 to Final and the 2 main components I used seem to be bugged. not very good at explaining things to bare with me please :pPopUpButton - Every time I select an item... the "itemClick" event gets dispatched twice. it just pops with with 2 Alert dialogs every time I select an itemPopUpMenButton - When I put my mouse over an item for the first time works fine... but soon as I hover over another menu item in the main level... the menu closes automatically and also if I Hover over an item that is a sub menu I can keep going in and in until there are no more children... or I could just go in once... and then soon as I hover over another item... again the menu just closes. Both times this is without click on any items in the menu I've posted the code belowFlex code being:http://www.adobe.com/2006/mxml " layout="absolute"> paddingTop="10" paddingBottom="10" paddingRight="10" paddingLeft="10" x="10" y="10" height="187" width="411"> text="Button label contains the name of the last selected menu item." /> paddingTop="10" paddingLeft="10" paddingRight="10" x="10" y="205" height="143" width="271"> text="Click the down arrow to open the menu."/> dataProvider="{treeDP2}" labelField="@label" itemClick="itemClickHandler2(event);"/> Flex code end;Is it possible these are bugs? I've tested this with flash player 9.0.15.0 ( with debug ) and 9.0.16.0 ( without debug ) __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Flex 2 Final : Error #1034, in ChartBase dataTip functions
Error #1034: Echec de la contrainte de type: conversion de mx.charts::[EMAIL PROTECTED] mx.charts.events.ChartItemEvent est impossible at mx.charts.chartClasses::ChartBase/::invokeDTFunction() at mx.charts::HitData/get displayText() at mx.charts.chartClasses::DataType/set data() at mx.charts.chartClasses::ChartBase/::updateDataTipToMatchHitSet() ... Here is another error I've never encountered since FP9 + Flex 2 Final. It is generated when doing a rollover on bar of a BarChart on our app. I'm going to try to isolate and reproduce the bug on a simple case. Anyone else facing this issue? And found a workaround? Benoit Hediard __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Flex 2 Final : Error #1009, in RadioButton/get labelPlacement()
Error #1009: Il est impossible d'accéder à la propriété ou la méthode d'une référence d'objet nul. (in english, something like "it is not possible to access the property or the method of the null object reference") at mx.controls::RadioButton/get labelPlacement() at mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::layoutContents() at mx.controls::Button/mx.controls:Button::updateDisplayList() ... In Flex2 final, I'm getting this error regularly... Not tried yet to reproduce it on a simple regular case, but it looks like pretty random. I don't use the labelPlacement property in our app. I've never encountered this error in previous beta, only since the FP9 / Flex2 Final. Looks like a very annoying low level framework error, related to the layout of RadioButtons. Anyone else facing this issue? And found a workaround? Benoit Hediard __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Flex 2 Final : panel backgroundAlpha style change?
No, sorry, I want a "semi-transparent" background... ;) -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Tom Chiverton Envoyé : jeudi 29 juin 2006 10:16 À : flexcoders@yahoogroups.com Objet : Re: [flexcoders] Flex 2 Final : panel backgroundAlpha style change? On Wednesday 28 June 2006 18:23, Benoit Hediard wrote: > In Flex 2 beta, setting the backgroundAlpha to 0.4 (same as default > borderAlpha) allowed you to have completely transparent panels. Wouldn't totally transparent be 1 or 0 ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Upload not working in Windows
It's working here on Windows on Firefox with Flash Player 9.0.15 (coming with Flex Builder 2). No changes compared to beta3. Sorry... ;) Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Marcus Bergstrom Envoyé : mercredi 28 juin 2006 17:34 À : flexcoders@yahoogroups.com Objet : [flexcoders] Upload not working in Windows When using the FileReference in Flex 2 final, I get an IOError followed by an HTTPError 403, when trying to upload using Windows. It's the same for Internet Explorer and FireFox. However, it works great on a mac, using both Safari and FireFox. I can't find any information regarding this problem. I am not sure if this is related to Flex 2 or the actual player, due to it's platform difference. Can anyone confirm that file upload is working for Flex 2 Final, and Flash Player 9.0.16. Thanks 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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flex 2 Final : panel backgroundAlpha style change?
There is a change in the styling of panels with the alpha transparency. In Flex 2 beta, setting the backgroundAlpha to 0.4 (same as default borderAlpha) allowed you to have completely transparent panels. In Flex 2 final, setting the backgroundAlpha to 0.4 does not perform the same rendering, the color of the panel is slightly different from the border. Is it a bug? Benoit Hediard __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Flex 2 final, Cairngorm ServiceLocator/Delegate implementation?
OK, don't know what I did wrong, but changing event.call to event.token in solve the issue... ;) Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Benoit HediardEnvoyé : mercredi 28 juin 2006 16:39À : flexcoders@yahoogroups.comObjet : [flexcoders] Flex 2 final, Cairngorm ServiceLocator/Delegate implementation? Hi, In the Flex 2 final, how do you implement the ServiceLocator and Delegates? In ServiceLocator, it looks like result="event.call.resultHandler(event)" must be replaced by result="event.token.resultHandler(event)". But how do you implement the delegate? I suppose that we'll see that in the final com.adobe.cairngorm.samples.login sample, but I'm currently blocked by this issue... ;) Or am I missing something? Benoit Hediard __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Flex 2 final, Cairngorm ServiceLocator/Delegate implementation?
Hi, In the Flex 2 final, how do you implement the ServiceLocator and Delegates? In ServiceLocator, it looks like result="event.call.resultHandler(event)" must be replaced by result="event.token.resultHandler(event)". But how do you implement the delegate? I suppose that we'll see that in the final com.adobe.cairngorm.samples.login sample, but I'm currently blocked by this issue... ;) Or am I missing something? Benoit Hediard __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] cairngorm phone sample and new "Stateless Commands" mod
Hi, You can download the updated version for beta3: http://www.benorama.com/flex/samples/PhonesCairngorm2.zip Or add default null argument to the onResult and onFault command methods. Ex: public function onResult(event:ResultEvent = null):void Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Barry Beattie Envoyé : mardi 16 mai 2006 07:56 À : flexcoders@yahoogroups.com Objet : [flexcoders] cairngorm phone sample and new "Stateless Commands" mod I'm using Benoit Hediard's cairngorm 2 version of the Phone sample and the latest Caringorm2 framework which includes changes to the way commands are called to make them stateless: http://weblogs.macromedia.com/swebster/archives/2006/05/cairngorm_2_for_1.cf m the change to the call in phones.ApplicationController.as was easy enough (as per article) but I'm lost (all still very new to me) on changes needed to the phones' commands this affects both public class PhoneGetCommand implements Command, Responder {...} public class PhoneListGetCommand implements Command, Responder {...} "Interface method onResult in namespace org.nevis.cairngorm.business:Responder is implemented with an incompatible signature in class com.mycompany.phones.controller:PhoneListGetCommand. (PhoneListGetCommand.as line 17)" any suggestions? thanx PS: I'm also getting a: Implicit coercion of a value with static type Object to a possibly unrelated type Array. PhoneListGetCommand.as phones_cairngorm2/com/mycompany/phones/controller line 33 public function onResult(event:ResultEvent):void { model.phones = new ArrayCollection(event.result); /** HERE **/ model.applicationState = ApplicationView.STATE_DEFAULT; } PPS: there's also an unneeded //import org.nevis.cairngorm.samples.login.commands.LoginCommand; in ApplicationController.as but I'm nit-picking and grateful Benoit made this sample. Yahoo! Groups Sponsor ~--> Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2 beta3: FileReference.download() bug
When migrating from beta2 to beta3, our download fonctionalities don't work anymore. The download dialog box shows up but nothing happens after validation. When using service capture, I don't see any HTTP call to get the file. Anyone can confirm this is a bug in beta3/FP9? Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
Indeed, the server side was missing... ;) This is corrected. Thanks! Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Helen Triolo Envoyé : dimanche 14 mai 2006 15:08 À : flexcoders@yahoogroups.com Objet : Re: [flexcoders] Problem with Cairngorm 2 version of Phones app. The readme.txt says "- move the content of "coldfusion" folder to your ColdFusion wwwroot," but there is no content in the coldfusion folder when I extract the files (and I don't see any cfc's or a test.cfm in the zip list). Do we need to get them from the previous version? thx, Helen Benoit Hediard wrote: > > I've put an updated version for beta3, that works with the new > Cairngorm2 beta3 : > http://www.benorama.com/flex/samples/PhonesCairngorm2.zip > > Yahoo! Groups Sponsor ~--> Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
The default flex-enterprise-services.xml with the ColdFusion destination should look like this, for a standalone ColdFusion install: http://www.macromedia.com/2005/flex-service-config"> class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage"> class="coldfusion.flash.messaging.ColdFusionAdapter" default="true"/> * false remote false false false server="JRun"/> class="mx.messaging.channels.AMFChannel"> uri="http://{server.name}:{server.port}{context.root}/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/> false false [Flex] false false false false Endpoint.* Service.* Configuration Message.* en de fr es true 20 {context.root}/WEB-INF/flex/flex-enterprise-services.xml file> {context.root}/WEB-INF/web.xml Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin Roche Envoyé : samedi 13 mai 2006 19:10 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Thanks Ben, I installed the new Beta3 and CF Beta, It almost works When It calls the CF app. destination="ColdFusion" result="event.call.resultHandler(event)" fault="event.call.faultHandler(event)" showBusyCursor="true" source="com.mycompany.phones.service.PhoneService" /> I get a message saying that it cant find ColdFusion. It seems that the flex-enterprise-services.xml doesn't have the definition for ColdFusion in it. The Documentation seems to be out of date. Can you tell me what you have in your flex-enterprise-services.xml file? Thanks again Kevin Yahoo! Groups Sponsor ~--> Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
You'll be able to compile the app with Flex Builder 2 beta3, but to run it you'll need ColdFusion. The original app from the Adobe Labs is very basic in terms of architecture. So the goal of this version is to show how to properly architectures based on best practices/design patterns and integrate Cairngorm2 with a ColdFusion backend : - Cairngorm 2 framework on the Flex client side, - service CFC, DAO CFC, DG CFC on the ColdFusion server side (so you could very easily use a ColdSpring framework for your server side model). Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Mahmoud ElsayessEnvoyé : samedi 13 mai 2006 18:11À : flexcoders@yahoogroups.comObjet : Re: [flexcoders] Problem with Cairngorm 2 version of Phones app. Hi Benoit, I do not have coldfusion on my machine, but I have Macromedia full suite, is there a way to run your sample? Thank you. Mahmoud Elsayesswww.readverse.com - Original Message - From: Benoit Hediard To: flexcoders@yahoogroups.com Sent: Saturday, May 13, 2006 2:30 AM Subject: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Hi Kevin, You should upgrade to beta3. I've put an updated version for beta3, that works with the new Cairngorm2 beta3 : http://www.benorama.com/flex/samples/PhonesCairngorm2.zip I only did some minor changes (updated the responder onResult and onFault signatures with null default arguments). Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin RocheEnvoyé : vendredi 12 mai 2006 20:00À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Benoit, That's what I did! I'm stuck now. Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Benoit HediardSent: 12 May 2006 14:58To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. You need to unzip all the files in the root folder of a new Flex Builder project and compile it. And it should work. Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin RocheEnvoyé : vendredi 12 mai 2006 15:47À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Yes, the file is there but I gues it may not be in the right place. I am assuming that placing the whole thing under the place where the mxml file is is correct or does it nee to be in some path so that flex can find it? -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:59To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problem with Cairngorm 2 version of Phones app.Stupid question - the file exists? On 5/12/06, Kevin Roche <[EMAIL PROTECTED]> wrote: Hi Nik, I found the problem, needed to add all the mxml files to the application. Now I have another problem. Error message says: Unable to locate specified base class 'org.nevis.cairngorm.business.ServiceLocator' for component class 'ApplicationServices' I do have the cairngorm directory structure (org.. etc) in the same directory as main.mxml. Any ideas why its not found? Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problen with Cairngorm 2 version of Phones app.Hi Kevin,Good to see you on here.Could you post the line(s) in question? It might be that you need to do some CheersNiklas On 5/12/06, Kevin Roche <[EMAIL PROTECTED]> wrote: Hi,I am having difficult getting the Flex 2 Phones application working withFlex2 Beta 2 (Did not want to try Beta3 until it works)When I try to save and compile I get the following error:Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array' Line 33 PhoneListGetCommand.asAnyone know why or what went wrong? I am still learning ActionScript andcant see quite what is wrong here.Kevin Roche Yahoo! Grou
[flexcoders] F2B3: Disable sorting datagrid headerRelease?
Another comment on datagrid sorting... ;) In Flex 1.5, there was a DataGridColumn property "sortOnHeaderRelease". All our sorting is done during the server side call, with paging, so we don't want to use the default array collection sorting. So we could set sortOnHeaderRelease to false and use the headerRelease event to perform our remote paging calls. But in Flex 2, this property has disappeared. I havent' found any workaround yet. Is it possible to have a headerRelease event but without any client side sorting performed on the datagrid? We need to keep all the sorting logic on the server side. Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
Hi Kevin, You should upgrade to beta3. I've put an updated version for beta3, that works with the new Cairngorm2 beta3 : http://www.benorama.com/flex/samples/PhonesCairngorm2.zip I only did some minor changes (updated the responder onResult and onFault signatures with null default arguments). Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin RocheEnvoyé : vendredi 12 mai 2006 20:00À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Benoit, That's what I did! I'm stuck now. Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Benoit HediardSent: 12 May 2006 14:58To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. You need to unzip all the files in the root folder of a new Flex Builder project and compile it. And it should work. Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin RocheEnvoyé : vendredi 12 mai 2006 15:47À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Yes, the file is there but I gues it may not be in the right place. I am assuming that placing the whole thing under the place where the mxml file is is correct or does it nee to be in some path so that flex can find it? -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:59To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problem with Cairngorm 2 version of Phones app.Stupid question - the file exists? On 5/12/06, Kevin Roche <[EMAIL PROTECTED]> wrote: Hi Nik, I found the problem, needed to add all the mxml files to the application. Now I have another problem. Error message says: Unable to locate specified base class 'org.nevis.cairngorm.business.ServiceLocator' for component class 'ApplicationServices' I do have the cairngorm directory structure (org.. etc) in the same directory as main.mxml. Any ideas why its not found? Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problen with Cairngorm 2 version of Phones app.Hi Kevin,Good to see you on here.Could you post the line(s) in question? It might be that you need to do some CheersNiklas On 5/12/06, Kevin Roche <[EMAIL PROTECTED]> wrote: Hi,I am having difficult getting the Flex 2 Phones application working withFlex2 Beta 2 (Did not want to try Beta3 until it works)When I try to save and compile I get the following error:Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array' Line 33 PhoneListGetCommand.asAnyone know why or what went wrong? I am still learning ActionScript andcant see quite what is wrong here.Kevin Roche Yahoo! Groups Sponsor ~-->Protect your PC from spy ware with award winning anti spy technology. It's free.http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~->--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links <*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
You need to unzip all the files in the root folder of a new Flex Builder project and compile it. And it should work. Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin RocheEnvoyé : vendredi 12 mai 2006 15:47À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Yes, the file is there but I gues it may not be in the right place. I am assuming that placing the whole thing under the place where the mxml file is is correct or does it nee to be in some path so that flex can find it? -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:59To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problem with Cairngorm 2 version of Phones app.Stupid question - the file exists? On 5/12/06, Kevin Roche <[EMAIL PROTECTED]> wrote: Hi Nik, I found the problem, needed to add all the mxml files to the application. Now I have another problem. Error message says: Unable to locate specified base class 'org.nevis.cairngorm.business.ServiceLocator' for component class 'ApplicationServices' I do have the cairngorm directory structure (org.. etc) in the same directory as main.mxml. Any ideas why its not found? Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problen with Cairngorm 2 version of Phones app.Hi Kevin,Good to see you on here.Could you post the line(s) in question? It might be that you need to do some CheersNiklas On 5/12/06, Kevin Roche <[EMAIL PROTECTED]> wrote: Hi,I am having difficult getting the Flex 2 Phones application working withFlex2 Beta 2 (Did not want to try Beta3 until it works)When I try to save and compile I get the following error:Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array' Line 33 PhoneListGetCommand.asAnyone know why or what went wrong? I am still learning ActionScript andcant see quite what is wrong here.Kevin Roche Yahoo! Groups Sponsor ~-->Protect your PC from spy ware with award winning anti spy technology. It's free.http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~->--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links <*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders&q
RE: [flexcoders] Flex2 and FMS2 : recording a stream?
Indeed, the problem is corrected in beta 3 / flash player 9. That's cool! Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de jeremy luEnvoyé : vendredi 28 avril 2006 18:31À : flexcoders@yahoogroups.comObjet : Re: [flexcoders] Flex2 and FMS2 : recording a stream? wait for beta 3 in the very very near future and try again. On 4/28/06, Benoit Hediard <[EMAIL PROTECTED] > wrote: Hi, I'm currently working on Flex2/FMS2 app. I've successfully managed to publish a video stream, but I cannot record it. It looks like the flash.net.NetStream API documentation is incomplete. The only documented methods are close(), pause(), play() and seek(). The undocumented methods attachCamera() and attachAudio() works great but the publish() method don't for recording? When using someNetStream.publish("someStreamName", "record"), the "record" parameter is ignored, no flv is created on the server side. Any idea? Benoit Hediard --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex 2 / Flash Player 9 MP3 Support
Could we have some information on Flex 2 / Flash Player 9 MP3 support? In Beta2 / FP8.5, most of my mp3s could not be played in FP8.5. In Beta3 / FP9, it is even worse : some of the mp3s that were working in Beta2 don't work anymore in Beta3. ID3 tags are also not always reconized. Those MP3s were encoded with iTunes, some are 128Kbps, others are 192Kbps, all with constant bit rates. They are dynamically loaded with the Sound class. I already asked some info in Beta2, but no answers from Adobe so far. This is a crucial feature for our app... Thanks. Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2 and FMS2 : recording a stream?
Hi, I'm currently working on Flex2/FMS2 app. I've successfully managed to publish a video stream, but I cannot record it. It looks like the flash.net.NetStream API documentation is incomplete. The only documented methods are close(), pause(), play() and seek(). The undocumented methods attachCamera() and attachAudio() works great but the publish() method don't for recording? When using someNetStream.publish("someStreamName", "record"), the "record" parameter is ignored, no flv is created on the server side. Any idea? Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Amazon Web Services
I've also encountered this error: http://www.cflex.net/flexcoders.cfm?Message=msg25454.html Now, I'm using the Amazon REST services... Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Josh BuhlerEnvoyé : mercredi 26 avril 2006 13:33À : flexcoders@yahoogroups.comObjet : [flexcoders] Amazon Web Services Ok, I'm a bit of a newbie when it comes to Flex, but I just can't get this to work. I'm trying to do an item search on Amazon, using the chunk of code below. However, I keep getting the error that I'm missing required parameters like the "SearchIndex". Am I doing something wrong here? I can't find the answer anywhere else, so I'm at your mercy. Thanks, Josh "amazon" wsdl="http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl" useProxy="false"> "ItemSearch" showBusyCursor="true"> "http://webservices.amazon.com/AWSECommerceService/2006-03-08"> 1SEH1ZG68CMWH9E84VR2 AWSECommerceService {searchString..text} Blended ItemSearch "114" layout="absolute" title="Search for products" id="panel1" left="10" right="10" top="10"> "10" y="10" text="Search String" id="searchLabel"/> "96" y="8" width="228" id="searchString" text="elvis"/> "332" y="8" label="Search" id="startSearch" click="amazon.ItemSearch.send()"/> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: [Flex 2.0] How can get CFC information that is accessed via RemoteObject??
Sorry, I don't think that getMetaData() is going to be useful in Application.cfc. It will only gives you info on your current Application.cfc... Since, the remote object call is a request to the /flex2gateway servlet, this is logical that cgi.SCRIPT_NAME=/flex2gateway. So you can't use the cgi informations... Have you tried to access the java page context object? Ex. : getPageContext().getRequest(); You might find some info... (not tested) Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de sn197412 Envoyé : mercredi 19 avril 2006 15:36 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: [Flex 2.0] How can get CFC information that is accessed via RemoteObject?? Hello. Thank you for information. "getMetaData" needs a agrument = object. What should I set for the argument at Application.cfc?? -- Shigeru ( http://Shigeru-Nakagaki.com ) --- In flexcoders@yahoogroups.com, "Benoit Hediard" <[EMAIL PROTECTED]> wrote: > > In your RemoteObject/CFC, you should use getMetaData() to get all the > required informations: > http://livedocs.macromedia.com/coldfusion/7/htmldocs/0488.htm > > Benoit Hediard > > -Message d'origine- > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la > part de João Fernandes > Envoyé : mercredi 19 avril 2006 14:00 > À : flexcoders@yahoogroups.com > Objet : RE: [flexcoders] Re: [Flex 2.0] How can get CFC information that is > accessed via RemoteObject?? > > Well, that variable is available with the correct CFC name. > I just tested in onRequest and I get the path to the CFC. > > Don't you? > > João Fernandes > Dep. Informática - Área de Desenvolvimento Cofina media > > Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 > 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] > > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > On Behalf Of sn197412 > Sent: quarta-feira, 19 de Abril de 2006 12:29 > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: [Flex 2.0] How can get CFC information that > is accessed via RemoteObject?? > > Hello and thank you for replay. > > I want to know which CFC called via RemoteObject at Application.cfc. > Like CGI.SCRIPT_NAME. > > --Shigeru (http://Shigeru-Nakagaki.com) > > --- In flexcoders@yahoogroups.com, João Fernandes > wrote: > > > > What kind of information are you looking for? > > > > João Fernandes > > Dep. Informática - Área de Desenvolvimento Cofina media > > > > Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) > > 213 185 200 . Fax (+351) 213 540 370 joaofernandes@ > > > > -Original Message- > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of sn197412 > > Sent: quarta-feira, 19 de Abril de 2006 4:45 > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] [Flex 2.0] How can get CFC information that > is accessed via RemoteObject?? > > > > Hi. > > > > I have a question about ColdFusion with RemoteObject of Flex 2.0. > > When I dump CGI information that is accessed via RemoteObject, > dumped information is "flex2gateway" information. > > It's not CFC information. > > > > How can get CFC information that is accessed via RemoteObject?? > > > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: http://www.mail-archive.com/flexcoders% > 40yahoogroups.com > > Yahoo! Groups Links > > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: [Flex 2.0] How can get CFC information that is accessed via RemoteObject??
In your RemoteObject/CFC, you should use getMetaData() to get all the required informations: http://livedocs.macromedia.com/coldfusion/7/htmldocs/0488.htm Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de João Fernandes Envoyé : mercredi 19 avril 2006 14:00 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] Re: [Flex 2.0] How can get CFC information that is accessed via RemoteObject?? Well, that variable is available with the correct CFC name. I just tested in onRequest and I get the path to the CFC. Don't you? João Fernandes Dep. Informática - Área de Desenvolvimento Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sn197412 Sent: quarta-feira, 19 de Abril de 2006 12:29 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: [Flex 2.0] How can get CFC information that is accessed via RemoteObject?? Hello and thank you for replay. I want to know which CFC called via RemoteObject at Application.cfc. Like CGI.SCRIPT_NAME. --Shigeru (http://Shigeru-Nakagaki.com) --- In flexcoders@yahoogroups.com, João Fernandes <[EMAIL PROTECTED]> wrote: > > What kind of information are you looking for? > > João Fernandes > Dep. Informática - Área de Desenvolvimento Cofina media > > Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) > 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sn197412 > Sent: quarta-feira, 19 de Abril de 2006 4:45 > To: flexcoders@yahoogroups.com > Subject: [flexcoders] [Flex 2.0] How can get CFC information that is accessed via RemoteObject?? > > Hi. > > I have a question about ColdFusion with RemoteObject of Flex 2.0. > When I dump CGI information that is accessed via RemoteObject, dumped information is "flex2gateway" information. > It's not CFC information. > > How can get CFC information that is accessed via RemoteObject?? > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com > Yahoo! Groups Links > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: ItemListRenderer Error
Have you tried to put a breakpoint in order to look in the debugger the structure of your result? You might also have a look with ServiceCapture (http://kevinlangdon.com/serviceCapture/). It's a "must have" tool for debugging RPC requests. The result is probably an array. So you might have to do : model.categoryList = new ArrayCollection(event.result); Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de sufibabaEnvoyé : mardi 18 avril 2006 19:52À : flexcoders@yahoogroups.comObjet : [flexcoders] Re: ItemListRenderer Error Matt,Thanks for looking into this. I am taking another approach to solve this problem. UsingBenoit's PhoneCairngorm configuration. It seems to be working, however,I am getting a compiler error message:Implicit coercion of a value with static type 'Object' to a possibly unrelated type'mx.collections.ArrayCollection'Note: the red line in thecode below is the problem. The trace output returns an array ofobjects of type categoryVO. BTW, I also tried to cast :model.categoryList = ArrayCollection(event.result) but the same error from the compiler.-package com.smartetailing.templateEditor.commands { import com.smartetailing.templateEditor.model.ApplicationModel; import com.smartetailing.templateEditor.service.CategoryDelegate; import com.smartetailing.templateEditor.controller.CategoryListGetEvent; import com.smartetailing..templateEditor.view.libraryTemplates.*; import mx.collections.ArrayCollection; import mx.controls.Alert; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; import org.nevis.cairngorm.business.Responder; import org.nevis.cairngorm.commands.Command; import org.nevis.cairngorm.control.CairngormEvent; import org.nevis.cairngorm.view.ViewLocator; import flash.util.trace; public class getCategoryListCommand implements Command, Responder { private static var model:ApplicationModel = ApplicationModel.getInstance(); public function execute(cairngormEvent:CairngormEvent):void { trace("executeGetCategoryCommand = ") var event:CategoryListGetEvent = CategoryListGetEvent(cairngormEvent); var delegate:CategoryDelegate = new CategoryDelegate(this); delegate.getCategoryList(event.userId); model.applicationState = Properties.STATE_LOADING; } //- public function onResult(event:ResultEvent):void { trace("categories = " + event.result) model.categoryList = event.result; model.applicationState = Properties.STATE_DEFAULT; } //- public function onFault(event:FaultEvent):void { Alert.show(event.fault.description + " : " + event.fault.detail, "Errorin getCategoryListCommand"); } } } In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:>> The data property is typed as Object so the binding code isn't going to> know that it can safely read the data. Is your data object strongly> typed? Maybe you can cast so binding will know what to do.> > As for your GetIconFamily binding error, that sounds wrong. Can we see> the code for that one? Maybe it's a bug.> > Matt> > -Original Message-> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On> Behalf Of sufibaba> Sent: Friday, April 14, 2006 5:17 PM> To: flexcoders@yahoogroups.com> Subject: [flexcoders] ItemListRenderer Error> > Hello Flexors,> > I am getting a "binding" error while upgrading a working app from> Flex2Beta1 to Flex2Beta2. > > Below is the code that shows the TileList control with a custom> ItemListRenderer myThumnail.mxml> > - Error --> > warning: unable to bind to property 'URL' on class 'Object' (class is> not an IEventDispatcher)> > -> > Does anyone know what might be the cause.> > Cheers,> > Tim> > > > --- Calling.mxml > > xmlns:mx="http://www.adobe.com/2006/mxml" > > dataProvider="{parentApplication.services.SEadminSvc.GetMyTemplates.resu> lt}"> width="100%"> itemRenderer="myThumbnail"> columnWid
[flexcoders] Flex2 and Amazon SOAP Web services, bug?
Has anyone managed to port this example to Flex 2? http://jeff.mxdj.com/using_amazons_itemsearch_webservice_from_flex.htm Here is my Flex 2 version with REST and SOAP requests : http://www.adobe.com/2006/mxml"; height="600" width="800"> http://webservices.amazon.com/onca/xml?Service=AWSECommerceService"; useProxy="false" /> http://webservices.amazon.com/AWSECommerceService/AWSECommerceService. wsdl" result="showSOAPResult(event)" showBusyCursor="true" /> The REST search version works well. The SOAP version doesn't... When analyzing the SOAP parameters in the HTTP request with ServiceCapture, it does not send any "Request" parameter (only "SubscriptionId"). When I comment the line "search.Request = itemSearchRequest;", it correctly sends a "Request" parameter (with a null value). It looks like there is a conflict somewhere with the "Request" parameter? Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Cairngorm Phone Selector in F2B2
Since this is a constant, you don't need to make it bindable. Just rename "var" into "const", it will remove the warning: public static const STATE_LOADING:String = "loading"; Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Tim Hoff Envoyé : dimanche 16 avril 2006 06:46 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: Cairngorm Phone Selector in F2B2 Try making the constant bindable: [Bindable] public static var STATE_LOADING:String = ""; - Tim Hoff --- In flexcoders@yahoogroups.com, "Rick Schmitty" <[EMAIL PROTECTED]> wrote: > > Thanks for your help with the changes! That did it as well Alex > > Benoit, I got a 404 when trying to grab > http://www.benorama.com/flex/samples/PhonesCairngorm2.zip > > Also, now it says "Data binding will not be able to detect assignments > to "STATE_LOADING"." in reference to this > > > > > > > > > > > > On 4/15/06, Alex Uhlmann <[EMAIL PROTECTED]> wrote: > > Hi Rick > > > > Do you think the error is happening on > > > > >> > phone="{phoneList.selectedItem}" > > > width="100%" /> > > > > ? > > > > Try uncommenting this to verify. How is phone typed in PhoneDetails? If > > typed as PhoneVO, you'd need to cast selectedItem, which is typed as > > Object to PhoneVO like: > > > > >> > phone="{PhoneVO( phoneList.selectedItem )}" > > > width="100%" /> > > > > > > Best, > > Alex > > > > Alex Uhlmann > > Consultant (Rich Internet Applications) Adobe Consulting Westpoint, > > 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK > > p: +44 (0) 131 338 6969 > > m: +44 (0) 7917 428 951 > > [EMAIL PROTECTED] > > > > > > -Original Message- > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Rick Schmitty > > Sent: 15 April 2006 00:52 > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Cairngorm Phone Selector in F2B2 > > > > Hello I'm trying to get the phone selector running on cairngorm 2 and am > > having some problems > > > > After chaning references to http://www.adobe.com/2006/mxml and changing > > ApplicationView.mxml setPropety from > value="false" /> to > value="false" /> I also changed PhoneVO.as to implement ValueObject > > > > I now get: > > > > "Implicit coercion of a value with static type 'Object' to a possibly > > unrelated type 'com.mycompany.phones.model:PhoneVO'" > > > > > > Here is the ApplicationView.mxml > > > > > xmlns:mx="http://www.adobe.com/2006/mxml"; > > xmlns:view="com.mycompany.phones.view.*" > > currentState="{model.applicationState}" > > height="400" > > layout="horizontal" > > title="Nokia Phone Selector" > > width="700"> > > > > > > > > > > > > > dataProvider="{model.phones}" > > height="100%" > > labelField="name" > > width="150" /> > > > > > phone="{phoneList.selectedItem}" > > width="100%" /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > And here is the PhoneVO: > > > > package com.mycompany.phones.model { > > > > import org.nevis.cairngorm.vo.ValueObject; > > > > [Bindable] > > [RemoteClass(alias="com.mycompany.phones.model.PhoneVO")] > > > > public class PhoneVO implements ValueObject { > > > > public var name:String; > > public var description:String; > > public var price:Number; > > public var image:String; > > public var series:String; > > p
RE: [flexcoders] Cairngorm Phone Selector in F2B2
Oups... Bad file name on the server. Corrected: http://www.benorama.com/flex/samples/PhonesCairngorm2.zip Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Rick Schmitty Envoyé : samedi 15 avril 2006 21:34 À : flexcoders@yahoogroups.com Objet : Re: [flexcoders] Cairngorm Phone Selector in F2B2 Thanks for your help with the changes! That did it as well Alex Benoit, I got a 404 when trying to grab http://www.benorama.com/flex/samples/PhonesCairngorm2.zip Also, now it says "Data binding will not be able to detect assignments to "STATE_LOADING"." in reference to this On 4/15/06, Alex Uhlmann <[EMAIL PROTECTED]> wrote: > Hi Rick > > Do you think the error is happening on > > >> phone="{phoneList.selectedItem}" > > width="100%" /> > > ? > > Try uncommenting this to verify. How is phone typed in PhoneDetails? > If typed as PhoneVO, you'd need to cast selectedItem, which is typed > as Object to PhoneVO like: > > >> phone="{PhoneVO( phoneList.selectedItem )}" > > width="100%" /> > > > Best, > Alex > > Alex Uhlmann > Consultant (Rich Internet Applications) Adobe Consulting Westpoint, 4 > Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK > p: +44 (0) 131 338 6969 > m: +44 (0) 7917 428 951 > [EMAIL PROTECTED] > > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > On Behalf Of Rick Schmitty > Sent: 15 April 2006 00:52 > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Cairngorm Phone Selector in F2B2 > > Hello I'm trying to get the phone selector running on cairngorm 2 and > am having some problems > > After chaning references to http://www.adobe.com/2006/mxml and > changing ApplicationView.mxml setPropety from value="false" /> to value="false" /> I also changed PhoneVO.as to implement ValueObject > > I now get: > > "Implicit coercion of a value with static type 'Object' to a possibly > unrelated type 'com.mycompany.phones.model:PhoneVO'" > > > Here is the ApplicationView.mxml > > xmlns:mx="http://www.adobe.com/2006/mxml"; > xmlns:view="com.mycompany.phones.view.*" > currentState="{model.applicationState}" > height="400" > layout="horizontal" > title="Nokia Phone Selector" > width="700"> > > > > > > dataProvider="{model.phones}" > height="100%" > labelField="name" > width="150" /> > > phone="{phoneList.selectedItem}" > width="100%" /> > > > > > > /> > > > > > > > > > And here is the PhoneVO: > > package com.mycompany.phones.model { > > import org.nevis.cairngorm.vo.ValueObject; > > [Bindable] > [RemoteClass(alias="com.mycompany.phones.model.PhoneVO")] > > public class PhoneVO implements ValueObject { > > public var name:String; > public var description:String; > public var price:Number; > public var image:String; > public var series:String; > public var triband:Boolean; > public var camera:Boolean; > public var video:Boolean; > public var highlight1:String; > public var highlight2:String; > > public function PhoneVO() { > name = ""; > description = ""; > price = 0; > image = ""; > series = ""; > triband = false; > camera = false; > video = false; > highlight1 = ""; > highlight2 = ""; > } > > } > } > > And here is PhoneVO.cfc > > > > name="description" type="string" de
RE: [flexcoders] Cairngorm Phone Selector in F2B2
Indeed, you need to make a few changes to make it work in beta2 : - http://www.macromedia.com/2005/mxml, changed to : http://www.adobe.com/2006/mxml, - phone="{phoneList.selectedItem}", changed to : phone="{phoneList.selectedItem as PhoneVO}", - , changed to : , - public class PhoneVO implements ValueObject, changed to : public dynamic class PhoneVO implements ValueObject. (or you can implement IUID interface as explained here http://www.macmartine.com/blog/2006/03/binding_custom_objects_to_tile.html) I've uploaded an updated version of this Cairngorm2/ColdFusion sample app: http://www.benorama.com/flex/samples/PhonesCairngorm2.zip Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Rick Schmitty Envoyé : samedi 15 avril 2006 01:52 À : flexcoders@yahoogroups.com Objet : [flexcoders] Cairngorm Phone Selector in F2B2 Hello I'm trying to get the phone selector running on cairngorm 2 and am having some problems After chaning references to http://www.adobe.com/2006/mxml and changing ApplicationView.mxml setPropety from to I also changed PhoneVO.as to implement ValueObject I now get: "Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'com.mycompany.phones.model:PhoneVO'" Here is the ApplicationView.mxml http://www.adobe.com/2006/mxml"; xmlns:view="com.mycompany.phones.view.*" currentState="{model.applicationState}" height="400" layout="horizontal" title="Nokia Phone Selector" width="700"> And here is the PhoneVO: package com.mycompany.phones.model { import org.nevis.cairngorm.vo.ValueObject; [Bindable] [RemoteClass(alias="com.mycompany.phones.model.PhoneVO")] public class PhoneVO implements ValueObject { public var name:String; public var description:String; public var price:Number; public var image:String; public var series:String; public var triband:Boolean; public var camera:Boolean; public var video:Boolean; public var highlight1:String; public var highlight2:String; public function PhoneVO() { name = ""; description = ""; price = 0; image = ""; series = ""; triband = false; camera = false; video = false; highlight1 = ""; highlight2 = ""; } } } And here is PhoneVO.cfc this.name = ""; this.description = ""; this.price = 0; this.image = ""; this.series = ""; this.triband = "false"; this.camera = "false"; this.video = "false"; this.highlight1 = ""; this.highlight2 = ""; this.name = data.name; this.description = data.description; this.price = data.price; this.image = data.image; this.series = data.series; this.triband = data.triband; this.camera = data.camera; this.video = data.video; this.highlight1 = data.highlight1; this.highlight2 = data.highlight2; I can't tell what other object I'm not being strict enough on, anything obvious missing? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Beta2 - Date manipulation functions?
The functions code works great in AS3. Only the class definition must be changed. It works great! Ben -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Ryan Pieszak Envoyé : mercredi 12 avril 2006 20:12 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: Beta2 - Date manipulation functions? Hey Benoit, Thanks for the link! Have you implemented the code yet? It says on the page that it's AS2, and I think Flex 2.0 is based on AS3. Not sure if it's an issue at all, thought I'd ask. I'll try to implement it now. Thanks again, Ryan --- In flexcoders@yahoogroups.com, "Benoit Hediard" <[EMAIL PROTECTED]> wrote: > > It's funny, I was looking for such functions today... > Here is an AS implementation equivalent to the ColdFusion dateAdd and > dateDiff functions! > http://jeff.mxdj.com/dateadd_for_actionscript.htm > > Benoit Hediard > > -Message d'origine- > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la > part de Ryan Pieszak > Envoyé : mercredi 12 avril 2006 19:58 > À : flexcoders@yahoogroups.com > Objet : [flexcoders] Beta2 - Date manipulation functions? > > Hey all, > > Are there any date manipulation functions in Flex / ActionScript? I need a > DateDiff function that will find the difference between two dates in hours, > and also a DateAdd function that will add hours to a date. > > I can't find anything on this, do such beasts exist? > > Thanks. > Ryan > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com > Yahoo! Groups Links > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Beta2 - Date manipulation functions?
It's funny, I was looking for such functions today... Here is an AS implementation equivalent to the ColdFusion dateAdd and dateDiff functions! http://jeff.mxdj.com/dateadd_for_actionscript.htm Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Ryan Pieszak Envoyé : mercredi 12 avril 2006 19:58 À : flexcoders@yahoogroups.com Objet : [flexcoders] Beta2 - Date manipulation functions? Hey all, Are there any date manipulation functions in Flex / ActionScript? I need a DateDiff function that will find the difference between two dates in hours, and also a DateAdd function that will add hours to a date. I can't find anything on this, do such beasts exist? Thanks. Ryan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex2 : how to stop media (down)loading?
Indeed, workaround : videoDisplay.url = ""; videoDisplay.load(); Thanks Stefan. Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Stefan RichterEnvoyé : mardi 4 avril 2006 13:48À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] Flex2 : how to stop media (down)loading? Hi Benoit, try loading a non-existent flv: videoDisplay.load("this_flv_is_nonsense.flv"); Stefan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benoit HediardSent: 04 April 2006 12:31To: flexcoders@yahoogroups.comSubject: [flexcoders] Flex2 : how to stop media (down)loading? My objective is to get the videoHeight and the videoWidth of a video, just after the upload of a .flv file. In oder to do that, I'm using a videoDisplay control to start loading the flv until I get the width and the height of the video. It works fine. The problem : how to stop the loading process once I got the required informations? There is only a load() method... I've tried to set videoDisplay.url to null or "", and to re-execute load() to cancel the previous one, but it generates an error... I suppose this question is valid for all the "loader" components. Any idea? Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2 : how to stop media (down)loading?
My objective is to get the videoHeight and the videoWidth of a video, just after the upload of a .flv file. In oder to do that, I'm using a videoDisplay control to start loading the flv until I get the width and the height of the video. It works fine. The problem : how to stop the loading process once I got the required informations? There is only a load() method... I've tried to set videoDisplay.url to null or "", and to re-execute load() to cancel the previous one, but it generates an error... I suppose this question is valid for all the "loader" components. Any idea? Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Beta 2 CF connectivity problems
What do you give as the root folder and the root url? It should be the root of your coldfusion instance. Ex. : C:\CFusionMX7\wwwroot and http://localhost:8500 (if you're using the integrated http server) FB2 will then create a folder "flex" in WEB-INF and create the appropriate flex-enteprise-services.xml. Are you using the integrated jrun http server? I found that when using Apache as the http server instead of the integrated jrun http server, there is issue (compiled files are not created under the Apache wwwroot but the JRun root folder...). So you have to create a Flex project without Flex server technology and configure the CF Adapter manually : - by creating and configuring the flex-enterprise-services.xml, - by adding the compiler arg "--services=D:\CFusionMX7\wwwroot\WEB-INF\flex\flex-enterprise-services.xml" (put the correct path to flex-enterprise-services.xml). Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Doug HughesEnvoyé : lundi 27 mars 2006 05:11À : flexcoders@yahoogroups.comObjet : [Norton AntiSpam] [flexcoders] Beta 2 CF connectivity problems Hello, Im just getting started with flex 2 and Ive run into a problem I cant get past. Im trying to create a project that will let me use AMF3. I dont want to use web services and Im not doing anything related to the enterprise services. Ive installed the mystic update over CF 7.0.1 running under JRun. Theres another instance of CF under JRun but its not running. Im trying to create project using FlexBuilder 2. (I have the standalone version of beta 2 installed.) To create the project I click File > New > Flex Project. It then asks me what Flex server technology the project will use. I select ColdFusion Flash Remoting Service (this means AMF3, right?) and click next. The next page asks me for two things: Root folder and Root URL. Ive provided the path to the flex folder under the ColdFusion instance in JRun and the path to the flex folder via the URL. (The JRun http server port is 8300.) No matter what I provide the finish button is always grayed out. I suspect that if I click Validate Location that it should validate this information and allow me to finish but every time I click that I get this error: Server root is invalid. Could not locate flex-config.xml or flex-enterprise-services.xml. For the life of me Ive got no freakin clue how to get past this. Can anyone help me figure out how to get past this? Do I need to? Can I create a standard flex project and still use AMF3? Can I use this AMF stuff outside of the JRun urls? IE via http://www.mysite.com/ instead of http://localhost:8700/flex/? Thanks for your help! Doug Hughes [EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Cairngorm Model binding problem
You also need to put [Bindable] in your ModelLocator class. [Bindable] public var ICV: ICollectionView; Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Jonathan MirandaEnvoyé : vendredi 24 mars 2006 01:30À : flexcoders@yahoogroups.comObjet : [flexcoders] Cairngorm Model binding problem Alright, Im attempting to move my little dashboard to Cairngorm and its going alright but now Ive got a real basic problem and its stumping me I know its something little but Im stuck. In my ModelLocator instance I have an ICollectionView. Service gets called by event/delegates and the command responder is setting the model.ICV correctly .but my chart which uses dataProvider={model.ICV} isnt updating. Now, since I made in my chart component:[Bindable] public var model : ModelLocator = ModelLocator.getInstance();And in my ModelLocator file:public var ICV: ICollectionView;Im assuming the problem is somewhere in the binding do I need to broadcast an update event to the Chart .that doesnt sound right though, anytime an ICV changes I shouldnt have to do that right? Bah, having a headache isnt helping .anyone got any ideas where I went wrong? _ Jonathan Miranda Flexible Master of the Web "Try not to become a man of success, but a man of value." - Albert Einstein HealthGrades: Guiding America to Better Healthcare NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868 [EMAIL PROTECTED] _ The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee. If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Where is the IncludeLayout
This property is "includeInLayout" (one of the best addition in beta1!). Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de mvbaffa Envoyé : jeudi 23 mars 2006 16:06 À : flexcoders@yahoogroups.com Objet : [flexcoders] Where is the IncludeLayout Hi all, Flex 2 beta 1 had a property, includeLayout, that relased the screen space of invisible components. I could not find it in Beta 2. Does anyone knows what is the new name os includeLayout. Thanks in advance -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] addColumn removed from Beat 2
To handle datagrid columns in beta2, you need to directly access and manipulate the "columns" array property. Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de ZhaoXingdong Envoyé : jeudi 23 mars 2006 08:22 À : flexcoders@yahoogroups.com Objet : [flexcoders] addColumn removed from Beat 2 hi guys: Could anyone tell me how to add columns to datagrid in actionscript? I did it by using addColumn in Beta 1 but it's removed from Beta 2. cheers, xd -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex2 beta2 bug - Focus does not work on lists
Indeed, making all my VO classes dynamic solves the problem. Not very "clean", but excellent workaround ;). Thanks. Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de jeremy luEnvoyé : jeudi 23 mars 2006 05:51À : flexcoders@yahoogroups.comObjet : Re: [flexcoders] Flex2 beta2 bug - Focus does not work on lists try make your VO class dynamic...flex framework will add-in another UID. On 3/23/06, Benoit Hediard <[EMAIL PROTECTED] > wrote: But "uid" is a property that we already use on all our value objects. I don't want flex to overwrite this property... Is there a workaround? Benoit Hediard De : flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] De la part de Mac MartineEnvoyé : mercredi 22 mars 2006 19:32À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] Flex2 beta2 bug - Focus does not work on lists You need to implement IUID, because otherwise the renderers do not have unique id's. I have an example here: http://www.macmartine.com/blog/2006/03/binding_custom_objects_to_tile.html From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Alisdair MillsSent: Wednesday, March 22, 2006 3:05 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex2 beta2 bug - Focus does not work on lists thanks Benoit for tracking that bug down. I noticed the same thing happening with lists yesterday when moving an app over to beta 2. Was going to spend some time this afternoon looking into but you have saved me both the time and frustration :) cheers, Al On 22 Mar 2006, at 10:51, Benoit Hediard wrote: There is a pretty annoying bug in the new Beta2... ;)The mouse over and focus does not work anymore on lists, when using classinstances as items.The focus is always on the last visible list row.To reproduce the problem.-ItemVO.as-package {public class ItemVO { public var label:String; public function ItemVO() { label = ""; }}}-ListFocusBug.mxml- http://www.adobe.com/2006/mxml" xmlns="*"layout="vertical"> click="loadWithClassInstances()" /> dataProvider="{collection}" rowCount="5" width="180" />When loaded with objects, it works.When loaded with class instances, it does not work.I haven't found any workaround right now...Benoit Hediard--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group " flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex2 beta2 bug - Focus does not work on lists
But "uid" is a property that we already use on all our value objects. I don't want flex to overwrite this property... Is there a workaround? Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Mac MartineEnvoyé : mercredi 22 mars 2006 19:32À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] Flex2 beta2 bug - Focus does not work on lists You need to implement IUID, because otherwise the renderers do not have unique ids. I have an example here: http://www.macmartine.com/blog/2006/03/binding_custom_objects_to_tile.html From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alisdair MillsSent: Wednesday, March 22, 2006 3:05 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex2 beta2 bug - Focus does not work on lists thanks Benoit for tracking that bug down. I noticed the same thing happening with lists yesterday when moving an app over to beta 2. Was going to spend some time this afternoon looking into but you have saved me both the time and frustration :) cheers, Al On 22 Mar 2006, at 10:51, Benoit Hediard wrote: There is a pretty annoying bug in the new Beta2... ;)The mouse over and focus does not work anymore on lists, when using classinstances as items.The focus is always on the last visible list row.To reproduce the problem.-ItemVO.as-package {public class ItemVO { public var label:String; public function ItemVO() { label = ""; }}}-ListFocusBug.mxml-http://www.adobe.com/2006/mxml" xmlns="*"layout="vertical"> click="loadWithClassInstances()" /> dataProvider="{collection}" rowCount="5" width="180" />When loaded with objects, it works.When loaded with class instances, it does not work.I haven't found any workaround right now...Benoit Hediard--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Where to go to get flex builder 2 assistance?
I think that you should put : - root folder = c:\jrun4\servers\cfusion - root url = "">http://localhost:8300/cfusion (if you're using a cfusion context root) Flex Builder should automatically create a flex folder in your WEB-INF with the correctly configured flex-enterprise-services.xml. But you might check that the server port is correct (8300). Benoit Hediard PS: flex2gateway is a servlet mapping defined when you apply the mystic updater, used for Flex/ColdFusion remoting. You should not change it. De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Doug HughesEnvoyé : mercredi 22 mars 2006 16:09À : flexcoders@yahoogroups.comObjet : [Norton AntiSpam] [flexcoders] Where to go to get flex builder 2 assistance? Hi all, Does this lists topic encompass questions related to the Flex Builder 2 and CF/Flex connectivity betas? In particular, Im trying to get started with all of this. The first thing I tried to do was to create a new Flex project in Flex Builder using ColdFusion Flash Remoting Service. I presume this is the CF/Flex connectivity stuff. Ive been unable so far to find any information to confirm or refute this. From there FB asks for the root folder of the Flex Data Services server, which it seems to indicate is under my JRun folder somewhere. Because Im working with CF I looked under the jrun4\servers\cfusion\... folders and found a flex folder. I set the root folder to that path. I then checked the port my CF instance is running on (8300) and set the Root URL to http://localhost:8300/web-inf/flex/ (and a range of others). I picked this url because its the most correct given the servers port. Amusingly, I cant access that url via the web browser so Im sure thats got something to do with it. I edited the flex-enterprise-services.xml file in that flex folder to set the port to 8300. Once thing I noticed was that the default url was http://localhost:8700{context.root}/flex2gateway/. I dont have a folder flex2gateway anywhere on my system. I tried changing that to /flex but that didnt work either. Anyhow, the error Im getting when I click Validate Location is this: Server Root is invalid. Could not locate flex-config.xml or flex-enterprise-services.xml I dont know which root is the problem, Root folder or Root URL. Furthermore, the finish button is grayed out so I assume that I need to click Validation Location before I can move forward. The folder I specified in the Root Folder field *does* have a flex-enterprise-services.xml file, but no flex-config.xml. So, I really dont know where to go to get help on this (Ive dug around labs.macromedia.com to no avail) so Im asking here to get some guidance. Thanks, Doug Hughes [EMAIL PROTECTED] -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex2/ColdFusion connectivity : session scope problem
FYI, it looks like this bug is corrected in beta2. Cool! Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Benoit HediardEnvoyé : jeudi 2 mars 2006 12:03À : flexcoders@yahoogroups.comObjet : RE: [flexcoders] Flex2/ColdFusion connectivity : session scope problem Any news on this issue from the Mystic ColdFusion Updater team? This is a huge bug for us, since we'll need this to implement server-side security for each session on our project... Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Benoit HediardEnvoyé : mercredi 22 février 2006 13:15À : flexcoders@yahoogroups.comObjet : [flexcoders] Flex2/ColdFusion connectivity : session scope problem I'm currently trying to use the ColdFusion session scope in my CFC-based services. I've added some logging to check the #session.sessionId# and the onSessionStart/onSessionEnd event in my Application.cfc. Problem : - when using ColdFusion default sessions, a new session is started at each of my remoteObject calls, - when using J2EE sessions, it generates a null exception at each of my remoteObject calls. Is it a bug or is there some configuration parameters to use the ColdFusion session scope? Thanks. Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2 beta2 bug - Focus does not work on lists
There is a pretty annoying bug in the new Beta2... ;) The mouse over and focus does not work anymore on lists, when using class instances as items. The focus is always on the last visible list row. To reproduce the problem. - ItemVO.as - package { public class ItemVO { public var label:String; public function ItemVO() { label = ""; } } } - ListFocusBug.mxml - http://www.adobe.com/2006/mxml"; xmlns="*" layout="vertical"> When loaded with objects, it works. When loaded with class instances, it does not work. I haven't found any workaround right now... Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] framework_rb.swc error...
Yes, I've also faced this problem (but for the fr_FR locale). Apparently, the only resource bundle currently available in the Beta2 is en_US. So for the moment, you need to copy the folder 'C:\Arquivos de programas\Adobe\Flex Builder 2 Beta 2\Flex Framework 2\frameworks\locale\us_US' and name it 'pt_br'. Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Bruno MartinsEnvoyé : mardi 21 mars 2006 05:53À : flexcoders@yahoogroups.comObjet : [flexcoders] framework_rb.swc error... In Beta 2 I have this problem: Severity Description Resource In Folder Location Creation Time Id2 unable to open 'C:\Arquivos de programas\Adobe\Flex Builder 2 Beta 2\Flex Framework 2\frameworks\locale\pt_br\framework_rb.swc' merc 21 de Março de 2006 01:26:47 2 How to solve it? Tks... -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] ColdFusion sessions?
Yes, you're not the only facing this issue : http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=592&; threadid=1121944&forumid=72 I hope this is a known problem at Adobe that will be solved in Beta2... ;) Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de a1 Envoyé : dimanche 19 mars 2006 04:44 À : flexcoders@yahoogroups.com Objet : [flexcoders] ColdFusion sessions? Anyone else having problems getting ColdFusion sessions or cflogin to work with Flex? As soon as I turn on sessionmanagement Flex freaks out. Is something wrong with my config... or is this a known problem? Thanks -rd -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex2 : MP3 Audio player, play problem...
Thanks for the tip. I made some research to find out the supported bit rates of the Flash Player. I did not find anything on the adobe/macromedia site, but I found this: http://www.draftlight.net/dnex/mp3player/mp3format.php It looks like variable bit rate (VBR) are not well supported but constant bit rate are ok. We have some MP3s encoded at 137kbps and at 320Kbps working with Flex2/Flash Player 8.5. So apparently, there is no bit rate limitation. Any official word on this from the Adobe team? I suppose that those problems are related to the alpha status of the player 8.5. I will check with beta2 when it is released. Benoit Hediard PS: on the other side, FLV playback works great! _ De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Philippe Maegerman Envoyé : mardi 14 mars 2006 13:04 À : flexcoders@yahoogroups.com Objet : RE : [flexcoders] Flex2 : MP3 Audio player, play problem... I remember reading in the flash 7 doc that the flash player can't read mp3s encoded at higher rate than 140K. Philippe _ De: flexcoders@yahoogroups.com de la part de Benoit Hediard Date: lun. 3/13/2006 16:12 À: flexcoders@yahoogroups.com Objet : RE: [flexcoders] Flex2 : MP3 Audio player, play problem... No, I've not tried to do the AS example without Flex involved. It looks like the problem is not coming from flex but from the MP3 files or a buggy MP3 support in the 8.5 player. With some MP3 files, it works, with others it doesn't... But the MP3 files have been encoded directly from a CD with iTunes, so I don't understand. I've put online a (pretty buggy and unfinished) Flex2 audio player here (with view source option) : http://www.benorama.com/music/AudioPlayer.html You can try different uploaded MP3s : - AdamF.mp3 (encoded with iTunes), the song plays but the sound is cut all the time, ID3 are not detected, when the load is complete, it stops the song (channel soundComplete event mixed with sound load complete event?)... - Unknown.mp3, this one works (no ID3 on this one), - Herbaliser.mp3, this one does not play at all (immediate channel soundComplete event), ID3 are loaded at the end of the load, - CYHSY.mp3 (encoded with iTunes), this one does not play at all (immediate channel soundComplete event), ID3 are not detected. I can play all those songs with iTunes or Window Media Player without any problem. Other bugs : - the pause does not work, it looks like sound.play(position) does not take the "position" argument into account, - when using the audio player inside another app, the loading/play progress does not work at all. The load progress bytesTotal does not have a fix value, it is growing all the time... Has anyone successfully built a MP3 audio player with Flex2 beta1? This week, next step: a FLV video player... ;) Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Matt Chotin Envoyé : dimanche 12 mars 2006 22:17 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] Flex2 : MP3 Audio player, play problem... Have you tried doing the AS example without Flex involved? Based on everything I can see I think it looks OK. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benoit Hediard Sent: Friday, March 10, 2006 11:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 : MP3 Audio player, play problem... I'm currently trying to build a very basic MP3 audio player with Flex2, based on the SoundChannel code example. The MP3 file is successfully loaded, ID3 tags are available, length is > 0. But when I press play I've got immediatly the soundComplete event. What's wrong here? I've tried with several MP3, same problem... http://www.macromedia.com/2005/mxml"; creationComplete="onCreationComplete()"> Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site +design+development&w2=Computer+software+development&w3=Software+design+and+ development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1 66&.sig=L-4QTvxB_quFDtMyhrQaHQ> site design development Computer <http://groups.yahoo.com/gads?t=ms&k=Com
RE: [flexcoders] Flex2 : MP3 Audio player, play problem...
No, I've not tried to do the AS example without Flex involved. It looks like the problem is not coming from flex but from the MP3 files or a buggy MP3 support in the 8.5 player. With some MP3 files, it works, with others it doesn't... But the MP3 files have been encoded directly from a CD with iTunes, so I don't understand. I've put online a (pretty buggy and unfinished) Flex2 audio player here (with view source option) : http://www.benorama.com/music/AudioPlayer.html You can try different uploaded MP3s : - AdamF.mp3 (encoded with iTunes), the song plays but the sound is cut all the time, ID3 are not detected, when the load is complete, it stops the song (channel soundComplete event mixed with sound load complete event?)... - Unknown.mp3, this one works (no ID3 on this one), - Herbaliser.mp3, this one does not play at all (immediate channel soundComplete event), ID3 are loaded at the end of the load, - CYHSY.mp3 (encoded with iTunes), this one does not play at all (immediate channel soundComplete event), ID3 are not detected. I can play all those songs with iTunes or Window Media Player without any problem. Other bugs : - the pause does not work, it looks like sound.play(position) does not take the "position" argument into account, - when using the audio player inside another app, the loading/play progress does not work at all. The load progress bytesTotal does not have a fix value, it is growing all the time... Has anyone successfully built a MP3 audio player with Flex2 beta1? This week, next step: a FLV video player... ;) Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Matt Chotin Envoyé : dimanche 12 mars 2006 22:17 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] Flex2 : MP3 Audio player, play problem... Have you tried doing the AS example without Flex involved? Based on everything I can see I think it looks OK. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benoit Hediard Sent: Friday, March 10, 2006 11:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 : MP3 Audio player, play problem... I'm currently trying to build a very basic MP3 audio player with Flex2, based on the SoundChannel code example. The MP3 file is successfully loaded, ID3 tags are available, length is > 0. But when I press play I've got immediatly the soundComplete event. What's wrong here? I've tried with several MP3, same problem... http://www.macromedia.com/2005/mxml"; creationComplete="onCreationComplete()"> Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flex2 : MP3 Audio player, play problem...
I'm currently trying to build a very basic MP3 audio player with Flex2, based on the SoundChannel code example. The MP3 file is successfully loaded, ID3 tags are available, length is > 0. But when I press play I've got immediatly the soundComplete event. What's wrong here? I've tried with several MP3, same problem... http://www.macromedia.com/2005/mxml"; creationComplete="onCreationComplete()"> Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flex2: RichTextEditor copy/paste bug and improvement requests
It is not possible to perform copy/paste of existing text in the RichTextEditor. To reproduce the problem: - enter text or copy/paste some text in the RichTextEditor, - select and try to copy/paste a portion of the entered text. While we are talking about the RichTextEditor component, there are big usability issues with the URL linking system. To add a link to text, you must : - select a portion of text, - enter a URL, - you must then use ENTER key to validate the change. Would it be possible to add a OK button nearby the URL input text? It is then very difficult to remove the URL linking, because it is not possible to select the text anymore (the link become active and a click open the URL in a new window). So you must use the arrow keys + shift key to select the text. Most of users won't be able to do that. Would it be possible to change the behaviour of a link : - when it is clicked, it become selected, - the link is displayed in the URL Input text with Remove and Update buttons (so you can modify or delete the link). It would be also nice if the links are visually marked (blue/underline). Another improvement request : - an HTML button, to be able to view and/or modify the generated HTML (kind of expert mode). What are your opinions and other suggestions to improve the RichTextEditor components? Thanks! Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2 bug with mx:Text, incorrect height with width="100%"
One of the most annoying layout problem I'm currently facing on Flex2... ;) When using width="100%" the height of the Text component is never correct. It looks like the height always equals the height of the text before the resize to the new width. Ex. : http://www.macromedia.com/2005/mxml";> As a workaround, I usually create a binding constraint between the Text width and a parent document width. But it generates problems when the browser is resize and/or scrollbars appear. So : 1. Is it a bug? 2. What is the best workaround? Thanks. Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Flex/Coldfusion connectivity test app
To get a typed object on the Flex side, there is nothing specific to do, you only need to correctly define : - in the CFC VO , all the , Ex. : - in the service CFC , the correct returnType, Ex. : returntype="com.mycompany.myapp.model.TestVO" - in the AS3 VO, the alias metadata, Ex. : [RemoteClass(alias="com.mycompany.myapp.model.TestVO")] - in the AS3 VO, all the public var properties Ex. : public var someString:String; You might also check 2 things, to see what's going on : - on the ColdFusion server side, check the CF Adapter logs in CFusionMX7/runtime/logs/coldfusion-out.log, - on the Flex client side, install ServiceCapture, http://kevinlangdon.com/serviceCapture/, you will see if the returned objects are correctly typed. Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de anopres Envoyé : jeudi 2 mars 2006 05:42 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: Flex/Coldfusion connectivity test app How do you use the typed object that cf returns? All I seemt to get is a generic object on the Flex side. Do you have to run through a bunch of set functions to move the properties returned into a pre-existing .as typed object? Sorry for the noob question, but this one has been bugging me for a while. --- In flexcoders@yahoogroups.com, "Benoit Hediard" <[EMAIL PROTECTED]> wrote: > > Since some people seems to have issues to use the Flex/ColdFusion > connectivity, here is a sample app to test your connectivity. > > > ColdFusion / Server side > > > Save the following value object CFC in > {wwwroot}/com/mycompany/myapp/model/TestVO.cfc > > > name="someNumber" type="Numeric" /> > > > > this.someString = "test"; > this.someNumber = 0; > > > > > > > Save the following remote service CFC in > {wwwroot}/com/mycompany/myapp/service/TestService.cfc > > > > > var data = arrayNew(1); > arrayAppend(data, createObject("component", > "com.mycompany.myapp.model.TestVO").init()); > arrayAppend(data, createObject("component", > "com.mycompany.myapp.model.TestVO").init()); > > > > > > > var data = structNew(); > data.firstData = createObject("component", > "com.mycompany.myapp.model.TestVO").init(); > data.secondData = createObject("component", > "com.mycompany.myapp.model.TestVO").init(); > > > > > returntype="com.mycompany.myapp.model.TestVO"> > > > > > > > -- > Flex / Client side > -- > > Save the following value object in {some test > project}/com/mycompany/myapp/model/TestVO.as > package com.mycompany.myapp.model { > > [Bindable] > [RemoteClass(alias="com.mycompany.myapp.model.TestVO")] > > public class TestVO { > > public var someString:String; > public var someNumber:int; > > public function TestVO() { > someString = ""; > someNumber = 0; > } > > } > > } > > Save the following test application in Flex Builder 2 {some test > project}/TestConnectivity.mxml > http://www.macromedia.com/2005/mxml"; xmlns="*"> > > destination="ColdFusion" > result="onResult(event)" > source="com.mycompany.myapp.service.TestService" /> > > > > > > > > > > >click="testService.receiveAndReturnVO(new TestVO())" /> > > > > Compile and run TestConnectivity.mxml (do not forget to set the > compile argument to take into account your flex/coldfusion service > definition, > "flex-enterprise-services.xml") > > It should work, if your ColdFusion server is correctly configured with the > Flex/ColdFusion connectivity add-on. > You can also check the adapter logs in > {CFusionMX7}/runtime/logs/coldfusion-out.log, very nice to see if the typed > objects are correctly received or sent by the ColdFusion adapter. > > > BUGS > > > We have faced several bugs with the Flex/ColdFusion connectivity. > > 1. In the above sample app, getStruct() display (null) object in the Flex > app, but obje
RE: [flexcoders] Flex2/ColdFusion connectivity : session scope problem
Any news on this issue from the Mystic ColdFusion Updater team? This is a huge bug for us, since we'll need this to implement server-side security for each session on our project... Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Benoit HediardEnvoyé : mercredi 22 février 2006 13:15À : flexcoders@yahoogroups.comObjet : [flexcoders] Flex2/ColdFusion connectivity : session scope problem I'm currently trying to use the ColdFusion session scope in my CFC-based services. I've added some logging to check the #session.sessionId# and the onSessionStart/onSessionEnd event in my Application.cfc. Problem : - when using ColdFusion default sessions, a new session is started at each of my remoteObject calls, - when using J2EE sessions, it generates a null exception at each of my remoteObject calls. Is it a bug or is there some configuration parameters to use the ColdFusion session scope? Thanks. Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2: DateField formatFunction bug
I've encountered this annoying bug today. When using the formatFunction attribute of DateField, when the component looses its focus, it erases the date text field. To reproduce the problem, simply execute the following code from LiveDocs, select a date and move the focus to the other text input: There is a simple workaround, but it does not work all the time: Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Coldfusion cfc's and Flex Remote Objects
First thing to check is to see if you can call your cfcs with a regular http call : http://localhost/flex/remoting/samples/SomeService.cfc To start with Flex/CF connectivity, do not use named remote objects. Simply use the default ColdFusion destination (defined when installing the updater) + source attribute. Ex.: Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de oiland_barry Envoyé : lundi 27 février 2006 16:11 À : flexcoders@yahoogroups.com Objet : [flexcoders] Coldfusion cfc's and Flex Remote Objects Hi, i have successfully got this working (almost!) at long last. I am running both my cf and flex as iintegrated JRun servers on my server machine (port 8700 and 8500 respectively) and i am developing and accessing the mxml files from my laptop. I can get the echo cfc to work ok, and i also placed another cfc in the same directory (plants.cfc) which seems to let me get flex and cf communicating. My problem is that when i try to use another cfc in another directory (not \flex\remoting\samples\) flex doesnt seem to be able to communicate at all, it just sits there with the busy symbol. Im not sure whats going on, but i am sure that i have added the appropriate code in the right places and all the configuration files (flex's flex-config.xml, cf's gateway-config.xml) seem to be in order! Its just not working at all and i cant continue developing until i can reliably have access to the cfc's! Also, the named remote objects are giving em a bit of trouble... should i be pointing to the server name or localhost. When i use localhost, flex doesnt seem to be able to talk to the cfc's, but when i use the servers name (advent) it seems to work fine. Basically i cant get my flex to talk to my cfc's when they are stored in my main cfc directory. I have restarted both the cf and flex servers on many occasions and i have also restarted the whole machine on a few occasions just to be sure everything is initialised properly. I'll give it another restart now just to see. Please help, Barry -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] ServiceCapture, Firefox, & Flash Player 8.5
I'm successfully using ServiceCapture 1.2.8 with Firefox 1.5.0.1 and the latest Flash Player 8.5 (from Flex2 beta1). Have you added the "file:///C://Program%20Files/ServiceCapture/firefox.js" in your Firefox proxy connection parameter? Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de JesterXL Envoyé : dimanche 26 février 2006 22:51 À : Flexcoders Objet : [flexcoders] ServiceCapture, Firefox, & Flash Player 8.5 Anyone used ServiceCapture 1.2.8 with Firefox and Flash Player 8.5 beta? I'm getting nothing, but works just fine with Flash Player 7 in IE... ??? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex Builder Memory leak
Here is another error I had during a "freeze/memory leak" : "Couldn't read SWC D:\Workspace\SomeProject\style.css flex2.compiler.swc.SwcException: Error occurred while loading D:\Workspace\SomeProject\style.css: Unable to read files from SWC archive! Negative seek offset " It looks like there is also issues when using css. Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Jonathan MirandaEnvoyé : mercredi 22 février 2006 21:10À : flexcoders@yahoogroups.comObjet : [flexcoders] Flex Builder Memory leak Anyone else having the problem that if the FlexBuilder is open for extended amounts of time, that it gets slower and slower? Closing mxml components can take up to 3-4 seconds if I have the program open for an hour or more, and opening/closing projects gets longer and longer. Ironically, building the project doesnt change but the builder is definitely having issues after time copy and pasting big chunks can nearly freeze the program and it seems to only be affected if I have the builder open for over 2-3 hours. Ive got usually multiple projects open but only working in one should I be closing all projects Im not working on? I usually open another file in another project to see some code, then close that file and go back to working closing would make that a lot longer process (open project and wait for it to load, open file, read, close file, close project). Ive only got like 4-5 projects though, dont think thats the issue. _ Jonathan Miranda Flexible Master of the Web "In the game of chess, it's important to never let your opponent see your pieces." HealthGrades: Guiding America to Better Healthcare NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868 [EMAIL PROTECTED] _ The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee. If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex Builder Memory leak
I also have the same issue with Flex Builder 2 beta1 and never use the Design View. I usually have to restart at least once an hour... it is very unstable (when working on a pretty large project). It was not the case with the alpha1. When looking at the Ram, it is like a "yoyo" jumping from 100Mo to 650Mo in few seconds (my server has 1Go), when reaching 500/600, I usually restart Flex Builder. It occurs sometime during simple copy/paste, sometime after several compilations. Sometimes, there is "null exception error" in the dos windows and very often the following one : "Util:calcLineNumbers() - Didn't find any lines! ICFDocument::parseDocument() - Parse result is null! CodeFoldingSetter::foldTags fot a null from doc.getCFDocument(). CodeFoldingSetter::foldTags fot a null from doc.getCFDocument(). CodeFoldingSetter::foldTags fot a null from doc.getCFDocument(). CodeFoldingSetter::foldTags fot a null from doc.getCFDocument(). CodeFoldingSetter::foldTags fot a null from doc.getCFDocument()..." It might be a code folding issue. I hope the beta2 will solve the problem. Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Jonathan MirandaEnvoyé : mercredi 22 février 2006 21:10À : flexcoders@yahoogroups.comObjet : [flexcoders] Flex Builder Memory leak Anyone else having the problem that if the FlexBuilder is open for extended amounts of time, that it gets slower and slower? Closing mxml components can take up to 3-4 seconds if I have the program open for an hour or more, and opening/closing projects gets longer and longer. Ironically, building the project doesnt change but the builder is definitely having issues after time copy and pasting big chunks can nearly freeze the program and it seems to only be affected if I have the builder open for over 2-3 hours. Ive got usually multiple projects open but only working in one should I be closing all projects Im not working on? I usually open another file in another project to see some code, then close that file and go back to working closing would make that a lot longer process (open project and wait for it to load, open file, read, close file, close project). Ive only got like 4-5 projects though, dont think thats the issue. _ Jonathan Miranda Flexible Master of the Web "In the game of chess, it's important to never let your opponent see your pieces." HealthGrades: Guiding America to Better Healthcare NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868 [EMAIL PROTECTED] _ The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee. If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] ServiceCapture supports AMF3
I just see that latest ServiceCapture relase (1.2.8) now supports AMF3! It's a fantastic tool for debugging and to see what's going on in between your Flex/Flash client and your services. A must have when working with FES or Flex/ColdFusion Connectivity. Here it is: http://kevinlangdon.com/serviceCapture/ Cool! Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Flex2/ColdFusion connectivity : session scope problem
I'm currently trying to use the ColdFusion session scope in my CFC-based services. I've added some logging to check the #session.sessionId# and the onSessionStart/onSessionEnd event in my Application.cfc. Problem : - when using ColdFusion default sessions, a new session is started at each of my remoteObject calls, - when using J2EE sessions, it generates a null exception at each of my remoteObject calls. Is it a bug or is there some configuration parameters to use the ColdFusion session scope? Thanks. Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] First time flex2 app Phones Example Failing
I've never tried on a multi-home config, but everything looks fine. You change the port number in your endpoint URL in flex-enterprise-services.xml: Ex. : http://localhost:8500/flex2gateway/"; (you must restart your service) In your case, it should be (default value, I think): http://localhost{context.root}/flex2gateway/"; What you can do : check the cfusion-out.log in the Jrun logs. If the flex2gateway is correctly called, it will log all the messages in it with [Flex] flag. But I suspect that your flex2gateway is never called... Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Ian Skinner Envoyé : mardi 21 février 2006 17:50 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] First time flex2 app Phones Example Failing Thanks Benoit Have you added the additional argument in Flex Builder2 to take into account flex-enterprise-services.xml? I have added the following value in the "Additional compiler arguments:" --services=C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\fle x-enterprise-services.xml I am running ColdFusion in a multi-home configuration on the native Jrun. So I am not sure this is the correct value. But I picked the flex-enterprise-services.xml that was in the cfusion jrun server. This is the Cf/jrun instance associated with the default website configured in my IIS manager. Have you verified the port number in flex-enterprise-services.xml? I have tried. I looked in the flex-enterprise-services.xml file, but I do not see a port number, I am not sure which element is supposed to have one and whether I should be seing one or not. I access my defalut website with http://localhost without a portnumber. I've tested the CF code with the following url: http://localhost/CFIDE/samples/Phones/CF/test.cfm. So what port number should I be checking in the flex-enterprise-services.xml? Thanks -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - "C code. C code run. Run code run. Please!" - Cynthia Dunning -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] First time flex2 app Phones Example Failing
You might checked two things. Have you verified the port number in flex-enterprise-services.xml? Have you added the additional argument in Flex Builder2 to take into account flex-enterprise-services.xml? Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de ianskinnerbs Envoyé : lundi 20 février 2006 20:42 À : flexcoders@yahoogroups.com Objet : [flexcoders] First time flex2 app Phones Example Failing I followed the instructions for the phone sample flex2 app found here: http://labs.macromedia.com/wiki/index.php/ColdFusion/Flex_Connectivity:Sampl es:Phone_Selector. I have confirmed that the CF side is apparently working correctly, but when I try to run the flex app, I just get an empty container and an endless "loading" clock cursor. What am I missing? I don't see any errors either during compilation or runtime. Just an endless blank app. TIA Ian Skinner -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Cairngorm2 reusable commands
I'll second this approach : 1. use as much as possible the Model Locator and bindings to avoid commands<>views dependencies, 2. when not sufficient or not elegant, use a viewhelper. Benoit Hediard (which was using too much viewhelpers at the begining ;) ) -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de João Fernandes Envoyé : vendredi 17 février 2006 13:08 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] Cairngorm2 reusable commands Alberto, In my opinion commands shouldn't be aware of the views. It's not what cairngorm is made for. Dispatch your event and set the result to some variable in your ModelLocator. Then if foobar1 and foobar2 need that info, use bindings and bind them to that variable ... Do you need to transform that information in a different way for each one? Fine, use the Foobar1ViewHelper and Foobar2ViewHelper to do it. Example: Foobar1.mxml Foobar2.mxml João Fernandes Sistemas de Informação Programador Informático Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alberto Albericio Salvador Sent: sexta-feira, 17 de Fevereiro de 2006 11:45 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm2 reusable commands Hi all, In Cairngorm commands, I always define statically where I want "some results" to be sent (normally a custom function in component that extends ViewHelper). This updates my view and works fine. But... How can I make that command Class to send "some results" to whatever asked for them (who dispatched the event that threw that command)? Eg: foobar1.mxml and foobar2.mxml .. public function setResults(someResults):void { //update my controls } public function getResults():void { dispatchEvent("askForResults"); } foobar1 and foobar2 dispatch the same event and the command needs to know where to send back the results and run setResults on the corresponding caller. How can I achieve this? Thanks in advance -- Alberto Albericio Salvador Aura S.A. Seguros Departamento Informática -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Flex 2 builder: is there a way to turn warnings off
There is at least one annoying warning that should be always removed in Flex Builder 2. When binding to static const, it still shows "Data binding will not be able to detect assignments to SOME_CONST". For example : public static const STATE_LOADING:String = "loadingState"; ... ... We don't require [Bindable] on this var since it is a constant value. This issue generates a lot of warnings on large apps : warning list is not usable at all because of that. Thanks. Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Johannes Nel Envoyé : jeudi 16 février 2006 03:21 À : flexcoders@yahoogroups.com Objet : [flexcoders] Flex 2 builder: is there a way to turn warnings off or at least say what should generate a warning (like FDT) -- j:pn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site +design+development&w2=Computer+software+development&w3=Software+design+and+ development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1 66&.sig=L-4QTvxB_quFDtMyhrQaHQ> Computer software development <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+si te+design+development&w2=Computer+software+development&w3=Software+design+an d+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s =166&.sig=lvQjSRfQDfWudJSe1lLjHw> Software design and development <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+ site+design+development&w2=Computer+software+development&w3=Software+design+ and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5 &s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia flex <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+deve lopment&w2=Computer+software+development&w3=Software+design+and+development& w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6n PIrz7_EpZI36cYzBjw> Software development best practice <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=W eb+site+design+development&w2=Computer+software+development&w3=Software+desi gn+and+development&w4=Macromedia+flex&w5=Software+development+best+practice& c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> YAHOO! GROUPS LINKS *Visit your group "flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web. *To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> *Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Cairngorm 2 SequenceCommand issues
We don't use the SequenceCommand, we dispatch directly our events from the commands. And it works fine. Have you tried to dispatch the event directly from the login command result handler? Ex. : Application.application.dispatchEvent(new SomeEvent()); Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Simon Barber Envoyé : lundi 13 février 2006 15:38 À : flexcoders@yahoogroups.com Objet : [flexcoders] Re: Cairngorm 2 SequenceCommand issues Hi Beniot, I tried that workaround out with no luck. Have you managed to get it to work? --- In flexcoders@yahoogroups.com, "Benoit Hediard" <[EMAIL PROTECTED]> wrote: > > We have also faced this problem. > In alpha 1, it looks like events dispatched by commands (extending > EventDispatcher) are not caught by the controllers. > > Simple workaround, use the Application.application to dispatch events in > commands. > > For example, in the SequenceCommand.as replace Line 123 : > dispatchEvent( nextEvent ); by Line 123 : > Application.application.dispatchEvent( nextEvent ); (you might need to > import mx.core.Application) > > It should solve your issue. > > Benoit Hediard > > -Message d'origine- > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la > part de Simon Barber > Envoyé : lundi 13 février 2006 13:00 > À : flexcoders@yahoogroups.com > Objet : [flexcoders] Cairngorm 2 SequenceCommand issues > > Hi, > > Here are 5 steps that lead to my issue. > > 1. The user types his username, password and clicks login. > 2. The LoginEvent is dispatched with the user details. > 3. The LoginCommand execute method is called and my Application Delegate > calls the remote method on the server. > 4. onResult callback is called when the data returns from the server and i > set all the relevant Application model data. > 5. The LoginCommand extends the SequenceCommand so that i can set the > nextEvent property and call executeNextCommand method. > > The last point is where the problem lies. I have stepped through the code, > the executeNextCommand gets called and so does the dispatchEvent > (event) but it never executes the next command in the sequence. > > Any ideas would be greatly appreciated. > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders% 40yahoogroups.com > Yahoo! Groups Links > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Cairngorm 2 SequenceCommand issues
We have also faced this problem. In alpha 1, it looks like events dispatched by commands (extending EventDispatcher) are not caught by the controllers. Simple workaround, use the Application.application to dispatch events in commands. For example, in the SequenceCommand.as replace Line 123 : dispatchEvent( nextEvent ); by Line 123 : Application.application.dispatchEvent( nextEvent ); (you might need to import mx.core.Application) It should solve your issue. Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Simon Barber Envoyé : lundi 13 février 2006 13:00 À : flexcoders@yahoogroups.com Objet : [flexcoders] Cairngorm 2 SequenceCommand issues Hi, Here are 5 steps that lead to my issue. 1. The user types his username, password and clicks login. 2. The LoginEvent is dispatched with the user details. 3. The LoginCommand execute method is called and my Application Delegate calls the remote method on the server. 4. onResult callback is called when the data returns from the server and i set all the relevant Application model data. 5. The LoginCommand extends the SequenceCommand so that i can set the nextEvent property and call executeNextCommand method. The last point is where the problem lies. I have stepped through the code, the executeNextCommand gets called and so does the dispatchEvent (event) but it never executes the next command in the sequence. Any ideas would be greatly appreciated. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Cairngorm2 version of Phones Flex/ColdFusion Connectivity samples
Hi everyone, Today, I managed to take some time to write a Cairngorm2 version of the Phones Flex/ColdFusion Connectivity sample! Description:A Cairngorm 2 version of the Phone Selector sample application.http://labs.macromedia.com/wiki/index.php/ColdFusion/Flex_Connectivity:Samples:Phone_Selector Purpose:- to show Flex RIA best practices,- to show Flex/ColdFusion Connectivity best practices. Changes:I made some minor changes to the original app, in order to simplify it.- removed > simple list instead of tile list without details state,- removed > no images,- added > reload button to demonstrate Cairngorm events/commands with Flex/ColdFusion connectivity,- added > loading state during remoting commands. Installation:- download Cairngorm 2 alpha (http://www.richinternetapps.com/archives/000145.html),- unzip the Phones and Cairngorm files in new Flex Builder 2 project,- move the content of "coldfusion" folder to your ColdFusion wwwroot,- test the service by calling http://localhost/com/mycompany/phones/service/test.cfm,- compile the Main.mxml app (do not forget to set the compiler args to use flex-enterprise-services.xml). The zip file can be downloaded here : http://www.benorama.com/flex/samples/PhonesCairngorm2.zip Any feedbacks are welcome. Have fun! Benoit Hediard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.