# Mediadisplay problem

**URL:** <https://forum.kirupa.com/t/mediadisplay-problem/111026>\
**Category:** Uncategorized\
**Created:** [May 22, 2004, 12:13pm UTC](https://forum.kirupa.com/t/mediadisplay-problem/111026 "2004-05-22T12:13:21Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![sintax](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@sintax](https://forum.kirupa.com/u/sintax)\
**Post date:** [May 22, 2004, 12:13pm UTC](https://forum.kirupa.com/t/mediadisplay-problem/111026/1 "2004-05-22T12:13:21Z")

</div>

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](http://www.earfocus.com/kinderboerderij/flash/index.htm), 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:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 26, 2004, 1:13pm UTC](https://forum.kirupa.com/t/mediadisplay-problem/111026/2 "2004-05-26T13:13:49Z")

</div>

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

Thanx

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 26, 2004, 1:20pm UTC](https://forum.kirupa.com/t/mediadisplay-problem/111026/3 "2004-05-26T13:20:49Z")

</div>

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.

:\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 26, 2004, 1:30pm UTC](https://forum.kirupa.com/t/mediadisplay-problem/111026/4 "2004-05-26T13:30:01Z")

</div>

thanx 😉  
but than means then that the problem is even worse ! oooow, help, someone, pretty pleaaaasee 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 26, 2004, 2:16pm UTC](https://forum.kirupa.com/t/mediadisplay-problem/111026/5 "2004-05-26T14:16:32Z")

</div>

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(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 26, 2004, 3:35pm UTC](https://forum.kirupa.com/t/mediadisplay-problem/111026/6 "2004-05-26T15:35:23Z")

</div>

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

```auto
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…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 26, 2004, 4:03pm UTC](https://forum.kirupa.com/t/mediadisplay-problem/111026/7 "2004-05-26T16:03:45Z")

</div>

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

scotty(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 29, 2004, 1:22am UTC](https://forum.kirupa.com/t/mediadisplay-problem/111026/8 "2004-05-29T01:22:58Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 29, 2004, 7:37am UTC](https://forum.kirupa.com/t/mediadisplay-problem/111026/9 "2004-05-29T07:37:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 29, 2004, 10:12am UTC](https://forum.kirupa.com/t/mediadisplay-problem/111026/10 "2004-05-29T10:12:27Z")

</div>

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

scotty(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 29, 2004, 10:33am UTC](https://forum.kirupa.com/t/mediadisplay-problem/111026/11 "2004-05-29T10:33:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 29, 2004, 10:41am UTC](https://forum.kirupa.com/t/mediadisplay-problem/111026/12 "2004-05-29T10:41:59Z")

</div>

Well, it was worth a try;)

scotty(-:
