Mediadisplay problem

Hi,

Some new problems arose. I’m trying to load a .flv in my swf using a mediaDisplay and actionscript, but there’s a strange problem. When u open the swf for the first time, then it gives a blank screen. when u then visit another page, and return to the videos, then it loads the video as it should.

to change swfs and other content, i use swapDepths and getNextHighestDepth commands, and I guess it has something to to with this, since it worked fine before.

anyway, here is the link, the videos are located under ‘Boerderij’ (the little farm) and then click on the tv set (only the first 2 should work).

Any help would be greatly appreciated, cuz this is driving me mad ! :crazy:

Can someone please take a look at it? I really don’t quite understand what the problem is. Any help would be great !

Thanx

Nice site sintax, looks very pretty and should do great for kids, however both of the vids dont load at all, even if i follow the procedure you mentioned above.

:\

thanx :wink:
but than means then that the problem is even worse ! oooow, help, someone, pretty pleaaaasee :slight_smile:

Here it works like you said, I can see it the second time I visit the room.
Are you working with var’s, cause the second time it loads right away:)
btw make the text of the first button ('schapen scheren) non selectable, works better;)

scotty(-:

This is the code is use (on that first button), the MediaDisplay is called “mdMovie”. Is this the correct syntax?

mcVideo1.onRelease = function() {
	mdMovie.setMedia("../video/schapen_scheren.flv", "FLV");
}

If this isn’t the problem, then I can post some more source code, cuz the problem may be elsewhere…

Code looks allright, but I’m not that experienced with video.
Can you post your fla?

scotty(-:

Hey
This problem sounds familiar. I think it is something like you are trying to load Flash 7 content into a Flash 6 movie? Since i learned this I only ever publish in Flash 7 to keep things consistent.

I have located the problem, but haven’t found a solution yet. I have a preloader in that movie, and to let it work properly I have to change the settings of that AS to put classes in frame 3. But when I do that I get this error:

WARNING: The Export Frame for Classes specified in the Publish or Export settings, frame 3, does not exist. No bytecode for ActionScript 2.0 classes or interfaces was exported.

What do I have to do to make the preloader work and to have the classes load properly?
(btw all other content is located in frame 3 as well)

Thanx,
Sintax

Hey sintax, did you read this one:
http://www.kirupaforum.com/forums/showthread.php?t=38528 especially post #4?
Maybe that helps=)

scotty(-:

Yeah I had read that thread, cuz there i learned that i had to change that frame in which the classes load, but there was a person with the same problem as I, but there wasn’t a solution provided.

it’s way over my head. perhaps i’m gonna drop the preloader, cuz then all just works out fine, unless someone can still give me a solution…

thanx

Well, it was worth a try;)

scotty(-: