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. 
<?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
  #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:#0000ff;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 
#666666;min-height:62px;overflow:hidden;width:62px;}#yiv1194420150 
#yiv1194420150photos div label 
{color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv1194420150
 #yiv1194420150reco-category {font-size:77%;}#yiv1194420150 
#yiv1194420150reco-desc {font-size:77%;}#yiv1194420150 .yiv1194420150replbq 
{margin:4px;}#yiv1194420150 #yiv1194420150ygrp-actbar div a:first-child 
{margin-right:2px;padding-right:5px;}#yiv1194420150 #yiv1194420150ygrp-mlmsg 
{font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv1194420150 
#yiv1194420150ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv1194420150 
#yiv1194420150ygrp-mlmsg select, #yiv1194420150 input, #yiv1194420150 textarea 
{font:99% Arial, Helvetica, clean, sans-serif;}#yiv1194420150 
#yiv1194420150ygrp-mlmsg pre, #yiv1194420150 code {font:115% 
monospace;}#yiv1194420150 #yiv1194420150ygrp-mlmsg * 
{line-height:1.22em;}#yiv1194420150 #yiv1194420150ygrp-mlmsg #yiv1194420150logo 
{padding-bottom:10px;}#yiv1194420150 #yiv1194420150ygrp-msg p a 
{font-family:Verdana;}#yiv1194420150 #yiv1194420150ygrp-msg 
p#yiv1194420150attach-count span {color:#1E66AE;font-weight:700;}#yiv1194420150 
#yiv1194420150ygrp-reco #yiv1194420150reco-head 
{color:#ff7900;font-weight:700;}#yiv1194420150 #yiv1194420150ygrp-reco 
{margin-bottom:20px;padding:0px;}#yiv1194420150 #yiv1194420150ygrp-sponsor 
#yiv1194420150ov li a {font-size:130%;text-decoration:none;}#yiv1194420150 
#yiv1194420150ygrp-sponsor #yiv1194420150ov li 
{font-size:77%;list-style-type:square;padding:6px 0;}#yiv1194420150 
#yiv1194420150ygrp-sponsor #yiv1194420150ov ul {margin:0;padding:0 0 0 
8px;}#yiv1194420150 #yiv1194420150ygrp-text 
{font-family:Georgia;}#yiv1194420150 #yiv1194420150ygrp-text p {margin:0 0 1em 
0;}#yiv1194420150 #yiv1194420150ygrp-text tt {font-size:120%;}#yiv1194420150 
#yiv1194420150ygrp-vital ul li:last-child {border-right:none 
!important;}#yiv1194420150 

   

Reply via email to