all groups > flash actionscript > april 2006 >
You're in the

flash actionscript

group:

Flash 8 video controls + other madness


Flash 8 video controls + other madness Grinshtein
4/18/2006 11:00:22 PM
flash actionscript:
I'm really having a hard time with this :

I have a _level0 swf. it loads somemovie.swf into level 1. somemovie.swf
imports a class i've written.

The class I've written works great with flash 7 video, but when flash 8 video
it acts up like this:

In my class, I have a few functions that draw rectangles, write text, etc..
When there are skinned controls on the flash 8 video, none of that shows up.
When the flash 8 video doesn't use skinned controls, everything works fine.

Does anyone have ANY clue what this could be?:confused;
Re: Flash 8 video controls + other madness myIP
4/19/2006 2:21:01 AM
Re: Flash 8 video controls + other madness Grinshtein
4/19/2006 3:20:57 AM
Re: Flash 8 video controls + other madness myIP
4/19/2006 3:47:10 AM
Re: Flash 8 video controls + other madness meme83
4/19/2006 5:33:11 AM
Re: Flash 8 video controls + other madness Grinshtein
4/19/2006 2:21:36 PM
Yes, everything is in the same directory. It's not the controls that don't
work, it's my code.

This is the code that doesn't work when UI controls are enabled. It's simple
code, but for some reason it seems like the _visible state is false. When video
controls are off, everything works perfectly. (Code is attached)



var clipsWrapper = _level1.createEmptyMovieClip("clipsWrapper", 1);
for (var i=0; i< someLength; i++) {
var someMc = walnutsWrapper.createEmptyMovieClip("someMc"+i, i);
drawRectangleInMC(someMc);
}
clipsWrapper.attachMovie("anotherMC", "anotherMc", 1);
Re: Flash 8 video controls + other madness myIP
4/19/2006 5:12:23 PM
It?s hard to see what it is doing from the snippet of code you shown. I am
just curious on where it is you are initiating this new class? It might be
easy to assign it to the same level.

Also how are you loading this incoming SWF? I know in Flash 8 there are
restrictions that are causing your problem. See the link below;


http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.ht
m?context=LiveDocs_Parts&file=00001739.html
AddThis Social Bookmark Button