基于flash技术的商品3D旋转特效研究
2017-03-21徐晓
徐晓



摘 要: 目前最常见的线上产品展示方式是商品立体旋转。在许多支持在线3D展示的技术中Flash具有其独特的优势。虽然Flash没有出3D的API,但它还是可以用来做出很多类似的3D效果。文章主要分析了利用Flash技术设计商品3D旋转特效的优点、原理、制作思路及程序设计。把这项技术应用在电商行业领域可提升用户体验,满足用户的视觉需要,能在日趋激烈的电商竞争中赢得先机。
关键词: 3D旋转; Flash技术; ActionScript技术; 影片剪辑; 用户体验
中图分类号:TP37 文献标志码:A 文章编号:1006-8228(2017)03-68-03
Abstract: Now the most common way to display online products is three-dimensional rotation effect. There are many technologies support online 3D display, but Flash has its unique advantages. Although Flash does not have 3D API, but it can still be used to make a lot of effects similar to 3D. This paper mainly analyzes the advantages, principles, ideas and programming to design the 3D rotating special effect for product by using Flash technology. The application of this technology in the field of E-business can enhance the user experience, meet the user's visual needs, and win the initiative in the increasingly fierce competition in E-business.
Key words: 3D rotation; Flash technology; ActionScript technology; movie clip; user experience
0 引言
目前虽然多数线上产品都是靠着图片和文字说明卖出去的,但3D体验也正越来越多地应用在电商行业领域[1]。3D技术的应用能提升用户体验,这在日趋激烈的电商竞争中能帮助使用者赢得先机。现在有许多支持在线3D展示的技术,其中Flash有以下优势:文件的体积小,可以飞快的在线浏览,而且基本上所有的浏览器都能够支持FlashPlayer播放器,另外Flash还有很强的跨平台和支持3D特效等特性。虽然Flash没有3D的API功能,但是我们还是可以做出很多类似3D的效果。本文基于Flash技术提出了设计一组商品3D旋转特效的原理及代码。图1是利用flash技术设计的商品3D立旋转效果图。
1 FLASH动画特点
FLASH动画活泼、生动、可以吸引网站浏览者去点击这些动画页面,其强烈的视觉冲击力可以加深网站浏览者的印象。FLASH动画占用的存储空间很小,只有位图的几千分之一,所以在网络上使用是非常适合的。它做到真正的无级放大,不管浏览者的浏览器使用多大的窗口,它自始至终能完全显示,而且也不会降低画面质量。……
