Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

FLVplayback fade in/out...

Contributor ,
Apr 05, 2019 Apr 05, 2019

I have two .fla files that communicate via localconnection. One fla has buttons that play videos that appear in the second fla. The code is pretty straight forward on the second .fla. A string is passed to it that happens to be the name of the video to load in the single iteration of flvplayback. My question is this. How can I fade in the video and fade out the video elegantly? I've tried tweens but that doesn't seem to work. The issue I'm trying to avoid is having buttons mashed on the first .fla causing inelegant stops/starts of the videos on the second .fla. Hopefully someone can help.

Here's the code on the second .fla:

import flash.net.LocalConnection;

var conn:LocalConnection = new LocalConnection();

conn.client = this;

conn.connect("connOne");

function playThisVideo(vidname:String){

vid.source = "videos/"+vidname+".mp4";

vid.play();

}

TOPICS
ActionScript
365
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 05, 2019 Apr 05, 2019
LATEST

tween the alpha of your video.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines