|
-
Player Controls not visible
Hi FK,
I'm new to AS3 + Flash Video and have an issue with player controls not showing. I have looked about and deduct its more than likely a path issue.
I found this post and thought it addresses my scenario http://www.afcomponents.com/forum/viewtopic.php?t=3782
I wanted to implement the AS but don't know how to add relative paths.
This is the web directory I have; http://www.blabla.com/swf/
containing files: HD-1.swf, MinimaSilverAll.swf, HD2010.f4v
This is the code to set in frame 1, (how do integrate my files??? Also, name your instance of the FLV player to player1.) Many Thanks Paul
//get url of loaded movie, so we can set relative path
var skinURL:String = player1.skin;
if (skinURL.indexOf("/",0) < 0) {
var swfURL:String = this.loaderInfo.url;
swfURL = swfURL.substr(0, swfURL.lastIndexOf("/") + 1);
player1.skin = swfURL + skinURL;
trace(player1.skin);
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|