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; }
Slot dengan grafis 3D sangat mengesankan: garuda888 – garuda888 slot
preman69.tech preman69.tech Banyak pemain mencari mesin dengan RTP tinggi
28 января 2025 года состоялось Pre-IPO акций АО “АЛМАЗЫ ПОМОРСКОГО КРАЯ”. Компания стремится войти в ТОП-5 крупнейших алмазодобывающих компаний мира за ближайшие десять лет, предлагая инвесторам уникальную возможность вложиться в разработку новых алмазных месторождений.
Новые месторождения алмазов
Kasino sering memberikan hadiah untuk pemain setia: preman69 – preman69.tech
Howdy I am so happy I found your website, I really found you by
error, while I was searching on Bing for something else, Nonetheless I am here now
and would just like to say thanks for a incredible post and a
all round interesting blog (I also love the theme/design), I don’t have time to
go through it all at the moment but I have book-marked it and also added in your RSS feeds, so when I have
time I will be back to read a great deal more, Please do keep up the excellent b. http://Lstelecom.co.kr/bbs/board.php?bo_table=free&wr_id=1206148
где можно купить аттестат о среднем образовании
slot88.company slot 88 Pemain harus memahami aturan masing-masing mesin
Kasino di Jakarta memiliki berbagai pilihan permainan http://bonaslot.site/# Slot modern memiliki grafik yang mengesankan
Hi there to every one, as I am genuinely eager of reading this website’s post to be updated daily.
It consists of good stuff. http://Ethosservicesflorida.com/__media__/js/netsoltrademark.php?d=xn--939An91ar2iore6so.com%2Fbbs%2Fboard.php%3Fbo_table%3Dfree%26wr_id%3D167747
кухни на заказ недорого спб — Оптимальное сочетание цены и качества для вашего кухонного интерьера.
http://bonaslot.site/# Slot menjadi daya tarik utama di kasino
The History Of Bristol Windows And Doors double glazed window repairs (trade-britanica.Trade)
Mesin slot menawarkan pengalaman bermain yang cepat: slot88.company – slot88.company
кухни санкт петербург – Кухни от производителя в Санкт-Петербурге с доставкой и установкой.
Slot modern memiliki grafik yang mengesankan https://slot88.company/# Slot menawarkan kesenangan yang mudah diakses
http://slot88.company/# Kasino sering memberikan hadiah untuk pemain setia
http://instructortut.ru – Узнайте о возможностях профессиональной съемки на нашем сайте.
https://slotdemo.auction/# Bermain slot bisa menjadi pengalaman sosial
Slot dengan tema budaya lokal menarik perhatian: preman69 slot – preman69
http://www.fortekb.ru – Перейти на сайт для заказа кухонь.
Slot modern memiliki grafik yang mengesankan https://bonaslot.site/# Mesin slot dapat dimainkan dalam berbagai bahasa
canadian rx
Kasino selalu memperbarui mesin slotnya: garuda888 slot – garuda888 slot
В 2025 году вопрос активации Windows 10 останется важным для многих пользователей, стремящихся обеспечить безопасность и стабильность своих устройств. Несмотря на появление новых версий операционной системы, таких как Windows 11, Windows 10 продолжит поддерживаться Microsoft с обновлениями безопасности и функциональности. Ключ активации, представляющий собой уникальную комбинацию символов, позволит подтвердить легальность вашей копии и получать доступ к критически важным обновлениям.
[url=https://windowscollection.ru]код активации виндовс 10[/url]
Trailer trucks queue to cross into the United States at the Otay Mesa Port of Entry, in Tijuana, Mexico, November 27, 2024. Jorge Duenes/Reuters
New York
CNN
—
[url=https://bs-bot.net]спрут зеркало[/url]
Since President Donald Trump won the election in November, businesses across the globe have been bracing for higher tariffs — a key Day One promise the president made.
But over a week into his presidency, Trump has yet to enact any new tariffs.
[url=https://blsp2site.at]blacksprut[/url]
That could change, come 11:59 p.m. ET on Saturday — the deadline Trump set for when he says he will slap 25% tariffs on all Mexican and Canadian goods and a 10% tariff on all Chinese goods.
The tariffs, he said, will be imposed as a way of punishing the three nations, which Trump claims are responsible for helping people enter the country illegally and supplying fentanyl consumed in the US.
Speaking to reporters from the Oval Office on Thursday, Trump said he meant business, especially with his tariff threats on Mexico and Canada. White House Press Secretary Karoline Leavitt also confirmed on Friday that Trump will levy the 10% tariff on China on Saturday.
[url=https://m-bs2best.ru]bsme at[/url]
Should these threats be believed? Yes and no, said Trump’s former Commerce Secretary Wilbur Ross.
blackspfgh3bi6im374fgl54qliir6to37txpkkd6ucfiu7whfy2odid onion
https://blacksprut2rprrt3aoigwh7zftiprzqyqynzz2eiimmwmykw7wkpyad.at
The threat of blanket tariffs is likely being overstated, Ross said in an interview with CNN. “There probably will be exclusions, because there are some goods that just are not made here, will not be made here, and therefore, there’s no particular point putting tariffs on.”
Ross, who was one of a handful of initial cabinet members in Trump’s first administration who kept their position for the entire four-year term, said he advocated for such exclusions when he advised Trump on tariff policies.
[url=https://blsr2w.info]сайт спрут[/url]
Trailer trucks queue to cross into the United States at the Otay Mesa Port of Entry, in Tijuana, Mexico, November 27, 2024. Jorge Duenes/Reuters
New York
CNN
—
[url=https://bst.gl]blackspfgh3bi6im374fgl54qliir6to37txpkkd6ucfiu7whfy2odid onion[/url]
Since President Donald Trump won the election in November, businesses across the globe have been bracing for higher tariffs — a key Day One promise the president made.
But over a week into his presidency, Trump has yet to enact any new tariffs.
[url=https://blacksprut2rprrt3aoigwh7zftiprzqyqynzz2eiimmwmykw7wkpyad.at]blacksprut ссылка[/url]
That could change, come 11:59 p.m. ET on Saturday — the deadline Trump set for when he says he will slap 25% tariffs on all Mexican and Canadian goods and a 10% tariff on all Chinese goods.
The tariffs, he said, will be imposed as a way of punishing the three nations, which Trump claims are responsible for helping people enter the country illegally and supplying fentanyl consumed in the US.
Speaking to reporters from the Oval Office on Thursday, Trump said he meant business, especially with his tariff threats on Mexico and Canada. White House Press Secretary Karoline Leavitt also confirmed on Friday that Trump will levy the 10% tariff on China on Saturday.
[url=https://blsp2web.cc]blacksprut[/url]
Should these threats be believed? Yes and no, said Trump’s former Commerce Secretary Wilbur Ross.
блэкспрут
https://m-bs2best.ru
The threat of blanket tariffs is likely being overstated, Ross said in an interview with CNN. “There probably will be exclusions, because there are some goods that just are not made here, will not be made here, and therefore, there’s no particular point putting tariffs on.”
Ross, who was one of a handful of initial cabinet members in Trump’s first administration who kept their position for the entire four-year term, said he advocated for such exclusions when he advised Trump on tariff policies.
[url=https://bot2web.at]blacksprut зеркало[/url]
https://garuda888.top/# Kasino selalu memperbarui mesin slotnya
Trailer trucks queue to cross into the United States at the Otay Mesa Port of Entry, in Tijuana, Mexico, November 27, 2024. Jorge Duenes/Reuters
New York
CNN
—
[url=https://at-bs2best.ru]blacksprut2rprrt3aoigwh7zftiprzqyqynzz2eiimmwmykw7wkpyad onion[/url]
Since President Donald Trump won the election in November, businesses across the globe have been bracing for higher tariffs — a key Day One promise the president made.
But over a week into his presidency, Trump has yet to enact any new tariffs.
[url=https://http-blacksprut.ru]блэкспрут сайт[/url]
That could change, come 11:59 p.m. ET on Saturday — the deadline Trump set for when he says he will slap 25% tariffs on all Mexican and Canadian goods and a 10% tariff on all Chinese goods.
The tariffs, he said, will be imposed as a way of punishing the three nations, which Trump claims are responsible for helping people enter the country illegally and supplying fentanyl consumed in the US.
Speaking to reporters from the Oval Office on Thursday, Trump said he meant business, especially with his tariff threats on Mexico and Canada. White House Press Secretary Karoline Leavitt also confirmed on Friday that Trump will levy the 10% tariff on China on Saturday.
[url=https://blacksprut2rprrt3aoigwh7zftiprzqyqynzz2eiimmwmykw7wkpyad.net]сайт спрут[/url]
Should these threats be believed? Yes and no, said Trump’s former Commerce Secretary Wilbur Ross.
bslp at
https://bs-gl.org
The threat of blanket tariffs is likely being overstated, Ross said in an interview with CNN. “There probably will be exclusions, because there are some goods that just are not made here, will not be made here, and therefore, there’s no particular point putting tariffs on.”
Ross, who was one of a handful of initial cabinet members in Trump’s first administration who kept their position for the entire four-year term, said he advocated for such exclusions when he advised Trump on tariff policies.
[url=https://bsme.art]bslp.at[/url]
купить диплом юридический
Mesin slot digital semakin banyak diminati https://garuda888.top/# Mesin slot dapat dimainkan dalam berbagai bahasa