Flash翻轉式影片播放器
這是一個結合Tweener和影片的範例,主要的目的是利用Flash載入外部視訊來播放,順帶利用ActionScript來做畫面的翻轉,翻轉後可以詳細介紹該影片的資訊,或是版權宣告等,先看看範例頁面,檔案下載,要製作這樣的動畫,首先要先準備一段影片檔,我的範例中所準備的是利用數位相機拍攝出來的影片,再利用Adobe Media Encoder轉換成大小為640×360,F4V格式的影片,再利用Flash內建的組件FLVPlayback來播放。
資料夾檔案結構如下:
- Caurina是Tweener Class大家可以到Tweener的官網下載,前述文章有連結。
- 3dflip.fla、3dflip.html、3dflip.swf是Flash的原始檔、網頁檔以及播放檔。
- Shengxing為本範例所使用到的影片檔。
- SkinUnderPlaySeekMute為播放器的面板檔。
而在下圖是在Flash中的結構:
- container是包含播放器、解說文字的影片片段,該元件包含FLVPlayback播放器組件(Video)和解說文字(Text)兩個圖層。
- FLVPlayback是Flash內建的影片播放器組件。
- loading影片載入時會出現的文字。
- spin影片右上角旋轉的按鈕。
- text包含有介紹文字的影片片段,文字中亦製作有超連結(維基百科)。
- vid如果有自己的影片想要更換,請進入名為Vid的影片片段中利用屬性面板修改。
本範例所包含的ActionScript都在場景中的第一個影格,程式碼如下:
import caurina.transitions.*; import fl.video.*; con.visible = false; var flv:FLVPlayback = con.vid.flvp; flv.addEventListener(VideoEvent.PLAYING_STATE_ENTERED, onStart); function onStart(e:Event):void { con.visible = true; loading.visible = false; } con.vid.spin.addEventListener(MouseEvent.CLICK, cl); con.tclip.spin.addEventListener(MouseEvent.CLICK, cl); var isTurning:Boolean = false; function cl(e:Event):void { if(!isTurning) { Tweener.addTween(con, {rotationY:con.rotationY+180,time:1, onComplete:function(){isTurning=false;}}); isTurning = true; } } addEventListener(Event.ENTER_FRAME, loop); function loop(e:Event):void { if(con.rotationY > 90 && con.rotationY < 270) con.addChild(con.tclip); else con.addChild(con.vid); if(con.rotationY >= 360) con.rotationY = 0; }
Купить диплом магистра оказалось возможно, быстрое обучение и диплом на руки
Introducing to you the most prestigious online entertainment address today. Visit now to experience now!
Тут можно преобрести шкаф для ружья купить сейф для охотничьего карабина
промокод на робокасса скидка подключение [url=www.promokod-robokassa.ru/]промокод на робокасса скидка подключение[/url] .
Узнай все о варикоцеле левого яичка варикоцеле яичка у мужчины
Узнай все о признаки варикоцеле варикоцеле 2 степени
robokassa промокод https://www.promokod-robokassa.ru .
The DWP will take off £4.35 a month for each £250 (or a part of £250) of capital above £6,000.
prednisone canada: prednisone – prednisone steroids
промокод на робокасса http://www.promokod-robokassa.ru/ .
Реально ли приобрести диплом стоматолога? Основные этапы
wakeuptaylor.boardhost.com/post.php?action=post&fid=4
робокасса промокод скидка на подключение https://promokod-robokassa.ru .
amoxicillin 500mg capsule buy online: Amoxicillin Com Pharm – amoxicillin cost australia
This is the perfect website for everyone who would like to understand this topic. You understand so much its almost hard to argue with you (not that I actually would want to…HaHa). You certainly put a fresh spin on a subject that’s been discussed for many years. Excellent stuff, just wonderful.
Minard immediately objected, stating that the railroad shouldn’t be legally at fault for individuals who choose to danger their very own lives on the crossings.
Тут можно преобрести оружейные сейфы шкафы сейф охотничий купить
Узнай все о варикоцеле яичка степени варикоцеле
Тут можно преобрести сейф для сайги 12 оружейные сейфы и шкафы
In an announcement, Chief Medical Officer Tony Holohan said that more than 70 of all cases were now accounted for by the Delta variant, as it continued to current a threat to those who have been unvaccinated or ready for a second dose of vaccine.
cost generic clomid: rex pharm – can i order cheap clomid no prescription
‘We barely made it out’: Californians desperately flee their homes amid raging wildfires
[url=https://omgto3.com]площадка оmg darkmarket[/url]
Terrie Morin, 60, and her husband, Dave, were at the barber shop when they heard about a raging wildfire making headway toward their Camarillo home on Wednesday morning.
The couple were hosting two guests at the time, but because their guests worked late, Morin suspected they slept through the residence’s fire alarms.
“I run in the house, and I’m banging on the door, and they did not hear me. They were knocked out,” Morin told CNN. “Get the dog. Get out of here. You don’t have time, just get out!” she recalled telling them.
https://omgto3.com
omg официальный сайт
Ten minutes later, Dave noticed sparks in their backyard. The temperature was also picking up.
“It was hot. It was so hot,” Morin recalled.
Dozens of homes in California’s Ventura County were set alight in a sweeping wildfire that burned through thousands of acres of land in just a matter of hours midweek –– prompting authorities to send more than 14,000 evacuation notices across the region.
The Mountain Fire began early Wednesday and was driven by winds gusting over 60 mph. The flames have seared through more than 20,485 acres of land, according to Cal Fire.
The families who evacuated at a moment’s notice, some who say they have now lost their homes, must deal with other losses that can also be devastating, from daily essentials like medications and shoes to meaningful possessions such as sculptures and artwork, to treasured keepsakes from the birth of a child or the life of a parent.
At least 132 properties have been destroyed by the fire, while 88 have been left damaged, Ventura County Fire Department officials said Thursday evening. Ten damage inspection teams have been deployed to inspect structures along the path of the blaze.
Ten people endured non-life-threatening injuries from the Mountain Fire, which are mostly related to smoke inhalation, Ventura County Sheriff Jim Fryhoff said.
‘We barely made it out’: Californians desperately flee their homes amid raging wildfires
[url=https://omgto3.com]omg официальный[/url]
Terrie Morin, 60, and her husband, Dave, were at the barber shop when they heard about a raging wildfire making headway toward their Camarillo home on Wednesday morning.
The couple were hosting two guests at the time, but because their guests worked late, Morin suspected they slept through the residence’s fire alarms.
“I run in the house, and I’m banging on the door, and they did not hear me. They were knocked out,” Morin told CNN. “Get the dog. Get out of here. You don’t have time, just get out!” she recalled telling them.
https://omgto3.com
площадка omg
Ten minutes later, Dave noticed sparks in their backyard. The temperature was also picking up.
“It was hot. It was so hot,” Morin recalled.
Dozens of homes in California’s Ventura County were set alight in a sweeping wildfire that burned through thousands of acres of land in just a matter of hours midweek –– prompting authorities to send more than 14,000 evacuation notices across the region.
The Mountain Fire began early Wednesday and was driven by winds gusting over 60 mph. The flames have seared through more than 20,485 acres of land, according to Cal Fire.
The families who evacuated at a moment’s notice, some who say they have now lost their homes, must deal with other losses that can also be devastating, from daily essentials like medications and shoes to meaningful possessions such as sculptures and artwork, to treasured keepsakes from the birth of a child or the life of a parent.
At least 132 properties have been destroyed by the fire, while 88 have been left damaged, Ventura County Fire Department officials said Thursday evening. Ten damage inspection teams have been deployed to inspect structures along the path of the blaze.
Ten people endured non-life-threatening injuries from the Mountain Fire, which are mostly related to smoke inhalation, Ventura County Sheriff Jim Fryhoff said.
Penny then suffered a blow to his own fortunes: he was discovered to be somewhat cavalier in passing on the taxes he collected to the Crown, and was dismissed from workplace.
Узнайте, как безопасно купить диплом о высшем образовании
Официальное получение диплома техникума с упрощенным обучением в Москве
How a drab Soviet metropolis became Central Asia’s capital of cool
[url=https://omgto3.com]omg даркнет[/url]
Several cities around the globe have reinvented themselves in recent years, but none more successfully than Almaty.
Since the collapse of the USSR, Kazakhstan’s largest city (population 2.2 million and growing) has evolved from a drab, run-of-the-mill Soviet metropolis into the urban star of Central Asia.
https://omgto3.com
площадка omg
Along the way, the city has developed one of the world’s most beautiful metro systems, grown into a thriving banking and finance center, complemented its vintage bazaars with luxury boutiques and modern shopping malls and reshaped its traditional gastronomy into a nouvelle cuisine that’s drawing raves from foodies around the world.
Almaty is also evolving into the cultural and artistic hub of Central Asia. It’s already got several world-class museums (including a “secret” underground collection that doesn’t even have a name) and a dazzling new cultural center slated to open early next year.
“It’s an incredibly livable city,” says long-time American resident Dennis Keen, a historic preservation advocate and founder of Walking Almaty.
“Green and clean. You don’t need a car. The public transit here is fantastic. And it’s very much the center of contemporary art and dining in Central Asia.”
Keen adds that whenever he tells someone back home that he lives in Kazakhstan, “Borat” inevitably comes up. The movie’s title character doesn’t paint a very flattering portrait of the Central Asian nation. But nowadays one is tempted to think that if Borat visited Almaty now, he would say, “Very nice!”
Диплом пту купить официально с упрощенным обучением в Москве
Реально ли приобрести диплом стоматолога? Основные этапы
centrumrendezveny.hu/kupit-attestat-ob-okonchanii-9-klassov-v-chernigove.html
Тут можно преобрести оружейный шкаф сейф купить сейфы под оружие
Быстрое обучение и получение диплома магистра – возможно ли это?