[flexcoders] Re: Flex 2.0 Form validation
Try this... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* mx:Script ![CDATA[ // Import event class import mx.events.ValidationResultEvent; import mx.validators.Validator; import flash.events.Event; private function handleValid(eventObj:Event):Void { var result:ValidationResultEvent = Validator (strV).validate(); if(result.type==ValidationResultEvent.VALID) sub_btn.enabled = true; else sub_btn.enabled = false; } // Submit form is everything is valid. private function submitForm():Void { test.send(); } ]] /mx:Script mx:StringValidator id=strV source={test1} property=text minLength=5 / mx:HTTPService id=test url=http://localhost/xml/template/test.xml; method=POST showBusyCursor=True mx:request xmlns= test1{test1.text}/test1 test2{test2.text}/test2 /mx:request /mx:HTTPService mx:Canvas width=100% height=100% mx:Form x=34 y=25 mx:Label text={test.result.root.tblTest.success}/ mx:FormHeading label=Test Form/ mx:FormItem label=Test 1 id=test1_lbl mx:TextInput id=test1 change=handleValid (event)/ /mx:FormItem mx:FormItem label=Test 2 id=test2_lbl mx:TextInput id=test2/ /mx:FormItem mx:Button label=Submit id=sub_btn click=submitForm(); enabled=false/ /mx:Form /mx:Canvas /mx:Application What i have done here is when the change event is fired on the text1 TextInput the handleValid function is called. This checks to see if the string is valid. Let me know if this works, Simon Barber --- In flexcoders@yahoogroups.com, Ken Bromberger [EMAIL PROTECTED] wrote: Hi! I am new to flex and I am working on using the validators flex 2.0 includes. I have set up a form and can submit data to my test database using HTTPService and the request tags and return a result. When I add a string validator to my code the form no longer submits the HTTPService request. If I remove the stringValidator from my code the form works just fine. What am I missing on this?? Is there a good resource with examples of how to implement validation? Thanks! - Ken Here is my code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* mx:Script ![CDATA[ // Import event class import mx.events.ValidationResultEvent; private function handleValid(eventObj:ValidationResultEvent):Void { if(eventObj.type==ValidationResultEvent.VALID) sub_btn.enabled = true; else sub_btn.enabled = false; } // Submit form is everything is valid. private function submitForm():Void { test.send(); } ]] /mx:Script mx:StringValidator id=strV source={test1} property=text minLength=5 valid=handleValid(event) invalid=handleValid (event)/ mx:HTTPService id=test url=http://localhost/xml/template/test.xml; method=POST showBusyCursor=True mx:request xmlns= test1{test1.text}/test1 test2{test2.text}/test2 /mx:request /mx:HTTPService mx:Canvas width=100% height=100% mx:Form x=34 y=25 mx:Label text={test.result.root.tblTest.success}/ mx:FormHeading label=Test Form/ mx:FormItem label=Test 1 id=test1_lbl mx:TextInput id=test1 change=handleValid(event)/ /mx:FormItem mx:FormItem label=Test 2 id=test2_lbl mx:TextInput id=test2/ /mx:FormItem mx:Button label=Submit id=sub_btn click=submitForm(); enabled=false/ /mx:Form /mx:Canvas /mx:Application -- 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
Re: [flexcoders] how to use MovieClip / swc in flex???
thanx JesterXL, but still I am confusing regarding SWC...where to place how to link it in coding. jignesh. On 1/8/06, JesterXL [EMAIL PROTECTED] wrote: To utilize MovieClips, embed in SWF's. Give it a linkage name and:Flex 1.5:[Embed(source= your.swf, symbol=LinkageName)]var yourSymbol:String;attachMovie(yourSymbol, mc, 0);Flex 2:[Embed(source=your.swf#LinkageName)]var yourSymbol:Class; var a:Class = new yourSymbol();addChild(a);To utilize SWC's, just place next to your Application.mxml file.To import a class, treat like any class; import it.- Original Message - From: Jignesh M. Dodiya [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Saturday, January 07, 2006 6:50 PMSubject: [flexcoders] how to use MovieClip / swc in flex???Hi All,how to use a movie clip in flex as we use in flash(like, keeping movie clip in library doing attachMovie() function).i got to know that this can be done by converting movieclip in to swc.. but i m really confused how should i use swc in my flex applicationAnother thing is that how can i use the class in flex as we use in flash...i have my class to handle the movie clip , but not sure how to include or import the class in flexas what do in flashhope for co-operationthanxjignesh --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links --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. -- jignesh dodiya -- 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] how to use MovieClip / swc in flex???
SWC's are to Flex as JAR's are to Java. You can place code, visual assets, and/or components, just like in Flash. You can place them in user_classes on the server, but Iike to put them next to my main application.mxml file, the main Flex file that starts with the mx:Application tag, since that's your root. You can import your classes normally, and if it's in the SWC, Flex'll find it. To create them: http://www.jessewarden.com/archives/2005/12/automating_swc.html You use them just like you use Yahoo maps: - drop SWC next to app - use tag mx:YahooMaps / or, import: import mx.controls.etc - Original Message - From: Jignesh Dodiya To: flexcoders@yahoogroups.com Sent: Sunday, January 08, 2006 5:15 AM Subject: Re: [flexcoders] how to use MovieClip / swc in flex??? thanx JesterXL, but still I am confusing regarding SWC...where to place how to link it in coding. jignesh. On 1/8/06, JesterXL [EMAIL PROTECTED] wrote: To utilize MovieClips, embed in SWF's. Give it a linkage name and:Flex 1.5:[Embed(source=" your.swf", symbol="LinkageName")]var yourSymbol:String;attachMovie(yourSymbol, "mc", 0);Flex 2:[Embed(source="your.swf#LinkageName")]var yourSymbol:Class;var a:Class = new yourSymbol();addChild(a);To utilize SWC's, just place next to your Application.mxml file.To import a class, treat like any class; import it.- Original Message - From: "Jignesh M. Dodiya" [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Saturday, January 07, 2006 6:50 PMSubject: [flexcoders] how to use MovieClip / swc in flex???Hi All,how to use a movie clip in flex as we use in flash(like, keeping movie clip in library doing attachMovie() function).i got to know that this can be done by converting movieclip in to swc.. but i m really confused how should i use swc in my flex applicationAnother thing is that how can i use the class in flex as we use in flash...i have my class to handle the movie clip , but not sure how to include or import the class in flexas what do in flashhope for co-operationthanxjignesh--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links --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. -- jignesh dodiya -- 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] how to use MovieClip / swc in flex???
thanx JesterXL again, let me follow ur suggestions jignesh On 1/8/06, JesterXL [EMAIL PROTECTED] wrote: SWC's are to Flex as JAR's are to Java. You can place code, visual assets, and/or components, just like in Flash. You can place them in user_classes on the server, but Iike to put them next to my main application.mxml file, the main Flex file that starts with the mx:Application tag, since that's your root. You can import your classes normally, and if it's in the SWC, Flex'll find it. To create them: http://www.jessewarden.com/archives/2005/12/automating_swc.html You use them just like you use Yahoo maps: - drop SWC next to app - use tag mx:YahooMaps / or, import: import mx.controls.etc - Original Message - From: Jignesh Dodiya To: flexcoders@yahoogroups.com Sent: Sunday, January 08, 2006 5:15 AM Subject: Re: [flexcoders] how to use MovieClip / swc in flex??? thanx JesterXL, but still I am confusing regarding SWC...where to place how to link it in coding. jignesh. On 1/8/06, JesterXL [EMAIL PROTECTED] wrote: To utilize MovieClips, embed in SWF's. Give it a linkage name and:Flex 1.5:[Embed(source= your.swf, symbol=LinkageName)]var yourSymbol:String;attachMovie(yourSymbol, mc, 0);Flex 2:[Embed(source=your.swf#LinkageName)]var yourSymbol:Class; var a:Class = new yourSymbol();addChild(a);To utilize SWC's, just place next to your Application.mxml file.To import a class, treat like any class; import it.- Original Message - From: Jignesh M. Dodiya [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Saturday, January 07, 2006 6:50 PMSubject: [flexcoders] how to use MovieClip / swc in flex???Hi All,how to use a movie clip in flex as we use in flash(like, keeping movie clip in library doing attachMovie() function).i got to know that this can be done by converting movieclip in to swc.. but i m really confused how should i use swc in my flex applicationAnother thing is that how can i use the class in flex as we use in flash...i have my class to handle the movie clip , but not sure how to include or import the class in flexas what do in flashhope for co-operationthanxjignesh --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links --Flexcoders Mailing ListFAQ: 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. -- jignesh dodiya --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. -- jignesh dodiya -- 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 String java String
hi all this is my java code: public String xmlTree() throws ClassNotFoundException, SQLException, IOException{ TreeInfo tixt = new TreeInfo(); String s = tixt.createTree(); System.out.println(s); return s; } it return s = node label=\INBOX\/node label=\Personal Folder\node label=\Business\ /node label=\Demo\ /node label=\Personal\ isBranch=\true\ /node label=\Saved Mail\ //node in AS function tree():Void{ var xml_tree:String; var mytree:XML; xml_tree = ZJ.xmlTree(); mytree = new XML(xml_tree); Ntree.dataProvider = mytree; mx.controls.Alert.show (xml_tree,'Message'); } the Alert window give me the message like this: [object Object] it not a String that i want, i do not know why ? everyone know about this give a help please! 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 * 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] Re: New to Flex, and mxml and getting an error trying to use RSS
Hi, thanks for the help. Everything seems to be working fine and I am getting the data in my grid, appreciated. -Malik --- In flexcoders@yahoogroups.com, Franck de Bruijn [EMAIL PROTECTED] wrote: Hi Malik, I have been able to reproduce your error. The '?xml . ' part needs to start at exactly the 1st row and the 1st column of your .mxml file. If you add a space or a new line before it, the error you mention below will appear. I think we were a little bit put on the wrong foot thinking your problem was a runtime error, but it appears to be a compile time error. Try to be more specific next time. Cheers, Franck _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of malik_robinson Sent: vrijdag 6 januari 2006 8:52 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: New to Flex, and mxml and getting an error trying to use RSS Hi, I get this error with that code: The processing instruction target matching [xX][mM][lL] is not allowed. I copied that exact code into flex builder 2 alpha version and I get that error message. I wonder do I not have it setup correctly. -Malik --- In flexcoders@yahoogroups.com, fla coder [EMAIL PROTECTED] wrote: the example still works for me today try this code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* initialize=feedRequest.send() mx:HTTPService id=feedRequest url=http://weblogs.macromedia.com/mchotin/index.xml; useProxy=false/ mx:Canvas width=100% height=100% mx:Label x=20 y=50 text={feedRequest.result.rss.channel.title }/ mx:DataGrid x=20 y=80 width=400 dataProvider={ feedRequest.result.rss.channel.item} id=dgPosts mx:columns mx:DataGridColumn headerText=Posts columnName=title/ mx:DataGridColumn headerText=Date columnName=pubDate/ /mx:columns /mx:DataGrid mx:TextArea x=20 y=245 width=400 htmlText={ dgPosts.selectedItem.description}/ mx:Link x=20 y=300 label=Read full post click=getURL ( dgPosts.selectedItem.link);/ /mx:Canvas /mx:Application On 04/01/06, malik_robinson [EMAIL PROTECTED] wrote: Hi, I tried pointing it at the following URL: weblogs.macromedia.com/mchotin and I received the same error, can you try it using this URL and let me know if you are able to see the result. This URL should have the crossdomain.xml file in it as this URL is used in a tutorial on the Macromedia/Adobe website. Thanks for the response. Malik --- In flexcoders@yahoogroups.com, Franck de Bruijn [EMAIL PROTECTED] wrote: Hi Malik, It looks like your url is not pointing to a real XML file. I tried your app and I got the message 'Error #1090: XML parser failure: element is malformed'. Also be aware that you cannot point to any arbitrary URL in the WWW, since Flex apps are only allowed to obtain resources from the server they have been deployed from, unless there is a crossdomain.xml file present granting you access to the resource. Cheers, Franck _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of malik_robinson Sent: dinsdag 3 januari 2006 8:14 To: flexcoders@yahoogroups.com Subject: [flexcoders] New to Flex, and mxml and getting an error trying to use RSS Hi, I am very new to Flex and trying to try some basic tutorials in the help documentation that comes with Flex Builder 2 alpha. I searched the mailing list/archives trying to find out why I get the following error message but to no avail. The error is below: The processing instruction target matching [xX][mM][IL] is not allowed. My code is below and is basically from the documentation that comes with the flex builder 2 alpha 1 version. The main difference is I am trying to point it as a different url other than the weblogs.macromedia.com/mchotin or whatever the exact url is. I am trying to point it at a different URL. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* initialize=feedRequest.send() mx:HTTPService id=feedRequest url=http://groups.yahoo.com/group/flexcoders/; useProxy=false/ mx:Canvas width=100% height=100% mx:Label x=20 y=50 text={feedRequest.result.rss.channel.title}/ mxataGrid x=20 y=80 id=dgPosts width=400 mx:columns mxataGridColumn headerText=Column 1 columnName=col1/ mxataGridColumn headerText=Column 2 columnName=col2/ /mx:columns /mxataGrid
Re: [flexcoders] Re: Flex2 :: Grid / drop-in cellrenderer / drag-drop / exception / bug?
Nice to get confirmation on this.Thank you Manish :D -michaelOn 1/7/06, Manish Jethani [EMAIL PROTECTED] wrote: On 1/5/06, Michael Hansen [EMAIL PROTECTED] wrote: Check out the example here: http://www.mindinteraction.com/bin/TestDataGrid2.html (Note Flex2 app) Drag an item to generate an exception. Basically it's a drag enabled datagrid using drop-in cellrenderer. I'm unsure if the exception is my fault or a bug. The docs on drop-in cell renderers is not that exhaustive. Looks like a bug. I've logged it. BTW, in Beta 1 (when it's out), you should be able to bind to 'dataObject' instead of having to override the setter method. Manish -- 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 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.0 Form validation
Hi Simon, Thanks for the attempt on this, but it still does not trigger the HTTPService. Any other ideas? -Ken -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simon Barber Sent: Sunday, January 08, 2006 1:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 2.0 Form validation Try this... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* mx:Script ![CDATA[ // Import event class import mx.events.ValidationResultEvent; import mx.validators.Validator; import flash.events.Event; private function handleValid(eventObj:Event):Void { var result:ValidationResultEvent = Validator (strV).validate(); if(result.type==ValidationResultEvent.VALID) sub_btn.enabled = true; else sub_btn.enabled = false; } // Submit form is everything is valid. private function submitForm():Void { test.send(); } ]] /mx:Script mx:StringValidator id=strV source={test1} property=text minLength=5 / mx:HTTPService id=test url=http://localhost/xml/template/test.xml; method=POST showBusyCursor=True mx:request xmlns= test1{test1.text}/test1 test2{test2.text}/test2 /mx:request /mx:HTTPService mx:Canvas width=100% height=100% mx:Form x=34 y=25 mx:Label text={test.result.root.tblTest.success}/ mx:FormHeading label=Test Form/ mx:FormItem label=Test 1 id=test1_lbl mx:TextInput id=test1 change=handleValid (event)/ /mx:FormItem mx:FormItem label=Test 2 id=test2_lbl mx:TextInput id=test2/ /mx:FormItem mx:Button label=Submit id=sub_btn click=submitForm(); enabled=false/ /mx:Form /mx:Canvas /mx:Application What i have done here is when the change event is fired on the text1 TextInput the handleValid function is called. This checks to see if the string is valid. Let me know if this works, Simon Barber --- In flexcoders@yahoogroups.com, Ken Bromberger [EMAIL PROTECTED] wrote: Hi! I am new to flex and I am working on using the validators flex 2.0 includes. I have set up a form and can submit data to my test database using HTTPService and the request tags and return a result. When I add a string validator to my code the form no longer submits the HTTPService request. If I remove the stringValidator from my code the form works just fine. What am I missing on this?? Is there a good resource with examples of how to implement validation? Thanks! - Ken Here is my code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* mx:Script ![CDATA[ // Import event class import mx.events.ValidationResultEvent; private function handleValid(eventObj:ValidationResultEvent):Void { if(eventObj.type==ValidationResultEvent.VALID) sub_btn.enabled = true; else sub_btn.enabled = false; } // Submit form is everything is valid. private function submitForm():Void { test.send(); } ]] /mx:Script mx:StringValidator id=strV source={test1} property=text minLength=5 valid=handleValid(event) invalid=handleValid (event)/ mx:HTTPService id=test url=http://localhost/xml/template/test.xml; method=POST showBusyCursor=True mx:request xmlns= test1{test1.text}/test1 test2{test2.text}/test2 /mx:request /mx:HTTPService mx:Canvas width=100% height=100% mx:Form x=34 y=25 mx:Label text={test.result.root.tblTest.success}/ mx:FormHeading label=Test Form/ mx:FormItem label=Test 1 id=test1_lbl mx:TextInput id=test1 change=handleValid(event)/ /mx:FormItem mx:FormItem label=Test 2 id=test2_lbl mx:TextInput id=test2/ /mx:FormItem mx:Button label=Submit id=sub_btn click=submitForm(); enabled=false/ /mx:Form /mx:Canvas /mx:Application -- Flexcoders Mailing
Re: [flexcoders] Re: Beta Flex 2 release Date? Any one for a Guess
To clarify, will I also need a license for Flex Enterprise Services (in addition to Flex Builder 2 and CFMX7) to publish and subscribe between a Flex client and a CFC? Or will basic pub/sub functionality be built directly into CFMX7 apart from any need for FES? Do you think you can use the pub/sub functionality as described?I'll definately use pub/sub functionality. However, I'm not clear yet on when I'll do so with CFMX7 versus Flex Enterprise Services versus Flash Media Server 2 versus custom socket servers. Looking forward to learning more about the different functionality of each offering during the beta! How do you envision a CFC backend to Flex2 Data services?For projects where I'm mixing CF and Java, I'd consider passing everything through Flex Enterprise Services, as I prefer a single point of entry. I'll need to better understand the differences in functionality between the CF gateway and FES before I can really envision when I'd use CFCs versus POJOs on the backend. -- 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: Beta Flex 2 release Date? Any one for a Guess
To clarify, will I also need a license for Flex Enterprise Services (in addition to Flex Builder 2 and CFMX7) to publish and subscribe between a Flex client and a CFC? Or will basic pub/sub functionality be built directly into CFMX7 apart from any need for FES?As you can see, at the moment Tom'sprimary concern is getting everything working and designing new interoperabilitysufficiently. At this point, all I can say about packaging is that at a minimum you will be able to use Flex Builder 2 together with the remoting functionality you already have in CF.We're still working on packaging and release schedules for new features. Phil CostaGroup Product Manager, FlexAdobe -- 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 - swf symbols
Hi All, Does somebody have a working example of importing swf symbols into a Flex 2 Application? I'm able to import swf files, but not a symbol within a swf file. If you've had success with this, would you mind posting the fla and mxml doc for it? Ideally and example where an Embedded symbol is being set to a string like so: [Embed(myMovie.swf#image3)] var myImage3:String; Thanks very much in advance. Brendan -- 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 - swf symbols
Your syntax is off; it should be: var myImage3:Class Not: var myImage3:String; If your linkage ID of your symbol is image3, then it should work. - Original Message - From: Brendan Meutzner [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 08, 2006 5:17 PM Subject: [flexcoders] Flex 2 - swf symbols Hi All, Does somebody have a working example of importing swf symbols into a Flex 2 Application? I'm able to import swf files, but not a symbol within a swf file. If you've had success with this, would you mind posting the fla and mxml doc for it? Ideally and example where an Embedded symbol is being set to a string like so: [Embed(myMovie.swf#image3)] var myImage3:String; Thanks very much in advance. Brendan -- 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 - swf symbols
http://livedocs.macromedia.com/labs/1/flex/0793.htmlOn 1/8/06, JesterXL [EMAIL PROTECTED] wrote:Your syntax is off; it should be: var myImage3:ClassNot:var myImage3:String;If your linkage ID of your symbol is image3, then it should work.- Original Message -From: Brendan Meutzner [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Sunday, January 08, 2006 5:17 PMSubject: [flexcoders] Flex 2 - swf symbols Hi All,Does somebody have a working example of importing swf symbols into aFlex 2 Application?I'm able to import swf files, but not a symbolwithin a swf file.If you've had success with this, would you mind posting the fla and mxml doc for it?Ideally and example where anEmbedded symbol is being set to a string like so:[Embed(myMovie.swf#image3)]var myImage3:String;Thanks very much in advance. Brendan--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links--Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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/ -- 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] Re: Flex 2 - swf symbols
Thanks guys... However, there still seems to be issues. I'm using the same swf file in both a 1.5 project and 2.0 project. When I try to embed it using: [Embed(assets/graphics/swfs/SideNavArrows.swf#ArrowUp)] it works in 1.5 but not in 2.0, so I'm assuming there's nothing wrong with my swf file. The error I get in 2.0 displays Definition for symbol 'ArrowUp' not found. Has anyone had success importing swf files with symbols using the syntax Jester suggested below? mx:Image id=arrow_image source=upImage / mx:Script ![CDATA[ [Embed(assets/graphics/swfs/SideNavArrows.swf#ArrowUp)] private var upImage:Class; ]] /mx:Script Thanks, Brendan --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote: http://livedocs.macromedia.com/labs/1/flex/0793.html On 1/8/06, JesterXL [EMAIL PROTECTED] wrote: Your syntax is off; it should be: var myImage3:Class Not: var myImage3:String; If your linkage ID of your symbol is image3, then it should work. - Original Message - From: Brendan Meutzner [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 08, 2006 5:17 PM Subject: [flexcoders] Flex 2 - swf symbols Hi All, Does somebody have a working example of importing swf symbols into a Flex 2 Application? I'm able to import swf files, but not a symbol within a swf file. If you've had success with this, would you mind posting the fla and mxml doc for it? Ideally and example where an Embedded symbol is being set to a string like so: [Embed(myMovie.swf#image3)] var myImage3:String; Thanks very much in advance. Brendan -- 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: Flex 2 - swf symbols
The LiveDocs are wrong, it is not String. Also, the #symbol format doesn't work for me in 1.5, but does in 2. If you send the SWF to me offlist, I'll send you back a working example Also, what version is your SWF? - Original Message - From: Brendan Meutzner [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 08, 2006 5:57 PM Subject: [flexcoders] Re: Flex 2 - swf symbols Thanks guys... However, there still seems to be issues. I'm using the same swf file in both a 1.5 project and 2.0 project. When I try to embed it using: [Embed(assets/graphics/swfs/SideNavArrows.swf#ArrowUp)] it works in 1.5 but not in 2.0, so I'm assuming there's nothing wrong with my swf file. The error I get in 2.0 displays Definition for symbol 'ArrowUp' not found. Has anyone had success importing swf files with symbols using the syntax Jester suggested below? mx:Image id=arrow_image source=upImage / mx:Script ![CDATA[ [Embed(assets/graphics/swfs/SideNavArrows.swf#ArrowUp)] private var upImage:Class; ]] /mx:Script Thanks, Brendan --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote: http://livedocs.macromedia.com/labs/1/flex/0793.html On 1/8/06, JesterXL [EMAIL PROTECTED] wrote: Your syntax is off; it should be: var myImage3:Class Not: var myImage3:String; If your linkage ID of your symbol is image3, then it should work. - Original Message - From: Brendan Meutzner [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 08, 2006 5:17 PM Subject: [flexcoders] Flex 2 - swf symbols Hi All, Does somebody have a working example of importing swf symbols into a Flex 2 Application? I'm able to import swf files, but not a symbol within a swf file. If you've had success with this, would you mind posting the fla and mxml doc for it? Ideally and example where an Embedded symbol is being set to a string like so: [Embed(myMovie.swf#image3)] var myImage3:String; Thanks very much in advance. Brendan -- 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/
[flexcoders] Re: Flex 2 - swf symbols
It's being generated for Flash 7.0. Brendan --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: The LiveDocs are wrong, it is not String. Also, the #symbol format doesn't work for me in 1.5, but does in 2. If you send the SWF to me offlist, I'll send you back a working example Also, what version is your SWF? - Original Message - From: Brendan Meutzner [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 08, 2006 5:57 PM Subject: [flexcoders] Re: Flex 2 - swf symbols Thanks guys... However, there still seems to be issues. I'm using the same swf file in both a 1.5 project and 2.0 project. When I try to embed it using: [Embed(assets/graphics/swfs/SideNavArrows.swf#ArrowUp)] it works in 1.5 but not in 2.0, so I'm assuming there's nothing wrong with my swf file. The error I get in 2.0 displays Definition for symbol 'ArrowUp' not found. Has anyone had success importing swf files with symbols using the syntax Jester suggested below? mx:Image id=arrow_image source=upImage / mx:Script ![CDATA[ [Embed(assets/graphics/swfs/SideNavArrows.swf#ArrowUp)] private var upImage:Class; ]] /mx:Script Thanks, Brendan --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote: http://livedocs.macromedia.com/labs/1/flex/0793.html On 1/8/06, JesterXL [EMAIL PROTECTED] wrote: Your syntax is off; it should be: var myImage3:Class Not: var myImage3:String; If your linkage ID of your symbol is image3, then it should work. - Original Message - From: Brendan Meutzner [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 08, 2006 5:17 PM Subject: [flexcoders] Flex 2 - swf symbols Hi All, Does somebody have a working example of importing swf symbols into a Flex 2 Application? I'm able to import swf files, but not a symbol within a swf file. If you've had success with this, would you mind posting the fla and mxml doc for it? Ideally and example where an Embedded symbol is being set to a string like so: [Embed(myMovie.swf#image3)] var myImage3:String; Thanks very much in advance. Brendan -- 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: Flex 2 - swf symbols
Ok G, using your SWF, and using the MXML below, she works. If it doesn't work for you on your end, let me know, and I'll file a bug since I have the source. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* mx:Script ![CDATA[ [Embed(SideNavArrows.swf#ArrowUp)] public var arrowUP_img:Class; ]] /mx:Script mx:VBox mx:Image source={arrowUP_img} / mx:Image source=@Embed('SideNavArrows.swf#ArrowDown') / /mx:VBox /mx:Application - Original Message - From: Brendan Meutzner [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 08, 2006 6:37 PM Subject: [flexcoders] Re: Flex 2 - swf symbols It's being generated for Flash 7.0. Brendan --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: The LiveDocs are wrong, it is not String. Also, the #symbol format doesn't work for me in 1.5, but does in 2. If you send the SWF to me offlist, I'll send you back a working example Also, what version is your SWF? - Original Message - From: Brendan Meutzner [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 08, 2006 5:57 PM Subject: [flexcoders] Re: Flex 2 - swf symbols Thanks guys... However, there still seems to be issues. I'm using the same swf file in both a 1.5 project and 2.0 project. When I try to embed it using: [Embed(assets/graphics/swfs/SideNavArrows.swf#ArrowUp)] it works in 1.5 but not in 2.0, so I'm assuming there's nothing wrong with my swf file. The error I get in 2.0 displays Definition for symbol 'ArrowUp' not found. Has anyone had success importing swf files with symbols using the syntax Jester suggested below? mx:Image id=arrow_image source=upImage / mx:Script ![CDATA[ [Embed(assets/graphics/swfs/SideNavArrows.swf#ArrowUp)] private var upImage:Class; ]] /mx:Script Thanks, Brendan --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote: http://livedocs.macromedia.com/labs/1/flex/0793.html On 1/8/06, JesterXL [EMAIL PROTECTED] wrote: Your syntax is off; it should be: var myImage3:Class Not: var myImage3:String; If your linkage ID of your symbol is image3, then it should work. - Original Message - From: Brendan Meutzner [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 08, 2006 5:17 PM Subject: [flexcoders] Flex 2 - swf symbols Hi All, Does somebody have a working example of importing swf symbols into a Flex 2 Application? I'm able to import swf files, but not a symbol within a swf file. If you've had success with this, would you mind posting the fla and mxml doc for it? Ideally and example where an Embedded symbol is being set to a string like so: [Embed(myMovie.swf#image3)] var myImage3:String; Thanks very much in advance. Brendan -- 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 * 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/