That's the background. The problem is that I can't seem to implement my solution (and I don't see any other obvious solution). Everything works fine with one .flv, but as soon as I try anything that looks like it might make it possible to have the second .flv start when the first one ends, I get buggy audio and sometimes blank video. By buggy I mean the audio loops, and I hear a gazillion copies of the audio track trying to play at the same time. For instance, I tried adding a second scene to put the second .flv into. Before I even put it in, the audio goes haywire. Actually putting it in doesn't help, either.
So I started over. One scene with the first portion of the video in frame 1. I add a blank frame at frame 2 so that I can put the second portion of the video into that frame. Same problem with and without the second portion of video actually inserted. Okay, undo until the first .flv is working again. Let's add a second layer this time. Nope, now both videos have their audio going at the same time (it's an improvement over a bazillion audios going at the same time, but not good still), and I can only see the layer that's on top.
Let's take a look at the help file. Hmm. Cue points. That sounds interesting. Maybe I can set a cue point at the end of .flv #1 and have it set to make .flv #2 start when the cue point is reached. I can set the cue point, but I'll be damned if I can find anything that tells me how to do anything with the cue point. Right now I'm tired and extremely frustrated, having spent several hours looking through the help file and trying things when it should be simple. Someone in an IRC channel mentioned this site, which right now is only translating in my brain to "I need to fucking write Flash code" and I'm too worked up to even figure out where to write any actionscript stuff.
I apologise for the ranty nature of this post. I'm going to sleep on it, look a bit closer at that website, and then see if there's a computers geek that can help this maths nerd. Or computers nerd that can help this maths geek, if you prefer. Yeah, sleep sounds really good right now.
I've looked at that tutorial I mentioned (which, incidentally, is based on this video tutorial and others at gotoandlearn.com) and tried to implement the single .flv video on the previous page. I modified the sample script to suit my naming convention. Here's the exact code I used:
Code: Select all
var nc:NetConnection = new NetConnection();
var ns:NetStream = new NetStream(nc);
1061: Call to a possibly undefined method attachVideo through a reference with static type flash.media:Video.