Text3의 복잡한 조합을 as3의 BitmapData에 그리는 동안 문제가 발생했습니다. 그 이유를 이해할 수 없으므로 도와주세요.AS3에서 TextField를 BitmapData에 그리는 것은 부모가 움직일 때 (x, y 변경) 나쁜 영향을 받습니까?
부모님의 (x, y) 또는 (너비, 높이)를 변경하면 문제가 발생하고 그려진 개체는 왼쪽 흐리게 처리하는 것과 같은 나쁜 효과를 얻습니다.
내가가는 무슨의 이미지를 첨부하고, 여기에 코드 조각입니다 ://defining TextField object
var textField:TextField = new TextField();
textField.embedFonts = true;
textField.width = width;
textField.selectable = false;
textField.border = true;
var stylesheet:StyleSheet = new StyleSheet();
stylesheet.parseCSS(css);
textField.styleSheet = stylesheet;
textField.multiline = true;
textField.autoSize = TextFieldAutoSize.LEFT;
textField.antiAliasType = AntiAliasType.ADVANCED;
textField.wordWrap = true;
textField.condenseWhite = true;
textField.htmlText = "<p>"+text+"</p>";
//after adding it to a MovieClip i draw it into a BitmapData
var btmd:BitmapData = new BitmapData(width, height);
btmd.draw(this.page,null,null,null,null, true);
나는 장님이되어야합니다 유일한 차이점은 3 개의 이미지 사이에 보이지 않는 배경에 회색 영역이 있음을 의미합니다. –
예 양쪽의 차이는 있지만 http : // palwork을 방문 할 수 있습니다. .net/publisher/v2/페이지를 넘기려고 할 때 추한 결과를 보아라. – Ayman
나는 그것을 보지 않고있다. 그러나 나는 이것을 시도 할 것이다. 페이지 뷰 단계 동안 텍스트를 정상적으로 렌더링한다. 플립 단계에서 비트 맵으로 그립니다. 당신이 어떤 블러의 시각적 영향을 최소화하는 방법 (그리고 레시피의 경우 유용한) –