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; }
Struggling to lose weight? AquaSculpt is transforming weight loss with its natural, fast-acting capsules. Packed with proven AquaSculpt ingredients, these capsules burn fat, boost energy, and deliver real AquaSculpt results in weeks. Curious about AquaSculpt reviews? Users love its effectiveness and zero AquaSculpt side effects. Want to know AquaSculpt how to use? It’s simple—take daily and watch the pounds melt away. Ready to try? AquaSculpt buy now at http://aquasculpt.xyz and sculpt your dream body today!
Профессиональный сервисный центр по ремонту бытовой техники с выездом на дом.
Мы предлагаем:сервис центры бытовой техники москва
Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!
пинап казино – пин ап зеркало
cialis without a doctor prescription cialis without a doctor prescription Tadalafil price
safe canadian pharmacies online
Профессиональный сервисный центр по ремонту бытовой техники с выездом на дом.
Мы предлагаем:сервис центры бытовой техники москва
Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!
пин ап казино – пин ап казино зеркало
Профессиональный сервисный центр по ремонту бытовой техники с выездом на дом.
Мы предлагаем:сервисные центры по ремонту техники в мск
Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!
Hi there! I know this is kinda off topic but I was wondering which blog platform are you using for this site? I’m getting tired of WordPress because I’ve had issues with hackers and I’m looking at alternatives for another platform. I would be great if you could point me in the direction of a good platform.
legitimate canadian pharmacy online
пин ап вход – пин ап казино официальный сайт
Профессиональный сервисный центр по ремонту бытовой техники с выездом на дом.
Мы предлагаем:сервис центры бытовой техники москва
Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!
пин ап зеркало – пин ап
I do not even know how I ended up here, but I thought this post was good.
I don’t know who you are but certainly you are going to a famous blogger if you aren’t already ;
) Cheers! https://www.hongcheon.go.kr/museum/bbs/board.php?bo_table=free&wr_id=2098339
Профессиональный сервисный центр по ремонту бытовой техники с выездом на дом.
Мы предлагаем:ремонт бытовой техники в мск
Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!
bazyydlyaxrumerkupitt.ru – Лучшие базы для Xrumer и GSA
пин ап казино зеркало – пин ап зеркало
pinup 2025: https://pinupkz.life/
top rated canadian pharmacies online
пин ап: https://pinupkz.life/
Xavier completes thrilling comeback, Mount St. Mary’s advances as men’s First Four comes to a close
changenow
Wednesday saw the men’s First Four come to a close which means only one thing: the 64-team bracket is officially set following No. 11 Xavier’s thrilling come from behind win over No. 11 Texas and No. 16 Mount St. Mary’s victory over No. 16 American in Dayton, Ohio.
The Musketeers trailed by as many as 13 points, but their offense came alive in the second half behind guard Marcus Foster and forward Zach Freemantle to down the Longhorns 86-80.
The senior Foster scored a team-high 22 points while Freemantle, on his way to 15 points, threw down a dunk with a second left to seal the comeback win and ignite the fans at UD Arena, which is just over 50 miles away from campus in Cincinnati, Ohio.
With just under four minutes remaining, Xavier went on an 8-2 run to take a 78-74 lead, their first since the early going of the first half.
Musketeers head coach Sean Miller crowned Wednesday’s game as “one of the best” he’s been a part of.
“I thought we were dead in the water two different times,” Miller told the truTV broadcast after the game. “But that’s the one thing about our team — the resiliency of our group has always won out for us. Just when you thought we weren’t gonna make the tournament, we kept winning. Even in this game, just when you’re like, ‘It’s not gonna work out,’ we have a funny way of staying with it.”
The Longhorns did not go down without a fight as guard Tre Johnson scored a game-high 23 points in the loss.
Xavier will face No. 6 Illinois in the first round on Friday at the Fiserv Forum in Milwaukee.
A librarian ran off with a yacht captain in the summer of 1968. It was the start of an incredible love story
metamask
The first time Beverly Carriveau saw Bob Parsons, she felt like a “thunderbolt” passed between them.
“This man stepped out of a taxi, and we both just stared at each other,” Beverly tells CNN Travel today. “You have to remember, this is the ‘60s. Girls didn’t stare at men. But it was a thunderbolt.”
It was June 1968. Beverly was a 23-year-old Canadian university librarian on vacation in Mazatlan, Mexico, with a good friend in tow.
Beverly had arrived in Mazatlan that morning. She’d been blown away by the Pacific Ocean views, the colorful 19th-century buildings, the palm trees.
Now, Beverly was browsing the hotel gift store, admiring a pair of earrings, when she looked up and spotted the man getting out of the taxi. The gift shop was facing the parking lot, and there he was.
“I was riveted,” says Beverly. “He was tall, handsome…”
Eventually, Beverly tore away her gaze, bought the earrings and dashed out of the store.
“We locked eyes so long, I was embarrassed,” she says.
No words had passed between them. They hadn’t even smiled at each other. But Beverly felt like she’d revealed something of herself. She felt like something had happened, but she couldn’t describe it.
Beverly rushed to meet her friend, still feeling flustered. Over dinner in the hotel restaurant, Beverly confided in her friend about the “thunderbolt” moment.
“I told my girlfriend, ‘Something just happened to me. I stared at this man, and I couldn’t help myself.’”
Then, the server approached Beverly’s table.
“He said, ‘I have some wine for you, from a man over there.’”
The waiter was holding a bottle of white wine, indicating at the bar, which was packed with people.
As a rule, Beverly avoided accepting drinks from men in bars. She never felt especially comfortable with the power dynamic — plus, she had a long-term partner back in Canada.
“I had a serious boyfriend at home and thought my life was on course,” she says.
online prescriptions without a doctor
I love it when individuals come together and share thoughts. Great website, continue the good work!
Well, instead of wasting long hours considering it, you can just ask these services, would be worth it or not.
most trusted online pharmacy
пинап казино – пин ап
Профессиональный сервисный центр по ремонту бытовой техники с выездом на дом.
Мы предлагаем:сервисные центры по ремонту техники в мск
Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!
пин ап зеркало – пин ап вход
The world’s largest architectural model captures New York City in the ’90s
aerodrome finance
The Empire State building stands approximately 15 inches tall, whereas the Statue of Liberty measures at just under two inches without its base. At this scale, even ants would be too big to represent people in the streets below.
These lifelike miniatures of iconic landmarks can be found on the Panorama — which, at 9,335 square feet, is the largest model of New York City, meticulously hand-built at a scale of 1:1,200. The sprawling model sits in its own room at the Queens Museum, where it was first installed in the 1960s, softly rotating between day and night lighting as visitors on glass walkways are given a bird’s eye view of all five boroughs of the city.
To mark the model’s 60th anniversary, which was celebrated last year, the museum has published a new book offering a behind-the-scenes look at how the Panorama was made. Original footage of the last major update to the model, completed in 1992, has also gone on show at the museum as part of a 12-minute video that features interviews with some of the renovators.
The Queens Museum’s assistant director of archives and collections, Lynn Maliszewski, who took CNN on a visit of the Panorama in early March, said she hopes the book and video will help to draw more visitors and attention to the copious amount of labor — over 100 full-time workers, from July 1961 to April 1964 — that went into building the model.
“Sometimes when I walk in here, I get goosebumps, because this is so representative of dreams and hopes and family and struggle and despair and excitement… every piece of the spectrum of human emotion is here (in New York) happening at the same time,” said Maliszewski. “It shows us things that you can’t get when you’re on the ground.”
Original purpose
The Panorama was originally built for the 1964 New York World’s Fair, then the largest international exhibition in the US, aimed at spotlighting the city’s innovation. The fair was overseen by Robert Moses, the influential and notorious urban planner whose highway projects displaced hundreds of thousands New Yorkers. When Moses commissioned the Panorama, which had parts that could be removed and redesigned to determine new traffic patterns and neighborhood designs, he saw an opportunity to use it as a city planning tool.
Originally built and revised with a margin of error under 1%, the model was updated multiple times before the 1990s, though it is now frozen in time. According to Maliszewski, it cost over $672,000 to make in 1964 ($6.8 million in today’s money) and nearly $2 million (about $4.5 million today) was spent when it was last revised in 1992.