View Full Version : video skin won't show up

05-30-2007, 01:40 PM
Ugh! I seem can't get the video skin to show up to skin FLVPlayBack component (even made sure video skin swf is in same folder as this file is). What am I missing?

import mx.video.*;

// connection
var nc:NetConnection = new NetConnection();

var ns :NetStream = new NetStream(nc);
myVid.attachVideo (ns);

// skin FLVPlayBack compenent
myVid.skin = "SteelExternalPlaySeekMute.swf";
myVid.contentPath = ns;

// play intial video
ns.play ("flv/video1.flv");

// event handlers
video1thb.onPress = function() {
ns.play ("flv/video1.flv");

video2thb.onPress = function() {
ns.play ("flv/video2.flv");

video3thb.onPress = function() {
ns.play ("flv/video3.flv");

Appreciate any help,


08-14-2007, 08:36 PM
I'm currently facing the same issue (with network-only access allowed)

08-15-2007, 12:01 PM
The problem is that IMO Flash first runs the script and _after that_ the properties set in Component Inspector are applied.
If you set the skin using setTimeout (even with delay being "0") it should work; or insert the FLVPlayback into stage using script.

08-16-2007, 05:27 AM
Hi Gang,

What I found is that my skin works when running from the hard drive during testing.

When I post a standalone bare bones file with FLVPlayback to a website, the skin works as it does on my local HD.

But ... When I load into my main movie, an external .swf that contains the FLVPlayback component, the skin doesn't show.

I guess I'll have to try a scripting method.


08-16-2007, 01:09 PM
I probably don't know the answer, but I have a question just to clear up something in my mind... :)
Does your main.swf, external.swf, skin.swf sitting in the same directory??? If not, can you make sure the main.swf and skin.swf stays in the same directory and test to see if it works???

08-19-2007, 05:19 PM
I had a similar issue and came across this post after I figured out my issue.

CyanBlue's suggestion would have put me on the right track.

I was able to see the skin of my FLVPlayback component when testing on my local HD, but when I published to the web it wasn't there. The problem was that I didn't understand the nature of the skin SWFs... in fact I didn't even notice that when I generated the main SWF that a secondary SWF was also generated [for the skin] & it needed to be uploaded as well. Once I uploaded the additional SWF, then the FLVPlayback had what it needed. As Cyan mentioned, you'll need to have this in the same directory as the primary SWF.

I worked around this by using the individual components (i.e. Play, Mute, Vol, etc...) which was a good excercise... but those can be a little quirky it seems.

In the process I also found a good Adobe reference to customizing the skin components: http://www.adobe.com/devnet/flash/articles/custom_flvcomp_04.html

There you can get into the sample FLA files and see how they work and modify as desired.

Controversial as the site may be... here's the link (http://www.untilthesunstops.org) in case anyone cares to see something that they may have never heard about.