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. > > > <?xml version="1.0" encoding="utf-8"?> > > <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" > > width="180" > > height="180" > > initialize="init();"> > > > <mx:Script> > > <![CDATA[ > > import mx.events.ResizeEvent; > > > private var roundedMask:Sprite; > > > private function init():void > > { > > roundedMask=new Sprite(); > > this.rawChildren.addChild(roundedMask); > > } > > > private function image_resize(evt:ResizeEvent):void > > { > > roundedMask.graphics.clear(); > > roundedMask.graphics.beginFill(0xFF0000); > > roundedMask.graphics.drawCircle(stage.stageWidth / 2, stage.stageHeight / 2, > 90); > > roundedMask.graphics.endFill(); > > image.mask=roundedMask; > > } > > ]]> > > </mx:Script> > > > <mx:Image id="image" > > source="http://www.helpexamples.com/flash/images/image1.jpg" > > resize="image_resize(event);"> > > </mx:Image> > > > </mx:Canvas> > > > > 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:#0000ff;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-title a:visited {text-decoration:none;}#yiv8529288441 div.yiv8529288441photo-title a, #yiv8529288441 div.yiv8529288441photo-title a:active, #yiv8529288441 div.yiv8529288441photo-title a:hover, #yiv8529288441 div.yiv8529288441photo-title a:visited {text-decoration:none;}#yiv8529288441 div#yiv8529288441ygrp-mlmsg #yiv8529288441ygrp-msg p a span.yiv8529288441yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv8529288441 .yiv8529288441green {color:#628c2a;}#yiv8529288441 .yiv8529288441MsoNormal {margin:0 0 0 0;}#yiv8529288441 o {font-size:0;}#yiv8529288441 #yiv8529288441photos div {float:left;width:72px;}#yiv8529288441 #yiv8529288441photos div div {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv8529288441 #yiv8529288441photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv8529288441 #yiv8529288441reco-category {font-size:77%;}#yiv8529288441 #yiv8529288441reco-desc {font-size:77%;}#yiv8529288441 .yiv8529288441replbq {margin:4px;}#yiv8529288441 #yiv8529288441ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv8529288441 #yiv8529288441ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv8529288441 #yiv8529288441ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv8529288441 #yiv8529288441ygrp-mlmsg select, #yiv8529288441 input, #yiv8529288441 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv8529288441 #yiv8529288441ygrp-mlmsg pre, #yiv8529288441 code {font:115% monospace;}#yiv8529288441 #yiv8529288441ygrp-mlmsg * {line-height:1.22em;}#yiv8529288441 #yiv8529288441ygrp-mlmsg #yiv8529288441logo {padding-bottom:10px;}#yiv8529288441 #yiv8529288441ygrp-msg p a {font-family:Verdana;}#yiv8529288441 #yiv8529288441ygrp-msg p#yiv8529288441attach-count span {color:#1E66AE;font-weight:700;}#yiv8529288441 #yiv8529288441ygrp-reco #yiv8529288441reco-head {color:#ff7900;font-weight:700;}#yiv8529288441 #yiv8529288441ygrp-reco {margin-bottom:20px;padding:0px;}#yiv8529288441 #yiv8529288441ygrp-sponsor #yiv8529288441ov li a {font-size:130%;text-decoration:none;}#yiv8529288441 #yiv8529288441ygrp-sponsor #yiv8529288441ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv8529288441 #yiv8529288441ygrp-sponsor #yiv8529288441ov ul {margin:0;padding:0 0 0 8px;}#yiv8529288441 #yiv8529288441ygrp-text {font-family:Georgia;}#yiv8529288441 #yiv8529288441ygrp-text p {margin:0 0 1em 0;}#yiv8529288441 #yiv8529288441ygrp-text tt {font-size:120%;}#yiv8529288441 #yiv8529288441ygrp-vital ul li:last-child {border-right:none !important;}#yiv8529288441