Re: [flexcoders] circular image in flex
Whats interesting is most people never even looked at the motivation.My last Flex project ran beautifully on everything.Flex threatened to completely eliminate the differences between Mac and Windows for the user.It threatened to kill Mac or at least cause a price reduction.THAT'S why Steve Jobs killed flash.and the world as usual, ran off the cliff like a herd of lemmings. Dan Pride 1-303-800-0900 - Skype No Texting1-360-850-9322 Mobile http://danielpride.com www.linkedin.com/in/danielpride/http://archaeolibrary.com/https://headlessuber.com From: "Mr Nobody maverick_0...@yahoo.com [flexcoders]" <flexcoders@yahoogroups.com> To: flexcoders@yahoogroups.com Sent: Wednesday, August 10, 2016 5:57 PM Subject: Re: [flexcoders] circular image in flex The guy who said that killing flex was crime well I will say it was more than a crime and a pathetic one the technologies should not be shape shifted this way.Still there is no camparison to the pixel perfection of the Flash/Flex platform. JavaScript can't promise the crispness sharpness and clarity of Flash platform. The killed it simply. There was a time when this group wasn't such quite now there's nothing like before... Alex(Flex) Haurui was always there... This thing itself signifys that how much devs moved on to other web/mobile platforms. It really disappointed Flex devs a lot...Anyways wish u all the best. On Aug 10, 2016 1:20 PM, "stinas...@yahoo.com [flexcoders]" <flexcoders@yahoogroups.com> wrote: > > > > Hello guys, i am trying to create a circular mask for an image control so > that the picture can be circular. Here is my code so far. > > > > > http://www.adobe.com/2006/mxml; > > width="180" > > height="180" > > initialize="init();"> > > > > > > > > > > > source="http://www.helpexamples.com/flash/images/image1.jpg; > > resize="image_resize(event);"> > > > > > > > > > the image is not the way i want it. Could someone please help > > > #yiv8529288441 #yiv8529288441 -- #yiv8529288441ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv8529288441 #yiv8529288441ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv8529288441 #yiv8529288441ygrp-mkp #yiv8529288441hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv8529288441 #yiv8529288441ygrp-mkp #yiv8529288441ads {margin-bottom:10px;}#yiv8529288441 #yiv8529288441ygrp-mkp .yiv8529288441ad {padding:0 0;}#yiv8529288441 #yiv8529288441ygrp-mkp .yiv8529288441ad p {margin:0;}#yiv8529288441 #yiv8529288441ygrp-mkp .yiv8529288441ad a {color:#ff;text-decoration:none;}#yiv8529288441 #yiv8529288441ygrp-sponsor #yiv8529288441ygrp-lc {font-family:Arial;}#yiv8529288441 #yiv8529288441ygrp-sponsor #yiv8529288441ygrp-lc #yiv8529288441hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv8529288441 #yiv8529288441ygrp-sponsor #yiv8529288441ygrp-lc .yiv8529288441ad {margin-bottom:10px;padding:0 0;}#yiv8529288441 #yiv8529288441actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv8529288441 #yiv8529288441activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv8529288441 #yiv8529288441activity span {font-weight:700;}#yiv8529288441 #yiv8529288441activity span:first-child {text-transform:uppercase;}#yiv8529288441 #yiv8529288441activity span a {color:#5085b6;text-decoration:none;}#yiv8529288441 #yiv8529288441activity span span {color:#ff7900;}#yiv8529288441 #yiv8529288441activity span .yiv8529288441underline {text-decoration:underline;}#yiv8529288441 .yiv8529288441attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv8529288441 .yiv8529288441attach div a {text-decoration:none;}#yiv8529288441 .yiv8529288441attach img {border:none;padding-right:5px;}#yiv8529288441 .yiv8529288441attach label {display:block;margin-bottom:5px;}#yiv8529288441 .yiv8529288441attach label a {text-decoration:none;}#yiv8529288441 blockquote {margin:0 0 0 4px;}#yiv8529288441 .yiv8529288441bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv8529288441 .yiv8529288441bold a {text-decoration:none;}#yiv8529288441 dd.yiv8529288441last p a {font-family:Verdana;font-weight:700;}#yiv8529288441 dd.yiv8529288441last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv8529288441 dd.yiv8529288441last p span.yiv8529288441yshortcuts {margin-right:0;}#yiv8529288441 div.yiv8529288441attach-table div div a {text-decoration:none;}#yiv8529288441 div.yiv8529288441attach-table {width:400px;}#yiv8529288441 div.yiv8529288441file-title a, #yiv8529288441 div.yiv8529288441file-title a:active, #yiv8529288441 div.yiv8529288441file-title a:hover, #yiv8529288441 div.yiv8529288441file-titl
Re: [flexcoders] circular image in flex
The death of this technology was a crime.Oliver Cromwell has his Ireland and Steve Jobs had his flash. Angular2 is pretty good replacement, eventually they will add a bitmap I predict.They will have to eventually, or a facsimile thereof When you can't mathematically relate any pixel on the screen to any other and do so over time.You are by definition inferior to flash as a user interface. Dan Pride 1-303-800-0900 - Skype No Texting1-360-850-9322 Mobile http://danielpride.com www.linkedin.com/in/danielpride/http://archaeolibrary.com/https://headlessuber.com From: "stinas...@yahoo.com [flexcoders]" <flexcoders@yahoogroups.com> To: flexcoders@yahoogroups.com Sent: Wednesday, August 10, 2016 1:20 AM Subject: [flexcoders] circular image in flex Hello guys, i am trying to create a circular mask for an image control so that the picture can be circular. Here is my code so far. http://www.adobe.com/2006/mxml; width="180" height="180" initialize="init();"> http://www.helpexamples.com/flash/images/image1.jpg; resize="image_resize(event);"> the image is not the way i want it. Could someone please help #yiv1194420150 #yiv1194420150 -- #yiv1194420150ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv1194420150 #yiv1194420150ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv1194420150 #yiv1194420150ygrp-mkp #yiv1194420150hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv1194420150 #yiv1194420150ygrp-mkp #yiv1194420150ads {margin-bottom:10px;}#yiv1194420150 #yiv1194420150ygrp-mkp .yiv1194420150ad {padding:0 0;}#yiv1194420150 #yiv1194420150ygrp-mkp .yiv1194420150ad p {margin:0;}#yiv1194420150 #yiv1194420150ygrp-mkp .yiv1194420150ad a {color:#ff;text-decoration:none;}#yiv1194420150 #yiv1194420150ygrp-sponsor #yiv1194420150ygrp-lc {font-family:Arial;}#yiv1194420150 #yiv1194420150ygrp-sponsor #yiv1194420150ygrp-lc #yiv1194420150hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv1194420150 #yiv1194420150ygrp-sponsor #yiv1194420150ygrp-lc .yiv1194420150ad {margin-bottom:10px;padding:0 0;}#yiv1194420150 #yiv1194420150actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv1194420150 #yiv1194420150activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv1194420150 #yiv1194420150activity span {font-weight:700;}#yiv1194420150 #yiv1194420150activity span:first-child {text-transform:uppercase;}#yiv1194420150 #yiv1194420150activity span a {color:#5085b6;text-decoration:none;}#yiv1194420150 #yiv1194420150activity span span {color:#ff7900;}#yiv1194420150 #yiv1194420150activity span .yiv1194420150underline {text-decoration:underline;}#yiv1194420150 .yiv1194420150attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv1194420150 .yiv1194420150attach div a {text-decoration:none;}#yiv1194420150 .yiv1194420150attach img {border:none;padding-right:5px;}#yiv1194420150 .yiv1194420150attach label {display:block;margin-bottom:5px;}#yiv1194420150 .yiv1194420150attach label a {text-decoration:none;}#yiv1194420150 blockquote {margin:0 0 0 4px;}#yiv1194420150 .yiv1194420150bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv1194420150 .yiv1194420150bold a {text-decoration:none;}#yiv1194420150 dd.yiv1194420150last p a {font-family:Verdana;font-weight:700;}#yiv1194420150 dd.yiv1194420150last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv1194420150 dd.yiv1194420150last p span.yiv1194420150yshortcuts {margin-right:0;}#yiv1194420150 div.yiv1194420150attach-table div div a {text-decoration:none;}#yiv1194420150 div.yiv1194420150attach-table {width:400px;}#yiv1194420150 div.yiv1194420150file-title a, #yiv1194420150 div.yiv1194420150file-title a:active, #yiv1194420150 div.yiv1194420150file-title a:hover, #yiv1194420150 div.yiv1194420150file-title a:visited {text-decoration:none;}#yiv1194420150 div.yiv1194420150photo-title a, #yiv1194420150 div.yiv1194420150photo-title a:active, #yiv1194420150 div.yiv1194420150photo-title a:hover, #yiv1194420150 div.yiv1194420150photo-title a:visited {text-decoration:none;}#yiv1194420150 div#yiv1194420150ygrp-mlmsg #yiv1194420150ygrp-msg p a span.yiv1194420150yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv1194420150 .yiv1194420150green {color:#628c2a;}#yiv1194420150 .yiv1194420150MsoNormal {margin:0 0 0 0;}#yiv1194420150 o {font-size:0;}#yiv1194420150 #yiv1194420150photos div {float:left;width:72px;}#yiv1194420150 #yiv1194420150photos div div {border:1px solid #66;min-height:62px;overflow:hidden;width:62px;}#yiv1194420150 #yiv1194420150photos div label {color:#66;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv1194420150 #yiv1194420150reco-category {font-size:77%;}#yiv1194
Re: [flexcoders] Flex 1.5 SSL implementation solution required
Isn't React ecmascript 4 based also?If so it will die a quick death when it goes up against a real computer language based on Ecmascript 6 (plus) It is so wonderful to see the death of the spaghetti code machine, should have happened a lot sooner.It is the definition of how not to program. Going to be fun watching all the javascript/Ajax weenies tackle a real computer language :)An entire generation of programmers just got left on the beach and its sink or swim Yahoo ! Dan Pride 1-303-800-0900 - Skype No Texting1-360-850-9322 Mobile http://danielpride.com www.linkedin.com/in/danielpride/http://archaeolibrary.com/https://headlessuber.com From: "Nick Collins ndcoll...@gmail.com [flexcoders]" <flexcoders@yahoogroups.com> To: flexcoders@yahoogroups.com Sent: Friday, July 8, 2016 9:19 AM Subject: Re: [flexcoders] Flex 1.5 SSL implementation solution required Another good alternative is React On Mon, Jun 20, 2016 at 12:19 PM, Dan Pride danielpr...@yahoo.com [flexcoders] <flexcoders@yahoogroups.com> wrote: Flex 4.6 is really qood, but given the industry move away from flash you may want to consider Angular2, its basically flash without the bitmap.That may be overstating it a bit, but its a lot more similar to actionscript 3 than it is to javascript 4 framework stuff.At Last ! something approaching the sophistication of actionscript has finally appeared on the sceen ! Dan Pride 1-303-800-0900 - Skype No Texting1-360-850-9322 Mobile http://danielpride.com www.linkedin.com/in/danielpride/http://archaeolibrary.com/https://headlessuber.com From: "Nick Collins ndcoll...@gmail.com [flexcoders]" <flexcoders@yahoogroups.com> To: flexcoders@yahoogroups.com Sent: Monday, June 20, 2016 10:11 AM Subject: Re: [flexcoders] Flex 1.5 SSL implementation solution required Why on God's green earth would you be using a technology that is now nearly 15 years old?!?! On Mon, Jun 13, 2016 at 5:31 AM, Srinivasulu Thottempudi srinivas...@sankhya.net [flexcoders] <flexcoders@yahoogroups.com> wrote: Dear flex developer, How to build the Flex 1.5 application ? Our flex application working in tomcat and installed SSL certificate. It is fine Our flex application we are calling the methods thorough RemoteObject. After installed SSL Methods are not calling. We are changed in flex-config.xml , URL but it is not taking this URL. Please help me or you can call me on this number. Regards, Srinivas 09849939734 -Original Message- From: flexcoders Moderator [mailto:flexcoders-ow...@yahoogroups.com] Sent: Monday, June 13, 2016 4:10 PM To: Srinivasulu Thottempudi Subject: Yahoo Groups: Welcome to flexcoders. Visit today! Hello, Welcome to the flexcoders group at Yahoo! Groups, a free, easy-to-use email group service. Please take a moment to review this message. To learn more about the flexcoders group, please visit http://www.flexcoders.org or http://groups.yahoo.com/group/flexcoders To start sending messages to members of this group, simply send email to flexcoders@yahoogroups.com If you do not wish to belong to flexcoders, you may unsubscribe by sending an email to flexcoders-unsubscr...@yahoogroups.com To see and modify all of your groups, go to http://groups.yahoo.com/mygroups Regards, Moderator, flexcoders Complete your Yahoo! Groups account: -- Your email address has been added to the email list of a Yahoo! Group. To gain access to all of your group's web features (previous messages, photos, files, calendar, etc.) and easier control of your message delivery options, we highly recommend that you complete your account by connecting your email address to Yahoo account. It is easy and free. Please visit: https://groups.yahoo.com/convacct?email=Srinivasulu%40sankhya.net=flexcoders Your use of Yahoo Groups is subject to http://info.yahoo.com/legal/us/yahoo/utos/terms/ SANKHYA'S Email DISCLAIMER: Information contained in this E-MAIL and any attachments are confidential being proprietary to SANKHYA INFOTECH LIMITED is 'privileged' and 'confidential'. If you are not an intended or authorised recipient of this E-MAIL or have received it in error, You are notified that any use, copying or dissemination of the information contained in this E-MAIL in any manner whatsoever is strictly prohibited. Please delete it immediately and notify the sender by E-MAIL. In such a case reading, reproducing, printing or further dissemination of this E-MAIL is strictly prohibited and may be unlawful. SANKHYA INFOTECH LIMITED does not REPRESENT or WARRANT that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this E-MAIL and any ATTACHMENTS may be those of the author and are not necessarily those of SANKHYA INFOTECH LIMITED. #yiv5457469524 #yiv5457469524 -- #yiv545746
Re: [flexcoders] Flex 1.5 SSL implementation solution required
Flex 4.6 is really qood, but given the industry move away from flash you may want to consider Angular2, its basically flash without the bitmap.That may be overstating it a bit, but its a lot more similar to actionscript 3 than it is to javascript 4 framework stuff.At Last ! something approaching the sophistication of actionscript has finally appeared on the sceen ! Dan Pride 1-303-800-0900 - Skype No Texting1-360-850-9322 Mobile http://danielpride.com www.linkedin.com/in/danielpride/http://archaeolibrary.com/https://headlessuber.com From: "Nick Collins ndcoll...@gmail.com [flexcoders]" <flexcoders@yahoogroups.com> To: flexcoders@yahoogroups.com Sent: Monday, June 20, 2016 10:11 AM Subject: Re: [flexcoders] Flex 1.5 SSL implementation solution required Why on God's green earth would you be using a technology that is now nearly 15 years old?!?! On Mon, Jun 13, 2016 at 5:31 AM, Srinivasulu Thottempudi srinivas...@sankhya.net [flexcoders] <flexcoders@yahoogroups.com> wrote: Dear flex developer, How to build the Flex 1.5 application ? Our flex application working in tomcat and installed SSL certificate. It is fine Our flex application we are calling the methods thorough RemoteObject. After installed SSL Methods are not calling. We are changed in flex-config.xml , URL but it is not taking this URL. Please help me or you can call me on this number. Regards, Srinivas 09849939734 -Original Message- From: flexcoders Moderator [mailto:flexcoders-ow...@yahoogroups.com] Sent: Monday, June 13, 2016 4:10 PM To: Srinivasulu Thottempudi Subject: Yahoo Groups: Welcome to flexcoders. Visit today! Hello, Welcome to the flexcoders group at Yahoo! Groups, a free, easy-to-use email group service. Please take a moment to review this message. To learn more about the flexcoders group, please visit http://www.flexcoders.org or http://groups.yahoo.com/group/flexcoders To start sending messages to members of this group, simply send email to flexcoders@yahoogroups.com If you do not wish to belong to flexcoders, you may unsubscribe by sending an email to flexcoders-unsubscr...@yahoogroups.com To see and modify all of your groups, go to http://groups.yahoo.com/mygroups Regards, Moderator, flexcoders Complete your Yahoo! Groups account: -- Your email address has been added to the email list of a Yahoo! Group. To gain access to all of your group's web features (previous messages, photos, files, calendar, etc.) and easier control of your message delivery options, we highly recommend that you complete your account by connecting your email address to Yahoo account. It is easy and free. Please visit: https://groups.yahoo.com/convacct?email=Srinivasulu%40sankhya.net=flexcoders Your use of Yahoo Groups is subject to http://info.yahoo.com/legal/us/yahoo/utos/terms/ SANKHYA'S Email DISCLAIMER: Information contained in this E-MAIL and any attachments are confidential being proprietary to SANKHYA INFOTECH LIMITED is 'privileged' and 'confidential'. If you are not an intended or authorised recipient of this E-MAIL or have received it in error, You are notified that any use, copying or dissemination of the information contained in this E-MAIL in any manner whatsoever is strictly prohibited. Please delete it immediately and notify the sender by E-MAIL. In such a case reading, reproducing, printing or further dissemination of this E-MAIL is strictly prohibited and may be unlawful. SANKHYA INFOTECH LIMITED does not REPRESENT or WARRANT that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this E-MAIL and any ATTACHMENTS may be those of the author and are not necessarily those of SANKHYA INFOTECH LIMITED. #yiv1725363154 #yiv1725363154 -- #yiv1725363154ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv1725363154 #yiv1725363154ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv1725363154 #yiv1725363154ygrp-mkp #yiv1725363154hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv1725363154 #yiv1725363154ygrp-mkp #yiv1725363154ads {margin-bottom:10px;}#yiv1725363154 #yiv1725363154ygrp-mkp .yiv1725363154ad {padding:0 0;}#yiv1725363154 #yiv1725363154ygrp-mkp .yiv1725363154ad p {margin:0;}#yiv1725363154 #yiv1725363154ygrp-mkp .yiv1725363154ad a {color:#ff;text-decoration:none;}#yiv1725363154 #yiv1725363154ygrp-sponsor #yiv1725363154ygrp-lc {font-family:Arial;}#yiv1725363154 #yiv1725363154ygrp-sponsor #yiv1725363154ygrp-lc #yiv1725363154hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv1725363154 #yiv1725363154ygrp-sponsor #yiv1725363154ygrp-lc .yiv1725363154ad {margin-bottom:10px;padding:0 0;}#yiv1725363154 #yiv1725363154actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv1725363154 #yiv1725363154activity {ba
[flexcoders] Not Flex - Personal
The Big Day has arrived. My Mobile startup has launched. The announcement videos on youtube (two of them) SolomonsChariot 1 SolomonsChariot 1 View on youtu.be Preview by Yahoo All Facebook likes greatly appreciated. http://SolomonsChariot.com Dan Pride 1-303-800-0900 1-206-313-4607 Mobile http://danielpride.com www.linkedin.com/in/danielpride/ http://archaeolibrary.com/ http://SolomonsChariot.com
Re: [flexcoders] Re: Future Scope of Flex
Good Idea, it would be piling one hysteria on top of another so to speak ;) I urge you to consider I wrote this just before IE 8. Still runs pretty good. My first, a little embarrassing internally to me now but still. Compare way back then to the future you are asking for now. Try clicking a few lists or pictures etc http://archaeolibrary.com/ Dan Pride 1-303-800-0900 1-206-313-4607 Mobile http://danielpride.com www.linkedin.com/in/danielpride/ http://archaeolibrary.com/ http://RideshareGPS.com On Tuesday, August 19, 2014 3:40 PM, Alex Harui aha...@adobe.com [flexcoders] flexcoders@yahoogroups.com wrote: I'm going to ignore your brush fire topic, but I will address two other points: juice under the hood. That is a concern for trying to emulate Flash or the current Flex SDK in JS since that is quite a bit of code. But for FlexJS, if you look at the prototype of the JQuery wrapping, it is a thin layer written to implement whatever was needed to implement an AS emulation of JQuery. So, in theory, if FlexJS using JQuery isn't fast enough, it probably wasn't going to be fast enough use JQuery either. And that's not a problem for the Apache Flex project. The browser companies know they need to get their JS implementations to work faster and computers and devices are getting faster. It might be a problem now, but may not be in the future. Also note that in many cases JS runs faster than AS. In the JS code we do write for FlexJS we are trying to re-use code as much as possible, which is supposed to take advantage of the JS optimizers. That's why FlexJS is using more composition instead of inheritance since AS doesn't support multiple inheritance. pixel-by-pixel control. If the industry demands it, the browser manufacturers will deliver. It doesn't matter for FlexJS, although it would probably make some things easier or faster. Already, we've seen significant convergence towards standards in the main browsers (IE, FF, Chrome, Android, IOS). Compare what we have today vs back in IE6 or even IE8. -Alex From: danielpr...@yahoo.com [flexcoders] flexcoders@yahoogroups.com Reply-To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Date: Tuesday, August 19, 2014 12:05 PM To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Future Scope of Flex I certainly wish you the best with the javascript implementation. But have to admit to strong doubts about it. No matter how many hoops you put yourself through you are still working without many fundamentals of advanced programming. There just isn't the juice under the hood, maybe with parallel processing, but then we are getting close to a million monkeys banging on typewriters til they eventually produce a novel aren't we? I think the latest ie browser brought flash into the browser as a native element not a plug in. Like it or not you got it. I was stunned to hear it being done by MS, but its a brilliant way to bring about a correction to the market hysteria which dominated after Job's death, and Adobe's stupid response. Eventually the industry will demand pixel by pixel interface control, there just is no substitute equal to it by definition. After all the burning at the stake stuff, it will probably be called shadow o! r something, not flash, but a rose by any other name. At the risk of creating a never ending brush fire (oh what the hey its fun sometimes), I wonder if some of the jump on flash and pummel it hysteria had an unacknowledged element of gay bashing. Adobe, deserve it or not, like it or not, had quite a reputation. There was one advocate, I think it was in RTMP networking videos, that would insert short clips of himself getting back ended after about 45 minutes of mind numbing, real high end, discussion. I thought it was funny as hell, removed the glaze from your eyes, and dropped your jaw the first time you saw it, but i think others were not so amused. (Hey, Kiddies certainly aren't going to get that far into one of these unless they are enrolling at Harvard at 12 or something, and I survived the experience, and found the fast forward button). I think the bent over man statue in front of the offices also h! elped with the rep issue. BUT WHO CARES ! Credit where credit ! is due. There were some of the most brilliant programmers with some of the greatest contributions by software developers ever. We have witnessed a modern equivalent of the Salem Witch trials on this one for whatever reasons, and the amusing part is that we actually think we are advanced beyond that. Dan Pride P.S. Why can't women advocates get away with this once in a while :)
Re: [flexcoders] Re: Future Scope of Flex
Being its my 12th language I don't find JS that difficult. I object to the design tho. Its a completely inferior and unpredictable design approach. My primary interests are relational database, complex relationships. having classes etc that enable you to deal with the entire screen as a unit is invaluable Look there is a good reason that google is on its third try to replace javascript with something better. If the movement of flash native to the browser succeeds then its eventually going to be game over. Its basics. Can you relate every pixel on the screen in one unified equation and morph it at will mathematically. By the way, I haven't looked lately, been knee deep in other stuff, how is the flash to the browser native going anyway? Dan Pride 1-303-800-0900 1-206-313-4607 Mobile http://danielpride.com www.linkedin.com/in/danielpride/ http://archaeolibrary.com/ http://RideshareGPS.com On Monday, August 18, 2014 4:07 PM, Scott Fanetti scott.fane...@gmail.com [flexcoders] flexcoders@yahoogroups.com wrote: Wow - I really don't think this is the forum for character assassination. I've been a polyglot developer and architect for 20 years. One thing in technology is constant - that is change. Adapt. It is childish to cling to a technology like a fanboy. Dynamic languages use different paradigms than strongly typed languages. In these contexts functional styles and extension through composition are favored over extension through inheritance. But these are all just tools for communication between the dev and the user. The users have chosen a route that no longer needs flex/flash. That is neither good nor bad - it just is. You may dislike parts of technology A and think it's inferior to technology B - but have you considered the notion that possibly you may be trying I hammer nails with a saw? You may dislike that JS does not have the type safety of AS. But if you are relying on type checking you are missing the boat. The compiler can't check if your logic is bad. It can only check that something like tab a is in slot b. You still have to unit test. All the skills you bring to solve a problem are only marginally helped by the compiler bitching that a class does not have a method to support an interface. There is nothing inherently bad about prototypical inheritance as opposed to class based inheritance. As a matter of fact you typically don't need to use inheritance in JS. Tell me - is it cleaner to devolve functionality into representations that can be decorated onto any object - and you test the functionality itself? Or to HAVE to inherit from class A in order to get the features if class A? You can't do multiple inheritance in AS - so you have to hack around with interfaces and utils or you must repeat yourself. In JS - just decorate what you need with what you need it to do. It's all good bro. I'm just saying that as a seasoned flex dev that feared moving to JS - in my experience - it was an easy transition. But whatever. Have a great day! And I accept the apology you certainly forgot to add by calling me a manager :). I realize it's hard to be civil when someone is wrong on the internet. Sent from my iPhone On Aug 18, 2014, at 9:50 AM, danielpr...@yahoo.com [flexcoders] flexcoders@yahoogroups.com wrote: js is almost exactly like Actionscript. Typical of a JS advocate, no real knowledge of object oriented structures and concepts. Bet this is by another manager type that doesn't know an array from a variable (actually that WOULD be the same level of knowledge in this case wouldn't it.)
[flexcoders] Air Video decryption
I am trying to read an encrypted video file from the disk in Air (I encrypted it) into the videoplayer component and play it unencrypted. Reading and decrypting the file is no problem, but the videoplayer uses a file url as source not a variable. Is there anyway to direct the videoplayer to an in memory variable and if so will it play correctly? Does the player use any kind of file position variable to control play (it must) and how will it react to the absense of such a pointer? I am looking at serving it from the within the same app but not sure if this will work either despite posts that say it will in other places. Is the new peer to peer rtmfp a realistic option here? thanks
[flexcoders] Flashbuilder php
Is anyone using Flashbuilder with xdbug instead of Zend? I like PHP but Zend is an overloaded piece of crap in my opinion, I would far rather role my own classes and not deal with the reams of code and hassles zend provides. Any tips/comments on this would be appreciated Dan Pride
[flexcoders] Creating Air with bat files?
Hi all I am inheriting an app that appears to be creating an air app for database access using a .bat file (?). The app appears to primarily be based on Jquery, but uses air for local data storage. I of course can not open the bat file with flashbuilder (or can I)? Anybody have any reference points on this stuff you can give me. Thanks Dan Pride
[flexcoders] Is Apptacular a viable back end solution ?
Does anyone have experience with Apptacular on Coldfusion? Is it a viable solution ? Any Experience connecting to a Mamp for Development? Thanks Dan Pride
Re: [flexcoders] Re: Audio codecs?
On 02/01/2012 05:56 PM, Dan M wrote: On 02/01/2012 03:59 PM, Dan M wrote: I've got my encoder mostly working. I can do live streaming just fine. However, when the streaming server on the other end archives my streams I can't play the archived files. Looking through the documentation for flash.media.SoundCodec I see constants defining NELLYMOSER and SPEEX codecs. Am I to assume that the AAC codec is not available? That would truly suck! Any pointers on how to achieve either MP3 or (preferably) AAC audio encoding in the Flash stream I'm generating via Flex? Never mind - issue resolved. I found the page at http://www.realeyes.com/blog/2011/10/31/new-in-flash-player-11-encoding-live-video-to-h-264avc/ which addresses this issue. I was gettings a compile-time error, complaining about NetStream.videoStreamSettings not being defined. I edited properties of my project and under Flex Compiler I changed Adobe Flash Player options to USe a specific version and specified 11.1.0. Now my code compiles ok. I do apologize - I panicked and didn't dig deeply enough in the available on-line sources. Blast! I'm still having issues. My encoder is streaming to my Wowza server just fine, but I'm still seeing Invalid video/audio codec combination for iPhone/iPod: video:H264 audio:NELLYMOSER messages in the Wowza log file. I'm concerned about this as a lot of my customers targe iPads. I'm using the techniques described at http://www.realeyes.com/blog/2011/10/31/new-in-flash-player-11-encoding-live-video-to-h-264avc/ and am setting the values in my h264settings object, but I'm not seeing any mention in the docs (the current docs appear to be non-existent for flash.media.H264*) of how to set audio codec to anything other than Speex or Nellymoser. So once again I have to ask for assistance. Anyone know how to select AAC (AVC) codec for the audio stream?
[flexcoders] Audio codecs?
I've got my encoder mostly working. I can do live streaming just fine. However, when the streaming server on the other end archives my streams I can't play the archived files. Looking through the documentation for flash.media.SoundCodec I see constants defining NELLYMOSER and SPEEX codecs. Am I to assume that the AAC codec is not available? That would truly suck! Any pointers on how to achieve either MP3 or (preferably) AAC audio encoding in the Flash stream I'm generating via Flex?
[flexcoders] Re: Audio codecs?
On 02/01/2012 03:59 PM, Dan M wrote: I've got my encoder mostly working. I can do live streaming just fine. However, when the streaming server on the other end archives my streams I can't play the archived files. Looking through the documentation for flash.media.SoundCodec I see constants defining NELLYMOSER and SPEEX codecs. Am I to assume that the AAC codec is not available? That would truly suck! Any pointers on how to achieve either MP3 or (preferably) AAC audio encoding in the Flash stream I'm generating via Flex? Never mind - issue resolved. I found the page at http://www.realeyes.com/blog/2011/10/31/new-in-flash-player-11-encoding-live-video-to-h-264avc/ which addresses this issue. I was gettings a compile-time error, complaining about NetStream.videoStreamSettings not being defined. I edited properties of my project and under Flex Compiler I changed Adobe Flash Player options to USe a specific version and specified 11.1.0. Now my code compiles ok. I do apologize - I panicked and didn't dig deeply enough in the available on-line sources.
Re: [flexcoders] Moving my command-line development to FlashBuilder4.6 - confused.
Thanks, Srinivas. It's true, I came to Flash Builder in a bit of a hurry and didn't take the time to read as much of the documentation as I should have. I had indeed not understood the FB mechanisms properly. With your explanation I understand a bit better what I need to do. Thanks again! On 01/30/2012 10:38 PM, Srinivas Sandur Madhu Murthy wrote: Dan, Whether you use Command-line or Flex Builder it doesn't matter, you always will try to compile 1 application in entire project, unless you have two or more applications in the project. Correct me if I am wrong, as my understanding goes you have EncoderController.as file which has class definition for EncoderController class which extends I guess from Application/Sprite. I guess this is the reason your project's main mxml file has root node as local:EncoderController./. Now if you are using Flex Builder, normally the main application mxml file which Flex Builder Template creates has root node as s:Application. In your case, after that mxml is created all you need to do just replace that default auto generated code by your old mxml contents include EncoderController.as in the src directory, which should work fine for you. FX:Script tag is used in mxml to just include AS scripts which doesn't have class definitions. Normally these AS files would have methods, variables etc required or used in MXML file. I hope you know that any MXML file can use fx:script tag and write the AS scripts stuff required in that particular MXML. Treat this MXML+AS script as class. The reason why you getting error in first place is, the MXML file which you have is extending from spark::Application [hence root tag as s:Application] included AS file has definition of a class which also extends from spark:Application. Writing code and compiling with SDK using compile time shouldn't be different from using Flex Builder. In-fact it gives more flexibility user friendliness. Please read-up more on using Flex Builder, should help you convert your application more easily. Let me know if you need more help. Thanks Srinivas On Jan 30, 2012, at 4:11 AM, Tandon, Rishi wrote: Dan, send over your mxml and as file here. There could be many reasons for the exception: 1. Compatible with the sdk. Try to change to flex sdk 3.2 or 3.6 2. Namespace inclusion. In you code, the namespace is pointed to http://www.adobe.com/2006/mxml; Whereas, in sdk 4 onwards, we are using three namespace: xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx Regards, Rishi Tandon *From:* Dan M d...@streemit.net mailto:d...@streemit.net *To:* flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com *Sent:* Saturday, January 28, 2012 12:54 AM *Subject:* [flexcoders] Moving my command-line development to FlashBuilder4.6 - confused. I downloaded and installed the Mac version of Flash Builder 4.6. There is enough development work yet to be done on my project I figured that having an IDE to work in might make life easier. The project was originally written as an mxml file (Encoder.mxml) and an ActionScript file (EncoderController.as). The mxml file refers to the ActionScript file by starting out with : local:EncoderController xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:local=* height=800 width=800 backgroundColor=#FF backgroundAlpha=0 On the Mac I selected New then Flex Project and named the project IntegratedEncoder. That got me an mxml file. I then copied the .as file over from my other working environment, renamed it IntegratedEncoderController.as, changed the class name appropriately, and modified the new mxml file Flash Builder made for me to include fx:Script source=IntegratedEncoderController.as / When I save the file the editor windows for IntegratedEncoderController.as shows an error on the line in which I import flash.media.Camera. The line with the error and the lines surrounding it are: import flash.display.*; import flash.events.MouseEvent; import flash.events.NetStatusEvent; import flash.external.ExternalInterface; --import flash.media.Camera; --- import flash.media.Microphone; import flash.media.Video; import flash.net http://flash.net.na/.navigateToURL; import flash.net http://flash.net.Net/.NetConnection; The indicate line is the one with the error messages. The error messages associated with it are: 1084: Syntax error: expecting identifier before leftbrace 1131: Classes must not be nested I also get an error indicated in when I declare a variable of type Camera: private var camera:Camera; The error message associated with this line is another occurence of 1131: Classes must not be nested I've also got some other error messages, indicated in the editor with yellow question marks. In the constructor for the class: public function EncoderController() { --- addEventListener
Re: [flexcoders] Moving my command-line development to FlashBuilder4.6 - confused.
Thank you, Rishi! That helps a lot. And I was able to import that fxp file and compile with no problems. It looks like I can continue to push ahead with development and maybe learn a little more about the proper use of Flash Builder in the process. On 01/31/2012 12:43 AM, Tandon, Rishi wrote: [Attachment(s) #TopText from Tandon, Rishi included below] Srinivas, don't say other to do WHAT if they are following the basic Netiquette? These are the following reason why you can't give tongue to community member: 1. You are not authorized as I think you are not the admin of the group. 2. I am not getting paid to deliver the solution. 3. This is a free forum and you are free to post solution or your opinion. 4. I love to debug the code and specify the exact solution if I am aware of. Dan, To be more specfic, please refer to the attach IntegratedEncoder.FXP project where I have merged your controller logic into a single MXML file as the basic rule to create a flex application is to have only one Applicatin container as root. About the Application container The first tag in an MXML application is either the s:Application tag for the Spark application container, or the mx:Application tag for an MX application container. The application container then becomes the default container for any content that you add to your application. In IntegratedEncoder.mxml, the s:Application is the root tag, whereas IntegratedEncoderController.as is extending the mx: Application. Regards, Rishi Tandon
Re: [flexcoders] Moving my command-line development to FlashBuilder4.6 - confused.
On 01/30/2012 06:11 AM, Tandon, Rishi wrote: Dan, send over your mxml and as file here. There could be many reasons for the exception: 1. Compatible with the sdk. Try to change to flex sdk 3.2 or 3.6 2. Namespace inclusion. In you code, the namespace is pointed to http://www.adobe.com/2006/mxml; Whereas, in sdk 4 onwards, we are using three namespace: xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx Regards, Rishi Tandon Thanks, I appreciate the ability to have another set of eyes looking over my code. My mxml (IntegratedEncoder.mxml) file is at http://pastebin.com/ZJbhk11V My ActionScript file (IntegratedEncoderController.as) is at http://pastebin.com/EJUk8nw1 If I use the SDK tools (mxmlc) to compile the two files,everything works fine. It's only when I try to create a project in Flash Builder and compile it there that I get issues. Im getting *really* tired of adjusting the visual layout by running, tweaking the mxml file by hand in vi, compiling, running, etc. and would really like to be able to use the Flash Builder tool to manipulate the element layout in my mxml file. Besides that, I'm finding the tooltip help to be easier to make use of than having a browser open to Adobe's Actionscript reference pages and switching between my vi window and browser window.
[flexcoders] Moving my command-line development to FlashBuilder4.6 - confused.
I downloaded and installed the Mac version of Flash Builder 4.6. There is enough development work yet to be done on my project I figured that having an IDE to work in might make life easier. The project was originally written as an mxml file (Encoder.mxml) and an ActionScript file (EncoderController.as). The mxml file refers to the ActionScript file by starting out with : local:EncoderController xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:local=* height=800 width=800 backgroundColor=#FF backgroundAlpha=0 On the Mac I selected New then Flex Project and named the project IntegratedEncoder. That got me an mxml file. I then copied the .as file over from my other working environment, renamed it IntegratedEncoderController.as, changed the class name appropriately, and modified the new mxml file Flash Builder made for me to include fx:Script source=IntegratedEncoderController.as / When I save the file the editor windows for IntegratedEncoderController.as shows an error on the line in which I import flash.media.Camera. The line with the error and the lines surrounding it are: import flash.display.*; import flash.events.MouseEvent; import flash.events.NetStatusEvent; import flash.external.ExternalInterface; --import flash.media.Camera; --- import flash.media.Microphone; import flash.media.Video; import flash.net.navigateToURL; import flash.net.NetConnection; The indicate line is the one with the error messages. The error messages associated with it are: 1084: Syntax error: expecting identifier before leftbrace 1131: Classes must not be nested I also get an error indicated in when I declare a variable of type Camera: private var camera:Camera; The error message associated with this line is another occurence of 1131: Classes must not be nested I've also got some other error messages, indicated in the editor with yellow question marks. In the constructor for the class: public function EncoderController() { ---addEventListener(FlexEvent.APPLICATION_COMPLETE,mainInit); --- } the indicated line is marked with Call to a possibly undefined method addEventListener. In the mainInit method, I then have two lines: stage.align = TL; stage.scaleMode = noScale; both marked with Access of undefined property stage The code I copied over from my other machine compiles just fine using the SDK and it runs fine. Why is Flash Builder giving these errors? It looks like it is having problems importing flash.media.Camera and appears confused by addEventListener. Have I done something with my project setup that is screwing with Flash Builder? I'm thinking I'd like to be able to do the rest of this project development in FB, but this isn't looking very promising so far.
[flexcoders] Exiting from a Flex app
I realize this is beginner stuff, so I apologize for having to ask this, but how do I terminate a Flex app? The application will be running in a browser. This is a Flash encoding application, that grabs the user's camera, connects it to a net connection, and sends the stream to a Wowza server. The guts of the application are working fine, but I'm putting in error handling now. If the app starts up and either can't find a camera or is not given permission to access the camera I pop up an Alert box warning of the issue, and I'd like to then bail out of the application (perhaps direct the browser to return to the previous page?). I've been able to find instructions on how to terminate an Air application, but not an app running inside a browser.
Re: [flexcoders] Passing query string to swf through flashplayerdebugger
I'm developing on Linux, so don't have access to FlashBuilder. I'm just using the Flex SDK tools from the command line. I figured it out, though. I just make sure to move my swf over to my web server docroot and access it with flashplayerdebugger with the appropriate ? and arguments. Now if I could figure out how to easily integrate Flex SDK tools into Eclipse, I'd be set. Most of the documentation I've seen on how to do that assume to plugins that I haven't been able to find. On 01/25/2012 04:54 PM, Alex Harui wrote: If you are using FLashBuilder, you should be able to see traces in the console if you use Debug as menu option. Usually a SWF is launched with parameters from an HTML wrapper, and FlashBuilder will start up a browser with that HTML wrapper. Alex Harui Flex SDK Developer Adobe Systems Inc. http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui
[flexcoders] Electrolux
Has anyone up here worked, or tried to work with electrolux before?
[flexcoders] Flash builder mobile Flash Remoting
I am developing a FB 4.51 mobile app and am interested in using Flash Remoting from the Coldfusion server rather than web services. Does anyone have real world experience using Flash Builder on mobile via Remoting? How is it? Do most phones that run air handle it well? Thanks
Re: [flexcoders] Calendar Component Needed
Seems odd that a basic modifiable calendar isn't a standard adobe supplied component. Its probably almost as common as a datagrid in applications.Dan --- On Fri, 9/3/10, Tom McNeer tmcn...@gmail.com wrote: From: Tom McNeer tmcn...@gmail.com Subject: Re: [flexcoders] Calendar Component Needed To: flexcoders@yahoogroups.com Date: Friday, September 3, 2010, 2:22 PM Actually ... On Fri, Sep 3, 2010 at 2:02 PM, Dan Pride danielpr...@yahoo.com wrote: Can respond off list if preferred to danielpr...@yahoo.com There are probably others of us who'd be interested in hearing an on-list reply, even if it's a sales pitch. I'm evaluating calendar components for an application I'm building, and I'd be interested in others' responses. I've spoken to a couple of folks on this list who have such components for sale. I've also tried to reach the French company who has keepcore.com about their component. But they don't seem to reply to requests submitted through their site's contact form. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560
[flexcoders] Animate Application Background
I am trying to do a simple animation with a flex app skin between 2 backgrounds. Why does this not work? The function changeBG does not get called as expected. Its really weird though because every now and then it does. I would expect it to get called every second with the following code. ?xml version=1.0 encoding=utf-8? s:Skin xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark creationComplete=init(); fx:Metadata [HostComponent(spark.components.Application)] /fx:Metadata fx:Script ![CDATA[ import mx.controls.Alert; public function init():void { var timer:Timer = new Timer(1000); timer.addEventListener(TimerEvent.TIMER_COMPLETE,changeBg); timer.start(); } public function changeBg(e:TimerEvent):void { Alert.show(Change BG); currentState = (currentState = normal) ? anotherbg : normal; } ]] /fx:Script s:states s:State name=normal / s:State name=disabled / s:State name=anotherbg/ /s:states s:transitions s:Transition s:Fade target={backgroundRect2}/ /s:Transition /s:transitions s:Rect id=backgroundRect left=0 right=0 top=0 bottom=0 includeIn=normal s:fill s:LinearGradient rotation=90 s:GradientEntry color=#00 / s:GradientEntry color=#99 / /s:LinearGradient /s:fill /s:Rect s:Rect id=backgroundRect2 left=0 right=0 top=0 bottom=0 includeIn=anotherbg s:fill s:LinearGradient rotation=90 s:GradientEntry color=#99 / s:GradientEntry color=#00 / /s:LinearGradient /s:fill /s:Rect s:Group id=contentGroup width=100% height=100% minWidth=0 minHeight=0 / /s:Skin
[flexcoders] Re: Animate Application Background
OOOPs...pulled a dumb one there, I was listening for complete..this works. ?xml version=1.0 encoding=utf-8? s:Skin xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark creationComplete=init(); fx:Metadata [HostComponent(spark.components.Application)] /fx:Metadata fx:Script ![CDATA[ import mx.controls.Alert; private var timer:Timer; public function init():void { timer = new Timer(2000); timer.addEventListener(TimerEvent.TIMER, changeBg); timer.start(); } public function changeBg(e:TimerEvent):void { currentState = (currentState == normal) ? anotherbg : normal; } ]] /fx:Script s:states s:State name=normal / s:State name=disabled / s:State name=anotherbg/ /s:states s:transitions s:Transition s:Fade targets={[backgroundRect,backgroundRect2]}/ /s:Transition /s:transitions s:Rect id=backgroundRect left=0 right=0 top=0 bottom=0 includeIn=normal s:fill s:LinearGradient rotation=90 s:GradientEntry color=#00 / s:GradientEntry color=#99 / /s:LinearGradient /s:fill /s:Rect s:Rect id=backgroundRect2 left=0 right=0 top=0 bottom=0 includeIn=anotherbg s:fill s:LinearGradient rotation=90 s:GradientEntry color=#99 / s:GradientEntry color=#00 / /s:LinearGradient /s:fill /s:Rect s:Group id=contentGroup width=100% height=100% minWidth=0 minHeight=0 / /s:Skin Thank You Dan Vega danv...@gmail.com http://www.danvega.org/ On Tue, Aug 17, 2010 at 11:20 AM, Dan Vega danv...@gmail.com wrote: I am trying to do a simple animation with a flex app skin between 2 backgrounds. Why does this not work? The function changeBG does not get called as expected. Its really weird though because every now and then it does. I would expect it to get called every second with the following code. ?xml version=1.0 encoding=utf-8? s:Skin xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark creationComplete=init(); fx:Metadata [HostComponent(spark.components.Application)] /fx:Metadata fx:Script ![CDATA[ import mx.controls.Alert; public function init():void { var timer:Timer = new Timer(1000); timer.addEventListener(TimerEvent.TIMER_COMPLETE,changeBg); timer.start(); } public function changeBg(e:TimerEvent):void { Alert.show(Change BG); currentState = (currentState = normal) ? anotherbg : normal; } ]] /fx:Script s:states s:State name=normal / s:State name=disabled / s:State name=anotherbg/ /s:states s:transitions s:Transition s:Fade target={backgroundRect2}/ /s:Transition /s:transitions s:Rect id=backgroundRect left=0 right=0 top=0 bottom=0 includeIn=normal s:fill s:LinearGradient rotation=90 s:GradientEntry color=#00 / s:GradientEntry color=#99 / /s:LinearGradient /s:fill /s:Rect s:Rect id=backgroundRect2 left=0 right=0 top=0 bottom=0 includeIn=anotherbg s:fill s:LinearGradient rotation=90 s:GradientEntry color=#99 / s:GradientEntry color=#00 / /s:LinearGradient /s:fill /s:Rect s:Group id=contentGroup width=100% height=100% minWidth=0 minHeight=0 / /s:Skin
[flexcoders] States stateGroup
Does anyone have a good example of using a stateGroup? I haven't seen a good use case for this anywhere, thanks!
[flexcoders] Custom Layout
I created a custom layout called StairsLayout package { import mx.core.ILayoutElement; import spark.components.supportClasses.GroupBase; import spark.layouts.supportClasses.LayoutBase; public class StairsLayout extends LayoutBase { public function StairsLayout() { super(); } override public function updateDisplayList(w:Number, h:Number):void { super.updateDisplayList(w,h); var layoutElement:ILayoutElement; var count:uint = target.numElements; for(var i:int = 0; i count; i++){ layoutElement = target.getElementAt(i); var _x:Number = 50 * i; var _y : Number = 50 * i; layoutElement.setLayoutBoundsPosition(_x,_y); } } } } And I am using the layout on some images s:Group width=100% height=100% s:layout local:StairsLayout/ /s:layout mx:Image source=@Embed('images/png128/Ae128.png')/ mx:Image source=@Embed('images/png128/Ai128.png')/ mx:Image source=@Embed('images/png128/Br128.png')/ mx:Image source=@Embed('images/png128/Ct128.png')/ mx:Image source=@Embed('images/png128/Dw128.png')/ mx:Image source=@Embed('images/png128/En128.png')/ mx:Image source=@Embed('images/png128/Fl128.png')/ mx:Image source=@Embed('images/png128/Id128.png')/ mx:Image source=@Embed('images/png128/Lr128.png')/ mx:Image source=@Embed('images/png128/Ol128.png')/ mx:Image source=@Embed('images/png128/Pr128.png')/ mx:Image source=@Embed('images/png128/Ps128.png')/ mx:Image source=@Embed('images/png128/Sb128.png')/ mx:Image source=@Embed('images/png128/zAcrobat128.png')/ /s:Group Nothing is ever outputted to the screen...but when I step through the code in debugger I can see each time a new x,y is calculated. What am I missing?
[flexcoders] Problem with adobe call
I am taking over an app that has the following wrong call import com.adobe.serialization.json.JSON; Any suggestions on the proper one? All I get is viewsource in the suggestion list Thanks Dan Pride danielpr...@yahoo.com
Re: [flexcoders] Hasbro is looking for a Flash/Flex/AS Web Developer for their Digital Startup (Dedham, MA) --- full time/local candidates only [1 Attachment]
I am very interested.My resume is attachedDan Pride --- On Thu, 7/1/10, carolmtay...@comcast.net carolmtay...@comcast.net wrote: From: carolmtay...@comcast.net carolmtay...@comcast.net Subject: [flexcoders] Hasbro is looking for a Flash/Flex/AS Web Developer for their Digital Startup (Dedham, MA) --- full time/local candidates only To: Cc: Job Post , AA-RF Alumni Site razorfishalu...@yahoogroups.com Date: Thursday, July 1, 2010, 9:27 AM Hasbro, Inc. is looking for a skilled, creative thinker with a passion for and skill in Flash, Flex and RIA development to join the Online Media Group in the role of Web Developer. If you are an innovative, highly organized Web Developer who thrives in a fast paced, forward thinking environment, then this could be the opportunity for you. The Web Developer is part of the Online Media Group working on Hasbro’s consumer facing web sites (Hasbro.com, Monopoly.com, Transformers. com, LittlestPetShop. com, etc), Flash based entertainment sites, and supporting applications. The web developer works closely with other developers, DBAs, SysAdmins, online marketers, consumer affairs staff, and more. Responsibilities: Support existing Flash sites and applications, developing and integrating new features and functionality as required. Help plan, design and develop new Flash and Flex applications. Coordinate with consultants and vendors on the development of Flash and Flex applications, ensuring that incoming projects comply with Hasbro’s development standards. Work with business clients to ensure that applications fit the needs of US and international users. Manage multiple web projects simultaneously on a daily basis. Day-to-day maintenance of respective brand web pages. Requirements: 3-5+ years of Flash development. 1-3+ years of Flex development. Profiency in AS2 and AS3. Experience with other aspects of web development, including HTML, XML, javascript, CSS. Familiarity with integrating Flash and Flex applications to back-end systems. Experience with server side programming languages – ideally CFML and/or PHP – strongly preferred. Familiarity with Flash localization. Experience with FLV and video players. Experience integrating analytics hooks into Flash and Flex apps preferred (Google, Omniture, etc) Solid oral and written communication skills. Familiarity with the Internet and current trends in web technology, and the desire to learn appropriate new technologies. Ability to work independently as well as with a team. Ability to work under tight deadline constraints. Ability to handle multiple projects concurrently. Technical writing and editing skills desirable (e.g., technical specifications, help documentation, product documentation) Scrum experience preferred. Source code samples and URL samples are required. B.A., B.S. degree, or equivalent work experience preferred. Consumer facing website development experience desired Why do you want to work at Hasbro? We have the best portfolio of toy and game brands in the world: Transformers, GI Joe, Nerf, Scrabble, Monopoly, Clue, My Little Pony and Littlest Pet Shop and we are successfully taking our toy and game brands into all media experiences Our traditional toy business continues to grow, and we’re committed to extending those retail toy experiences to engage kids and adults with digital/online extensions that extend their enjoyment of our products We have a long and proud tradition of supporting children worldwide through a variety of philanthropic and community relations programs We are committed to Corporate Social Responsibility, including the quality and safety of our products, environmental and health initiatives, and ethical manufacturing programs We offer competitive salaries, great benefits, and a generous bonus plan Our Core Values – fun, innovation, entrepreneurial spirit and integrity – all make for a great place to work! About Hasbro Hasbro, Inc., headquartered in Pawtucket, RI, is a worldwide leader in children’s and family leisure time products and services with a rich portfolio of brands and entertainment properties that provides some of the highest quality and most recognizable play and recreational experiences in the world. As a brand-driven, consumer-focused global company, Hasbro brings to market a range of toys, games and licensed products, from traditional to high-tech and digital, under such powerful brands names as TRANSFORMERS, PLAYSKOOL, TONKA, MILTON BRADLEY, PARKER BROTHERS, CRANIUM and WIZARDS OF THE COAST. This position will be located in a new facility in Dedham, Massachusetts in Q4 2010. While awaiting final site selection, design and construction, the position will temporarily be based in East Providence, RI. Local travel to meetings in Rhode Island will be required to accommodate business needs We are an Equal Opportunity / Affirmative
[flexcoders] Cold Fusion
Everything on Dice to do with Flex seems to be expanding EXCEPT the combination of Flex and ColdFusion. (and of course I am trying to add ColdFusion as a cert right now :(). Curious if anybody knows why? I assumed it would be a good direction for skills development since adobe was linking the two as a bundle. Am I missing something or am I just too early on this? Thanks Dan Pride
[flexcoders] Implement question
What is the practical difference between implementing an interface (Like say IResponder) and passing in a variable typed as IResponder in the construction method? Thanks Dan Pride
[flexcoders] Import Statement Question
I am working on an app that contains a series of import statements in the mxml file that reference packages that I can not see in the Navigator pane. I didn't know this is possible? How can it reference a package which does not appear to exist? Thanks Dan
[flexcoders] Transfer development from PC to Mac??
I need to move a project which is in development on a PC to a Mac. The Mac is not recognizing the PC files as a archieve. Any suggestion and tips on this issue greatly appreciated. Thanks Dan Pride
Re: [flexcoders] Transfer development from PC to Mac??
So you are saying that I should manually compress both the folder in documents and the debug folder in Sites and then move them over to the PC and it will all work??? Dan --- On Sun, 4/25/10, Oleg Sivokon olegsivo...@gmail.com wrote: From: Oleg Sivokon olegsivo...@gmail.com Subject: Re: [flexcoders] Transfer development from PC to Mac?? To: flexcoders@yahoogroups.com Date: Sunday, April 25, 2010, 3:59 PM If stuffit doesn't work, you can try RAR, it's not entirely a freeware, but you can run the evaluation version for as long as you want. Also, I think that unzip file.zip -d ~/another/folder (You run this in terminal - the CMD in PC terms) will work just fine on any mac OS you may have... Best. Oleg
[flexcoders] Cold Fusion/Flash Builder 4 hosting
I have been hosting on GoDaddy. They now offer Cold Fusion 7 on Unix and 8 on Windows. Except they inculude the following restriction. To call your CFC, you will need to use the cfinvoke tag. The cfobject tag and the CreateObject function are disabled on our servers for security reasons. For example, the following code will call the sayHello function on a CFC named hello.cfc Will Cold Fusion 7 allow me to do remote objects and catch them in Flash Builder 4 with this setup??? Thanks Dan Pride
[flexcoders] VideoPlayer Skinning
I am trying to skin a videoplayer so that when you hover over it with a mouse it enlarges but when you remove the mouse it goes back to normal. When I set up a skinclass however I see no hover state. How do I go about this and is skinning the player the most appropriate way to do this. Suggestions / a sample skin would be really appreciated Dan Pride
[flexcoders] FB4 Adobe Media Server plugins?
I am interested in doing Adobe Media Server development but would prefer to use the eclipse for FB4 with a plug in for Adobe Media Server development. Is there such a beast or do I just write it like any actionscript file? Thanks Dan Pride
Re: [flexcoders] List Scrolling Width Issues
using BitmapImage changes nothing.. how is there no examples of a list containing images? anyone? Thank You Dan Vega danv...@gmail.com http://www.danvega.org/ On Wed, Mar 31, 2010 at 6:20 AM, Carlos Rovira carlos.rov...@gmail.comwrote: Yesterday I was using a itemRenderer based on mx:Image and must to change to runtime BitmapImage like this one: http://polygeek.com/2452_flex_extending-spark-bitmapimage so I recomend you to go that way 2010/3/31 Alex Harui aha...@adobe.com If you search the archives, you’ll see that image-based renderers cause lots of problems. On 3/30/10 6:02 PM, Dan Vega danv...@gmail.com wrote: Really? Nobody has ever built a dynamic list of images before ? Thank You Dan Vega danv...@gmail.com http://www.danvega.org/ On Tue, Mar 30, 2010 at 2:01 PM, Alex Harui aha...@adobe.com wrote: I think list does a bit more thinking. I think it computes a typicalItem and uses that as the default size. One of the issues with Image-based renderers is that they have no size until the image loads. If you know the size upfront, set that on the renderer. On 3/30/10 6:29 AM, Dan Vega danv...@gmail.com http://danv...@gmail.com wrote: Take the following example. On the left you have a list that loads data from another file. The data is a basically a set of typed objects that have a src attribute that points to an image. Don't worry to much about that, just know that we are getting a list of images. The list on the left shows an initial list with some scrollbars and about 5 images. The list looks like it can only scroll 1 or 2 more images but in fact there are about 20 images. As you start scrolling the list figures out that there are more and adjusts the scroll bars. It keeps doing this until we reach the last images and finally the scroll bars work as expected. What I don't understand is the data group next to it works exactly how I expect the list to work. I thought the list was basically using the data group in the end anyways? What am I missing / doing wrong? If you need the full example I can email it to you, just ping me. ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark http://ns.adobe.com/flex/spark http://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx http://ns.adobe.com/flex/mx http://ns.adobe.com/flex/mx initialize=GalleryService.loadData() s:layout s:HorizontalLayout paddingTop=20 paddingRight=20 paddingBottom=20 paddingLeft=20/ /s:layout s:List height=100% dataProvider={GalleryService.results} itemRenderer=GalleryImageRenderer dragEnabled=true s:layout s:VerticalLayout horizontalAlign=justify/ /s:layout /s:List s:Scroller height=100% s:DataGroup dataProvider={GalleryService.results} itemRenderer=GalleryImageRenderer s:layout s:VerticalLayout horizontalAlign=justify/ /s:layout /s:DataGroup /s:Scroller -- /s:Application Thank You Dan Vega danv...@gmail.com http://danv...@gmail.com http://www.danvega.org/ -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] List Scrolling Width Issues
Take the following example. On the left you have a list that loads data from another file. The data is a basically a set of typed objects that have a src attribute that points to an image. Don't worry to much about that, just know that we are getting a list of images. The list on the left shows an initial list with some scrollbars and about 5 images. The list looks like it can only scroll 1 or 2 more images but in fact there are about 20 images. As you start scrolling the list figures out that there are more and adjusts the scroll bars. It keeps doing this until we reach the last images and finally the scroll bars work as expected. What I don't understand is the data group next to it works exactly how I expect the list to work. I thought the list was basically using the data group in the end anyways? What am I missing / doing wrong? If you need the full example I can email it to you, just ping me. ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx initialize=GalleryService.loadData() s:layout s:HorizontalLayout paddingTop=20 paddingRight=20 paddingBottom=20 paddingLeft=20/ /s:layout s:List height=100% dataProvider={GalleryService.results} itemRenderer=GalleryImageRenderer dragEnabled=true s:layout s:VerticalLayout horizontalAlign=justify/ /s:layout /s:List s:Scroller height=100% s:DataGroup dataProvider={GalleryService.results} itemRenderer=GalleryImageRenderer s:layout s:VerticalLayout horizontalAlign=justify/ /s:layout /s:DataGroup /s:Scroller -- /s:Application Thank You Dan Vega danv...@gmail.com http://www.danvega.org/
Re: [flexcoders] List Scrolling Width Issues
Really? Nobody has ever built a dynamic list of images before ? Thank You Dan Vega danv...@gmail.com http://www.danvega.org/ On Tue, Mar 30, 2010 at 2:01 PM, Alex Harui aha...@adobe.com wrote: I think list does a bit more thinking. I think it computes a typicalItem and uses that as the default size. One of the issues with Image-based renderers is that they have no size until the image loads. If you know the size upfront, set that on the renderer. On 3/30/10 6:29 AM, Dan Vega danv...@gmail.com wrote: Take the following example. On the left you have a list that loads data from another file. The data is a basically a set of typed objects that have a src attribute that points to an image. Don't worry to much about that, just know that we are getting a list of images. The list on the left shows an initial list with some scrollbars and about 5 images. The list looks like it can only scroll 1 or 2 more images but in fact there are about 20 images. As you start scrolling the list figures out that there are more and adjusts the scroll bars. It keeps doing this until we reach the last images and finally the scroll bars work as expected. What I don't understand is the data group next to it works exactly how I expect the list to work. I thought the list was basically using the data group in the end anyways? What am I missing / doing wrong? If you need the full example I can email it to you, just ping me. ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark http://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx http://ns.adobe.com/flex/mx initialize=GalleryService.loadData() s:layout s:HorizontalLayout paddingTop=20 paddingRight=20 paddingBottom=20 paddingLeft=20/ /s:layout s:List height=100% dataProvider={GalleryService.results} itemRenderer=GalleryImageRenderer dragEnabled=true s:layout s:VerticalLayout horizontalAlign=justify/ /s:layout /s:List s:Scroller height=100% s:DataGroup dataProvider={GalleryService.results} itemRenderer=GalleryImageRenderer s:layout s:VerticalLayout horizontalAlign=justify/ /s:layout /s:DataGroup /s:Scroller -- /s:Application Thank You Dan Vega danv...@gmail.com http://www.danvega.org/ -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] Graphics
I copied an example from a website and for whatever reason I can not get the graphics to show up? No errors and the example runs fine except I don't see the rectangle or the ellipse? What gives? ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx minWidth=955 minHeight=600 fx:Script ![CDATA[ import mx.core.IUIComponent; import mx.core.DragSource; import mx.events.DragEvent; import mx.managers.DragManager; private function mouseDownHandler(e:MouseEvent):void { DragManager.doDrag(e.currentTarget as IUIComponent, null, e); } private function dragEnterHandler(e:DragEvent):void { DragManager.acceptDragDrop(e.currentTarget as IUIComponent); } private function dragDropHandler(e:DragEvent):void { e.currentTarget.addElement(e.dragInitiator); } ]] /fx:Script fx:Declarations !-- Place non-visual elements (e.g., services, value objects) here -- /fx:Declarations s:Panel title=src width=100 minHeight=133 x=10 y=10 s:Graphic width=80 height=80 mouseDown=mouseDownHandler(event) s:Rect width=100% height=100% s:fill mx:SolidColor color=#FF / /s:fill /s:Rect /s:Graphic s:Graphic width=80 height=80 mouseDown=mouseDownHandler(event) s:Ellipse width=100% height=100% s:fill mx:SolidColor color=#FF66FF / /s:fill /s:Ellipse /s:Graphic /s:Panel s:Panel title=target width=100 minHeight=133 x=120 y=10 dragEnter=dragEnterHandler(event); dragDrop=dragDropHandler(event); /s:Panel /s:Application Thank You Dan Vega danv...@gmail.com http://www.danvega.org/
Re: [flexcoders] Flash Buidler and Flash
It seem odd that there is no way to combine the two since they are both producing Flash flies with AS3?? --- On Wed, 3/17/10, Nick Collins ndcoll...@gmail.com wrote: From: Nick Collins ndcoll...@gmail.com Subject: Re: [flexcoders] Flash Buidler and Flash To: flexcoders@yahoogroups.com Date: Wednesday, March 17, 2010, 8:40 AM Flash Builder is a development tool. I would suggest using Flash CS4, as it is the successor of Flash 8, not Flash Builder. Even still, any fancy transitions, will still be custom work, either using a tweening library or the timeline. Also, I would suggest checking out the Gaia Flash Framework, or Soma UI for building the site. Nick On Tue, Mar 16, 2010 at 2:59 PM, Dan Pride danielpride@ yahoo.com wrote: I am rebuilding a site done in Flash 8 in Flash Builder 4 beta 2 The original site has some pretty fancy transitions between screens and I don't see anything comparable in FB4. Whats the best way to go? Is there anyway to get the transititons out of the original Flash 8 files and bring them into FB4? thanks Dan Pride
[flexcoders] Flash Buidler and Flash
I am rebuilding a site done in Flash 8 in Flash Builder 4 beta 2 The original site has some pretty fancy transitions between screens and I don't see anything comparable in FB4. Whats the best way to go? Is there anyway to get the transititons out of the original Flash 8 files and bring them into FB4? thanks Dan Pride
[flexcoders] Importing fla and transiitions from flash?
I am taking over a client who has a .fla site with several fancy Ribbon,Bubbles, and Stripes transitions I want to import. Is it easier to just edit it in Flash or to Bring it into Flash builder? I would like to at least bring in the original parts into Flash Builder beta 2. Working in Flash Beta 2 until the release. Dan Pride
Re: [SPAM] [flexcoders] Component Data Calls
Thanks Dave, the word I seem to be getting lately is that the modules tend to be a bit buggy at the moment. Decided to go with the old reliable viewstacks and change urls if I have too. There seem to be so many different ways to approach this issue, someone should write a book on it. I know I would buy it. :) Dan Pride --- On Mon, 2/22/10, David Adams dpad...@gmail.com wrote: From: David Adams dpad...@gmail.com Subject: Re: [SPAM] [flexcoders] Component Data Calls To: flexcoders@yahoogroups.com Date: Monday, February 22, 2010, 7:23 PM On Mon, Feb 15, 2010 at 3:28 AM, Dan Pride danielpride@ yahoo.com wrote: Thank you for your answer. Question if you would, I have been asking it everywhere and get NO satisfactory answers. How to approach a multi-windowed application, particurarly in FB4? 1) Different Urls? 2) ViewStacks? 3) States? 4) ViewStacks of States (Master-Detail in one ViewStack as two states)? 5) Do States initialize in Flash Builder 4? I had heard they do not? Dan, You might like the following video from near the end of Adobe's Learn Flex in a Week training: http://www.adobe. com/devnet/ flex/videotraini ng/xml/vid41. html It's a pretty nice, simple example of building and then lazy-loading a module only once (and if) it's needed.
Re: [SPAM] [flexcoders] Component Data Calls
Wait a minute... After that very excellent book you wrote on 4D,... we are NOT going to get a command performance for Flash Builder? I am dissappointed. Dan --- On Mon, 2/22/10, David Adams dpad...@gmail.com wrote: From: David Adams dpad...@gmail.com Subject: Re: [SPAM] [flexcoders] Component Data Calls To: flexcoders@yahoogroups.com Date: Monday, February 22, 2010, 9:57 PM On Tue, Feb 23, 2010 at 12:52 PM, Dan Pride danielpride@ yahoo.com wrote: There seem to be so many different ways to approach this issue, someone should write a book on it. I know I would buy it. So would I.
[flexcoders] Flash Templates
I have a customer who wants to upgrade a flash template website. How far off is it to program this for a Flex Developer, or are there facilities to import it so I can work it in Flex 4 ? Tips appreciated, including if I should pass this one off. Dan
Re: [flexcoders] How much knowledge in Java do you actually need to be hired as a Flex Developer
I see the same jobs I interviewed for Months ago go back up on the boards again and again. Its getting to the point where a recuriter letter starts sounding like a Nigerian scam letter,... just something to waste my time with. I am not sure if its the language or the depression, but Breaking into this langugage is absurdly difficult. --- On Thu, 2/18/10, claudiu ursica the_bran...@yahoo.com wrote: From: claudiu ursica the_bran...@yahoo.com Subject: Re: [flexcoders] How much knowledge in Java do you actually need to be hired as a Flex Developer To: flexcoders@yahoogroups.com Date: Thursday, February 18, 2010, 5:02 AM It depends on the company. At Betfair we have dedicated java teams so the UI teams only do UI. Doesn;t matter if it is Flex/Flash/HTML/ Ajax, we rarely touch the java code. You are not screwed you just need to find the right employer :). C From: fred44455 fred44...@yahoo. com To: flexcod...@yahoogro ups.com Sent: Thu, February 18, 2010 12:06:09 AM Subject: [flexcoders] How much knowledge in Java do you actually need to be hired as a Flex Developer How much knowledge in Java do they required?? I mean that's ridiculous , last year there were just a few companies who were requiring some Java Knowledge now 80% of the job ads for Flex Developers (on dice.com) require some Knowledge in java. I understand that it is probably to connect to back end servers. My question is : How much knowledge are we talking about here?? I know nothing about Java. so I guess I am screwed? You end up finishing learning Flex to find out that they require another core technology!! That;'s stupid. Thank you.
Re: [flexcoders] Re: Why most Flex Developer job ads ask now for Knowledge in Java??
Thanks for the tip but one quesiton SDK (not Java EE) Not EE? I would have assumed it should be EE we should be looking at Dan --- On Wed, 2/17/10, Flex myflexdownlo...@gmail.com wrote: From: Flex myflexdownlo...@gmail.com Subject: [flexcoders] Re: Why most Flex Developer job ads ask now for Knowledge in Java?? To: flexcoders@yahoogroups.com Date: Wednesday, February 17, 2010, 6:57 PM I think that is because flex is now making inroads into the enterprise and Java is one of the big languages for big enterprises. SAP Business objects product XCelsius is based on Flex and has come with an SDK that lets you integrate Flex components as BOBJ components for dashboarding. SAP Visual Composer is based on flex too. Oracle has some products that use it as well. Now for enterprise's using Java, UI has laways been the weakest link. JSP is decent but nowhere close to Flex. JSF never got that popular ans struts is age-old but still used. The real problems is multitude of technologies there that are complex and still do not do that good a job. Enter Flex with its good integration capabilities, remoting capabilities, browser independent development etc and the really cool nice interface at a quarter of the time... So the strongest contender on UI is trying to replace the weakest performer here. Don't get me wrong...I am a java guy and I love it (a bit of love is lost after the oracle acquisition) but having used Servlets, JSP, Struts and MyFaces I really like Flex. You do not have to know that much Java...just a bit on how servlets work, security and web services. There are online tutorials on Sun that are pretty good...Java Trails on the core SDK (not Java EE) Web Manager FlexDownloads. com --- In flexcod...@yahoogro ups.com, fred44455 fred44...@. .. wrote: Since this year you don't seems to be able to find a Job Offer in Flex without the requirement: Knowledge in Java, JEE2 etc.. required( Most job ads in Dice.com) Is that mean that now not only I need to learn Flex but also Java to be able to find a Flex Developer job??
[flexcoders] Developer Available
Developer looking for remote development. Intermediate skills. Very Very low rates Flashbuilder 4 Work example (component based) http://www.stepandfetch.com/StepAndFetch/StepAndFetch.html Source View http://www.stepandfetch.com/StepAndFetch/srcview/ Satisfaction Guaranteed to you don't pay. Dan Pride
[flexcoders] bin-release1, bin-release2 etc
Everytime I do a build now it adds another folder bin-release1 bin-release2 etc etc Whats up here? and how do I get it back to its normal behavior (Flex 4) Thanks Dan Pride
[flexcoders] Component Data Calls
Is it possible to make a service call from inside a component? In other words the component would be totally independent, getting its own data from the back end rather than passing it in from the parent mxml? Thanks Dan Pride
RE: [SPAM] [flexcoders] Component Data Calls
Thank you for your answer. Question if you would, I have been asking it everywhere and get NO satisfactory answers. How to approach a multi-windowed application, particurarly in FB4? 1) Different Urls? 2) ViewStacks? 3) States? 4) ViewStacks of States (Master-Detail in one ViewStack as two states)? 5) Do States initialize in Flash Builder 4? I had heard they do not? I am trying to design a 50 or so screen application but I don't want the entire thing to download on first sight? Just what is needed when it is needed. Thanks Dan Pride thanks Dan Pride --- On Sun, 2/14/10, Tracy Spratt tr...@nts3rd.com wrote: From: Tracy Spratt tr...@nts3rd.com Subject: RE: [SPAM] [flexcoders] Component Data Calls To: flexcoders@yahoogroups.com Date: Sunday, February 14, 2010, 10:37 AM Yes, certainly. I normally do all of my data access in a special component and then update a local model with the data. I use binding and ChangeWatchers to respond to updates to the model. I typically use the singleton pattern for my model. Tracy Spratt, Lariat Services, development services available From: flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Dan Pride Sent: Sunday, February 14, 2010 10:30 AM To: Flex Coders Subject: [SPAM] [flexcoders] Component Data Calls Is it possible to make a service call from inside a component? In other words the component would be totally independent, getting its own data from the back end rather than passing it in from the parent mxml? Thanks Dan Pride
Re: [flexcoders] Re: Flex/LCDS Enterprise
As I understand it the modeling does not work on a Mac? Dan --- On Wed, 2/3/10, Mete Atamel meteata...@yahoo.com wrote: From: Mete Atamel meteata...@yahoo.com Subject: [flexcoders] Re: Flex/LCDS Enterprise To: flexcoders@yahoogroups.com Date: Wednesday, February 3, 2010, 5:51 AM Yes, LCDS 3.0 has a free developer license. -Mete --- In flexcod...@yahoogro ups.com, Dan Pride danielpride@ ... wrote: Ia there a way for startups to get low cost access to Flex/LCDS Enterprise for development purposes only ?
[flexcoders] Flex/LCDS Enterprise
Ia there a way for startups to get low cost access to Flex/LCDS Enterprise for development purposes only ?
Re: [flexcoders] Re: Pointers
Interesting but not quite the design issue I have in mind. See http://www.danielpride.com/Vehicles3/Vehicles3.html (Its still a little crude, basically playing with the tech. Clicking on a row fills in a series of text boxes. if you edit a box, I want to shift the state just like it does now when you click the new button at the top, except now it will go to an edit state. The idea is you can examine a large data record by selecting it from a row of important fields, then edit if you like or just look. Its easy enough to compare the values field by field but in my old language I would have written a very small function with two pointers (new and old) and then just called the same function in each focus out, passing in the two pointers to the current field of the focus event. This has got to be childs play I would think but newbie status prevents it from popping out of my head I guess. Dan Pride --- On Fri, 1/29/10, jamesfin james.alan.finni...@gmail.com wrote: From: jamesfin james.alan.finni...@gmail.com Subject: [flexcoders] Re: Pointers To: flexcoders@yahoogroups.com Date: Friday, January 29, 2010, 11:51 PM Here's what I've done in the past... // add this in your init code... myDataGrid.addEvent Listener( ListEvent. ITEM_EDIT_ END, editEnd); private function editEnd(evt: DataGridEvent) :void{ // get a reference to the datagrid var grid:DataGrid = evt.target as DataGrid; // get a reference to the name of the property in the // underlying object corresponding to the cell that's being edited var field:String = evt.dataField; // get a reference to the row number (the index in the // dataprovider of the row that's being edited) var row:Number = Number(evt.rowIndex ); // get a reference to the column number of // the cell that's being edited var col:int = evt.columnIndex; if (grid != null){ var oldValue:String = String(grid. dataProvider. getItemAt( row)[field] ); var newValue:String = String(grid. itemEditorInstan ce[grid.columns[ col].editorDataF ield]); var rowData:XML = XML(grid.dataProvid er.getItemAt( row)[0]); // check if the value has changed if (newValue == oldValue){ // nothing has changed... return; } // something has changed... // do something... // you could prevent the change if you want // or do some validation // or just return and the data move on to the dp. } } --- In flexcod...@yahoogro ups.com, Dan Pride danielpride@ ... wrote: Looking for suggestions on how to approach an issue. I want to write a function to compare the current value of a text field with the value of the field in the selected row of the dataGrid. I want to use the function as a focus-out handler on every text input. Obviously I don't want to rewrite this for each and every field but I did not see a functional similarity to a pointer in actionscript or did I just miss it? This is for the awesome Flashbuilder 4,... I have a text input for every field in the value object and want to compare each to the selectedItem for the dataGrid and kick some stuff if it does not match. Thanks Dan Pride
[flexcoders] Adobe Developer Connection Downloads
I want to download some training videos so I can watch them when I am traveling and don't have guaranteed access to high speed. I don't see anyway obvious to download most of them where is it? I found a place to download flex in a week for Flash builder 4 but that was it so far. Why don't they have a download here on the ADC pages? Dan Pride
[flexcoders] Pointers
Looking for suggestions on how to approach an issue. I want to write a function to compare the current value of a text field with the value of the field in the selected row of the dataGrid. I want to use the function as a focus-out handler on every text input. Obviously I don't want to rewrite this for each and every field but I did not see a functional similarity to a pointer in actionscript or did I just miss it? This is for the awesome Flashbuilder 4,... I have a text input for every field in the value object and want to compare each to the selectedItem for the dataGrid and kick some stuff if it does not match. Thanks Dan Pride
[flexcoders] Mac to GoDaddy Flashbuilder 4 deployment problems Help!
I develop on a Macintosh (localhost) and deploy to GoDaddy Linix I did the following, exactly but it does not work. I am on beta 2 - What am I missing? Help please this is a demo to close a deal with a client. copied ZendFramework/ to server root exported release build to local HD Copied build folder to server root copied the missing services folder from bin-debug to the build folder on the server amf-config.ini -- Uncommented and set zend_path to absolute path ( http://www.danielpride.com/ZenFrameworks ) Set amf.production to true. Set Webroot to ( http://www.danielpride.com ) Note: there is no fml file to be seen on my entire MACINTOSH hard drive ? Request: If you cite folders in your response please be explicit as to the path. Thanks in advance. Dan Pride
[flexcoders] Does Mac have an .fml file?
Everyone talks about an fml file when deploying a new flash builder 4 app. I am using FB4 on my machine with zenframeworks and it appears to be working great. But there is no fml file at all? Am I missing something? I don't seem to be able to get the same results when I copy it up to a new server either
[flexcoders] Java Question
I am thinking of making the jump to Java Seems like its the platform of choice for Flex Data Two quick questions 1) Whats the best exam to certifiy for 2) Whats the cheapest 3) How long to get by the cert for a normal bright level (not genius but bright) programmer? 4) Will the Cert do me any good. Thanks Dan Pride
Re: [flexcoders] Java Question
just learning core Java, Servlets, Java Servers, BlazeDS, and Spring. Can you suggest a source for learning them that would be most applicable for Flex? Also,... Any idea of the time required for most for this? Like how would it compare to an Oracle Cert for example? Weeks, Months or Years? Thanks --- On Fri, 1/15/10, Kelly dek...@gmail.com wrote: From: Kelly dek...@gmail.com Subject: Re: [flexcoders] Java Question To: flexcoders@yahoogroups.com Date: Friday, January 15, 2010, 12:44 PM Most of the certs require you to learn tons of crap you will never use with Java/Flex development. I would suggest just learning core Java, Servlets, Java Servers, BlazeDS, and Spring. After that decide if you care about getting certified. Tom suggested learning CF instead. I would not recommend that. I know CF and Java and I would never use CF for a Flex backend. Java is so much nicer to work with and so much more powerful. Dan Pride wrote: I am thinking of making the jump to Java Seems like its the platform of choice for Flex Data Two quick questions 1) Whats the best exam to certifiy for 2) Whats the cheapest 3) How long to get by the cert for a normal bright level (not genius but bright) programmer? 4) Will the Cert do me any good. Thanks Dan Pride
Re: [flexcoders] Java Question
Thanks. I have an Oracle Cert but is PLSQL, never did the j2ee unfortunately. Php is all going to object oriented which is fine but my past experience with C apps that try to become OOP tells me to avoid it like the plague. Procedural languages that try to morph to objects always seem to be one big messy ball of twine when its said and done. Cold Fusion does not seem to have enough market share in Flex to spit at. Appreciate your reply, I prefer working on big apps so I guess its Java time. Dan Pride --- On Fri, 1/15/10, Kelly dek...@gmail.com wrote: From: Kelly dek...@gmail.com Subject: Re: [flexcoders] Java Question To: flexcoders@yahoogroups.com Date: Friday, January 15, 2010, 1:31 PM Out of 20+ large flex projects I have worked on 2 were .NET backends, 1 was a CF backend, none were PHP, and all the rest were Java. So you if you want to do enterprise Flex development for work it would not hurt to learn Java. If I wanted to build a simple html app I might consider CF because its super simple to slap together html with CF's tag based logic. But I would probably still end up using Java/Wicket even though the complexity is slightly higher. That is just my preference though. CF was the first server side technology I learned. I thought it was great when I learned it. Then I learned Java. I have never wanted to use CF since then. Paul Andrews wrote: Kelly wrote: Most of the certs require you to learn tons of crap you will never use with Java/Flex development. I would suggest just learning core Java, Servlets, Java Servers, BlazeDS, and Spring. After that decide if you care about getting certified. Tom suggested learning CF instead. I would not recommend that. I know CF and Java and I would never use CF for a Flex backend. Java is so much nicer to work with and so much more powerful. As a Java developer and having had a small dip in coldfusion development, I wouldn't dismiss coldfusion so easily. If you're looking to build straightforward database functionality, coldfusion is superb and you'll get a solution rapidly. As well as that you'll have a route to providing reports and such with the help of coldfusion functionality. I'm not telling anyone not to learn Java, or to adopt ColdFusion, but suggesting Java is nicer to work with or more powerful, is not so clear cut as you would suggest and for some scenarios the opposite is true. I know that for some projects I've worked on, ColdFusion would have cut development costs drastically. I suspect that most Flex projects are driven by PHP rather than Java. I think the choice of server technology depends on a pile of things, some technical, some political, some monetary. Dan Pride wrote: I am thinking of making the jump to Java Seems like its the platform of choice for Flex Data Two quick questions 1) Whats the best exam to certifiy for 2) Whats the cheapest 3) How long to get by the cert for a normal bright level (not genius but bright) programmer? 4) Will the Cert do me any good. Thanks Dan Pride
Re: [flexcoders] Java Question
Curious, how many of the 20 were cairngorm? Thanks Dan Pride --- On Fri, 1/15/10, Kelly dek...@gmail.com wrote: From: Kelly dek...@gmail.com Subject: Re: [flexcoders] Java Question To: flexcoders@yahoogroups.com Date: Friday, January 15, 2010, 1:31 PM Out of 20+ large flex projects I have worked on 2 were .NET backends, 1 was a CF backend, none were PHP, and all the rest were Java. So you if you want to do enterprise Flex development for work it would not hurt to learn Java. If I wanted to build a simple html app I might consider CF because its super simple to slap together html with CF's tag based logic. But I would probably still end up using Java/Wicket even though the complexity is slightly higher. That is just my preference though. CF was the first server side technology I learned. I thought it was great when I learned it. Then I learned Java. I have never wanted to use CF since then. Paul Andrews wrote: Kelly wrote: Most of the certs require you to learn tons of crap you will never use with Java/Flex development. I would suggest just learning core Java, Servlets, Java Servers, BlazeDS, and Spring. After that decide if you care about getting certified. Tom suggested learning CF instead. I would not recommend that. I know CF and Java and I would never use CF for a Flex backend. Java is so much nicer to work with and so much more powerful. As a Java developer and having had a small dip in coldfusion development, I wouldn't dismiss coldfusion so easily. If you're looking to build straightforward database functionality, coldfusion is superb and you'll get a solution rapidly. As well as that you'll have a route to providing reports and such with the help of coldfusion functionality. I'm not telling anyone not to learn Java, or to adopt ColdFusion, but suggesting Java is nicer to work with or more powerful, is not so clear cut as you would suggest and for some scenarios the opposite is true. I know that for some projects I've worked on, ColdFusion would have cut development costs drastically. I suspect that most Flex projects are driven by PHP rather than Java. I think the choice of server technology depends on a pile of things, some technical, some political, some monetary. Dan Pride wrote: I am thinking of making the jump to Java Seems like its the platform of choice for Flex Data Two quick questions 1) Whats the best exam to certifiy for 2) Whats the cheapest 3) How long to get by the cert for a normal bright level (not genius but bright) programmer? 4) Will the Cert do me any good. Thanks Dan Pride
[flexcoders] Undetermined line in constructor'
I have a problem when I move my amfphp to a new server. I get the following error (Object)#0 message = faultCode:AMFPHP_BUILD_ERROR faultString:'mysql_connect(): Can't connect to MySQL server on '208.109.94.94' (10060)' faultDetail:'D:\Hosting\5298779\html\amfphp\services\/MyService.php on line Undetermined line in constructor' name = Error rootCause = (null) Note, this works fine on the server where the database resides, but the database is generally accessible, so why do I get the error in the amfphp browser when trying to log into it from an external server? (log in is being done from inside the class constructor calling an include file (available) with define statements for datbase, user, pass et al) Thanks in advance for any help you can offer. Dan Pride
[flexcoders] Flashbuilder
Adobe has said Flashbuilder will be out in first half of 2010. Is there any in the know speculation that might narrow that down a bit? I am starting a new project and would love to use the new features. Is anybody using this in a serious development effort now? Is it advisable? Thanks Dan Pride P.S. This is a small three person development environment where two are newbies.
[flexcoders] Zend Eclipse Install
Does it matter if I install Flex then the php eclipse plugin, or the other way around? Thanks Dan Pride
[flexcoders] Cross Domain File
If I am accessing a database from another server with php files which sits on my server, does flash consider that as data from an outside source (since it appears to come from a file on my server even tho its pulling from a foreign database)?
[flexcoders] Return Path/Type of Remote Object calls
I am trying to trace the return path of a Remote Object call and a little confused by the result. If I set up the following mx:RemoteObject id=VehicleRO destination=AMFPHP source=VehicleService endpoint=../amfphp/gateway.php showBusyCursor=true mx:method name=getVeh result=getVehResultHandler(event) fault=getVehFaultHandler()/ /mx:RemoteObject and Call VehicleRo.getVeh(VehicleId) What is the path in the debugger to find the result? It populates a grid just fine with ItemTypesRO.getVeh.lastResult And should it come back as an Array of Value Objects or Generic Objects? Thanks Dan Pride
[flexcoders] Help ! amfphp Generic not Value Objects
Help ! I am doing an amfphp for a prospective client (my first amfphp), I have been over and over examples and seem to have everything correct, values objects on both sides, globals path set etc etc. But do what I might the returns are all ArrayCollections of generic objects. The view source is up there, what in GD am I missing? http://danielpride.com/Vehicle/Vehicle.html Thanks Dan Pride danielpr...@yahoo.com
[flexcoders] AmfPhp Version Question
The only download up on amfphp.org seems to be 1.9beta which is two years old??? Isnt' there anything since then ?? Thanks Dan pride
Re: [flexcoders] Re: how to open pdf, word file using flex
What about using coldfusion? I am starting a project with a lot of pdf and as intending to bring the coldfusion capabilities down into flex. Will this work or am I headed down a dead end street? Thanks Dan Pride --- On Wed, 12/23/09, djhatrick djhatr...@yahoo.com wrote: From: djhatrick djhatr...@yahoo.com Subject: [flexcoders] Re: how to open pdf, word file using flex To: flexcoders@yahoogroups.com Date: Wednesday, December 23, 2009, 9:30 AM You need to use Live Cycle Data Service, or Air. Unfortunately, PDF support is not baked into Flex. But I wish it was, it would be fantastic if it came bundled, it would make Flex so much more popular. --- In flexcod...@yahoogro ups.com, vikranth4u vikranth4u@ ... wrote: Hi can anybody help me regarding how to write a code to open a pdf or doc file using flex
[flexcoders] Mate and Value Objects
Newbie question Look at Mate and how is uses events to pass values around and ultimately back to an amfPHP server,... is it better to just use plain variables in the event structure or incorporate values into value objects??? Thanks Dan Pride
[flexcoders] Mate board?
Is there a board specifically for Mate? Thanks Dan
Re: [flexcoders] IE Div Tags somehow blocked on html page
No That does not work either View source at http://www.archaeolibrary.com/Gezer/Center2/Center.html Works on windows firefox fine but IE is still over the the left. Its a Flex issue not a Css issue. Somehow Flex is overriding the Css I have tried every combination. very puzzling ? Dan --- On Sat, 12/12/09, claudiu ursica the_bran...@yahoo.com wrote: From: claudiu ursica the_bran...@yahoo.com Subject: Re: [flexcoders] IE Div Tags somehow blocked on html page To: flexcoders@yahoogroups.com Date: Saturday, December 12, 2009, 9:56 AM I believe you are looking at margin: 0px auto; instead of margin:auto; margin-left: auto ; margin-right: auto ; C. From: Dan Pride danielpride@ yahoo.com To: Flex Coders flexcod...@yahoogro ups.com Sent: Sat, December 12, 2009 4:49:13 PM Subject: [flexcoders] IE Div Tags somehow blocked on html page The margin div tags (and others) outside the flex objects are somehow not working. All attempts to center the page do not work on IE but do work on all other browsers. A CENTER tag (last resort) somehow blocs presentation of Flex This Works /head bodyCENTER div class=Page p /p /div /body /html But if you add the Flex Object rather than the text (X) the page comes up blank ??? This Css centering should work but does not. http://www.archaeol ibrary.com/ Gezer/Center/ Center.html Whats going on here? Dan Pride
[flexcoders] IE Div Tags somehow blocked on html page
The margin div tags (and others) outside the flex objects are somehow not working. All attempts to center the page do not work on IE but do work on all other browsers. A CENTER tag (last resort) somehow blocs presentation of Flex This Works /head bodyCENTER div class=Page p/p /div /body /html But if you add the Flex Object rather than the text (X) the page comes up blank ??? This Css centering should work but does not. http://www.archaeol ibrary.com/ Gezer/Center/Center.html Whats going on here? Dan Pride
Re: [flexcoders] CSS Div not working
Nope. Still hangs on the left at http://www.archaeolibrary.com/Gezer/Center/Center.html If you view source you will see the Doc Type. Thanks for the suggestion tho Dan --- On Wed, 12/9/09, Wesley Acheson wesley.ache...@gmail.com wrote: From: Wesley Acheson wesley.ache...@gmail.com Subject: Re: [flexcoders] CSS Div not working To: flexcoders@yahoogroups.com Date: Wednesday, December 9, 2009, 4:46 PM Try putting in a valid doctype into the document. This forces IE into standards mode which should make a difference to margin:auto On Mon, Dec 7, 2009 at 10:02 PM, Dan Pride danielpride@ yahoo.com wrote: I am trying to enclose pages in a div that is centered on the page. It works great on the Mac but Css code that works in every other instance does not seem to work on Windows for any ie versions. Windows Firefox etc fine, any ie and the page is stuck to the left. This is not the usual ie crap, code that normally works there doesn't work on my flex html wrapper pages. Whats up? (page http://www.archaeol ibrary.com/ Gezer/Center/ Center.html) Thanks for the Great help thats always up on this board ! Dan Pride - - -- -- Flexcoders Mailing List FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder sFAQ.txt Alternative FAQ location: https://share. acrobat.com/ adc/document. do?docid= 942dbdc8- e469-446f- b4cf-1e62079f684 7 Search Archives: http://www.mail- archive.com/ flexcoders% 40yahoogroups. comYahoo! Groups Links http://groups. yahoo.com/ group/flexcoders / Individual Email | Traditional http://groups. yahoo.com/ group/flexcoders /join (Yahoo! ID required) flexcoders-digest@ yahoogroups. com flexcoders-fullfeat u...@yahoogroups .com flexcoders-unsubscr i...@yahoogroups. com http://docs. yahoo.com/ info/terms/
[flexcoders] List w Item Renderer Not Resizing as expected
I am using an item renderer in a list to display a photo and a caption. It works as expected except for when the list display is down to two items then it refuses to resize as you make the browser smaller. This mucks the display for laptops totally. Is there a two item limit on resizing anchored list displays? See at http://www.archaeolibrary.com/Gezer/Center/Center.html Dan Pride
[flexcoders] CSS Div not working
I am trying to enclose pages in a div that is centered on the page. It works great on the Mac but Css code that works in every other instance does not seem to work on Windows for any ie versions. Windows Firefox etc fine, any ie and the page is stuck to the left. This is not the usual ie crap, code that normally works there doesn't work on my flex html wrapper pages. Whats up? (page http://www.archaeolibrary.com/Gezer/Center/Center.html) Thanks for the Great help thats always up on this board ! Dan Pride
RE: [SPAM] [flexcoders] Multiple Script Files
I have never heard of this before, where could I find out about it (I come from database design not java) Dan Pride --- On Fri, 11/27/09, Tracy Spratt tr...@nts3rd.com wrote: From: Tracy Spratt tr...@nts3rd.com Subject: RE: [SPAM] [flexcoders] Multiple Script Files To: flexcoders@yahoogroups.com Date: Friday, November 27, 2009, 5:21 PM Another solution to this is to use helper classes, instead of compiling the script block into the component class. I never have more than a single script block in an mxml file, rarely have more than one included script file, and often have none of either. You can use the code-behind technique, or static functions in a separate class, or a normally instantiated helper class. Tracy Spratt, Lariat Services, development services available From: flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On Behalf Of Dan Pride Sent: Thursday, November 26, 2009 2:41 PM To: flexcod...@yahoogro ups.com Subject: [SPAM] [flexcoders] Multiple Script Files A similar question. To simplfy things I have created a script file for each table with the relevant actionscript functions for the table in the file. i.e. mx:Script source=CenterScrip t.as / mx:Script source=SquareScrip t.as / mx:Script source=LocaScript. as / etc etc Is this a common way to handle script complexity as an application grows? The app only uses a couple of components so there is a fair bit of actionScript code tied to the main app file. Thanks Dan Pride
[flexcoders] Mixing Service Formats in on App
I have a large complicated multi-table multi-windowed application which was orignially leveraged off the create Application from database. I now want to rewrite most of it in value objects so I have created a second http service object with an ArrayCollection result type, with attendant result handlers etc. It seems to work but am curious what more seasoned developers think of mixing Http Services with their own result formats in one Flex application file??? Thanks Dan Pride
[flexcoders] Multiple Script Files
A similar question. To simplfy things I have created a script file for each table with the relevant actionscript functions for the table in the file. i.e. mx:Script source=CenterScript.as / mx:Script source=SquareScript.as / mx:Script source=LocaScript.as / etc etc Is this a common way to handle script complexity as an application grows? The app only uses a couple of components so there is a fair bit of actionScript code tied to the main app file. Thanks Dan Pride
Re: [flexcoders] Syntax Question
Julian... Apparently you are wrong? When I do it with an untyped var I get an object with an XMLList for each grid column var squat = dataGrid.selectedItem; This var myValue:XML = dataGrid.selectedIt em as XML; returns null for myValue Why is it such Rocket Science to get the first value in a column? Very frustrating for something that should be so simple. Thanks for the help Dan --- On Fri, 11/20/09, Julian Alexander wb...@ymail.com wrote: From: Julian Alexander wb...@ymail.com Subject: Re: [flexcoders] Syntax Question To: flexcoders@yahoogroups.com Date: Friday, November 20, 2009, 10:53 PM You can't access the value from the column name - getting the selected value will give you the entire row that the datagrid is displaying from which you can get the value you're looking for. In other words, if you have an XMLList as your dataProvider, you can do something like: var myValue:XML = dataGrid.selectedIt em as XML; var myName:String = myval...@name. Make sense? -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Fri, November 20, 2009 9:43:33 PM Subject: [flexcoders] Syntax Question On Creation complete I am filling a datagrid and I want to select the first value listed from the Name Column (NameCol) What is the syntax? dataGrid.selectedIn dex = 0; Value = dataGrid.selectedIt em.NameCol; Does not work. why not? Thanks Dan
Re: [flexcoders] Syntax Question
Thanks for the response. Its an ArrayCollection of XML objects. var squat:XMLList = squaresGrid.selectedItem.NameCol; will trace as an XML List but I can not seem to get the list to then recast as an XMLListCollection so I can get at it. Thanks Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail.com wrote: From: Julian Alexander wb...@ymail.com Subject: Re: [flexcoders] Syntax Question To: flexcoders@yahoogroups.com Date: Saturday, November 21, 2009, 11:14 AM Dan, The problem (I assume) is that the object you're getitng back isn't XML. I was using that as an example, but when you use the as operator if the object isn't that type it will always return null. What is your data provider? Is it an array of objects? XML? It all depends on what you're doing. Either way, it's based on a list. Getting the selected item will give you a generic object that you need to cast to whichever data type (actually, you don't have to but it's nicer) at which point you have all of the properties accessible and you can grab the same property that the first column is bound to. -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 7:42:28 AM Subject: Re: [flexcoders] Syntax Question Julian... Apparently you are wrong? When I do it with an untyped var I get an object with an XMLList for each grid column var squat = dataGrid.selectedIt em; This var myValue:XML = dataGrid.selectedIt em as XML; returns null for myValue Why is it such Rocket Science to get the first value in a column? Very frustrating for something that should be so simple. Thanks for the help Dan --- On Fri, 11/20/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Friday, November 20, 2009, 10:53 PM You can't access the value from the column name - getting the selected value will give you the entire row that the datagrid is displaying from which you can get the value you're looking for. In other words, if you have an XMLList as your dataProvider, you can do something like: var myValue:XML = dataGrid.selectedIt em as XML; var myName:String = myval...@name. Make sense? -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Fri, November 20, 2009 9:43:33 PM Subject: [flexcoders] Syntax Question On Creation complete I am filling a datagrid and I want to select the first value listed from the Name Column (NameCol) What is the syntax? dataGrid.selectedIn dex = 0; Value = dataGrid.selectedIt em.NameCol; Does not work. why not? Thanks Dan
[flexcoders] Syntax
I have a datagrid, dataprovider is an ArrayCollection of XML Objects. I want to grab the value of the first row of the Name Column. Anybody? Dan
Re: [flexcoders] Syntax Question
Yes I would think something this absurdly simple would be a single sentence reply which I could cut and paste,... unfortunately not. This statement with the variable uncast var crapola = squaresGrid.selectedItem.NameCol; returns as follows in the debugger this Center (@137ef0a1) crapola XMLList (@1ce7c461) [0] XML Name GZAW08 Your statement var squat:XML = XML(squaresGrid.selectedItem); returned just XML Neither of the two options you stated worked. It is the string GZAW08 which I am trying to return. I am ready to throw something, sorry to visit this on you. --- On Sat, 11/21/09, Julian Alexander wb...@ymail.com wrote: From: Julian Alexander wb...@ymail.com Subject: Re: [flexcoders] Syntax Question To: flexcoders@yahoogroups.com Date: Saturday, November 21, 2009, 2:08 PM Why the heck do you need to re-cast as an XMLListCollection? This is a actually really simple... var squat:XML = XML(squaresGrid. selectedItem) ; var myValue:String = squ...@myproperty OR squat.myProperty (depending on if it's a node or attribute) It does work. I've done it hundreds of times. Don't know what you're doing wrong... -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 11:43:34 AM Subject: Re: [flexcoders] Syntax Question Thanks for the response. Its an ArrayCollection of XML objects. var squat:XMLList = squaresGrid. selectedItem. NameCol; will trace as an XML List but I can not seem to get the list to then recast as an XMLListCollection so I can get at it. Thanks Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 11:14 AM Dan, The problem (I assume) is that the object you're getitng back isn't XML. I was using that as an example, but when you use the as operator if the object isn't that type it will always return null. What is your data provider? Is it an array of objects? XML? It all depends on what you're doing. Either way, it's based on a list. Getting the selected item will give you a generic object that you need to cast to whichever data type (actually, you don't have to but it's nicer) at which point you have all of the properties accessible and you can grab the same property that the first column is bound to. -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 7:42:28 AM Subject: Re: [flexcoders] Syntax Question Julian... Apparently you are wrong? When I do it with an untyped var I get an object with an XMLList for each grid column var squat = dataGrid.selectedIt em; This var myValue:XML = dataGrid.selectedIt em as XML; returns null for myValue Why is it such Rocket Science to get the first value in a column? Very frustrating for something that should be so simple. Thanks for the help Dan --- On Fri, 11/20/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Friday, November 20, 2009, 10:53 PM You can't access the value from the column name - getting the selected value will give you the entire row that the datagrid is displaying from which you can get the value you're looking for. In other words, if you have an XMLList as your dataProvider, you can do something like: var myValue:XML = dataGrid.selectedIt em as XML; var myName:String = myval...@name. Make sense? -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Fri, November 20, 2009 9:43:33 PM Subject: [flexcoders] Syntax Question On Creation complete I am filling a datagrid and I want to select the first value listed from the Name Column (NameCol) What is the syntax? dataGrid.selectedIn dex = 0; Value = dataGrid.selectedIt em.NameCol; Does not work. why not? Thanks Dan
Re: [flexcoders] Syntax Question
I tried all that in the first hour. None of it works I have been resisting it but I think I am just going to rewrite the whole damn thing in value objects. i started this app some time ago leveraging off the auto generated php code for a database table. The references have been a pain ever since. I would truely like to know why nothing anybody has suggested has worked tho. It really bugs me. Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail.com wrote: From: Julian Alexander wb...@ymail.com Subject: Re: [flexcoders] Syntax Question To: flexcoders@yahoogroups.com Date: Saturday, November 21, 2009, 4:53 PM Alright Dan.. so we're going to solve this. After this much back-and-forth, we've gotta make it work. So here's the deal: if you use my statement and squat is just XML, then you're almost there. It should be something like this yourObject nameGZAW08/name otherPropertyvalue/otherProperty etc... / /yourObject With your variable squat, you can then access a specific property of it by saying, for example, squat.name - that will give you the value. If you want it as a string, you can also say squat.name.toString (). Just to clarify earlier, if you had yourObject name=GZAW08 etc.../ then you would use squ...@name. -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 4:09:59 PM Subject: Re: [flexcoders] Syntax Question Yes I would think something this absurdly simple would be a single sentence reply which I could cut and paste,... unfortunately not. This statement with the variable uncast var crapola = squaresGrid. selectedItem. NameCol; returns as follows in the debugger this Center (@137ef0a1) crapola XMLList (@1ce7c461) [0] XML Name GZAW08 Your statement var squat:XML = XML(squaresGrid. selectedItem) ; returned just XML Neither of the two options you stated worked. It is the string GZAW08 which I am trying to return. I am ready to throw something, sorry to visit this on you. --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 2:08 PM Why the heck do you need to re-cast as an XMLListCollection? This is a actually really simple... var squat:XML = XML(squaresGrid. selectedItem) ; var myValue:String = squ...@myproperty OR squat.myProperty (depending on if it's a node or attribute) It does work. I've done it hundreds of times. Don't know what you're doing wrong... -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 11:43:34 AM Subject: Re: [flexcoders] Syntax Question Thanks for the response. Its an ArrayCollection of XML objects. var squat:XMLList = squaresGrid. selectedItem. NameCol; will trace as an XML List but I can not seem to get the list to then recast as an XMLListCollection so I can get at it. Thanks Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 11:14 AM Dan, The problem (I assume) is that the object you're getitng back isn't XML. I was using that as an example, but when you use the as operator if the object isn't that type it will always return null. What is your data provider? Is it an array of objects? XML? It all depends on what you're doing. Either way, it's based on a list. Getting the selected item will give you a generic object that you need to cast to whichever data type (actually, you don't have to but it's nicer) at which point you have all of the properties accessible and you can grab the same property that the first column is bound to. -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 7:42:28 AM Subject: Re: [flexcoders] Syntax Question Julian... Apparently you are wrong? When I do it with an untyped var I get an object with an XMLList for each grid column var squat = dataGrid.selectedIt em; This var myValue:XML = dataGrid.selectedIt em as XML; returns null for myValue Why is it such Rocket Science to get the first value in a column? Very frustrating for something that should be so simple. Thanks for the help Dan --- On Fri, 11/20/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Friday, November 20, 2009, 10:53 PM You can't access the value from the column name - getting
Re: [flexcoders] Syntax Question
var squat:XML = XML(squaresGrid.selectedItem); var myValue = squat.Name; Returns in the debugger typed but empty values i.e. the last two have no arrow on the left this Center (@200ce0a1) squat XML myValue XMLList (@20611b21) :( Dan
Re: [flexcoders] Syntax Question
Wow love to. You are a real gem to find up here :) Its at http://www.archaeolibrary.com/Gezer/Centers/Center.html with a SrcView folder in http://www.archaeolibrary.com/Gezer/Centers/SrcView Code in Question is in file SquareScript.as Happy to send you a project archieve if you like... As you can see its a multi-windowed app without a singleton :( I really do need to rewrite at this point I guess, was hopping to get this last bit on the easy side :) Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail.com wrote: From: Julian Alexander wb...@ymail.com Subject: Re: [flexcoders] Syntax Question To: flexcoders@yahoogroups.com Date: Saturday, November 21, 2009, 5:21 PM Can you somehow send me your code? This is agitating. Value Objects are abt 100x better anyway tho... -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 5:14:59 PM Subject: Re: [flexcoders] Syntax Question I tried all that in the first hour. None of it works I have been resisting it but I think I am just going to rewrite the whole damn thing in value objects. i started this app some time ago leveraging off the auto generated php code for a database table. The references have been a pain ever since. I would truely like to know why nothing anybody has suggested has worked tho. It really bugs me. Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 4:53 PM Alright Dan.. so we're going to solve this. After this much back-and-forth, we've gotta make it work. So here's the deal: if you use my statement and squat is just XML, then you're almost there. It should be something like this yourObject nameGZAW08/name otherPropertyvalue/otherProperty etc... / /yourObject With your variable squat, you can then access a specific property of it by saying, for example, squat.name - that will give you the value. If you want it as a string, you can also say squat.name.toString (). Just to clarify earlier, if you had yourObject name=GZAW08 etc.../ then you would use squ...@name. -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 4:09:59 PM Subject: Re: [flexcoders] Syntax Question Yes I would think something this absurdly simple would be a single sentence reply which I could cut and paste,... unfortunately not. This statement with the variable uncast var crapola = squaresGrid. selectedItem. NameCol; returns as follows in the debugger this Center (@137ef0a1) crapola XMLList (@1ce7c461) [0] XML Name GZAW08 Your statement var squat:XML = XML(squaresGrid. selectedItem) ; returned just XML Neither of the two options you stated worked. It is the string GZAW08 which I am trying to return. I am ready to throw something, sorry to visit this on you.. --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 2:08 PM Why the heck do you need to re-cast as an XMLListCollection? This is a actually really simple... var squat:XML = XML(squaresGrid. selectedItem) ; var myValue:String = squ...@myproperty OR squat.myProperty (depending on if it's a node or attribute) It does work. I've done it hundreds of times. Don't know what you're doing wrong... -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 11:43:34 AM Subject: Re: [flexcoders] Syntax Question Thanks for the response. Its an ArrayCollection of XML objects. var squat:XMLList = squaresGrid. selectedItem. NameCol; will trace as an XML List but I can not seem to get the list to then recast as an XMLListCollection so I can get at it. Thanks Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 11:14 AM Dan, The problem (I assume) is that the object you're getitng back isn't XML. I was using that as an example, but when you use the as operator if the object isn't that type it will always return null. What is your data provider? Is it an array of objects? XML? It all depends on what you're doing. Either way, it's based on a list. Getting the selected item will give you a generic object that you need to cast to whichever data type (actually, you don't have to but it's nicer) at which
Re: [flexcoders] Syntax Question
Frank critic also welcome. I'm a wanna be Rocket Scientist at this point who knows it but is determined to make the grade :) Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail.com wrote: From: Julian Alexander wb...@ymail.com Subject: Re: [flexcoders] Syntax Question To: flexcoders@yahoogroups.com Date: Saturday, November 21, 2009, 5:21 PM Can you somehow send me your code? This is agitating. Value Objects are abt 100x better anyway tho... -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 5:14:59 PM Subject: Re: [flexcoders] Syntax Question I tried all that in the first hour. None of it works I have been resisting it but I think I am just going to rewrite the whole damn thing in value objects. i started this app some time ago leveraging off the auto generated php code for a database table. The references have been a pain ever since. I would truely like to know why nothing anybody has suggested has worked tho. It really bugs me. Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 4:53 PM Alright Dan.. so we're going to solve this. After this much back-and-forth, we've gotta make it work. So here's the deal: if you use my statement and squat is just XML, then you're almost there. It should be something like this yourObject nameGZAW08/name otherPropertyvalue/otherProperty etc... / /yourObject With your variable squat, you can then access a specific property of it by saying, for example, squat.name - that will give you the value. If you want it as a string, you can also say squat.name.toString (). Just to clarify earlier, if you had yourObject name=GZAW08 etc.../ then you would use squ...@name. -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 4:09:59 PM Subject: Re: [flexcoders] Syntax Question Yes I would think something this absurdly simple would be a single sentence reply which I could cut and paste,... unfortunately not. This statement with the variable uncast var crapola = squaresGrid. selectedItem. NameCol; returns as follows in the debugger this Center (@137ef0a1) crapola XMLList (@1ce7c461) [0] XML Name GZAW08 Your statement var squat:XML = XML(squaresGrid. selectedItem) ; returned just XML Neither of the two options you stated worked. It is the string GZAW08 which I am trying to return. I am ready to throw something, sorry to visit this on you.. --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 2:08 PM Why the heck do you need to re-cast as an XMLListCollection? This is a actually really simple... var squat:XML = XML(squaresGrid. selectedItem) ; var myValue:String = squ...@myproperty OR squat.myProperty (depending on if it's a node or attribute) It does work. I've done it hundreds of times. Don't know what you're doing wrong... -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 11:43:34 AM Subject: Re: [flexcoders] Syntax Question Thanks for the response. Its an ArrayCollection of XML objects. var squat:XMLList = squaresGrid. selectedItem. NameCol; will trace as an XML List but I can not seem to get the list to then recast as an XMLListCollection so I can get at it. Thanks Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 11:14 AM Dan, The problem (I assume) is that the object you're getitng back isn't XML. I was using that as an example, but when you use the as operator if the object isn't that type it will always return null. What is your data provider? Is it an array of objects? XML? It all depends on what you're doing. Either way, it's based on a list. Getting the selected item will give you a generic object that you need to cast to whichever data type (actually, you don't have to but it's nicer) at which point you have all of the properties accessible and you can grab the same property that the first column is bound to. -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 7:42:28 AM Subject: Re: [flexcoders] Syntax Question Julian
Re: [flexcoders] Syntax Question
Sorry that http://www.archaeolibrary.com/Gezer/Centers/srcview/ --- On Sat, 11/21/09, Julian Alexander wb...@ymail.com wrote: From: Julian Alexander wb...@ymail.com Subject: Re: [flexcoders] Syntax Question To: flexcoders@yahoogroups.com Date: Saturday, November 21, 2009, 5:21 PM Can you somehow send me your code? This is agitating. Value Objects are abt 100x better anyway tho... -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 5:14:59 PM Subject: Re: [flexcoders] Syntax Question I tried all that in the first hour. None of it works I have been resisting it but I think I am just going to rewrite the whole damn thing in value objects. i started this app some time ago leveraging off the auto generated php code for a database table. The references have been a pain ever since. I would truely like to know why nothing anybody has suggested has worked tho. It really bugs me. Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 4:53 PM Alright Dan.. so we're going to solve this. After this much back-and-forth, we've gotta make it work. So here's the deal: if you use my statement and squat is just XML, then you're almost there. It should be something like this yourObject nameGZAW08/name otherPropertyvalue/otherProperty etc... / /yourObject With your variable squat, you can then access a specific property of it by saying, for example, squat.name - that will give you the value. If you want it as a string, you can also say squat.name.toString (). Just to clarify earlier, if you had yourObject name=GZAW08 etc.../ then you would use squ...@name. -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 4:09:59 PM Subject: Re: [flexcoders] Syntax Question Yes I would think something this absurdly simple would be a single sentence reply which I could cut and paste,... unfortunately not. This statement with the variable uncast var crapola = squaresGrid. selectedItem. NameCol; returns as follows in the debugger this Center (@137ef0a1) crapola XMLList (@1ce7c461) [0] XML Name GZAW08 Your statement var squat:XML = XML(squaresGrid. selectedItem) ; returned just XML Neither of the two options you stated worked. It is the string GZAW08 which I am trying to return. I am ready to throw something, sorry to visit this on you.. --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 2:08 PM Why the heck do you need to re-cast as an XMLListCollection? This is a actually really simple... var squat:XML = XML(squaresGrid. selectedItem) ; var myValue:String = squ...@myproperty OR squat.myProperty (depending on if it's a node or attribute) It does work. I've done it hundreds of times. Don't know what you're doing wrong... -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 11:43:34 AM Subject: Re: [flexcoders] Syntax Question Thanks for the response. Its an ArrayCollection of XML objects. var squat:XMLList = squaresGrid. selectedItem. NameCol; will trace as an XML List but I can not seem to get the list to then recast as an XMLListCollection so I can get at it. Thanks Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 11:14 AM Dan, The problem (I assume) is that the object you're getitng back isn't XML. I was using that as an example, but when you use the as operator if the object isn't that type it will always return null. What is your data provider? Is it an array of objects? XML? It all depends on what you're doing. Either way, it's based on a list. Getting the selected item will give you a generic object that you need to cast to whichever data type (actually, you don't have to but it's nicer) at which point you have all of the properties accessible and you can grab the same property that the first column is bound to. -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 7:42:28 AM Subject: Re: [flexcoders] Syntax Question Julian... Apparently you are wrong? When I do it with an untyped var I get
Re: [flexcoders] Re: Syntax Question
var crapola = squaresGrid.selectedItem; var name:String = crapola.NameCol..toString(); Thanks. That worked. Dan --- On Sat, 11/21/09, turbo_vb timh...@aol.com wrote: From: turbo_vb timh...@aol.com Subject: [flexcoders] Re: Syntax Question To: flexcoders@yahoogroups.com Date: Saturday, November 21, 2009, 8:51 PM Ok, so it is e4x, look into the double dot notation and, as others have said. try toString() and toXMLString( ). As close as you are it shouldn't be that hard, even through trial and error, to drill down to the string. -TH --- In flexcod...@yahoogro ups.com, Dan Pride danielpride@ ... wrote: Sorry that http://www.archaeol ibrary.com/ Gezer/Centers/ srcview/ --- On Sat, 11/21/09, Julian Alexander wb...@... wrote: From: Julian Alexander wb...@... Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 5:21 PM  Can you somehow send me your code? This is agitating. Value Objects are abt 100x better anyway tho... -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 5:14:59 PM Subject: Re: [flexcoders] Syntax Question  I tried all that in the first hour. None of it works I have been resisting it but I think I am just going to rewrite the whole damn thing in value objects. i started this app some time ago leveraging off the auto generated php code for a database table. The references have been a pain ever since. I would truely like to know why nothing anybody has suggested has worked tho. It really bugs me. Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 4:53 PM  Alright Dan.. so we're going to solve this. After this much back-and-forth, we've gotta make it work. So here's the deal: if you use my statement and squat is just XML, then you're almost there. It should be something like this yourObject    nameGZAW08 /name    otherProperty value/otherProp erty    etc... / /yourObject With your variable squat, you can then access a specific property of it by saying, for example, squat.name - that will give you the value. If you want it as a string, you can also say squat.name.toString (). Just to clarify earlier, if you had yourObject name=GZAW08 etc.../ then you would use squ...@name. -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 4:09:59 PM Subject: Re: [flexcoders] Syntax Question  Yes I would think something this absurdly simple would be a single sentence reply which I could cut and paste,... unfortunately not. This statement with the variable uncast var crapola = squaresGrid. selectedItem. NameCol; returns as follows in the debugger this   Center (@137ef0a1)      crapola   XMLList (@1ce7c461)        [0]    XML          Name             GZAW08   Your statement    var squat:XML = XML(squaresGrid. selectedItem) ; returned just XML Neither of the two options you stated worked. It is the string GZAW08 which I am trying to return. I am ready to throw something, sorry to visit this on you.. --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 2:08 PM  Why the heck do you need to re-cast as an XMLListCollection? This is a actually really simple... var squat:XML = XML(squaresGrid. selectedItem) ; var myValue:String = squ...@myproperty OR squat.myProperty (depending on if it's a node or attribute) It does work. I've done it hundreds of times. Don't know what you're doing wrong... -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 11:43:34 AM Subject: Re: [flexcoders] Syntax Question  Thanks for the response. Its an ArrayCollection of XML objects. var squat:XMLList = squaresGrid. selectedItem. NameCol; will trace as an XML List but I can not seem to get the list to then recast as an XMLListCollection so I can get at it.   Thanks Dan
Re: [flexcoders] Re: Syntax Question
var crapola = squaresGrid. selectedItem; Works but Shows up with a warning of no type declaration It shows up in debugger as Object but var crapola:Object = squaresGrid. selectedItem; does not resolve the situation. Comments or suggestions would be appreciated again thanks Dan --- On Sat, 11/21/09, Dan Pride danielpr...@yahoo.com wrote: From: Dan Pride danielpr...@yahoo.com Subject: Re: [flexcoders] Re: Syntax Question To: flexcoders@yahoogroups.com Date: Saturday, November 21, 2009, 9:18 PM var crapola = squaresGrid. selectedItem; var name:String = crapola.NameCol. .toString( ); Thanks. That worked. Dan --- On Sat, 11/21/09, turbo_vb timh...@aol. com wrote: From: turbo_vb timh...@aol. com Subject: [flexcoders] Re: Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 8:51 PM Ok, so it is e4x, look into the double dot notation and, as others have said. try toString() and toXMLString( ). As close as you are it shouldn't be that hard, even through trial and error, to drill down to the string. -TH --- In flexcod...@yahoogro ups.com, Dan Pride danielpride@ ... wrote: Sorry that http://www.archaeol ibrary.com/ Gezer/Centers/ srcview/ --- On Sat, 11/21/09, Julian Alexander wb...@... wrote: From: Julian Alexander wb...@... Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 5:21 PM  Can you somehow send me your code? This is agitating. Value Objects are abt 100x better anyway tho... -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 5:14:59 PM Subject: Re: [flexcoders] Syntax Question  I tried all that in the first hour. None of it works I have been resisting it but I think I am just going to rewrite the whole damn thing in value objects. i started this app some time ago leveraging off the auto generated php code for a database table. The references have been a pain ever since. I would truely like to know why nothing anybody has suggested has worked tho. It really bugs me. Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 4:53 PM  Alright Dan.. so we're going to solve this. After this much back-and-forth, we've gotta make it work. So here's the deal: if you use my statement and squat is just XML, then you're almost there. It should be something like this yourObject    nameGZAW08 /name    otherProperty value/otherProp erty    etc... / /yourObject With your variable squat, you can then access a specific property of it by saying, for example, squat.name - that will give you the value. If you want it as a string, you can also say squat.name.toString (). Just to clarify earlier, if you had yourObject name=GZAW08 etc.../ then you would use squ...@name. -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 4:09:59 PM Subject: Re: [flexcoders] Syntax Question  Yes I would think something this absurdly simple would be a single sentence reply which I could cut and paste,... unfortunately not. This statement with the variable uncast var crapola = squaresGrid. selectedItem. NameCol; returns as follows in the debugger this   Center (@137ef0a1)      crapola   XMLList (@1ce7c461)        [0]    XML          Name             GZAW08   Your statement    var squat:XML = XML(squaresGrid. selectedItem) ; returned just XML Neither of the two options you stated worked. It is the string GZAW08 which I am trying to return. I am ready to throw something, sorry to visit this on you.. --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 2:08 PM  Why the heck do you need to re-cast as an XMLListCollection? This is a actually really simple... var squat:XML = XML(squaresGrid. selectedItem) ; var myValue:String = squ...@myproperty OR squat.myProperty (depending on if it's a node or attribute) It does work. I've done it hundreds of times. Don't know what you're
Re: [flexcoders] Re: Syntax Question
Actually that didn't work either. It returned a value if the var was untyped The var would not type I could not use it as an input where I need it. Centerscrip.as initApp() line 50 or so Eight suggestions from four developers later This seems more like a jigsaw puzzle than a computer language. Dan --- On Sat, 11/21/09, Dan Pride danielpr...@yahoo.com wrote: From: Dan Pride danielpr...@yahoo.com Subject: Re: [flexcoders] Re: Syntax Question To: flexcoders@yahoogroups.com Date: Saturday, November 21, 2009, 9:36 PM var crapola = squaresGrid. selectedItem; Works but Shows up with a warning of no type declaration It shows up in debugger as Object but var crapola:Object = squaresGrid. selectedItem; does not resolve the situation. Comments or suggestions would be appreciated again thanks Dan --- On Sat, 11/21/09, Dan Pride danielpride@ yahoo.com wrote: From: Dan Pride danielpride@ yahoo.com Subject: Re: [flexcoders] Re: Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 9:18 PM var crapola = squaresGrid. selectedItem; var name:String = crapola.NameCol. .toString( ); Thanks. That worked. Dan --- On Sat, 11/21/09, turbo_vb timh...@aol. com wrote: From: turbo_vb timh...@aol. com Subject: [flexcoders] Re: Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 8:51 PM Ok, so it is e4x, look into the double dot notation and, as others have said. try toString() and toXMLString( ). As close as you are it shouldn't be that hard, even through trial and error, to drill down to the string. -TH --- In flexcod...@yahoogro ups.com, Dan Pride danielpride@ ... wrote: Sorry that http://www.archaeol ibrary.com/ Gezer/Centers/ srcview/ --- On Sat, 11/21/09, Julian Alexander wb...@... wrote: From: Julian Alexander wb...@... Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 5:21 PM  Can you somehow send me your code? This is agitating. Value Objects are abt 100x better anyway tho... -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 5:14:59 PM Subject: Re: [flexcoders] Syntax Question  I tried all that in the first hour. None of it works I have been resisting it but I think I am just going to rewrite the whole damn thing in value objects. i started this app some time ago leveraging off the auto generated php code for a database table. The references have been a pain ever since. I would truely like to know why nothing anybody has suggested has worked tho. It really bugs me. Dan --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From: Julian Alexander wb...@ymail. com Subject: Re: [flexcoders] Syntax Question To: flexcod...@yahoogro ups.com Date: Saturday, November 21, 2009, 4:53 PM  Alright Dan.. so we're going to solve this. After this much back-and-forth, we've gotta make it work. So here's the deal: if you use my statement and squat is just XML, then you're almost there. It should be something like this yourObject    nameGZAW08 /name    otherProperty value/otherProp erty    etc... / /yourObject With your variable squat, you can then access a specific property of it by saying, for example, squat.name - that will give you the value. If you want it as a string, you can also say squat.name.toString (). Just to clarify earlier, if you had yourObject name=GZAW08 etc.../ then you would use squ...@name. -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Sat, November 21, 2009 4:09:59 PM Subject: Re: [flexcoders] Syntax Question  Yes I would think something this absurdly simple would be a single sentence reply which I could cut and paste,... unfortunately not. This statement with the variable uncast var crapola = squaresGrid. selectedItem. NameCol; returns as follows in the debugger this   Center (@137ef0a1)      crapola   XMLList (@1ce7c461)        [0]    XML          Name             GZAW08   Your statement    var squat:XML = XML(squaresGrid. selectedItem) ; returned just XML Neither of the two options you stated worked. It is the string GZAW08 which I am trying to return. I am ready to throw something, sorry to visit this on you.. --- On Sat, 11/21/09, Julian Alexander wb...@ymail. com wrote: From
[flexcoders] Syntax Question
On Creation complete I am filling a datagrid and I want to select the first value listed from the Name Column (NameCol) What is the syntax? dataGrid.selectedIndex = 0; Value = dataGrid.selectedItem.NameCol; Does not work. why not? Thanks Dan
Re: [flexcoders] Syntax Question
Sorry this line makes no sense to me var myName:String = myval...@name. What is the @ symbol? Why does it end in a period? The original Table field was Name but myValue.Name doesn't work either. Thanks for the help. Dan --- On Fri, 11/20/09, Julian Alexander wb...@ymail.com wrote: From: Julian Alexander wb...@ymail.com Subject: Re: [flexcoders] Syntax Question To: flexcoders@yahoogroups.com Date: Friday, November 20, 2009, 10:53 PM You can't access the value from the column name - getting the selected value will give you the entire row that the datagrid is displaying from which you can get the value you're looking for. In other words, if you have an XMLList as your dataProvider, you can do something like: var myValue:XML = dataGrid.selectedIt em as XML; var myName:String = myval...@name. Make sense? -Julian From: Dan Pride danielpride@ yahoo.com To: flexcod...@yahoogro ups.com Sent: Fri, November 20, 2009 9:43:33 PM Subject: [flexcoders] Syntax Question On Creation complete I am filling a datagrid and I want to select the first value listed from the Name Column (NameCol) What is the syntax? dataGrid.selectedIn dex = 0; Value = dataGrid.selectedIt em.NameCol; Does not work. why not? Thanks Dan
[flexcoders] How do You find Contracts
I know this is a bit off topic, but I have been honing my Flex skills for two years now and am wondering how to find a way to put them to use. I have tried craigs list posts to no end with zero result. How do you connect with work in Flex and Air? Some Cairngorm would go right good about now :) thanks Dan
[flexcoders] ComboBox intialization problem
I am switching viewstacks from a doubleclick on a data grid to a data entry screen for the record. Classic database stuff. Everything works great except for the first time on the ComboBox's, then after one time everything works. (In one of my old languages it would be an initialization problem), All other fields write properly. I am not using Carngorm on this app yet altho am rapidly headed in that direction, but need to solve this one as is if possible. On double click I load the value into a public bindable variable and then switch viewstack and rely on the binding to fill the value in the Combobox. (Using it as a popup to select a single value). [Bindable] public var locaQuality:String; [Bindable] public var locaQualityArr:ArrayCollection = new ArrayCollection( [ {label:, data:1}, {label:Clean, data:2}}]); mx:ComboBox id=LocaQualityCol dataProvider={locaQualityArr} text={locaQuality} close=closeLocaQuality(event); labelField=label x=246 y=128 width=125 themeColor=#009DFF height=22 textAlign=center/ private function editLoca(event:Event):void { locaQuality = locaGrid.selectedItem.locaQualityCol; home.selectedIndex = 3; } private function closeLocaQuality(event:Event):void{locaQuality = LocaQualityCol.selectedItem.label;} Thanks this one has me stumped ! Dan Pride
[flexcoders] Data Transfer between Viewstacks
I am building an app that includes datagrids where when double clicking a record causes the ViewStack to change to a new view to present the data in a form for editing/creating. What is the best way to transfer data between two different view states? Bindable public variables? Where you dump the record field data into public bindable vars then load it into text squares in the new viewstate??? Is there a standard way to do this? Value Objects? Thanks Dan
Re: [flexcoders] Training Courses
The Lynda.com courses are basic but quite good. There is also a wealth of free video training on adobe such as http://www.adobe.com/devnet/flex/videotraining/ If your department needs some on line help getting started there are a number of people up here who would be interested (including me :)) Dan Pride http://www.danielpride.com --- On Fri, 10/9/09, Wesley Acheson wesley.ache...@gmail.com wrote: From: Wesley Acheson wesley.ache...@gmail.com Subject: [flexcoders] Training Courses To: flexcoders flexcoders@yahoogroups.com Date: Friday, October 9, 2009, 1:43 PM Hi, My boss was wondering if there are any recommended training courses for flex. We are based in Gibraltar but I don't think traveling is an issue. Personally I'd like to see some kind of certification out of it. Any recommended courses? I know its vague because I haven't specified a level however the flex abilities of my department are very mixed. Regards, Wes