Missing audio in video when adding transition

This is a discussion on "Missing audio in video when adding transition" within the Flash & Multimedia Forum section. This forum, and the thread "Missing audio in video when adding transition are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 28th, 2006, 13:42
New Member
Join Date: Aug 2006
Location: Norway
Age: 33
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Missing audio in video when adding transition

Hi!
I'm new to flash 8, and trying to learn video playback in Flash, and I have one question: I've added a transition effect between 3 videos, and when I play the swf file, the audio is missing in the 3 video's.
Is it so that audio automaticly dissapear when I add transitions?

Thanks for any answer...
Reply With Quote

  #2 (permalink)  
Old Aug 28th, 2006, 14:35
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Missing audio in video when adding transition

Sorry but not much we can do with out seeing some type of example. I need Fla file. Please export for flash mx. That way I can take a look at it.
Reply With Quote
  #3 (permalink)  
Old Aug 28th, 2006, 16:21
New Member
Join Date: Aug 2006
Location: Norway
Age: 33
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Missing audio in video when adding transition

Hi! Thanks for your reply, attached is the fla file for mx in a zip, My action script is below:
****************************************
import mx.transitions.*;
var videoLoadedCount:Number = 0;
var videoPlayerIndex:Number = 0;
var videoList:Array = new Array("flashmovie1.flv","flashmovie2.flv","flashmo vie3.flv");

for (var loaderLoop:Number = 1; loaderLoop <= videoList.length;
loaderLoop++){
vidcomp.activeVideoPlayerIndex = loaderLoop;
vidcomp.load(videoList[loaderLoop - 1]);
}
function eready(e:Object):Void {
++videoLoadedCount;
if ( videoLoadedCount == videoList.length ) {
for (var playerLoop:Number = 1; playerLoop <= videoList.length;
playerLoop++ ){
e.target.activeVideoPlayerIndex = playerLoop;
e.target.play();
}
}
}
vidcomp.addEventListener("ready", eready);
function ecomplete(e:Object):Void {
for (var playerLoop:Number = 1; playerLoop <= videoList.length;
playerLoop++) {
e.target.activeVideoPlayerIndex = playerLoop;
e.target.play();
}
}



vidcomp.addEventListener("complete", ecomplete);

function transDone(e) {
vidcomp.visibleVideoPlayerIndex = e.target.content._name;
trace(e.target.content._name);
}
function buttonTransition(m:MovieClip, d:Number) {
if (d != m.visibleVideoPlayer) {
var other:MovieClip = m.getVideoPlayer(d);
m.bringVideoPlayerToFront(d);
var vp:MovieClip = other;
TransitionManager.start(vp,{type:mx.transitions.Bl inds,
direction:0,
duration:1,
easing:mx.transitions.easing.None.easeNone,
param1:empty,
param2:empty});
vp._transitionManager.addEventListener("allTransis tionsInDone",transDone);
}
}



video1Button.onPress = function(){
buttonTransition(_level0.vidcomp, 1);
};
video2Button.onPress = function(){
buttonTransition(_level0.vidcomp, 2);
};
video3Button.onPress = function(){
buttonTransition(_level0.vidcomp, 3);
};
Attached Files
File Type: zip transitionsMX.zip (122.5 KB, 41 views)
Reply With Quote
  #4 (permalink)  
Old Aug 28th, 2006, 19:22
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Missing audio in video when adding transition

I have no ideal. It has been a long time since I messed with video in flash. Maybe one of the other members could help you.
Reply With Quote
  #5 (permalink)  
Old Aug 31st, 2006, 09:53
Reputable Member
Join Date: Jul 2006
Location: exeter
Age: 20
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Missing audio in video when adding transition

Hi i Have not had much experience with useing vidio in flash hang on thats a lie any experience so im not even going to try and help you like that lol all i wanted to say was if you go to http://www.cartoonsmart.com/advanced_smart_topics.html then there is a 3 hour lesson on what you need to do thanks
rusty
Reply With Quote
  #6 (permalink)  
Old Aug 31st, 2006, 18:51
New Member
Join Date: Aug 2006
Location: Norway
Age: 33
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Missing audio in video when adding transition

Thanks, I'll check it out!
Reply With Quote
  #7 (permalink)  
Old Sep 1st, 2006, 03:35
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Missing audio in video when adding transition

CartoonSmart.com Man we have linked to Justin so much in the flash forum. We might as well give up as members. We are always sending them to cartoonsmart.com
Reply With Quote
  #8 (permalink)  
Old Sep 1st, 2006, 08:57
Reputable Member
Join Date: Jul 2006
Location: exeter
Age: 20
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Talking Re: Missing audio in video when adding transition

Yeh true sob we are pathetic
Reply With Quote
Reply

Tags
missing, audio, video, adding, transition

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Audio Clips from Library to Site jschu2 Website Planning 0 Jan 2nd, 2008 19:21
Question with adding audio smith11 Flash & Multimedia Forum 1 Feb 14th, 2007 17:39
adding audio to web pages toekneem Starting Out 7 Jan 21st, 2007 20:10
audio/video from site LorEye Flash & Multimedia Forum 1 Nov 21st, 2006 22:15
Adjusting/Synching Audio for Audio and Video Clips junestag Flash & Multimedia Forum 3 Sep 19th, 2006 02:43


All times are GMT. The time now is 22:47.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43