Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-30-2007, 01:40 PM   #1
jace41
Registered User
 
Join Date: Jul 2004
Posts: 17
Default video skin won't show up

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?

Code:
import mx.video.*;

// connection
var nc:NetConnection = new NetConnection();
nc.connect(null);

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

// skin FLVPlayBack compenent
myVid.skin = "SteelExternalPlaySeekMute.swf";
myVid.clear();
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,

jace

Last edited by jace41; 05-30-2007 at 01:43 PM.
jace41 is offline   Reply With Quote
Old 08-14-2007, 08:36 PM   #2
yaroukh
Registered User
 
yaroukh's Avatar
 
Join Date: May 2005
Posts: 47
Default

I'm currently facing the same issue (with network-only access allowed)
yaroukh is offline   Reply With Quote
Old 08-15-2007, 12:01 PM   #3
yaroukh
Registered User
 
yaroukh's Avatar
 
Join Date: May 2005
Posts: 47
Default

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.
yaroukh is offline   Reply With Quote
Old 08-16-2007, 05:27 AM   #4
RandyS
Member
 
Join Date: Apr 2005
Posts: 39
Default Yeah Me Too

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.

Regards,
RandyS
RandyS is offline   Reply With Quote
Old 08-16-2007, 01:09 PM   #5
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

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???
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 08-19-2007, 05:19 PM   #6
parkerjax
Registered User
 
Join Date: Jun 2007
Posts: 27
Default

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/ar...lvcomp_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 in case anyone cares to see something that they may have never heard about.
parkerjax is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading youtube video: ok, but show up HUGE size brunodario ActionScript 2.0 0 04-18-2007 02:58 AM
Newbie question re: starting, preloading, then playing a video clip mchentrp Flash 8 General Questions 7 03-12-2006 03:27 AM
Video Intro curlyfro ActionScript 2.0 0 10-27-2005 07:57 PM
Custom Video Player Issues jamesferguson Other Flash General Questions 0 09-01-2005 12:16 PM
video objects dsdsdsdsd Flash Media Server 0 05-11-2005 08:47 PM


All times are GMT. The time now is 06:43 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.