참조:
- Silverlight 1.0 RC1 / Windows
- Silverlight 1.0 RC1 / Mac
- Silverlight 1.1 Alpha Refresh / Windows
- Silverlight 1.1 Alpha Refresh / Mac
Tools for building Silverlight applications:
내심 RTM을 기대했는도 아직도 RC네요.
그래도 그래도 RTM과는 큰 변동 사항이 없을거라고 하니 그냥 RTM인셈 치죠 뭐.
일단 다행인지 불행인지 혁신적인 변화는 없는 듯 합니다.
SDK에 포함된 문서에 따르면..
Silverlight 1.0 RC Enhancements
- New "root" property on Content. Enables access to the root element of the XAML DOM.
- New “Tag” property on UIElement. Enables user storage on every Silverlight UIElement.
- New MediaElement APIs for selecting different audio streams out of a file with multiple audio tracks. See the AudioStreamCount and AudioStreamIndex properties.
- Improved media performance: optimized assembly instructions for the video decode.
- Media script commands encoded in a separate stream in the video file will now raise the MediaElement’s MarkerReached event
위 와 같은 사항이 개선 되었다고 하네요. 다른 것은 뭐 그냥 그렇지만 두번째 사항 Silverlight Element에 Programmer가 임의의 값을 저장할 장소를 제공해주는 것은 매우 센스가 넘칩니다. ^^;
이번에도 Breaking Change가 있었는데 자세한 사항은 Silveright Breaking Changes between Mix and Version 1.0 나 이를 번역 해주신 공도님의 Silverlight 1.0 RC1에서 변경된 점 정리
을 참조하시면 됩니다.
실제적으로 소스를 Migration할 때, 중요 포인트는
#1. 새로운 Silverlight.js 설치 (아래 있음)
#2. CreateSilverlight.js 에서 Sys. 네임 스페이스 변경
#3. Downloader.open 애서 마지막 파라미터 제거
가 아닌가 생각이 듭니다.
추가적인 변경사항으로..
Downloader Object가 localhost 파일을 다운로드하지 못합니다.
뭐. 어찌보면 당연한 것일 수도 있는데 예전에 잘 동작하던 것이 동작하지 않으니 불편하네요.
주석에 보니 이런 문구가 있더라고요..
// NOTE: downloader APIs disallow file:\\ scheme
// you must run this sample over localhost: or off a server or the following call will fail
여전히 기본적으로 지원되는 폰트는 몇개 없습니다.
(문제가 되었던 한글 출력이 기본 폰트로는 안되는 것 같네요 ㅠ)
끝으로, 바뀐 Silverlight.js와 CreateSilver.js 내용을 첨부합니다.
일단 이 부분만 변경해도 동작하는 것도 있습니다.
function createSilverlight()
{
Silverlight.createObject(
"Scene.xaml", // Source property value.
parentElement, // DOM reference to hosting DIV tag.
"myControl", // Unique control id value.
{ // Control properties:
width:'100%', // Width of rectangular region of control in pixels.
height:'100%', // Height of rectangular region of control in pixels.
background:'white', // Height of rectangular region of control in pixels.
version:'0.9' // Control version to use.
},
{ onLoad: eventOnLoad }); // No events defined -- use empty list.
}
{
Silverlight.createObject(
"Scene.xaml", // Source property value.
parentElement, // DOM reference to hosting DIV tag.
"myControl", // Unique control id value.
{ // Control properties:
width:'100%', // Width of rectangular region of control in pixels.
height:'100%', // Height of rectangular region of control in pixels.
background:'white', // Height of rectangular region of control in pixels.
version:'0.9' // Control version to use.
},
{ onLoad: eventOnLoad }); // No events defined -- use empty list.
}
그럼 즐실하세요 :)
'자료 수집소' 카테고리의 다른 글
| Creamaid의 서비스 Open (0) | 2007/10/05 |
|---|---|
| 네이버가 만든 Color Picker (using Javascript) (7) | 2007/08/02 |
| 네이버 메인화면 개편! (2) | 2007/07/31 |
| Silverlight 1.0 RC 발표 및 RC에서 개선점. (0) | 2007/07/30 |
| Slideshare에 음성을 달다. (0) | 2007/07/25 |
| Springnote For Developers 스크린 캐스트에 소개된 Snote (2) | 2007/06/28 |
| 인크루트의 채용 전문검색 내일검색 오픈 (1) | 2007/06/21 |
silverlight.js
