RE: [flexcoders] IE Update disables Flash
Now that the hotfix hides the script code on the html wrapper it broke my custom wrapper and I cant see the script code that needs to be changed L Please, could someone from Macromedia (uhum Adobe) post the script code that flex now generates on with this: script src=""> -Mika From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint Modien Sent: 3. maaliskuuta 2006 19:46 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] IE Update disables Flash Awesome... thanks Dave and Adobe. On 3/3/06, Dave Carabetta [EMAIL PROTECTED] wrote: On 3/3/06, Clint Modien [EMAIL PROTECTED] wrote: Anyone else seen this? http://weblogs.asp.net/jgalloway/archive/2006/03/03/439483.aspx Should I start using FlashObject? Clint, Did you see/apply this hot fix released yesterday? http://www.macromedia.com/go/ace0407 Regards, Dave. -- 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 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] IE Update disables Flash
same here. Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika KiljunenSent: Monday, March 06, 2006 9:12 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] IE Update disables Flash Now that the hotfix hides the script code on the html wrapper it broke my custom wrapper and I cant see the script code that needs to be changed L Please, could someone from Macromedia (uhum Adobe) post the script code that flex now generates on with this: script src=""> -Mika From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint ModienSent: 3. maaliskuuta 2006 19:46To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] IE Update disables Flash Awesome... thanks Dave and Adobe. On 3/3/06, Dave Carabetta [EMAIL PROTECTED] wrote: On 3/3/06, Clint Modien [EMAIL PROTECTED] wrote: Anyone else seen this?http://weblogs.asp.net/jgalloway/archive/2006/03/03/439483.aspx Should I start using FlashObject? Clint,Did you see/apply this hot fix released yesterday?http://www.macromedia.com/go/ace0407 Regards,Dave.--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.
RE: [flexcoders] SOAP WebService faultString problem
H Pete, I'm not using the proxy, just a PHP5 SOAP server on an Apache2 server and Flex 2.0 Beta 1 on the client side. What file do you want me to send you? Regards, Jan L. Nauta -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Farland Sent: Friday, March 03, 2006 17:11 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] SOAP WebService faultString problem Are you using the proxy? I think we changed for Beta 2 to return the entire status line from the HTTP error (as it's likely you're running into a 404)... But please submit a test case (or at the very least email me your file) if you want us to check your particular situation. Thanks, Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jan L. Nauta Sent: Friday, March 03, 2006 3:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] SOAP WebService faultString problem Hi, [Flex 2.0 Beta 1] I'm not getting the faultString when a fault occurs in my SOAP WebService: fault=Alert.show(event.fault.faultstring, 'SOAP Fault'); shows only 'HTTP Request Error'. I found some info about this with google that states that this doesn't work with most browsers, but it should (only) work with Internet Explorer. I've tried with Internet Explorer 6, FireFox 1.5 and Opera 8.5. None works. What am I doing wrong? I'm testing with PHP5.1 on an Apache 2.0 using a WSDL based soap server. Regards, Jan L. Nauta B.T.W. in Opera you sometimes have to refresh the page to get your Flex application to run. Is this a known problem? -- 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] BackgroundImage options
Hi all, I use backgroundImage to set a container's background but is there any property to repeat this background to fill the whole container? Something like the background-repeat CSS attribute or the background HTML attribute. Thanks -- 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 * 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] Checkboard / chessboard pattern
actualy 'beginBitmapFill' http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2441.html Philippe From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon SmithSent: dimanche 5 mars 2006 4:09To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Checkboard / chessboard pattern There are drawing APIs like beginFill(), drawRect(), etc. that you canuse to draw the squares. Check out the Graphics class.- Gordon-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of andrewstuartblahSent: Saturday, March 04, 2006 1:14 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Checkboard / chessboard patternHelloI'd like the background of my application to be a checkerboard /chessboard pattern.Can anyone suggest an easy programmtic way to do this?I'd like to avoid using bitmaps but i'll do it if need be.ThanksAndrew--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. --**STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--
Re: [flexcoders] Re: Bruce Eckels on Flex 2
Yeah, it's between 10 to 13 mins. I have writtent the transcription of the part of interview which talks about Flex/Flash/FlexBuilder/ActionScript. I am not very good in language and not good at understanding foreign accents, I would have surely made some mistakes... But i hope, its fine as long as you guys don't mind it :) only a part of interviewBruce Eckel: On the the other hand, I have been experimenting with Flash, this Flex 2, that is still in Beta right now. But I have been developing with it and for Graphical User Interface stuff, boy, and also Rich client stuff. I think, that is, may be, gonna be the thing that takes over from applets, AJAX and everything because Flash, you know, such a nice experience for people. That's what I have been looking at. And, you know, it runs across the platform without you having to worry about. You know, when you dealing with _javascript_, and the reason I abandoned the language was because I just don't wanna have to say, what browser might working under, what platform might running on, whatever it is, and then write my code differently for each case. That's just ludicrous? I don't wanna spend my time that ways. So, one of the cool things about Flex, you can write, I mean it's got classes and all the stuff and components and everything. The new Flex 2, you can actually, they built, this was very clever they built on top of Eclipse, so their tool is built on top of Eclipse and for the graphical-user-interfaces you can actually do the dragging-dropping of the flash components and then write the program underneath. I have been pretty happy with..And I think, by the time they actually release it they will have improved it even more.. Interviewer: Excellent, Excellent, Flash is pretty incredible, just platform in general, its like the mega applet..with distribution (???)Bruce Eckel: Exactly.Interviewer: Are there any other dynamic languages that catch your eye right now, if so why? In answer to this question, he mentioned that he is learning ActionScript 3 and MXML apart from other languages.On 3/6/06, Matt Chotin [EMAIL PROTECTED] wrote:My player didn't have the clock showing but I think it was about 10 mins in?-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of pk_wasp Sent: Sunday, March 05, 2006 10:53 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Bruce Eckels on Flex 2At What point those he talk about Flex? (the mp3 is quite long lol) cheers--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED]wrote: Cool! I knew Bruce on this list is the one Bruce Eckel, I even asked... -abdul On 3/6/06, Carlos Balacuit [EMAIL PROTECTED] wrote: In an interview with Bruce Eckel (author of the books Thinking in C++ and Thinking in Java ), he talks about his positive experience with experimenting with Flash and Flex 2. You can hear this interview on the Java Posse podcast, episode #37 Interview with Bruce Eckel, Part 2 at http://www.javaposse.com/index.php?post_id=65327 - Carlos-- 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 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] [ann] Sydney Developers Study Group 13th March
On Monday 13th March is the first meeting of the year and it starts with the new study group weekly meeting format. With the study group format, members are asked to study some aspect of the Flash Platform prior to the meeting (see http://www.flashdev.org.au/program). At the meeting, the moderator will lead discussion and questions about the topic. The meeting is on at 6:30pm for 7pm start and finishes around 8:30pm. Details about the group, venue and program are available from http://www.flashdev.org.au. Please note, whilst the meetings and the use of the club are free, the club does require us to purchase beverages and/or snacks in exchange. Please RSVP at http://www.flashdev.org.au/rsvp. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au -- 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] FB2 :: Horizontal scroll bug, opening file
Hello, Just curious if this bug is being remedied. Type text farther than the horizontal width of the code pane. Then try and edit text at the very end of the line with the scroll bar at max position. Then right after you type something, the horizontal scrollbar gets set back to 0. Also, With the link/class view thing; Seems like this happens way to fast. I use ctrl-c and ctrl-v all the time, when doing this combination fast, I end up opening a copy of the file when hitting ctrl-v fast. 1 out of ten times I have to close the copy and say no on the save changes. Anyway, just some thoughts. Peace, Mike-- What goes up, does come down. -- 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] IE Update disables Flash
Here's an example of the dynamic external js source. I haveapplied the patch but it has made no difference. I still have to activate the the flash movie every time. Carson document.write("object classid='' codebase='' width='900' height='675'");document.write("id='test.mxml.swf'");document.write("");document.write(" param name='flashvars' value='historyUrl=%2Fflex%2Fflex%2Dinternal%3Faction%3Dhistory%5Fhtmllconid=" + lc_id +"'");document.write(" param name='src' value='test.mxml.swf'");document.write(" embed pluginspage='http://www.macromedia.com/go/getflashplayer' width='900' height='675'");document.write(" flashvars='historyUrl=%2Fflex%2Fflex%2Dinternal%3Faction%3Dhistory%5Fhtmllconid=" + lc_id +"'");document.write(" src=''");document.write(" name='test.mxml.swf'");document.write(" /");document.write("/object"); Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk EismannSent: Monday, March 06, 2006 12:29 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] IE Update disables Flash same here. Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika KiljunenSent: Monday, March 06, 2006 9:12 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] IE Update disables Flash Now that the hotfix hides the script code on the html wrapper it broke my custom wrapper and I cant see the script code that needs to be changed L Please, could someone from Macromedia (uhum Adobe) post the script code that flex now generates on with this: script src=""> -Mika From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint ModienSent: 3. maaliskuuta 2006 19:46To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] IE Update disables Flash Awesome... thanks Dave and Adobe. On 3/3/06, Dave Carabetta [EMAIL PROTECTED] wrote: On 3/3/06, Clint Modien [EMAIL PROTECTED] wrote: Anyone else seen this?http://weblogs.asp.net/jgalloway/archive/2006/03/03/439483.aspx Should I start using FlashObject? Clint,Did you see/apply this hot fix released yesterday?http://www.macromedia.com/go/ace0407 Regards,Dave.--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.
Re: [flexcoders] GUI testing best practices
should be Mercury Quick Test Pro.On 3/5/06, Johannes Nel [EMAIL PROTECTED] wrote: as the guys from adobe has stated on this list before they are currently in some prerelase alpha or beta testing stage of a product for this. search the archives for mecury On 3/4/06, Michael Klishin [EMAIL PROTECTED] wrote: Hi,With FlexUnit for Flex 2 have been realised recently I have to ask onceagain... How do you think, what are the best ways to test GUI inMVC driven Flexapplication?Regards.--Michael Antares Klishin,Email: [EMAIL PROTECTED] Web: www.novemberain.comNon progredi est regredi--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/ -- 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 . -- 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] regarding data Grid and remote Object
Thanx Matt...bt now another prob has cropped up... chkBusyValue is a checkbox in my class... whenver I drag a row in this gridfirst row gets displayed correctly... eg...Suppose checkbox is not selected...then value of the BusyValue Column gets displayed correctly... bt after tht If i select checkbox...and then drag a row...all the rows get updated...and the value of the busyValue column becomes "busy" for all the rows...Can U tell me ..why is this so..? ny solution...Matt Chotin [EMAIL PROTECTED] wrote:This is 1.5? And chkBusyValue is an object in your class? You probably need a Delegate for the busyValueLabelFunccol.labelFunction = mx.utils.Delegate(this, busyValueLabelFunc)As for when you send it through a remote object, youll either need to convert it on the server-side or make sure you change the value in the object before you actually send it. Or store the boolean as another value on the object and just send it that way. MattFrom: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nehaSent: Friday, March 03, 2006 10:45 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] regarding data Grid and remote Object I added a DataGridColumn to my grid using the following code*var col:DataGridColumn;col = new DataGridColumn();col.headerText = "Busy Value";col.columnName = "busyValue";col.labelFunction = busyValueLabelFunc;selectedFieldsGrid.addColumnAt(4,col);*Label Function is:**function busyValueLabelFunc(item):String {if chkBusyValue.selected){ return "busy"; }if (!chkBusyValue.selected) { return "-";}}**WhenevrI drag a row from another grid to this grid having busy Value columnvalue in Busy Value column is always "-"...irrespective of state of checkBox...Other problem is...when a row is added in the grid ...it is always saved in the session thru remote Object...and the row is send to remote Object as a Java Class Object...In java class object I want to set the busy Value as true or falseIf anybody knows how to do it...plz help me!! Its really urgent!Jiyo cricket on Yahoo! India cricketYahoo! Messenger Mobile Stay in touch with your buddies all the time. Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. -- 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.
AW: [flexcoders] DataGridColumn sortCompareFunction (Flex 2 Beta 1)
Thanks Matt, so I am waiting for B2. Is there any public information about the date you are publishing B2? Harry Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Matt Chotin Gesendet: Montag, 6. März 2006 07:50 An: flexcoders@yahoogroups.com Betreff: RE: [flexcoders] DataGridColumn sortCompareFunction (Flex 2 Beta 1) Yes, the docs are wrong on b1 on the signature. If you provided a custom comparator in b1 it may be that you need to know whether you wanted ascending or descending though I thought we were handing it correctly. Im pretty sure it behaves correctly in b2 though. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Harald Dehn Sent: Sunday, March 05, 2006 4:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGridColumn sortCompareFunction (Flex 2 Beta 1) Hello, I do have some problemens with a custom sort compare function in a DataGrid. In the Columnn I like to sort birthdates of persons. Regarding the manunal the callback function should have the following signature mySortCompareFunction(obj1 : Object, obj2 : Object, columnIndex : Number) : Number With this signature I get the following error message ArgumentError: Error #1063: Argument count mismatch on CellRenderer::DateCellRenderer/Compare(). Expected 3, got 2 at mx.collections::Sort/mx.collections:Sort::internalCompare() at Array/sort() [] So I tried the following function with only two arguments: var _ColumnName:String = birthDate; public function Compare(pRow1:Object, pRow2:Object):Number { var _T1:Number; var _T2:Number; if( pRow1[_ColumnName] == null ) { if( pRow2[_ColumnName] == null ) return 0; else return -1; } else _T1 = pRow1[_ColumnName].time; if( pRow2[_ColumnName] == null ) return 1; else { _T2 = pRow2[_ColumnName].time; if( _T1 _T2 ) return -1; if( _T1 _T2 ) return 1; return 0; } } This works fine with one exception; the rows are always sorted ascend, even when the sort arrow indicates that the rows should be sorted descant. Where is my mistake? Harry -- 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] place object on stage from class
How can I place a canvas or other object on the stage from a class? I've tried the following public class Window extends Sprite { private var c:Canvas; public function Window() { c = new Canvas(); c.setStyle(borderStyle, solid); c.setStyle(borderColor, #FFABC4); c.width = 100; c.height = 100; var s:Stage = new Stage(); s.addChild(c); } } Well, that doesn't work, but I'm somewhat lost at where to look next. Any pointers in the right direction would be much appreciated. Kind regards, Sonja Duijvesteijn ps. if this message was sent twice my apologies, i'm having some trouble with my mail. -- 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: Bruce Eckels on Flex 2
Hi Abdul, Can you provide a direct link? I can't see where is the interview. Thanks On 3/6/06, Abdul Qabiz [EMAIL PROTECTED] wrote: Yeah, it's between 10 to 13 mins. I have writtent the transcription of the part of interview which talks about Flex/Flash/FlexBuilder/ActionScript. I am not very good in language and not good at understanding foreign accents, I would have surely made some mistakes... But i hope, its fine as long as you guys don't mind it :) only a part of interviewBruce Eckel: On the the other hand, I have been experimenting with Flash, this Flex 2, that is still in Beta right now. But I have been developing with it and for Graphical User Interface stuff, boy, and also Rich client stuff. I think, that is, may be, gonna be the thing that takes over from applets, AJAX and everything because Flash, you know, such a nice experience for people. That's what I have been looking at. And, you know, it runs across the platform without you having to worry about. You know, when you dealing with _javascript_, and the reason I abandoned the language was because I just don't wanna have to say, what browser might working under, what platform might running on, whatever it is, and then write my code differently for each case. That's just ludicrous? I don't wanna spend my time that ways. So, one of the cool things about Flex, you can write, I mean it's got classes and all the stuff and components and everything. The new Flex 2, you can actually, they built, this was very clever they built on top of Eclipse, so their tool is built on top of Eclipse and for the graphical-user-interfaces you can actually do the dragging-dropping of the flash components and then write the program underneath. I have been pretty happy with..And I think, by the time they actually release it they will have improved it even more.. Interviewer: Excellent, Excellent, Flash is pretty incredible, just platform in general, its like the mega applet..with distribution (???)Bruce Eckel: Exactly.Interviewer: Are there any other dynamic languages that catch your eye right now, if so why? In answer to this question, he mentioned that he is learning ActionScript 3 and MXML apart from other languages. On 3/6/06, Matt Chotin [EMAIL PROTECTED] wrote: My player didn't have the clock showing but I think it was about 10 mins in?-Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] OnBehalf Of pk_wasp Sent: Sunday, March 05, 2006 10:53 PMTo: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Bruce Eckels on Flex 2At What point those he talk about Flex? (the mp3 is quite long lol) cheers--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED]wrote: Cool! I knew Bruce on this list is the one Bruce Eckel, I even asked... -abdul On 3/6/06, Carlos Balacuit [EMAIL PROTECTED] wrote: In an interview with Bruce Eckel (author of the books Thinking in C++ and Thinking in Java ), he talks about his positive experience with experimenting with Flash and Flex 2. You can hear this interview on the Java Posse podcast, episode #37 Interview with Bruce Eckel, Part 2 at http://www.javaposse.com/index.php?post_id=65327 - Carlos -- 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 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.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 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. -- ::| Carlos Rovira::| http://www.carlosrovira.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
RE: [flexcoders] mx.control.alert
Thanks Matt, The height property increases the size of the Alert box. But it does not realign the controls inside the Alert box. (The height of the textbox where the message is displayed is still the same) From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Sunday, March 05, 2006 3:16 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] mx.control.alert If you call Alert.show youll get the Alert instance back. You should be able to then set its width and height. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Deepak Verma Sent: Thursday, March 02, 2006 9:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] mx.control.alert Yes, adding \n \r increases the box size but scrollbar is still there . Any ideas to remove scroll bar From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Friday, March 03, 2006 12:09 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] mx.control.alert Try adding some \n and \r to the end of the text you put in to the Alert box. - Original Message - From: deepu_verma [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 12:05 PM Subject: [flexcoders] mx.control.alert Hi all, I am using mx.controls.Alert.show in flex 1.5 The text in the alert box is displayed with a vertical scroll bar. How can I increase the size of the alert box. Thanks, Deepak -- 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.
[flexcoders] HTTPService: Security error accessing url
I have the following code in my Flex 2.0 application. Basically I'mtrying to send a HTTP request to a remote computer with Cocooninstalled. The entry actualitza1.xml reads the http request parametersand calls the PL procedures that access the database. When it attemps to reach the specified url in the mx:HTTPService tag, it launches the following error: "Security error accessing url"When I debug the application, I get a Sandbox security violation... can anyone help me with this, please... May I use a crossdomain.xml file somewhere in the remote computer?? May I write a destination entry in the Flex configuration files?Any help will be appreciatedThanks!?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" initialize="srvpost.send()" mx:Script ![CDATA[ import mx.controls.Alert; ]] /mx:Script !-- Security error accessing url -- mx:HTTPService id="srvpost" method="POST" useProxy="false" resultFormat="xml" fault="Alert.show(event.fault.faultstring);" result="myText.text=srvpost.result.toString()" url="" mx:request fdni155959792/fdni ftlf971232323/ftlf fmail[EMAIL PROTECTED]/fmail /mx:request /mx:HTTPService/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 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] Need help for download operation using web service
Hi all, I use flex 2. I want to write for download attachment file from server by using my java web service. My java web service return string(file name) and base64Binary(data) type. result fileNameMyFile.txt/fileName datadGVzdA0K/data /result I can decode base64 string (dGVzdA0K) to orginal text(test). But, I don't know how to give user as a file to download it. I am not sure it's can possible or not. The first I want to know is am I need to use a servlet to generate a response to client. If not require, is there any solution and let me know how? 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 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] Dynamic inserted column in datagrid
Dear all, i have facing a problem like this. I call two web service. One of them get the dataset .The other is get the column label and name of the datagrid. After i have get this 2 web service result(i sure i got it). I use actionscript to add the datagridcolumn into the datagrid according to the data i get from the second web service. After that i have set the dataprovider of the datagrid to be the result of the first web service . Actually the data can show . But the column width cannot set. Sometime 3 of the column width have used up all the datagrid width and the other column just hidden until you have use mouse to resize the column. i have set the column width but the problem come the same. What i can do? thx capho -- 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: Bruce Eckels on Flex 2
It's podcast, so download from this link: http://www.javaposse.com/index.php?post_id=65327 MP3 link is near the end of page. On 3/6/06, Carlos Rovira [EMAIL PROTECTED] wrote: Hi Abdul, Can you provide a direct link? I can't see where is the interview. Thanks On 3/6/06, Abdul Qabiz [EMAIL PROTECTED] wrote: Yeah, it's between 10 to 13 mins. I have writtent the transcription of the part of interview which talks about Flex/Flash/FlexBuilder/ActionScript. I am not very good in language and not good at understanding foreign accents, I would have surely made some mistakes... But i hope, its fine as long as you guys don't mind it :) only a part of interviewBruce Eckel: On the the other hand, I have been experimenting with Flash, this Flex 2, that is still in Beta right now. But I have been developing with it and for Graphical User Interface stuff, boy, and also Rich client stuff. I think, that is, may be, gonna be the thing that takes over from applets, AJAX and everything because Flash, you know, such a nice experience for people. That's what I have been looking at. And, you know, it runs across the platform without you having to worry about. You know, when you dealing with _javascript_, and the reason I abandoned the language was because I just don't wanna have to say, what browser might working under, what platform might running on, whatever it is, and then write my code differently for each case. That's just ludicrous? I don't wanna spend my time that ways. So, one of the cool things about Flex, you can write, I mean it's got classes and all the stuff and components and everything. The new Flex 2, you can actually, they built, this was very clever they built on top of Eclipse, so their tool is built on top of Eclipse and for the graphical-user-interfaces you can actually do the dragging-dropping of the flash components and then write the program underneath. I have been pretty happy with..And I think, by the time they actually release it they will have improved it even more.. Interviewer: Excellent, Excellent, Flash is pretty incredible, just platform in general, its like the mega applet..with distribution (???)Bruce Eckel: Exactly.Interviewer: Are there any other dynamic languages that catch your eye right now, if so why? In answer to this question, he mentioned that he is learning ActionScript 3 and MXML apart from other languages. On 3/6/06, Matt Chotin [EMAIL PROTECTED] wrote: My player didn't have the clock showing but I think it was about 10 mins in?-Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] OnBehalf Of pk_wasp Sent: Sunday, March 05, 2006 10:53 PMTo: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Bruce Eckels on Flex 2At What point those he talk about Flex? (the mp3 is quite long lol) cheers--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED]wrote: Cool! I knew Bruce on this list is the one Bruce Eckel, I even asked... -abdul On 3/6/06, Carlos Balacuit [EMAIL PROTECTED] wrote: In an interview with Bruce Eckel (author of the books Thinking in C++ and Thinking in Java ), he talks about his positive experience with experimenting with Flash and Flex 2. You can hear this interview on the Java Posse podcast, episode #37 Interview with Bruce Eckel, Part 2 at http://www.javaposse.com/index.php?post_id=65327 - Carlos -- 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 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.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 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. -- ::| Carlos Rovira::| http://www.carlosrovira.com --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS
Re: [flexcoders] HTTPService: Security error accessing url
You can place a crossdomain.xml on remote computer, which allows requests from this domain. If you are using Flex Server (FES) you can use proxy... -abdul On 3/6/06, nahruka [EMAIL PROTECTED] wrote: I have the following code in my Flex 2.0 application. Basically I'mtrying to send a HTTP request to a remote computer with Cocooninstalled. The entry actualitza1.xml reads the http request parametersand calls the PL procedures that access the database. When it attemps to reach the specified url in the mx:HTTPService tag, it launches the following error: Security error accessing urlWhen I debug the application, I get a Sandbox security violation... can anyone help me with this, please... May I use a crossdomain.xml file somewhere in the remote computer?? May I write a destination entry in the Flex configuration files?Any help will be appreciatedThanks! ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.macromedia.com/2005/mxml xmlns=* initialize=srvpost.send() mx:Script ![CDATA[ import mx.controls.Alert; ]] /mx:Script !-- Security error accessing url -- mx:HTTPService id=srvpost method=POST useProxy=false resultFormat=xml fault= Alert.show(event.fault.faultstring); result=myText.text=srvpost.result.toString() url="" href="http://172.20.2.193:/curs/actualitza1.xml" target="_blank"> http://172.20.2.193:/curs/actualitza1.xml mx:request fdni155959792/fdni ftlf971232323/ftlf fmail [EMAIL PROTECTED]/fmail /mx:request /mx:HTTPService/mx:Application--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] Flex 2.0 with 1.5 default skin/theme?
yes, you should be able to use the -theme option to specify the haloclassic.swc file: mxmlc -theme=c:/flexdeploy/frameworks/themes/haloclassic.swc -file-specs c:/myfiles/flex2/events/MultipleButtons.mxml hth, Matthew J. Horn Flex docs From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephane B.Sent: Saturday, March 04, 2006 7:40 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2.0 with 1.5 default skin/theme? Forgive me the typo below, I meant for an application developed with Flex 2.0, of course. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephane B.Sent: Saturday, March 04, 2006 1:02 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2.0 with 1.5 default skin/theme? Hello everyone, Is there any safe way to use the Flex 1.5 default skin and theme (Halo) for an application developed with Flex 1.5? Thank for your time. Stephane B. -- 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 and URL variables
If you are using a static HTML page to serve up the SWF file, then you need to manually specify the params as flashVars variables in the wrapper. For example, to pass the name Nick Danger you might do this: object classid='clsid:D27CDB6E-AE6D-11cf-96B8-44455354' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflas h.cab#version=9,0,0,0' width='500' height='500' param name='flashVars' value='firstname=Nicklastname=Danger' param name='src' value='FlashVarsValues.mxml.swf' embed pluginspage='http://www.macromedia.com/go/getflashplayer' width='500' height='500' flashVars='firstname=Nicklastname=Danger' src='FlashVarsValues.mxml.swf'/ /object If you are using something like JSP to serve up the SWF file, then you can use expressions to set the values of the flashVars in the wrapper: % String fName = (String) request.getParameter(firstname); String lName = (String) request.getParameter(lastname); % ... object classid='clsid:D27CDB6E-AE6D-11cf-96B8-44455354' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflas h.cab#version=9,0,0,0' width='500' height='500' param name='flashVars' value='firstname=%= fName %lastname=%= lName %' param name='src' value='FlashVarsValues.mxml.swf' embed pluginspage='http://www.macromedia.com/go/getflashplayer' width='500' height='500' flashVars='firstname=%= fName %lastname=%= lName %' src='FlashVarsValues.mxml.swf'/ /object If you have the FDS server, then query string params are converted to flashVars for you. Hth, Matthew J. Horn Flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yaagcur Sent: Sunday, March 05, 2006 1:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex and URL variables http://livedocs.macromedia.com/flex/20beta1/docs/1300.html covers this topic However, although it works if you pass the URL as a .swf, if you try .html (which is presumably what you want) then it fails Hope someone can explain how to do this in Flex 2.0 as it would be a great feature Andy Clark --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: In Flex 2, the Application instance has a parameters property with name/value pairs for the URL parameters and FlashVars. So in an Application script you would just access parameters.number and it would be 3. From other scripts, you would use Application.application.parameters.number. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Thursday, March 02, 2006 2:55 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex and URL variables Flex 1.5 or 2? - Original Message - From: Jonathan Miranda mailto:[EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 5:49 PM Subject: [flexcoders] Flex and URL variables Alright, I've done this with Flash before but I'm wondering how similar it is. Let's say I start my app @ http://mysite.com/index.mxml?number=3 What's the easiest way to get that 3 into a variable in Flex? Using FlashVars in the embed/object tags and then somehow do mx.core.application.Application.number as my variable? _ Jonathan Miranda Flexible Master of the Web Try not to become a man of success, but a man of value. - Albert Einstein HealthGrades http://www.healthgrades.com/ : Guiding America to Better Healthcare(tm) 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
[flexcoders] Flex application architecture for data validation
We are trying to come up with a strategy for data validation in our Flex application. Our current approach is to perform basic data validation (valid values for each field) on the client side and invoke server-side objects to perform more thorough validation such as relational edits(e.g. if field x 100, field y must have value AA). However, I'm wondering whether an approach that favors more client-side validation would be better. Something like validate on the client side as long as no call to the server is required to retrieve additional data or access external services. The answer, I imagine, is it depends. But I'd be interested to know what factors to consider and what guidelines others are using for their Flex data capture applications. Thanks Gary Ault Bureau of Labor Statistics -- 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 socket interface
Marc, The local server model is great but there are some troublesome aspects that can bit you: You need to serve a crossdomain.xml file over HTTP from the local server. This will allow a web based application to interoperate with a desktop based server. This is essential to get this to work. Basically this forces you to support both HTTP and XMLSocket/Socket in parallel. Other than getting the server installed you will be good to go. With a local server installed, it is quite easy to add fileIO and other features. In IFBIN we use a local server to run the service itself. Currently it runs a mixed HTTP/XMLSocket server locally providing secure authenticated file installation/configuration, IFBIN Service is just DRM lite. We wanted to provide our subscribers with 1 click file installation and this solution worked out very well. Marc, please contact me offlist and I will set you up with some examples of how to make this work. Cheers, Theodore Patrick IFBIN Networks Founder and CEO http://www.ifbin.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of apeonaut Sent: Sunday, March 05, 2006 3:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2 socket interface Note to moderator: this is an update of a previous message that for some reason did not get sent to the group. Hi I have a console based, desktop network management app written in Java. I'd like to build Flex 2 browser-based GUI for this desktop app but I don't want to use Enterprise Services (or any commercial middleware layer) to communicate with this app (due to deployment license) I have noticed that the IFBIN service (ifbin.com) uses a class called SYNC to communicate via socket to a local Python based server, which would be ideal in my case. I can port my Java app to Python. Does anyone have any examples of SYNC in use with Flash or Flex? thanks marc -- 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. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.1/272 - Release Date: 3/1/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 * 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: Bruce Eckels on Flex 2
thanks Abdul : )On 3/6/06, Abdul Qabiz [EMAIL PROTECTED] wrote: It's podcast, so download from this link: http://www.javaposse.com/index.php?post_id=65327 MP3 link is near the end of page. On 3/6/06, Carlos Rovira [EMAIL PROTECTED] wrote: Hi Abdul, Can you provide a direct link? I can't see where is the interview. Thanks On 3/6/06, Abdul Qabiz [EMAIL PROTECTED] wrote: Yeah, it's between 10 to 13 mins. I have writtent the transcription of the part of interview which talks about Flex/Flash/FlexBuilder/ActionScript. I am not very good in language and not good at understanding foreign accents, I would have surely made some mistakes... But i hope, its fine as long as you guys don't mind it :) only a part of interviewBruce Eckel: On the the other hand, I have been experimenting with Flash, this Flex 2, that is still in Beta right now. But I have been developing with it and for Graphical User Interface stuff, boy, and also Rich client stuff. I think, that is, may be, gonna be the thing that takes over from applets, AJAX and everything because Flash, you know, such a nice experience for people. That's what I have been looking at. And, you know, it runs across the platform without you having to worry about. You know, when you dealing with _javascript_, and the reason I abandoned the language was because I just don't wanna have to say, what browser might working under, what platform might running on, whatever it is, and then write my code differently for each case. That's just ludicrous? I don't wanna spend my time that ways. So, one of the cool things about Flex, you can write, I mean it's got classes and all the stuff and components and everything. The new Flex 2, you can actually, they built, this was very clever they built on top of Eclipse, so their tool is built on top of Eclipse and for the graphical-user-interfaces you can actually do the dragging-dropping of the flash components and then write the program underneath. I have been pretty happy with..And I think, by the time they actually release it they will have improved it even more.. Interviewer: Excellent, Excellent, Flash is pretty incredible, just platform in general, its like the mega applet..with distribution (???)Bruce Eckel: Exactly.Interviewer: Are there any other dynamic languages that catch your eye right now, if so why? In answer to this question, he mentioned that he is learning ActionScript 3 and MXML apart from other languages. On 3/6/06, Matt Chotin [EMAIL PROTECTED] wrote: My player didn't have the clock showing but I think it was about 10 mins in?-Original Message- From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] OnBehalf Of pk_wasp Sent: Sunday, March 05, 2006 10:53 PMTo: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Bruce Eckels on Flex 2At What point those he talk about Flex? (the mp3 is quite long lol) cheers--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED]wrote: Cool! I knew Bruce on this list is the one Bruce Eckel, I even asked... -abdul On 3/6/06, Carlos Balacuit [EMAIL PROTECTED] wrote: In an interview with Bruce Eckel (author of the books Thinking in C++ and Thinking in Java ), he talks about his positive experience with experimenting with Flash and Flex 2. You can hear this interview on the Java Posse podcast, episode #37 Interview with Bruce Eckel, Part 2 at http://www.javaposse.com/index.php?post_id=65327 - Carlos -- 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 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.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 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. -- ::| Carlos Rovira::| http://www.carlosrovira.com --Flexcoders Mailing ListFAQ:
[flexcoders]Question about the Loader class
Does someone has a answer for my question, I've a question about the Loader class in Flex 2. I've created a simple project that adds an Image object to a VBox when a button has been clicked. I load the Image with the content of the Loader. I also connected a ProgressBar which shows the progress of bytes loaded. The first time i run the project it works fine. The progressbar is updating when receiving the bytes. The second time i run this project the progressbar is not updating because the image has already been cached by internet explorer. But loading the image takes the same time as when i run my project for the first time. So here's my question: Does the Loader class always downloads the image from the given url, even when the file is cached? Because when i just type in the url in ie the image is directly loaded. Thanx Richard -- 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] SOAP WebService faultString problem
Just the wsdl and mxml file? You can email me directly if you'd like. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jan L. Nauta Sent: Monday, March 06, 2006 3:28 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] SOAP WebService faultString problem H Pete, I'm not using the proxy, just a PHP5 SOAP server on an Apache2 server and Flex 2.0 Beta 1 on the client side. What file do you want me to send you? Regards, Jan L. Nauta -- 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] Question about error 'Can not resolve a multiname reference...'
Hi there, Why do i get the following error on building the project? Can not resolve a multiname reference unambiguously. flash.display:Loader (...\framework.swc(mx/controls/Loader)) are available. For example: I've used: import mx.controls.Loader; var myLoader:Loader = new Loader(); When i prepend mx.controls. for each Loader the problem is solved. But i thought that when using import mx.controls.Loader i could directly call Loader. Is that correct? Richard -- 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] IE Update disables Flash
Hi Carson, We are working on getting instructions published for how to manually create an html wrapper to workaround this issue, details on the way. The generated external file looks exactly like what you posted, good sniffing that .js code works in my environment. Applying the hotfix patch works for the generated wrappers with .mxml requests. I just applied the path and now dont get the IE activation prompt for .mxml requests You know your stuff - Ive seen you postings, so dont take this the wrong way Did you restart your flex server instance after applying the patch? I assume so b/c it had to be stopped to apply the patch. Heres the checklist of the files and settings just to confirm: Create a /WEB-INF/flex/hotfixes directory. Copy flex15_hf129366.jar from the temp directory to the hotfixes directory. Copy flex-bootstrap.jar to /WEB-INF/lib, overwriting the previous version. Copy commons-codec.jar and commons-httpclient.jar to WEB-INF/flex/jars. Update the flex.class.path in /WEB-INF/web.xml as follows context-param param-nameflex.class.path/param-name param-value/WEB-INF/flex/hotfixes,/WEB-INF/flex/jars/param-value /context-param Let me know if you still get prompted and we can figure out whats going on. regards, peter From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson Hager Sent: Monday, March 06, 2006 8:05 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] IE Update disables Flash Here's an example of the dynamic external js source. I haveapplied the patch but it has made no difference. I still have to activate the the flash movie every time. Carson document.write(object classid='' codebase='' width='900' height='675'); document.write(id='test.mxml.swf'); document.write(); document.write( param name='flashvars' value='historyUrl=%2Fflex%2Fflex%2Dinternal%3Faction%3Dhistory%5Fhtmllconid= + lc_id +'); document.write( param name='src' value='test.mxml.swf'); document.write( embed pluginspage='http://www.macromedia.com/go/getflashplayer' width='900' height='675'); document.write( flashvars='historyUrl=%2Fflex%2Fflex%2Dinternal%3Faction%3Dhistory%5Fhtmllconid= + lc_id +'); document.write( src=''); document.write( name='test.mxml.swf'); document.write( /); document.write(/object); Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent: Monday, March 06, 2006 12:29 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] IE Update disables Flash same here. Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika Kiljunen Sent: Monday, March 06, 2006 9:12 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] IE Update disables Flash Now that the hotfix hides the script code on the html wrapper it broke my custom wrapper and I cant see the script code that needs to be changed L Please, could someone from Macromedia (uhum Adobe) post the script code that flex now generates on with this: script src=""> -Mika From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Modien Sent: 3. maaliskuuta 2006 19:46 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] IE Update disables Flash Awesome... thanks Dave and Adobe. On 3/3/06, Dave Carabetta [EMAIL PROTECTED] wrote: On 3/3/06, Clint Modien [EMAIL PROTECTED] wrote: Anyone else seen this? http://weblogs.asp.net/jgalloway/archive/2006/03/03/439483.aspx Should I start using FlashObject? Clint, Did you see/apply this hot fix released yesterday? http://www.macromedia.com/go/ace0407 Regards, Dave. -- 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 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
Re: [flexcoders]Question about the Loader class
Hi, RichardI would like to look at your code, can you post a complete but simple version of your code...I am sure, Flash Player would not load data if it is already cached. There is something going wrong somewhere... -abdulOn 3/6/06, Richard Schutten [EMAIL PROTECTED] wrote: Does someone has a answer for my question,I've a question about the Loader class in Flex 2. I've created a simpleproject that adds an Image object to a VBox when a button has been clicked.I load the Image with the content of the Loader. I also connected a ProgressBar which shows the progress of bytes loaded. The first time i runthe project it works fine. The progressbar is updating when receiving thebytes. The second time i run this project the progressbar is not updating because the image has already been cached by internet explorer. But loadingthe image takes the same time as when i run my project for the first time.So here's my question:Does the Loader class always downloads the image from the given url, even when the file is cached?Because when i just type in the url in ie the image is directly loaded.ThanxRichard--Flexcoders Mailing ListFAQ: 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 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] Question about error 'Can not resolve a multiname reference...'
thought that when using import mx.controls.Loader i could directly callLoader. Is that correct?Right, but there is one Loader class in Flash Player API also, not sure if that is the reason you are getting that error... If that is the case, you have to explictly use it with fully-qualified namevar loader:Loader = new mx.controls.Loader();If that is the problem then compiler should be little more smart to understand things and make it easier for developers -abdulOn 3/6/06, Richard Schutten [EMAIL PROTECTED] wrote: Hi there,Why do i get the following error on building the project?Can not resolve a multiname reference unambiguously. flash.display:Loader(...\framework.swc(mx/controls/Loader)) are available. For example: I've used:import mx.controls.Loader;var myLoader:Loader = new Loader();When i prepend mx.controls. for each Loader the problem is solved. But ithought that when using import mx.controls.Loader i could directly callLoader. Is that correct?Richard--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/ -- 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 application architecture for data validation
I think, validations which has sensitive information, should not be done on client side. For example, any business logic that reveals some sensitive algorithm, don't do it on clientYou can do normal data validations, like numbers, date, email, credit card number validations(to validate if user has entered correct pattern for a VISA card but don't connect to gateway API from client directly, rather do it through a server-side script on your server), etc. I mean things which you see are done on client, can be done..But not sensitive things...-abdulOn 3/6/06, gault17 [EMAIL PROTECTED] wrote:We are trying to come up with a strategy for data validation in our Flex application. Our current approach is to perform basic datavalidation (valid values for each field) on the client side and invokeserver-side objects to perform more thorough validation such asrelational edits( e.g. if field x 100, field y must have value AA).However, I'm wondering whether an approach that favors more client-sidevalidation would be better. Something like validate on the client side as long as no call to the server is required to retrieve additionaldata or access external services. The answer, I imagine, is itdepends. But I'd be interested to know what factors to consider and what guidelines others are using for their Flex data captureapplications. ThanksGary AultBureau of Labor Statistics--Flexcoders Mailing ListFAQ: 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] FFMPEG GUI
Hi, I have build a GUI for FFMPEG using Flex 2. Read more here: http://soenkerohde.com/2006/03/06/ffmpeg-gui-using-flex-2-beta/ The sourcecode is included. The code is very simple but anyway people might be interested. Cheers, Sönke -- 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] place object on stage from class
Hi,DisplayObject's, such as Sprite, MovieClip have properties called stage and root.A flash/flex2 application can only have one stage but can have multiple roots (for each loaded SWF/Image). Check out the DisplayObject API for stage and root properties.http://livedocs.macromedia.com/labs/1/flex/langref/flash/display/DisplayObject.html -abdulOn 3/6/06, witchythewanderer [EMAIL PROTECTED] wrote: How can I place a canvas or other object on the stage from a class?I've tried the following public class Window extends Sprite { private var c:Canvas; public function Window() {c = new Canvas();c.setStyle(borderStyle, solid); c.setStyle(borderColor, #FFABC4);c.width = 100;c.height = 100;var s:Stage = new Stage();s.addChild(c); } }Well, that doesn't work, but I'm somewhat lost at where to look next.Any pointers in the right direction would be much appreciated.Kind regards,Sonja Duijvesteijnps. if this message was sent twice my apologies, i'm having some trouble with my mail.--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/ -- 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] bind datagrid index to a combo box
I would like to know how to tie a datagrid selection to a combo box. When the user selects a datgrid selection it will change the label shown on a specified combobox. 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/
Re: [flexcoders] place object on stage from class
But what are you trying to do? I mean, you can do same thing in better and easier way?If it is a Flex 2 application:You can do something like this:##WindowSample.mxml##mx:Application xmlns:mx= http://www.macromedia.com/2005/mxml creationComplete=onAppInit() mx:Script import Window; private var c:Window; private function onAppInit():void { c = new Window(); } /mx:Script/mx:Application##Window.as##package { import mx.core.UIComponent; import mx.core.Application; import mx.containers.Canvas; public class Window extends UIComponent { private var c:Canvas; public function Window() { super(); c = new Canvas(); c.setStyle(borderStyle, solid); c.setStyle(borderColor, #FFABC4); c.width = 100; c.height = 100; //Since there could be only one Stage in per application in Flex 2.0, // so adding to Application instance is fine. Application.application.addChild(c); } }}You can also look at mx.managers.SystemManager it manages application window.-abdulOn 3/6/06, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi,DisplayObject's, such as Sprite, MovieClip have properties called stage and root.A flash/flex2 application can only have one stage but can have multiple roots (for each loaded SWF/Image). Check out the DisplayObject API for stage and root properties. http://livedocs.macromedia.com/labs/1/flex/langref/flash/display/DisplayObject.html -abdulOn 3/6/06, witchythewanderer [EMAIL PROTECTED] wrote: How can I place a canvas or other object on the stage from a class?I've tried the following public class Window extends Sprite { private var c:Canvas; public function Window() {c = new Canvas();c.setStyle(borderStyle, solid); c.setStyle(borderColor, #FFABC4);c.width = 100;c.height = 100;var s:Stage = new Stage();s.addChild(c); } }Well, that doesn't work, but I'm somewhat lost at where to look next.Any pointers in the right direction would be much appreciated.Kind regards,Sonja Duijvesteijnps. if this message was sent twice my apologies, i'm having some trouble with my mail.--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* 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.
Re: [flexcoders] FFMPEG GUI
Cool! I am gonna look at it, I am working on something that requires FFMPEG..Hope, it would be handy...Thanks-abdulOn 3/6/06, Sönke Rohde [EMAIL PROTECTED] wrote:Hi, I have build a GUI for FFMPEG using Flex 2. Read more here:http://soenkerohde.com/2006/03/06/ffmpeg-gui-using-flex-2-beta/The sourcecode is included. The code is very simple but anyway people might be interested.Cheers,Sönke--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/ -- 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] eval gone in AS3, how to get reference to movieclip via target name?
eval was gone long back, I mean it was there but most of people stopped using, at least I did after Flash 5 was released. I could use [] or dot (.) to reference things...Much cleaner approach, though eval was little faster...But code clarity matters. Folks who were not using eval(..) would be happy now, as they don't have to port or change code a lot...-abdulOn 3/6/06, Matt Chotin [EMAIL PROTECTED] wrote: getClassByBame will return the Class, then you can use new on it. Make sure you have any class that you'd want to instantiate linked in by having a typed variable for it though… Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Bray Sent: Saturday, March 04, 2006 5:22 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name? I have a question that's almost related. In AS3, how can I instantiate a class, com.foo.MyClass, using the string com.foo.MyClass? The reason I ask is that I'd like to load an XML file and use it to dynamically create components at runtime. Something like this: components component className=com.foo.MyClass x=100 y=100/ component className=com.foo.MyClass x=100 y=100/ /components Thanks, Tom On 3/3/06, Gordon Smith [EMAIL PROTECTED] wrote: Whoa not only is there no eval(), there's no _target, no _level0, and no _global! Plus, you should almost always use Sprite instead of MovieClip. So what are you really trying to do? Are you using Flex or just pure AS3? Where are you getting a string like sprite1.sprite2.sprite3 from? Why do you have to transform it back into a Sprite reference? Could you have just kept the reference instead of the string? - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Boon Chew Sent: Friday, March 03, 2006 3:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name? Hi all, With the _eval being gone in AS3, does anyone know how to get to the reference of a movieclip (via the target name string) without using _eval (e.g. _level0.mc1.mc2.mc3) ? I know we can instantiate an object from a class name string via the _global namespace but not positive about mc's. Thanks. - boon Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. -- 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 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 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] IE Update disables Flash
Hey Peter, I have definitely restarted Tomcat since applying the patch. I can see the hotfix in the tomcat output at startup and have double checked your instructions. Everything appears to be in order. When I run a very basic mxml app, I get the following source in my browser. Does this look like the source you're getting? i was surprised by the object tag. I would have thought I would only getthe js version. Let me know if this sheds any light on the problem. Thanks, Carson htmlheadtitleOver-c/title/headstyleBODY {margin:0px;}/stylebodytable width='100%' height='100%' cellspacing='0' cellpadding='0'trtd valign='top'script language='_javascript_' charset='utf-8' src=''/scriptnoscriptobject classid='' codebase='' width='900' height='675'id='test.mxml.swf' param name='flashvars' value='' param name='src' value='test.mxml.swf' embed pluginspage='http://www.macromedia.com/go/getflashplayer' width='900' height='675' flashvars='' src='' name='test.mxml.swf' //object/noscript script src=''/script script language='_javascript_' charset='utf-8'document.write("briframe src='' name='_history' frameborder='0' scrolling='no' width='22' height='0'/iframe/br");/script/td/tr/table/body/html Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter WatsonSent: Monday, March 06, 2006 7:08 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] IE Update disables Flash Hi Carson, We are working on getting instructions published for how to manually create an html wrapper to workaround this issue, details on the way. The generated external file looks exactly like what you posted, good sniffing that .js code works in my environment. Applying the hotfix patch works for the generated wrappers with .mxml requests. I just applied the path and now dont get the IE activation prompt for .mxml requests You know your stuff - Ive seen you postings, so dont take this the wrong way Did you restart your flex server instance after applying the patch? I assume so b/c it had to be stopped to apply the patch. Heres the checklist of the files and settings just to confirm: Create a /WEB-INF/flex/hotfixes directory. Copy flex15_hf129366.jar from the temp directory to the hotfixes directory. Copy flex-bootstrap.jar to /WEB-INF/lib, overwriting the previous version. Copy commons-codec.jar and commons-httpclient.jar to WEB-INF/flex/jars. Update the flex.class.path in /WEB-INF/web.xml as followscontext-paramparam-nameflex.class.path/param-name param-value/WEB-INF/flex/hotfixes,/WEB-INF/flex/jars/param-value/context-param Let me know if you still get prompted and we can figure out whats going on. regards, peter From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: Monday, March 06, 2006 8:05 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] IE Update disables Flash Here's an example of the dynamic external js source. I haveapplied the patch but it has made no difference. I still have to activate the the flash movie every time. Carson document.write("object classid='' codebase='' width='900' height='675'");document.write("id='test.mxml.swf'");document.write("");document.write(" param name='flashvars' value='historyUrl=%2Fflex%2Fflex%2Dinternal%3Faction%3Dhistory%5Fhtmllconid=" + lc_id +"'");document.write(" param name='src' value='test.mxml.swf'");document.write(" embed pluginspage='http://www.macromedia.com/go/getflashplayer' width='900' height='675'");document.write(" flashvars='historyUrl=%2Fflex%2Fflex%2Dinternal%3Faction%3Dhistory%5Fhtmllconid=" + lc_id +"'");document.write(" src=''");document.write(" name='test.mxml.swf'");document.write(" /");document.write("/object"); Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk EismannSent: Monday, March 06, 2006 12:29 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] IE Update disables Flash same here. Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika KiljunenSent: Monday, March 06, 2006 9:12 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] IE Update disables Flash Now that the hotfix hides the script code on the html wrapper it broke my custom wrapper and I cant see the script code that needs to be changed L Please, could someone from Macromedia (uhum Adobe) post the script code that flex now generates on with this: script src=""> -Mika From:
Re: [flexcoders] FFMPEG GUI
Not bad. It seems to be very useful. I would have liked to see options for the Video size (qcif, sqcif, etc). I'm sure you an extend the functionality to include everything else but for most cases this would def work. Good tool...Disclaimer:I'm not bashing it just relating it to our last ffmpeg project and what we needed for a command string. On 3/6/06, Sönke Rohde [EMAIL PROTECTED] wrote: Hi, I have build a GUI for FFMPEG using Flex 2. Read more here: http://soenkerohde.com/2006/03/06/ffmpeg-gui-using-flex-2-beta/ The sourcecode is included. The code is very simple but anyway people might be interested. Cheers, Sönke -- 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 . -- John C. Bland III do what I can do when I can do it. - Chris Tucker, Money Talkshttp://www.gotoandstop.org - Home of FMUG.az -- 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] bind datagrid index to a combo box
A quick example:mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml creationComplete=onAppInit() mx:Script import mx.collections.ArrayCollection; var dgDP:ArrayCollection; var cbDP:ArrayCollection function onAppInit() { var songs:Array = [ {song:A, rating:5, artistId:1}, {song:B, rating:10, artistId:2}, {song:V, rating:4, artistId:3}, {song:D, rating:3, artistId:4} ]; dgDP = new ArrayCollection(songs); dg.dataProvider = dgDP; var singers:Array = [Singer_A, Singer_B, Singer_C, Singer_D]; cbDP = new ArrayCollection(singers); cb.dataProvider = cbDP; } /mx:Script mx:DataGrid id=dg width=100% mx:columns mx:DataGridColumn columnName=song headerText=Song / mx:DataGridColumn columnName=rating headerText=Rating / /mx:columns /mx:DataGrid mx:ComboBox id=cb selectedIndex={dg.selectedItem.artistId-1}//mx:Application-abdulOn 3/6/06, rgwilson26 [EMAIL PROTECTED] wrote: I would like to know how to tie a datagrid selection to a combo box.When the user selects a datgrid selection it will change the labelshown on a specified combobox.Thanks,--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 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] FFMPEG GUI
Hi John, thanks for your feedback. If you give me details about qcif and sqcif I would like to add these parameters. Cheers, Sönke From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John C. Bland IISent: Monday, March 06, 2006 6:32 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] FFMPEG GUI Not bad. It seems to be very useful. I would have liked to see options for the Video size (qcif, sqcif, etc). I'm sure you an extend the functionality to include everything else but for most cases this would def work. Good tool...Disclaimer:I'm not bashing it just relating it to our last ffmpeg project and what we needed for a command string. On 3/6/06, Sönke Rohde [EMAIL PROTECTED] wrote: Hi,I have build a GUI for FFMPEG using Flex 2. Read more here:http://soenkerohde.com/2006/03/06/ffmpeg-gui-using-flex-2-beta/The sourcecode is included. The code is very simple but anyway people mightbe interested.Cheers,Sönke--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 . -- John C. Bland II"I do what I can do when I can do it." - Chris Tucker, Money Talkshttp://www.gotoandstop.org - Home of FMUG.az -- 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] Questions about Thread
Hi. 1. RemoteObject doesn't make new threads, right? 2. Event makes new threads, right? 3. Which is AVM based on multi thread or thread pool (like VB) ?? -- 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] getStyle and Alpha for programmatic skins
The issue is still that I cannot get access to the actual value of `alpha' in a programmatic skin. The only reason that this is almost a moot point is that if you change the alpha property on the parent object, it applies an alpha channel to all the skins and contents of the object anyways -- so using alpha in the skin would be redundant. The real question is: If you provide a skin, should you be able to override (and even completely ignore) the alpha blending on the component, at least just for the parts drawn by that skin ( e.g., lets say you wanted to have a selective alpha applied). Jono On 3/6/06, Matt Chotin [EMAIL PROTECTED] wrote: Yes alpha is a property that runs from 0 to 1. All of the other alpha's (backgroundAlpha for example) are done as styles with the same 0 to 1 range. As for creating skins with arguments in the constructor, we really don't support it, it has to be no-arg. We don't have a general mechanism of knowing the constructor arguments and using them in a factory… Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Teoti GraphixSent: Sunday, March 05, 2006 7:30 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] getStyle and Alpha for programmatic skins Hello,Your aware that alpha values in AS3 are from 0 to 1 ?When you say; Regardless of the value, it seems that if you set the alpha of a VBox, it applies it to the skin anyway, whether you want to override the behavior or not.When you set the alpha of any instance it effects the instance of itself and it's children which in this case would be the borderSkin instance. I don't understand why you wouldn't be able to set the alpha of a DisplayObject which RectBorder is.As far as using getStyle() with an actuall property, I think Adobe changed the implementation of getStyle() (Adobe can comment on this [ can you get non-defined style properties with getStyle() ?? ] ). I think it is more strict now. :: this.alphaIt would return 1 if the skin is fully opaque. IE alpha = 100% Anyway, I don't understand the problem really ;-) I know why I am writting this becasue I didn't relaize that the values of alpha had changed in as3.Peace, Mike On 3/5/06, Jono Spiro [EMAIL PROTECTED] wrote: Preface: I'm extending a RectBorder and am trying to paramterize the coloring, etc., and have one problem with two ways to go about it --neither of which I can figure out. In one sense this is a more general problem...Problem: In a programmatic skin I'm writing, I cannot get access tothe 'alpha' value of an object, say a VBox where I set the borderSkin to my subclass. I *can* get access to backgroundColor thought, forinstance. Proposal 1) When I need the value: getStyle(alpha) -- this alwaysreturns 0. Or just saying `this.alpha' always returns 1. Regardless of the value, it seems that if you set the alpha of a VBox, it applies itto the skin anyway, whether you want to override the behavior or not. Ugh.Proposal 2) More generally, what if I want to instantiate my skinsubclass with a constructor -- not just the default constructor, but including values like alpha and keeping them privately? Skins mustprovide default constructors, otherwise they don't compile -- is there a way to provide constructor arguments to a skin, and then use it? Itried instantiating a skin like this, and passing the instance to borderSkin, but it didn't do anything. (dataBinding would be an idealsolution, so the skin gets redrawn). Cheers,Jono :~)-- 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 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
Re: [flexcoders] Questions about Thread
Macromedia Flash Player is single threaded VM. Which means, none of these makes thread hence they are asynchronous.Makes sense?-abdulOn 3/6/06, sn197412 [EMAIL PROTECTED] wrote: Hi.1. RemoteObject doesn't make new threads, right?2. Event makes new threads, right?3. Which is AVM based on multi thread or thread pool (like VB) ??--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.
Re: [flexcoders] FFMPEG GUI
It is the -s param. http://ffmpeg.sourceforge.net/ffmpeg-doc.html#SEC8-s qcif-s sqcifThese are used for specific sizes, namely for mobile, etc. On 3/6/06, Sönke Rohde [EMAIL PROTECTED] wrote: Hi John, thanks for your feedback. If you give me details about qcif and sqcif I would like to add these parameters. Cheers, Sönke From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of John C. Bland IISent: Monday, March 06, 2006 6:32 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] FFMPEG GUI Not bad. It seems to be very useful. I would have liked to see options for the Video size (qcif, sqcif, etc). I'm sure you an extend the functionality to include everything else but for most cases this would def work. Good tool...Disclaimer:I'm not bashing it just relating it to our last ffmpeg project and what we needed for a command string. On 3/6/06, Sönke Rohde [EMAIL PROTECTED] wrote: Hi,I have build a GUI for FFMPEG using Flex 2. Read more here:http://soenkerohde.com/2006/03/06/ffmpeg-gui-using-flex-2-beta/ The sourcecode is included. The code is very simple but anyway people mightbe interested.Cheers,Sönke--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 . -- John C. Bland III do what I can do when I can do it. - Chris Tucker, Money Talkshttp://www.gotoandstop.org - Home of FMUG.az -- 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 . -- John C. Bland III do what I can do when I can do it. - Chris Tucker, Money Talks http://www.gotoandstop.org - Home of FMUG.az -- 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] Questions about Thread
sn197412 wrote: Hi. 1. RemoteObject doesn't make new threads, right? 2. Event makes new threads, right? 3. Which is AVM based on multi thread or thread pool (like VB) ?? The Flash Player provides a single-threaded model for code execution. Ted did a good job explaining things here: http://www.powersdk.com/ted/2005/07/flash-player-mental-model-elastic.php -d -- 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] DateTimeAxis for use in a scheduler.
Hello all. I am currently testing the Flex 2.0 platform and am using it for a smester project at my college. I am currently developing a scheduling application in which an individuals schedule will be visualized via a stacked BarChart which will contain the hour on the xaxis and the individuals name on the y-axis. The bars must then represent a meeting and the width will represent the length of that meeting. I have written flash actionscript classes to draw a gantt chart similar to what I am doing here but I would really like to be able to accomplish this via the charting components provided by Flex. Any ideas? Thanks. Nick Selvaggio [EMAIL PROTECTED] www.nickgs.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 * 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] graphics.lineTo and anti-aliasing
The answer from the Player folks is that you can globally downgrade the quality of the movie which will start disabling antialiasing across the board, but you can't control it for an individual component. So at the moment the answer is no. Can you describe what you're trying to draw in more detail so I can forward it on as a use-case for the future? Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jono Spiro Sent: Sunday, March 05, 2006 12:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] graphics.lineTo and anti-aliasing Does anyone know of a way to turn off anti-aliasing of graphically drawn things -- lines, circles, etc.? (in particular, when drawn at angles) I tried messing with the parameters to lineTo so it wouldn't scale, round, or draw more than a hairline*, but I still cannot solid color, aliased pixels due to antialiasing. * graphics.lineStyle(0, fgColor, alpha, false, LineScaleMode.NONE, CapsStyle.SQUARE, JointStyle.MITER, 1); One solution is to work backwards and do a loop over every pixel and decide whether to color it, but that's ridiculous... Cheers, Jono :~) -- 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] IE Update disables Flash
Carson and I got this resolved. The problem was a non-default IE setting. Please note that this most likely doesnt apply to 99% of users but its certainly worth mentioning. If you have Disable Script Debugging (Internet Explorer ) unchecked in IE advanced settings you will still be prompted by IE to load the activeX plugin. This information will be added to our tech notes and hotfix readme.txt - peter From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson Hager Sent: Monday, March 06, 2006 12:12 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] IE Update disables Flash Hey Peter, I have definitely restarted Tomcat since applying the patch. I can see the hotfix in the tomcat output at startup and have double checked your instructions. Everything appears to be in order. When I run a very basic mxml app, I get the following source in my browser. Does this look like the source you're getting? i was surprised by the object tag. I would have thought I would only getthe js version. Let me know if this sheds any light on the problem. Thanks, Carson html head titleOver-c/title /head styleBODY {margin:0px; }/style body table width='100%' height='100%' cellspacing='0' cellpadding='0'trtd valign='top' script language='_javascript_' charset='utf-8' src=''/script noscript object classid='' codebase='' width='900' height='675' id='test.mxml.swf' param name='flashvars' value='' param name='src' value='test.mxml.swf' embed pluginspage='http://www.macromedia.com/go/getflashplayer' width='900' height='675' flashvars='' src='' name='test.mxml.swf' / /object /noscript script src=''/script script language='_javascript_' charset='utf-8' document.write(briframe src='' name='_history' frameborder='0' scrolling='no' width='22' height='0'/iframe/br); /script /td/tr/table /body /html Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Watson Sent: Monday, March 06, 2006 7:08 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] IE Update disables Flash Hi Carson, We are working on getting instructions published for how to manually create an html wrapper to workaround this issue, details on the way. The generated external file looks exactly like what you posted, good sniffing that .js code works in my environment. Applying the hotfix patch works for the generated wrappers with .mxml requests. I just applied the path and now dont get the IE activation prompt for .mxml requests You know your stuff - Ive seen you postings, so dont take this the wrong way Did you restart your flex server instance after applying the patch? I assume so b/c it had to be stopped to apply the patch. Heres the checklist of the files and settings just to confirm: Create a /WEB-INF/flex/hotfixes directory. Copy flex15_hf129366.jar from the temp directory to the hotfixes directory. Copy flex-bootstrap.jar to /WEB-INF/lib, overwriting the previous version. Copy commons-codec.jar and commons-httpclient.jar to WEB-INF/flex/jars. Update the flex.class.path in /WEB-INF/web.xml as follows context-param param-nameflex.class.path/param-name param-value/WEB-INF/flex/hotfixes,/WEB-INF/flex/jars/param-value /context-param Let me know if you still get prompted and we can figure out whats going on. regards, peter From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson Hager Sent: Monday, March 06, 2006 8:05 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] IE Update disables Flash Here's an example of the dynamic external js source. I haveapplied the patch but it has made no difference. I still have to activate the the flash movie every time. Carson document.write(object classid='' codebase='' width='900' height='675'); document.write(id='test.mxml.swf'); document.write(); document.write( param name='flashvars' value='historyUrl=%2Fflex%2Fflex%2Dinternal%3Faction%3Dhistory%5Fhtmllconid= + lc_id +'); document.write( param name='src' value='test.mxml.swf'); document.write( embed pluginspage='http://www.macromedia.com/go/getflashplayer' width='900' height='675'); document.write( flashvars='historyUrl=%2Fflex%2Fflex%2Dinternal%3Faction%3Dhistory%5Fhtmllconid= + lc_id +'); document.write( src=''); document.write( name='test.mxml.swf'); document.write( /); document.write(/object); Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann
RE: [flexcoders] Checkboard / chessboard pattern
beginFill() will let you fill with a solid color; there's no reason to use beginBitmapFill() unless the checkerboard squares are bitmaps. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman Sent: Monday, March 06, 2006 1:18 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Checkboard / chessboard pattern actualy 'beginBitmapFill' http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2441.html Philippe From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon Smith Sent: dimanche 5 mars 2006 4:09 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Checkboard / chessboard pattern There are drawing APIs like beginFill(), drawRect(), etc. that you can use to draw the squares. Check out the Graphics class. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of andrewstuartblah Sent: Saturday, March 04, 2006 1:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Checkboard / chessboard pattern Hello I'd like the background of my application to be a checkerboard / chessboard pattern. Can anyone suggest an easy programmtic way to do this? I'd like to avoid using bitmaps but i'll do it if need be. Thanks Andrew -- 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. --**STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--
[flexcoders] flex and crystal reports
Has anyone used crystal reports with flex and know how well the two inegrate? -- 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] ViewStack Transition
Hi, this is for Flex 2.0. Is it possible to use a transition between items in a ViewStack? The only examples Ive found have to do with using transitions between states. Thanks! Colin -- 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] polymorphic interfaces
hi all, especially Adobe dudes working on ze language. the fact that method signatures are not polymorphic when implementing an interface or overriding a function is a real pain in the behind. now in my interface i have to create a function as such interface IBla { function clone():IBla } but two levels down the line when i have extended this interface with another i want my clone to return a more concrete type, and then each of my classes that implement this interface their clone methods would ideally return their own type. yet all these classes implement IBla in some fashion either directly or indirectly so... anyway polymorphic function signatures would be nice. thanks johan-- 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] getStyle and Alpha for programmatic skins
So the question of can you get a skin to ignore the parents alpha, the answer is no. The parent will apply it along with your skins alphas no matter what. Now I suppose you could override the getter/setter of alpha on your component and propagate to the skins and just dont call super, you could even set another well-known variable that your skins could read and make their own adjustments. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jono Spiro Sent: Monday, March 06, 2006 10:49 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] getStyle and Alpha for programmatic skins The issue is still that I cannot get access to the actual value of `alpha' in a programmatic skin. The only reason that this is almost a moot point is that if you change the alpha property on the parent object, it applies an alpha channel to all the skins and contents of the object anyways -- so using alpha in the skin would be redundant. The real question is: If you provide a skin, should you be able to override (and even completely ignore) the alpha blending on the component, at least just for the parts drawn by that skin ( e.g., lets say you wanted to have a selective alpha applied). Jono On 3/6/06, Matt Chotin [EMAIL PROTECTED] wrote: Yes alpha is a property that runs from 0 to 1. All of the other alpha's (backgroundAlpha for example) are done as styles with the same 0 to 1 range. As for creating skins with arguments in the constructor, we really don't support it, it has to be no-arg. We don't have a general mechanism of knowing the constructor arguments and using them in a factory Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Teoti Graphix Sent: Sunday, March 05, 2006 7:30 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] getStyle and Alpha for programmatic skins Hello, Your aware that alpha values in AS3 are from 0 to 1 ? When you say; Regardless of the value, it seems that if you set the alpha of a VBox, it applies it to the skin anyway, whether you want to override the behavior or not. When you set the alpha of any instance it effects the instance of itself and it's children which in this case would be the borderSkin instance. I don't understand why you wouldn't be able to set the alpha of a DisplayObject which RectBorder is. As far as using getStyle() with an actuall property, I think Adobe changed the implementation of getStyle() (Adobe can comment on this [ can you get non-defined style properties with getStyle() ?? ] ). I think it is more strict now. :: this.alpha It would return 1 if the skin is fully opaque. IE alpha = 100% Anyway, I don't understand the problem really ;-) I know why I am writting this becasue I didn't relaize that the values of alpha had changed in as3. Peace, Mike On 3/5/06, Jono Spiro [EMAIL PROTECTED] wrote: Preface: I'm extending a RectBorder and am trying to paramterize the coloring, etc., and have one problem with two ways to go about it -- neither of which I can figure out. In one sense this is a more general problem... Problem: In a programmatic skin I'm writing, I cannot get access to the 'alpha' value of an object, say a VBox where I set the borderSkin to my subclass. I *can* get access to backgroundColor thought, for instance. Proposal 1) When I need the value: getStyle(alpha) -- this always returns 0. Or just saying `this.alpha' always returns 1. Regardless of the value, it seems that if you set the alpha of a VBox, it applies it to the skin anyway, whether you want to override the behavior or not. Ugh. Proposal 2) More generally, what if I want to instantiate my skin subclass with a constructor -- not just the default constructor, but including values like alpha and keeping them privately? Skins must provide default constructors, otherwise they don't compile -- is there a way to provide constructor arguments to a skin, and then use it? I tried instantiating a skin like this, and passing the instance to borderSkin, but it didn't do anything. (dataBinding would be an ideal solution, so the skin gets redrawn). Cheers, Jono :~) -- 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 Mailing List FAQ:
RE: [flexcoders] ViewStack Transition
Im using Flex 1.5 and I can use effects in a ViewStack, which I would guess works in Flex 2.0. Put the effect on the showEffect of the elements within your ViewStack, not on the ViewStack itself. I hope the code below helps. I have only briefly looked at the State and Transition objects in Flex 2.0, but I think this might achieve what you want. -Andy mx:Effect mx:WipeRight name=wipeRight duration=2000/ /mx:Effect mx:LinkBar dataProvider=myViewStack / mx:ViewStack width=100% height=100% id=myViewStack borderStyle=solid mx:VBox label=View 1 width=100% height=100% showEffect=wipeRight mx:Label text=This is View 1/ /mx:VBox mx:VBox label=View 2 width=100% height=100% showEffect=wipeRight mx:Label text=This is View 2/ /mx:VBox mx:VBox label=View 3 width=100% height=100% showEffect=wipeRight mx:Label text=This is View 3/ /mx:VBox /mx:ViewStack From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Colin Wiseley Sent: Monday, March 06, 2006 3:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ViewStack Transition Hi, this is for Flex 2.0. Is it possible to use a transition between items in a ViewStack? The only examples Ive found have to do with using transitions between states. Thanks! Colin -- 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] ViewStack Transition
Thanks works great. Thanks a lot! Colin From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Trice Sent: Monday, March 06, 2006 4:19 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ViewStack Transition Im using Flex 1.5 and I can use effects in a ViewStack, which I would guess works in Flex 2.0. Put the effect on the showEffect of the elements within your ViewStack, not on the ViewStack itself. I hope the code below helps. I have only briefly looked at the State and Transition objects in Flex 2.0, but I think this might achieve what you want. -Andy mx:Effect mx:WipeRight name=wipeRight duration=2000/ /mx:Effect mx:LinkBar dataProvider=myViewStack / mx:ViewStack width=100% height=100% id=myViewStack borderStyle=solid mx:VBox label=View 1 width=100% height=100% showEffect=wipeRight mx:Label text=This is View 1/ /mx:VBox mx:VBox label=View 2 width=100% height=100% showEffect=wipeRight mx:Label text=This is View 2/ /mx:VBox mx:VBox label=View 3 width=100% height=100% showEffect=wipeRight mx:Label text=This is View 3/ /mx:VBox /mx:ViewStack From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Colin Wiseley Sent: Monday, March 06, 2006 3:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ViewStack Transition Hi, this is for Flex 2.0. Is it possible to use a transition between items in a ViewStack? The only examples Ive found have to do with using transitions between states. Thanks! Colin -- 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] polymorphic interfaces
I think there's general agreement here that we want to do this in a future release, but that the schedule doesn't allow it for this release. There are quite a few other things that people want as well -- strongly-typed array, enums, inner classes, etc. -- but we can't open up the feature set again this late in the cycle (nearly Beta 2). - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Monday, March 06, 2006 1:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] polymorphic interfaces hi all, especially Adobe dudes working on ze language. the fact that method signatures are not polymorphic when implementing an interface or overriding a function is a real pain in the behind. now in my interface i have to create a function as such interface IBla { function clone():IBla } but two levels down the line when i have extended this interface with another i want my clone to return a more concrete type, and then each of my classes that implement this interface their clone methods would ideally return their own type. yet all these classes implement IBla in some fashion either directly or indirectly so... anyway polymorphic function signatures would be nice. thanks johan -- 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.
[flexcoders] Dynamic Image Loading
Hi I have to create an image in a TitleWindow when User clicks on one of the button. * mxml */ ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml closeButton=true width=600 height=600 xmlns:attachment=com.hmssoftware.sfm.view.attachment.* modalTransparency=20 click=this.deletePopUp(); creationComplete=createImage(); public var attachmentImageLocation:String; public var attacmentImageTitle:String; public var initObject:Object; [Embed(icon=../../../../../images/+attachmentImageLocation)] var _imgAttachment; public function createImage():Void { initObject = new Object(); initObject.source = _imgAttachment; Image(imageBox.createChild( Image, undefined, initObject)); } mx:VBox id=imageBox height=100% width=100% hScrollPolicy=on vScrollPolicy=on /mx:VBox /mx:TitleWindow I get the following error result Failed to find resource: ../../../../../images/ Can show me how to load images dynamically? My attachmentImageLocation is the full name of the image file without path e.g. Op120.jpg. Thanks, Shahn ShahnavazAlware |Software Engineer| Visiprise | office: +1 760-929-2300 ext 140| cell: +1 858-366-3440 | www.visiprise.com It is our company policy not to accept email of any data controlled by the International Traffic in Arms Regulations (ITAR). Please contact our Security Officer,Matt Reeves, for instructions and authorization to transmit such data. -- 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: Authentication with Macromedia Flex
That will be great. I understand that the different containers are, well different, but an example for Tomcat 5 (and maybe JRUN) will catch nearly all the Flex/J2EE newbies. Absolutely to the Flex form integration! Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Wolf Sent: Saturday, March 04, 2006 1:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Authentication with Macromedia Flex Tracy, Yep this is definately coming out from us as Carson said. I'll post here when its been published. I've been thinking a lot about it recently. I think its really important to show it from a Flex login form also. Its such an awesome example of how well Flex just seamlessly integrates into J2EE, as well as how J2EE benefits from the real RIA experience of Flex. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Carson Hager [EMAIL PROTECTED] wrote: We actually have an article coming out on this for DevNet in a couple months. The problem is that all J2EE containers have their own way of configuring these things. Yes, from a J2EE deployment standpoint, a web.xml is the same across all app servers but post deployment, per the J2EE spec, the server is not required to depend upon web.xml any more. That being said, the best we could do is to provide a sample web app that you could then deploy using your J2EE containers deployment method but at that point, tweeking the confguration would be server specific. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Friday, March 03, 2006 5:48 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Authentication with Macromedia Flex Hey, guys, would it be possible to come up with a simple, but full example? A step by step, keystroke by keystroke tutorial, that assumes no understanding of J2EE containers? It would have no options, no decisions, just do-this-and-it-will-work. A hello, world of J2EE authentication? Using a Flex IU would be ideal, if that does not complicate matters too much. Flex has forced a lot of folks into the J2EE world, and we need J2EE for dummies in a bad way! Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson Hager Sent: Thursday, March 02, 2006 11:11 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Authentication with Macromedia Flex It can be html or even a flex form that simply posts to j_security_check. Carson Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY ext. 89 Mobile: 1.703.489.6466 -Original Message- From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Thu Mar 02 23:11:04 2006 Subject: Re: [flexcoders] Re: Authentication with Macromedia Flex But Dave described using a cusom screen instead of the grey security/login popup thingy. In the web.xml settings you can set the URL of a custom form for login. This form can be in HTML or whatever, eh? DK On 3/2/06, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Dave, I don't disagree with you, that will work and I have seen it work. But I don't like the little pop-up challenge window. For lack of a better term, I wanted a more presentable login screen for my end users, so with the wonderful component model that Flex provides, I created a LoginView component that all our UIs re-use... see I didn't write much code either :) Is my way more complex? Perhaps just a wee little bit, but not very much. Both ways work, just a matter of choice I guess. Jimmy -Original Message- From: flexcoders@yahoogroups.com on behalf of Dave Wolf Sent: Thu 3/2/2006 9:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Authentication with Macromedia Flex I am trying to understand why we all keep trying to make this so complex rather then taking advantage of the functionality that is already in Flex and your container (JRun, Tomcat etc). J2EE has a resonably simple model for handling authentication and access control that alleviates the requirement to write your own login logic, to write specific login remote objects, use custom authentication etc. Effectively you only need to do the following. 1) Secure specific URL patterns
Re: [flexcoders] polymorphic interfaces
Hello, This is funny becasue I was just having this problem with the Event clone() ! :) I guess I just slammed it with a coerrsion for now.(Yeah I realize this is not an interface but it's the same idea :: you can't override a return type) But, yeah, I second this motion for the futrue! Peace, MikeOn 3/6/06, Gordon Smith [EMAIL PROTECTED] wrote: I think there's general agreement here that we want to do this in a future release, but that the schedule doesn't allow it for this release. There are quite a few other things that people want as well -- strongly-typed array, enums, inner classes, etc. -- but we can't open up the feature set again this late in the cycle (nearly Beta 2). - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Monday, March 06, 2006 1:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] polymorphic interfaces hi all, especially Adobe dudes working on ze language. the fact that method signatures are not polymorphic when implementing an interface or overriding a function is a real pain in the behind. now in my interface i have to create a function as such interface IBla { function clone():IBla } but two levels down the line when i have extended this interface with another i want my clone to return a more concrete type, and then each of my classes that implement this interface their clone methods would ideally return their own type. yet all these classes implement IBla in some fashion either directly or indirectly so... anyway polymorphic function signatures would be nice. thanks johan -- -- What goes up, does come down. -- 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] FastMxmlc
http://www.deitte.com/archives/2005/09/speeding_up_mxm.htmIs there anyway to do this for compc and making SWC's ? -- 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] polymorphic interfaces
thanks for the response. i understand that i just wanted to make certain you know of some more use cases and voices ;)On 3/6/06, Gordon Smith [EMAIL PROTECTED] wrote: I think there's general agreement here that we want to do this in a future release, but that the schedule doesn't allow it for this release. There are quite a few other things that people want as well -- strongly-typed array, enums, inner classes, etc. -- but we can't open up the feature set again this late in the cycle (nearly Beta 2). - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Monday, March 06, 2006 1:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] polymorphic interfaces hi all, especially Adobe dudes working on ze language. the fact that method signatures are not polymorphic when implementing an interface or overriding a function is a real pain in the behind. now in my interface i have to create a function as such interface IBla { function clone():IBla } but two levels down the line when i have extended this interface with another i want my clone to return a more concrete type, and then each of my classes that implement this interface their clone methods would ideally return their own type. yet all these classes implement IBla in some fashion either directly or indirectly so... anyway polymorphic function signatures would be nice. thanks johan -- 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. -- 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] polymorphic interfaces
i kinda walked the other way and excluyded this method from the interdface since i want each class to return its type (its a semantic argument but it hink a clone method should return the correct type and not some base type)On 3/6/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hello, This is funny becasue I was just having this problem with the Event clone() ! :) I guess I just slammed it with a coerrsion for now.(Yeah I realize this is not an interface but it's the same idea :: you can't override a return type) But, yeah, I second this motion for the futrue! Peace, MikeOn 3/6/06, Gordon Smith [EMAIL PROTECTED] wrote: I think there's general agreement here that we want to do this in a future release, but that the schedule doesn't allow it for this release. There are quite a few other things that people want as well -- strongly-typed array, enums, inner classes, etc. -- but we can't open up the feature set again this late in the cycle (nearly Beta 2). - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Monday, March 06, 2006 1:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] polymorphic interfaces hi all, especially Adobe dudes working on ze language. the fact that method signatures are not polymorphic when implementing an interface or overriding a function is a real pain in the behind. now in my interface i have to create a function as such interface IBla { function clone():IBla } but two levels down the line when i have extended this interface with another i want my clone to return a more concrete type, and then each of my classes that implement this interface their clone methods would ideally return their own type. yet all these classes implement IBla in some fashion either directly or indirectly so... anyway polymorphic function signatures would be nice. thanks johan -- -- What goes up, does come down. -- 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. -- 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.
[flexcoders] Asynchronous TestCase.setUp in FlexUnit
Hi, I've been using FlexUnit with one of my projects and ran into a problem. In one of my test cases, I want to load a bunch of data from an XML file in the TestCase.setUp() method, and have all of the individual tests use this as a fixture. The problem is that loading a file is an asynchronous operation, but there's no mechanism to make setUp asynchronous. Consider the following excerpt: public function setUp():void { var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE,onComplete); loader.load(new URLRequest(myfile.xml)); } private function onComplete(event:Event):void { var loader:URLLoader = URLLoader(event.target); myXML = new XML(loader.data); } public function testSomething():void { assertTrue(Should pass, myXML.someElement = some value); } The problem is that testSomething() gets called before onComplete(). Ideally I would like to prevent the tests from running until the onComplete() method is called. FlexUnit provides support for having a chain of asynchronous tests, but it doesn't seem to provide support for chaining asynchronous setup tasks. One possible workaround is to have each test method explicitly prepare the setup fixture: public function testSomething():void { beginTestSetup(testSomethingHandler); } private function testSomethingHandler(event:Event):void { endTestSetup(event); assertTrue(Should pass, xml.someElement = some value); } private function beginTestSetup(eventHandler:Function):void { var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE,addAsync(eventHandler,1000)); loader.load(new URLRequest(myfile.xml)); } private function endTestSetup(event:Event):void { var loader:URLLoader = URLLoader(event.target); myXML = new XML(loader.data); } But this is less than ideal. Any thoughts? -- Brian -- 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 recruitment list
Will there be a Flex Jobs posting list being started? -- 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] Accessing the Application Container in Flex 2
Hi All, I am new to Flex 2 and I am getting a strange error. I am trying to access a public variable defined at the application container using mx.core.Application.application. But Flex 2 shows the following error message: Access of undefined property 'application'. Excuse if this an simple question but I don't know where is the error. Thanks in advance. Baffa -- 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: Questions about Thread
Hi. Thanks for replay, Abdul and Darron. Thanks for a link, Darron. That is very helpful to understand AVM. Now I understand AVM a little. AVM is very similar to Visual Basic's Thread Pool theory. (That isn't multi threads too.) Thank you so much. --Shigeru -- 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] Dynamic Image Loading
Embed is a compile-time directive, not a runtime directive. You need to use mx:Image or mx:Loader to pull in your image. -rg From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shahnavaz AlwareSent: Monday, March 06, 2006 1:56 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Dynamic Image Loading Hi I have to create an image in a TitleWindow when User clicks on one of the button. * mxml */ ?xml version="1.0" encoding="utf-8"? mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml" closeButton="true" width="600" height="600" xmlns:attachment="com.hmssoftware.sfm.view.attachment.*" modalTransparency="20" click="this.deletePopUp();" creationComplete="createImage();" public var attachmentImageLocation:String; public var attacmentImageTitle:String; public var initObject:Object; [Embed(icon="../../../../../images/"+attachmentImageLocation)] var _imgAttachment; public function createImage():Void { initObject = new Object(); initObject.source = _imgAttachment; Image(imageBox.createChild( Image, undefined, initObject)); } mx:VBox id="imageBox" height="100%" width="100%" hScrollPolicy="on" vScrollPolicy="on" /mx:VBox /mx:TitleWindow I get the following error result Failed to find resource: ../../../../../images/ Can show me how to load images dynamically? My attachmentImageLocation is the full name of the image file without path e.g. Op120.jpg. Thanks, Shahn ShahnavazAlware |Software Engineer| Visiprise | office: +1 760-929-2300 ext 140| cell: +1 858-366-3440 | www.visiprise.com It is our company policy not to accept email of any data controlled by the International Traffic in Arms Regulations (ITAR). Please contact our Security Officer,Matt Reeves, for instructions and authorization to transmit such data. -- 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] Dynamic Image Loading
Hi, I changed my mxml file to have mx:Image mx:Loader but still I am not able to see any Image. * mxml */ ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml closeButton=true width=600height=600 modalTransparency=20 click=this.deletePopUp(); mx:Script ![CDATA[ public var attachmentImageLocation:String; public var attacmentImageTitle:String; ]] /mx:Script mx:VBox id=imageBox height=100% width=100% hScrollPolicy=on vScrollPolicy=on mx:Image id=imageSource source=../../../../../images/{attachmentImageLocation}/mx:Image mx:Loader id=imageLoader source=../../../../../images/{attachmentImageLocation}/mx:Loader /mx:VBox /mx:TitleWindow Thanks, From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Roger Gonzalez Sent: Monday, March 06, 2006 5:31 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Dynamic Image Loading Embed is a compile-time directive, not a runtime directive. You need to use mx:Image or mx:Loader to pull in your image. -rg From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of shahnavaz Alware Sent: Monday, March 06, 2006 1:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamic Image Loading Hi I have to create an image in a TitleWindow when User clicks on one of the button. * mxml */ ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml closeButton=true width=600 height=600 xmlns:attachment=com.hmssoftware.sfm.view.attachment.* modalTransparency=20 click=this.deletePopUp(); creationComplete=createImage(); public var attachmentImageLocation:String; public var attacmentImageTitle:String; public var initObject:Object; [Embed(icon=../../../../../images/+attachmentImageLocation)] var _imgAttachment; public function createImage():Void { initObject = new Object(); initObject.source = _imgAttachment; Image(imageBox.createChild( Image, undefined, initObject)); } mx:VBox id=imageBox height=100% width=100% hScrollPolicy=on vScrollPolicy=on /mx:VBox /mx:TitleWindow I get the following error result Failed to find resource: ../../../../../images/ Can show me how to load images dynamically? My attachmentImageLocation is the full name of the image file without path e.g. Op120.jpg. Thanks, Shahn ShahnavazAlware |Software Engineer| Visiprise | office: +1 760-929-2300 ext 140| cell: +1 858-366-3440 | www.visiprise.com It is our company policy not to accept email of any data controlled by the International Traffic in Arms Regulations (ITAR). Please contact our Security Officer,Matt Reeves, for instructions and authorization to transmit such data. -- 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 :: mx.logging package usage IE TraceTarget.filters
Hello, Now, I was experimenting with the mx.logging package. Looks really kewl, I have got some things working(BTW the docs are completly messed up on method signatures). Any adobe peplz want to give a heads up on the filters property of ITarget aka TraceTarget class? I have this method... protected function constructLogger():void { var traceTarget:ITarget = new TraceTarget(); traceTarget.filters = [com.teotigraphix.teodoc.core.TEODocObject]; traceTarget.level = LogEventLevel.DEBUG; Log.addTarget(traceTarget); __logger = Log.getLogger(com.teotigraphix.teodoc.core.TEODocObject); debug(constructLogger()); } Now, I am building a documenting framework for as3/mxml and most of my classes inherit the TEODocObject for using services, logging and events. Now, using the TraceTarget.filter, is there any way to filter calls FROM the TEODocObject and filter out subclasses of certain packages ? Example com.teotigraphix.teodoc.core.Project extends com.teotigraphix.teodoc.core.TEODocObject I don't want the debug being called for this class Project but I do want say com.teotigraphix.teodoc.core.TEODocProjectManager extends com.teotigraphix.teodoc.core.TEODocObject Any way to do this? Any more docs being produced for these classes? Remember, I have been reading the spotty docs on this and most of my trips are guesses ;-) Also, how do I set up the flash trace.txt file ??? Peace, Mike -- What goes up, does come down. -- 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] ButtonBar in Beta
I have this code: mx:ButtonBar mx:dataProvider mx:Button label=Up icon=@Embed('images/arrow_up.png')/ mx:Button label=Down icon=@Embed('images/arrow_down.png')/ mx:Button label=Cancel icon=@Embed('images/cancel.png')/ /mx:dataProvider /mx:ButtonBar It worked in the Flex 2 Alpha, but no such luck in the beta. Can anyone offer any insight on this? The example only shows how to use text on the buttons, not images. I also had trouble getting lastButtonStyleName to work. Has anyone else run into these issues? Thanks, Nik -- 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] polymorphic interfaces
What problem are you having with clone()? Here's a sample of how we override it in ListEvent, and it doesn't require any coercion. override public function clone():Event { return new ListEvent(type, bubbles, cancelable, columnIndex, rowIndex, reason, itemRenderer); } Are you calling clone() yourself? If so, why? It's intended to be called indirectly by the Player when you re-dispatch an event; i.e. you call dispatchEvent() on an Event instance which has already been dispatched and which you are handling. In this case, a clone of the original event is redispatched. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Monday, March 06, 2006 2:34 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] polymorphic interfaces Hello, This is funny becasue I was just having this problem with the Event clone() ! :) I guess I just slammed it with a coerrsion for now.(Yeah I realize this is not an interface but it's the same idea :: you can't override a return type) But, yeah, I second this motion for the futrue! Peace, Mike On 3/6/06, Gordon Smith [EMAIL PROTECTED] wrote: I think there's general agreement here that we want to do this in a future release, but that the schedule doesn't allow it for this release. There are quite a few other things that people want as well -- strongly-typed array, enums, inner classes, etc. -- but we can't open up the feature set again this late in the cycle (nearly Beta 2). - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Monday, March 06, 2006 1:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] polymorphic interfaces hi all, especially Adobe dudes working on ze language. the fact that method signatures are not polymorphic when implementing an interface or overriding a function is a real pain in the behind. now in my interface i have to create a function as such interface IBla { function clone():IBla } but two levels down the line when i have extended this interface with another i want my clone to return a more concrete type, and then each of my classes that implement this interface their clone methods would ideally return their own type. yet all these classes implement IBla in some fashion either directly or indirectly so... anyway polymorphic function signatures would be nice. thanks johan -- -- What goes up, does come down. -- 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] Accessing the Application Container in Flex 2
I'd need to see the code to help you. Can you trim it down to a tiny example that illustrates the problem? - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mvbaffa Sent: Monday, March 06, 2006 4:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Accessing the Application Container in Flex 2 Hi All, I am new to Flex 2 and I am getting a strange error. I am trying to access a public variable defined at the application container using mx.core.Application.application. But Flex 2 shows the following error message: Access of undefined property 'application'. Excuse if this an simple question but I don't know where is the error. Thanks in advance. Baffa -- 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] Flex 1.5 Bitmap image question?
Is there a way to get a bitmap image of a movieclip in Flex 1.5? Basically I have a panel or other container that I would like to get the bitmap image of? Thanks. -- 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] BackgroundImage options
On 3/6/06, Alberto Albericio Salvador [EMAIL PROTECTED] wrote: I use backgroundImage to set a container's background but is there any property to repeat this background to fill the whole container? Something like the background-repeat CSS attribute or the background HTML attribute. There were plans of adding background-repeat support, but the feature didn't make it in this version. So for now your only option is to create a separate SWF/bitmap with the repeating pattern and embed/link that as backgroundImage -- 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] Overlapping click regions
On 3/6/06, Sreenivas R [EMAIL PROTECTED] wrote: You can call event.stopPropagation() in the button click handler to prevent the event from bubbling up to the canvas. And I think if it's Flex 1.5, simply setting event.bubbles to false works (not sure though). 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 * 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] datagrid filter
On 3/5/06, Vadim Melnik [EMAIL PROTECTED] wrote: It's temporary uploaded to http://www.docsultant.com/temp/filtdp.zip , and will be removed with time... Thanks, Vadim! Now I've saved it. 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 * 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] regarding data Grid and remote Object
So when is this checkbox supposed to apply? Just when the item is created? In that case you should just have a property on the object that you add to the dataProvider that you set based on the checkbox. That way it wont change the other values. If you need each row to be different or store the value then you need to actually store it on the object or have it available some other way. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of neha Sent: Sunday, March 05, 2006 8:59 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] regarding data Grid and remote Object Thanx Matt...bt now another prob has cropped up... chkBusyValue is a checkbox in my class... whenver I drag a row in this gridfirst row gets displayed correctly... eg...Suppose checkbox is not selected...then value of the BusyValue Column gets displayed correctly... bt after tht If i select checkbox...and then drag a row...all the rows get updated...and the value of the busyValue column becomes busy for all the rows... Can U tell me ..why is this so..? ny solution... Matt Chotin [EMAIL PROTECTED] wrote: This is 1.5? And chkBusyValue is an object in your class? You probably need a Delegate for ! the busyValueLabelFunc col.labelFunction = mx.utils.Delegate(this, busyValueLabelFunc) As for when you send it through a remote object, youll either need to convert it on the server-side or make sure you change the value in the object before you actually send it. Or store the boolean as another value on the object and just send it that way.! Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of neha Sent: Friday, March 03, 2006 10:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] regarding data Grid and remote Object I added a DataGridColumn to my grid using the following code * var col:DataGridColumn; col = new DataGridColumn(); col.headerText = Busy Value; col.columnName = busyValue; col.labelFunction = busyValueLabelFunc; selectedFieldsGrid.addColumnAt(4,col); * Label Function is: ** function busyValueLabelFunc(item):String { if chkBusyValue.selected) { return busy; } if (!chkBusyValue.selected) { return -; } } ** WhenevrI drag a row from another grid to this grid having busy Value column value in Busy Value column is always -...irrespective of state of checkBox... Other problem is...when a row is added in the grid ...it is always saved in the session thru remote Object... and the row is send to remote Object as a Java Class Object... In java class object I want to set the busy Value as true or false If anybody knows how to do it... plz help me!! Its really urgent! Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. -- 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] Need help for download operation using web service
I think youre not going to be able to save the file as it comes down from a webservice. Youre better off using the flash.net.FileReference class to point to a servlet url and have it download that way. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aung_thiha_aung Sent: Monday, March 06, 2006 3:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Need help for download operation using web service Hi all, I use flex 2. I want to write for download attachment file from server by using my java web service. My java web service return string(file name) and base64Binary(data) type. result fileNameMyFile.txt/fileName datadGVzdA0K/data /result I can decode base64 string (dGVzdA0K) to orginal text(test). But, I don't know how to give user as a file to download it. I am not sure it's can possible or not. The first I want to know is am I need to use a servlet to generate a response to client. If not require, is there any solution and let me know how? Thanks, -- 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] Dynamic inserted column in datagrid
I think you may be experiencing a bug that is fixed in beta 2. Try calling validateNow() on the DataGrid after you've assigned the dataProvider and then try setting the width of the columns. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sinacapho Sent: Monday, March 06, 2006 3:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamic inserted column in datagrid Dear all, i have facing a problem like this. I call two web service. One of them get the dataset .The other is get the column label and name of the datagrid. After i have get this 2 web service result(i sure i got it). I use actionscript to add the datagridcolumn into the datagrid according to the data i get from the second web service. After that i have set the dataprovider of the datagrid to be the result of the first web service . Actually the data can show . But the column width cannot set. Sometime 3 of the column width have used up all the datagrid width and the other column just hidden until you have use mouse to resize the column. i have set the column width but the problem come the same. What i can do? thx capho -- 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] mx.control.alert
It may be that you just wont be able to use Alert and need to create your own instance. Can you post your call to Alert with the approximate length of the text? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Deepak Verma Sent: Sunday, March 05, 2006 9:52 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] mx.control.alert Thanks Matt, The height property increases the size of the Alert box. But it does not realign the controls inside the Alert box. (The height of the textbox where the message is displayed is still the same) From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Sunday, March 05, 2006 3:16 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] mx.control.alert If you call Alert.show youll get the Alert instance back. You should be able to then set its width and height. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Deepak Verma Sent: Thursday, March 02, 2006 9:41 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] mx.control.alert Yes, adding \n \r increases the box size but scrollbar is still there . Any ideas to remove scroll bar From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Friday, March 03, 2006 12:09 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] mx.control.alert Try adding some \n and \r to the end of the text you put in to the Alert box. - Original Message - From: deepu_verma [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, March 02, 2006 12:05 PM Subject: [flexcoders] mx.control.alert Hi all, I am using mx.controls.Alert.show in flex 1.5 The text in the alert box is displayed with a vertical scroll bar. How can I increase the size of the alert box. Thanks, Deepak -- 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] Question about error 'Can not resolve a multiname reference...'
Yes there is a flash.display.Loader and an mx.controls.Loader. Which one are you intending to use? If you intended to use the flash.display.Loader but the mx.controls.Loader is present do you have a Loader in your MXML? If vice versa that would be a bug I think because Im not sure why the flash Loader would get imported. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz Sent: Monday, March 06, 2006 8:08 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Question about error 'Can not resolve a multiname reference...' thought that when using import mx.controls.Loader i could directly call Loader. Is that correct? Right, but there is one Loader class in Flash Player API also, not sure if that is the reason you are getting that error... If that is the case, you have to explictly use it with fully-qualified name var loader:Loader = new mx.controls.Loader(); If that is the problem then compiler should be little more smart to understand things and make it easier for developers -abdul On 3/6/06, Richard Schutten [EMAIL PROTECTED] wrote: Hi there, Why do i get the following error on building the project? Can not resolve a multiname reference unambiguously. flash.display:Loader (...\framework.swc(mx/controls/Loader)) are available. For example: I've used: import mx.controls.Loader; var myLoader:Loader = new Loader(); When i prepend mx.controls. for each Loader the problem is solved. But i thought that when using import mx.controls.Loader i could directly call Loader. Is that correct? Richard -- 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 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] Asynchronous TestCase.setUp in FlexUnit
My thought is that this is a good use-case and you should look into proposing how a class should indicate asynchronous setup and teardown and then go ahead and implement. Then submit as a proposal :-) One idea is that we could add a variable called ready to the TestCase that is by default true. We would then adjust the runMiddle() method to check the ready variable and if it is true go ahead and call runTestOrAsync. If it is false it simply would wait and call itself again a little later. Then in your setup you set ready to false, and when your data loads you set ready to true. I haven't thought it all the way through, but something like this could work. Check the source out and maybe override some of those methods in your own testcase to see how it works out. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bringrags Sent: Monday, March 06, 2006 2:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Asynchronous TestCase.setUp in FlexUnit Hi, I've been using FlexUnit with one of my projects and ran into a problem. In one of my test cases, I want to load a bunch of data from an XML file in the TestCase.setUp() method, and have all of the individual tests use this as a fixture. The problem is that loading a file is an asynchronous operation, but there's no mechanism to make setUp asynchronous. Consider the following excerpt: public function setUp():void { var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE,onComplete); loader.load(new URLRequest(myfile.xml)); } private function onComplete(event:Event):void { var loader:URLLoader = URLLoader(event.target); myXML = new XML(loader.data); } public function testSomething():void { assertTrue(Should pass, myXML.someElement = some value); } The problem is that testSomething() gets called before onComplete(). Ideally I would like to prevent the tests from running until the onComplete() method is called. FlexUnit provides support for having a chain of asynchronous tests, but it doesn't seem to provide support for chaining asynchronous setup tasks. One possible workaround is to have each test method explicitly prepare the setup fixture: public function testSomething():void { beginTestSetup(testSomethingHandler); } private function testSomethingHandler(event:Event):void { endTestSetup(event); assertTrue(Should pass, xml.someElement = some value); } private function beginTestSetup(eventHandler:Function):void { var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE,addAsync(eventHandler,1000)); loader.load(new URLRequest(myfile.xml)); } private function endTestSetup(event:Event):void { var loader:URLLoader = URLLoader(event.target); myXML = new XML(loader.data); } But this is less than ideal. Any thoughts? -- Brian -- 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 :: mx.logging package usage IE TraceTarget.filters
No, the logging filters are not smart enough to understand the relationships between classes. If you put logging for a category in for a superclass, thats it. Now what you can do is make the logger protected and then have it assigned by the subclass. So the subclass could assign it with its own value which would then get filtered out, while a different class would leave it filtered in. That might be OK? You set up flashlog by adding a mm.cfg file to your windows %HOME% directory (usually c:\documents and settings\username). In the mm.cfg you want: ErrorReportingEnable=1 TraceOutputFileEnable=1 Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Monday, March 06, 2006 5:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 :: mx.logging package usage IE TraceTarget.filters Hello, Now, I was experimenting with the mx.logging package. Looks really kewl, I have got some things working(BTW the docs are completly messed up on method signatures). Any adobe peplz want to give a heads up on the filters property of ITarget aka TraceTarget class? I have this method... protected function constructLogger():void { var traceTarget:ITarget = new TraceTarget(); traceTarget.filters = [com.teotigraphix.teodoc.core.TEODocObject]; traceTarget.level = LogEventLevel.DEBUG; Log.addTarget(traceTarget); __logger = Log.getLogger(com.teotigraphix.teodoc.core.TEODocObject); debug(constructLogger()); } Now, I am building a documenting framework for as3/mxml and most of my classes inherit the TEODocObject for using services, logging and events. Now, using the TraceTarget.filter, is there any way to filter calls FROM the TEODocObject and filter out subclasses of certain packages ? Example com.teotigraphix.teodoc.core.Project extends com.teotigraphix.teodoc.core.TEODocObject I don't want the debug being called for this class Project but I do want say com.teotigraphix.teodoc.core.TEODocProjectManager extends com.teotigraphix.teodoc.core.TEODocObject Any way to do this? Any more docs being produced for these classes? Remember, I have been reading the spotty docs on this and most of my trips are guesses ;-) Also, how do I set up the flash trace.txt file ??? Peace, Mike -- What goes up, does come down. -- 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] polymorphic interfaces
I realize that folks are frustrated that you cant change parameters in subclasses, but I want to make sure everyone realizes that in other languages you are always adding new functionality when you change the parameter types, you are not overriding the methods. Take this simple Java example: class Superclass { public void print(Object obj) { System.out.println(Object print: + obj); } } class Subclass extends Superclass { public void print(String str) { System.out.println(String print: + str); } } In this example the superclass has a print method that takes an Object and the subclass has the same print method but taking a String. Will the subclasss method be called if I pass in a string? The answer depends on the type of the variable of the instance when I call print. String str = blah; Superclass inst = new Superclass(); inst.print(str); inst = new Subclass(); inst.print(str); System.out.println(---); Subclass sub = new Subclass(); sub.print(str); Output: Object print: blah Object print: blah --- String print: blah When the variable was typed as the superclass, regardless of whether the instance was the superclass or subclass the superclass method was called. I had to have my instance typed as the subclass for the new method to be reached. And what if we do: Object obj = string typed as object; sub.print(obj); Guess what, it prints the Object version even though the actual value is a String. So lets be clear that polymorphism is not really coming into play here. You would still need to have the strongly typed reference to the subclass to accurately access the new functionality. And if thats the case, having a different method name than the superclass isnt such a big deal IMHO. Now the ability to overload the parameters is certainly something I wish we supported Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Monday, March 06, 2006 4:15 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] polymorphic interfaces i kinda walked the other way and excluyded this method from the interdface since i want each class to return its type (its a semantic argument but it hink a clone method should return the correct type and not some base type) On 3/6/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hello, This is funny becasue I was just having this problem with the Event clone() ! :) I guess I just slammed it with a coerrsion for now.(Yeah I realize this is not an interface but it's the same idea :: you can't override a return type) But, yeah, I second this motion for the futrue! Peace, Mike On 3/6/06, Gordon Smith [EMAIL PROTECTED] wrote: I think there's general agreement here that we want to do this in a future release, but that the schedule doesn't allow it for this release. There are quite a few other things that people want as well -- strongly-typed array, enums, inner classes, etc. -- but we can't open up the feature set again this late in the cycle (nearly Beta 2). - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Monday, March 06, 2006 1:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] polymorphic interfaces hi all, especially Adobe dudes working on ze language. the fact that method signatures are not polymorphic when implementing an interface or overriding a function is a real pain in the behind. now in my interface i have to create a function as such interface IBla { function clone():IBla } but two levels down the line when i have extended this interface with another i want my clone to return a more concrete type, and then each of my classes that implement this interface their clone methods would ideally return their own type. yet all these classes implement IBla in some fashion either directly or indirectly so... anyway polymorphic function signatures would be nice. thanks johan -- -- What goes up, does come down. -- 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. -- 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