RE: [flexcoders] [OT] Developing/Compiling Java in Flexbuilder 2
Don't install the standalone FlexBuilder 2, instead download the Eclipse SDK (eclipse.org)along with the JDK 1.5 (java.sun.com), unzip that to a directory, and then install FlexBuilder2 as a plug-in. That way you will automatically have the JDT and everything required for J2SE development (and J2EE if you have your app container already). Richard From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claudia BarnalSent: 30 March 2006 18:37To: flexcoders@yahoogroups.comSubject: [flexcoders] [OT] Developing/Compiling Java in Flexbuilder 2 Hi,I've been told I can use Flexbuilder 2 to do my Java stuff, as it isan Eclipse based IDE. But I am a bit lost with ALL the Java pluginsneeded (and available) for Eclipse. So I was wondering if you guysknew the required steps and plugins needed to make Flexbuilder 2 Javaenabled, or if you know any links to a tutorial that explains thesesteps.(By the way, I have been using Flexbuilder 2/Eclipse for a few days,so there are a lot of things I have yet to learn about it)Thanks,Claudia -- 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] What happened to mx.utils.Deletage?
Of course, as you illustrate, this will not work if you are callingmultiple methods on myService Any clues as to whether multicasts are in the spec for AS? Thanks, Rich From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sho KuwamotoSent: 24 March 2006 17:25To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] What happened to mx.utils.Deletage? Hi Chris.Roughly speaking, you do something like this:myService.someMethod(arg1, arg2);myService.addEventListener("result", resultMethod);Of course, as you illustrate, this will not work if you are callingmultiple methods on myService, because you need a way of figuring outwhich method you are getting the result for. As far as I know, you needto do some of your own plumbing to make this happen. Here is one way to do it:function initializeStuff() : void{ myService.addEventListener("result", resultHandler);}function doStuff() : void{ var call = myService.someMethod(arg1, arg2); call.resultHandler = actualResultHandler;}function resultHandler(event: ResultEvent) : void{ var call : Object = event.call; if (call.resultHandler != null) { call.resultHandler.call(null, event) }}function actualResultHandler(event: ResultEvent) : void{}-Sho -- 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] Mac Flex developing
I didn't see whether you specified 1.X or 2.0, and I'm sure someone else will be better able to speak about Flex 1.X, but I might be able to offer some insights for Flex 2.0. I'm a PC guy myself but my colleague is currently working on a Mac running Eclipse with the FlexBuilder 2 plug-ins (copied directly from a PC install). Here's what you don't get: - Debugging ( or run in debug player ) - Therefore trace() - see workaround below - IDE makes the carat jump around and highlight various things, occaisionally he switches to FDT when it all gets too much - No MXML highlighting and code completion in MXML documents (if anyone knows the location of the DTD I'm sure you can at least hook up XMLBuddy or something to it to get some sort of highlighting and prompting). - Errors e.g."null has no properties" just causes app to stop working You do get: - "intellisense"/code completion / look up declarationin AS documents - Run as release build Design view I'm not sure on, would have to check, not used much. So in summary, it is workable for now as long as there's a PC guy around to debug if it all gets too much. I wrote a quick little Logger class and compatible output panel that uses LocalConnection if anyone would like it, very simple but it might save you 5 minsand it's better to have some sort of trace than none at all if you must use a Mac ;) Also tried running Eclipse in VirtualPC, as you'd expectno good even on the fastest Macs, if anyone has any insights into running Darwine on Tiger I'd love to be able to pass it on. Rich From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan MirandaSent: 23 March 2006 19:34To: flexcoders@yahoogroups.comSubject: [flexcoders] Mac Flex developing Just curious, how and if there are differences with developing Flex on a Mac (the only thing I can foresee is tools limited to Windows environments). _ 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] embedding a Flex GUI in a Java app
Hi Brooks, Eric D was looking into this just recently, maybe his blog posting will help you out, I posted a link to another project in there that states = Flash 8 support that runs cross platform. http://ericd.net/2006/03/flash-running-in-java-application.inc Richard From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brooks AndrusSent: 08 March 2006 02:25To: flexcoders@yahoogroups.comSubject: [flexcoders] embedding a Flex GUI in a Java app Can anyone tell me what exactly SWTFlashPlayer.jar is? Is it possible for me to use this jar to embed a Flash activeX control into a Java SWT application? Also if anyone can give some guidance on how to get ExternalInterface working with a Flex app thats embedded inside of a Java app it would be much appreciated. The only documentation I can find relates to _javascript_ Flash communicationnot super helpful in my scenario. Regards, Brooks -- 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] Does AS have an equivalant of Java's 'Abstract'
Yeah I don't think interfaces fit the bill here, but I've found that as long as you throw an error (especially in AS3) it works pretty well as a rough approximation of what abstract might do. :) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sauro, NickSent: 22 February 2006 15:58To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract' Yea, well, right now, Im just having the parent class hold blank implementations, which is just kinda quirky for me, but it works for now, I was just wondering if there was a cleaner way to do it. Interface came to mind, but I need the base functionality of a Base class that Im using :-/ O well, just wondering Thanks J From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Richard LeggettSent: Wednesday, February 22, 2006 10:51 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Does AS have an equivalant of Java's 'Abstract' Hi, There's no abstractalthough you can get some of the behaviour by 'throw'-ing errors in all of the methods that would normally be abstract so that the sub-class is forced to implement those methods. Richard From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro, NickSent: 22 February 2006 15:34To: flexcoders@yahoogroups.comSubject: [flexcoders] Does AS have an equivalant of Java's 'Abstract' I havent seen any examples of it anywhere, but I could be looking in the wrong places? Im wondering if AS 2.0 has this? Thanks From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan MirandaSent: Tuesday, February 21, 2006 3:31 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FW: Datagrid Row Heights Im still trying to figure out how to set a row height in actionscript J I havent even gotten to the effect of resizing the rows yet. _ Jonathan Miranda Flexible Master of the Web "In the game of chess, it's important to never let your opponent see your pieces." From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro, NickSent: Tuesday, February 21, 2006 1:10 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FW: Datagrid Row Heights What do you mean, move effect so its not so instant?? If its moving too fast, there is a duration field that you can increase to make the effect last longer. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan MirandaSent: Tuesday, February 21, 2006 2:38 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] FW: Datagrid Row Heights Alright, lets say I have a datagrid with variableRowHeight=true. Now I want, using actionscript, to switch the height of row #2 to 200. Ive got a semi-way of doing it right now using a label cellrenderer but I was wondering if there was a basic method I was missing. Ive been attempting using getItemByIndex with little luck.And anyway to add a move effect so its not instant? _ Jonathan Miranda Flexible Master of the Web "In the game of chess, it's important to never let your opponent see your pieces." -- 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] Mono MP3s (bug?)
What's the sample rate of the mono mp3? Richard From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Johannes NelSent: 27 February 2006 20:47To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Mono MP3s (bug?) dude, are you bruce eckel from mindview? On 2/27/06, Bruce Eckel [EMAIL PROTECTED] wrote: Has anyone else seen this behavior:I have an application that uses Flash 8.5's built-in MP3 player. When the MP3 is a stereo file, it works fine. When I convert the MP3 to a mono file, the file plays in speeded-up mode (a la The Chipmunks). -- Bruce Eckel --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. -- j:pn http://www.lennel.org -- 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] Does AS have an equivalant of Java's 'Abstract'
Hi, There's no abstractalthough you can get some of the behaviour by 'throw'-ing errors in all of the methods that would normally be abstract so that the sub-class is forced to implement those methods. Richard From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sauro, NickSent: 22 February 2006 15:34To: flexcoders@yahoogroups.comSubject: [flexcoders] Does AS have an equivalant of Java's 'Abstract' I havent seen any examples of it anywhere, but I could be looking in the wrong places? Im wondering if AS 2.0 has this? Thanks From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan MirandaSent: Tuesday, February 21, 2006 3:31 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FW: Datagrid Row Heights Im still trying to figure out how to set a row height in actionscript J I havent even gotten to the effect of resizing the rows yet. _ Jonathan Miranda Flexible Master of the Web "In the game of chess, it's important to never let your opponent see your pieces." From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro, NickSent: Tuesday, February 21, 2006 1:10 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FW: Datagrid Row Heights What do you mean, move effect so its not so instant?? If its moving too fast, there is a duration field that you can increase to make the effect last longer. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan MirandaSent: Tuesday, February 21, 2006 2:38 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] FW: Datagrid Row Heights Alright, lets say I have a datagrid with variableRowHeight=true. Now I want, using actionscript, to switch the height of row #2 to 200. Ive got a semi-way of doing it right now using a label cellrenderer but I was wondering if there was a basic method I was missing. Ive been attempting using getItemByIndex with little luck.And anyway to add a move effect so its not instant? _ Jonathan Miranda Flexible Master of the Web "In the game of chess, it's important to never let your opponent see your pieces." -- 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 - Lonely Interfaces (classes) not allowed
Please disregard, even though it was giving me the error given when a class is not being imported ("Type annotation is not a compile time constant"), the problem was with the visibility of the interface (needed to be public). Also there was a late night typo in my last email ;) Best, Richard From: Richard Leggett [mailto:[EMAIL PROTECTED] Sent: 20 February 2006 22:27To: 'flexcoders@yahoogroups.com'Subject: Flex 2 - Lonely Interfaces (classes) not allowed Hi, Sorry if this has come up, new on the list and to Flex 2, I tried a search but found nothing as yet... Am I right in thinking Interfaces can only be defined in AS files that also include a public class? Without adding a class to the following file I get errors wherever I try to type things with ISequence... package ws.tink.tinker.controller.sequences{ import ws.tink.tinker.model.StepData;interface ISequence{function getNextStepData():StepData;function getPreviousStepData():StepData; }public class Nothing() { } // Without this, it fails} Just to note there are other classes in that package, seemed strange to me. Thanks, Richard -- 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 - Lonely Interfaces (classes) not allowed
Hi, Sorry if this has come up, new on the list and to Flex 2, I tried a search but found nothing as yet... Am I right in thinking Interfaces can only be defined in AS files that also include a public class? Without adding a class to the following file I get errors wherever I try to type things with ISequence... package ws.tink.tinker.controller.sequences{ import ws.tink.tinker.model.StepData;interface ISequence{function getNextStepData():StepData;function getPreviousStepData():StepData; }public class Nothing() { } // Without this, it fails} Just to note there are other classes in that package, seemed strange to me. Thanks, Richard -- 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 builder: is there a way to turn warnings off
Hey Johannes, Yeah you can't turn them off, but in the problems panel click the filter icon (down facing arrow - Filters) and at the bottom of the dialog you canfilter by severity with some checkboxes. Rich From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Johannes NelSent: 16 February 2006 02:21To: flexcoders@yahoogroups.comSubject: [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 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] FlexBuilder switching URL to localhost:8000
Hello list, long time Flasher, first timer Flexer... I'm running my Flex server on a different computer on the network. When I hit Run, I see my app correctly, the URL bar shows: http://othercomputer:8700/theMXML.mxml When I run it and I switch on the Network Monitor, it replaces the above with: http://localhost:8000/theMXML.mxml?debug=truenetworkCapturePort= I'm not sure why the proxy (?), but that displays the SWF fine, but now of course I get a security sandbox error as I'm remoting via AMFPHP on that "othercomputer". Any ideas why it does this, whether it is intended behaviour? Thanks, Richard p.s. Just a small one, you cannot see trace()'s unless you run "Debug" right? I see nothing in the output window when I just press "Run", running Flash Player8. I have ErrorReportingEnable=1 and TraceOutputFileEnable=1 in mm.cfg. -- 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 Computer software testing Macromedia flex Development Software developer 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] FlexBuilder switching URL to localhost:8000
Thankyou João, I'll just have to throw in a crossdomain.xml for now. :) Cheers, Richard -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João Fernandes Sent: 09 August 2005 21:19 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FlexBuilder switching URL to localhost:8000 Hi Richard, I work everyday with FB and debugger uses always localhost (a diferent port) to debug even on a remote server. If it doesn't debug, it might be due to the incompatibility of FP8 with FB. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=8d81ec19 I have FP 7.0.35 for IE and 8.0.5 for FF. Debugger works fine in FB. FB doesn't work fine...but that's another problem... João Fernandes Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hncrp3p/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123627147/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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/