ActionScript 3.0 :: Attach A Generic Skin For Custom Video Player
Oct 21, 2009I'm using the following rather than the FLVPlayback component, how do I attach a generic skin?
[Code]....
I'm using the following rather than the FLVPlayback component, how do I attach a generic skin?
[Code]....
I'm getting a security error while trying to load a custom skin to my player from my server. I've already tried placing the allowDomain with "*" wildcard, and still it doesn't work. Here's the error:Error #2044: Unhandled skinError:. text=Error #2121: Security sandbox violation: Loader.content: filelayer.swf cannot access URL...I really don't understand why this is happenning, since i'm loading flv's or images from the same server without getting any security errors.
View 1 RepliesI am importing a video into Flash using the wizard.When I get to the screen that asks about the skin for the controls, I choose custom and then type the URL:..for my player.When I try to upload the SWF that is generated, the player doesn't show up.I have checked the component inspector and see that the URL is indeed saved there and if you go to the URL of the custom player SWF, it loads.
View 3 RepliesI am trying to build a custom skin for a video that I have.I created the skin and buttons(play, pause, and stop) in photoshop and imported them into flash.I then hit ctrl R and import the video.The buttons I select and convert to button symbols and give them instance names.The video I select and make that a movie clip and give that an instance name.I then click on a button and go to behaviors (this is in actionscript 2.0) and assign them the proper actions.It seems like everything should work but it does not.As a side not I can create an animation in flash with buttons and they work.But it does not work with a movie clip.
View 3 RepliesI am using Stage Video and would like to implement video controls to this, like the ones utilised in FLVPlayback component. I am coming to the conclusion I am going to need to create a custom control bar entirely from scratch.
View 1 RepliesI've done a lot of searches but still cannot how to make the video control bar in a move appear and disappear when moused over or rolled over.
View 4 RepliesAny way of building in a fullscreen button right into the skin of a video player using actionscript 2? Or perhaps have access to a source file? I've seen the skins with fullscreen with AS3 with CS3, but I need tut on skins with fullscreen using AS2.
View 1 Replies[code]This is my code that i have inserted into the first frame(?) of the fla file.When I use the swf in a html web page, i can hear the video but I can't see it and play skin cannot control the video.This is also a part of a security token code which i'm implementing on the client-side.
View 14 RepliesI published a viedo.swf with a skin. I tested the video.swf both - both the html doc and the swf file and the skin is in each.I uploaded to my web server the following:1. video.swf,2. skin.swf3 video.html. and4. the AC_RunActiveContent.jsAll are in the same folder.When I goto the url the the video.html is located I do not see the skin ... on line.
View 4 RepliesI'm trying to get a video (flv) or an swf video player to work on Facebook walls, however no matter what I do - facebook posts the raw fbml and ignores the code.
<fb:swf
swfsrc='http://www.domain.com/flv_player/Main.swf'
imgsrc='http://www.domain.com/large1.jpg'
[Code]......
I'm using the default CS4 FLVPlayback skin, mainly the SkinOverPlayMute.swf. I know there's a skinAutoHide option, but because I don't want it to auto play, I want people to see a play button when they first encounter the video (so they don't think it's just an image). But the skin needs to hide when the video is actually playing (so the video doesn't get blocked by the controls).
In other works - when video isn't playing: skin showing; when video is playing: skin hide.
i did the Video Basic Tutorials and the XML Playlist, because this was a chance to insert more than one videos. Altouhgh, i customized the skin of the Videoplayer.
When i'm finished, the videoplayer shoud look like this:
Okay, so i took the functions shown in the tutorial. So i've got an XML-Playlist, play/pause button, replay button, mute button.
But as you see in the screenshot there should be some more
First of all i want to stop the "Autoplay-system" and "Autoreplay-System". I want to show the preview-picture and if i klick on "play" i want the TV to start. If one video is finished, there should be the "screenshot" again.
Screenshots -> Because i want to use the player with a lot of movies, i want to write down screenshots next to the videourl (XML Datei), something like this
Code: Select all<?xml version="1.0" encoding="ISO-8859-1"?>
<videos>
<video url="videos/rundengewinner08.flv" desc="Giga Homepage Award Runde 8" thumb="preview.jpg" />
</videos>
Than there are some "Arrowkeys" like this », so i want to switch between the screenshots to choose your video. Because i want this as "navigation", i don't need the Playlist next to the player (if i delete the layer i cannot use the player anymore).
Third: I would love the "minutes"-display (shown on the screenshot).
All I want to ask is that, can I use netStream and its functions for like resume(); or play(); to control playback of swf files. more importantly, can i use netStream for swf files?
View 9 RepliesI am working with the scrub element in my custom video player. The code for this in AS2 is as follows (this is the whole of it). How the scrub portion is coded in AS3?
HTML Code:
var nc:NetConnecttion = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.play("vegas.flv");
[Code] .....
for a project I need to develop a custom video player that needs to be able to go fullscreen, with custom control (play btn etc) overlay. The player will be used in a flash application (say as a window in the application.
Now I can figure out how to build a player from NetConnection, NetStream, Video etc, but I have no idea how you would implement the ability to go fullscreen and have the control overlay when in fullscreen as well.
Note that I cant tell the SWF to go full screen, it needs to be just the player.
Does anybody know why flash gives me this errors when I play video in fullscren mode in custom flv player?
[Code]...
i want to know how to make a good clean video player in flash pro 7.2.
1. show my a website telling me to do that.
2. give me a understandable tutorial
3. send me a file showing how its done.
Does anyone know how to embed a custom video player into the Google Plus' Stream?You can share videos by uploading, via YouTube, or from your phone, but you can also embed the Vimeo player into the stream, for instance, by just dropping the Vimeo video's URL into the Stream.I assume Google is parsing the markup of the URL for specific meta so that it can render it as a video, much like you can do with Facebook's Open Graph:
View 1 RepliesHow can i create a custom video player with out using the default FLVplayer
View 1 RepliesIs it possible to receive custom generic typed objects through AMF? I'm trying to integrate a flex app with an existing C# service but flex is choking on custom generic typed objects. As far as I can tell Flex doesn't even support generics, but I'd like to be able to even just read in the object and cast its members as necessary. I basically just want flex to ignore the <T>. I'm hopeful that there's a way to do this, since flex doesn't complain about typed collections (a server call returning List works fine and flex converts it to an ArrayCollection just like an un-typed List).
The custom C# typed class
public class TypeTest<T> {
public T value {
get; set; }
public TypeTest () {
}}
The server method returning the typeTest
public TypeTest<String> doTypeTest() {
TypeTest<String> theTester = new TypeTest<String>("grrrr");
return theTester;
[Code] .....
Irritatingly if I change the result handler to take parameter of type Object it works fine. How to make this work with the value object?
I'm trying to figure out how to get the name of the current file being played using a flash 8 video player (custom). Here's the code im using :
[Code].....
How does flash know which video is currently being played? Basically I want to set it up so that there is a 'activeVideo' varible that updates based on what video is currently being played.
I have a custom video player that I built with AS3. When people are viewing the videos I want them to be able to jump ahead of their current download position so that they don't have to wait until the video downloads to watch that portion.
View 7 RepliesI'm Looking for a generic player that can play .avi, .flv, .mpg, .mp4 and .wmv video files and .mp3, .m4a, .wma and .wav audio file types in browser.
So far any player that I found only plays one or 2 types from above list.
Also for some reason video tag only shows empty screen with loading cursor on it, no matter what file type it is.
I only need to show these files in Firefox and Microsoft Internet Explorer (both latest version).
Why does my swf's skin referenced by a simple component FLA work locally but NOT live? There's no AS3 in the component FLA. It's just a one-layer component referenced to the the FLV. When I test locally, IN FLASH CS4 ONLY, and click on "Animalia - Verse From the Zoo" the FLV and skin load and the video (source FLV - "Sequence01.flv") plays. But the same thing live only loads the swf for the FLV file area but NO SKIN. Try it yourself, please:Has anyone had this problem and knows the solution? All files are in the SAME FOLDER on the web server. I've tried every URL and path combination I can think of on the website. I've tried referencing the whole URL.
Yet whatever path combination I try, either nothing happens, or I just get the FLV box but no skin. Which is what's happening now. Publish settings are set to Flash Player 10 for all files. And I've tried the component SWF WITH and WITHOUT the fl.video package (import fl.video.*. No difference. Why does the skin load and play locally but not live? It's all AS3. No AS2. And it does not seem to be a "publish settings" issue as far as I can see. The relevant code in my API is:
var AnimalFLVLoader:Loader = new Loader();
AnimalFLVLoader.contentLoaderInfo.addEventListener (MouseEvent.MOUSE_DOWN,fAnimaliaVOn);
Animalia2.addEventListener(MouseEvent.MOUSE_DOWN, fAnimaliaVOn);
[code].....
I want to change the default styling of the volume bar in Flex to
I want to know if it is possible?
I created my flash video with a video skin I selected in CS4 and the skin file shows up in the same folder as the video but when I add the swf file to dreamweaver CS4 the controls that should show up underneath the video are not there.
View 2 RepliesLets say i code a component in AS3, it extends BorderContainer. How do I disable the default skin ? So it hasn't any skin, no Border, no Background?
Second question: Am I right to design a new skin completely in the overrided updateDisplay() method?
i am trying to create a custom skin for my FLV component in CS5 ..but adobe's fla files have errors when i decompile...I get this error...
Actionscript Code:
Error 1046: Type was not found or was not a compile - time constant : NetStreamPlayOtions
When i do publish flash does recognise the custom.swf skin...when i do add it in my movie though i get this error
Actionscript Code:
Error #2044: Unhandled skinError:. text=Error #1009: Cannot access a property or method of a null object reference.
I am currently working on a projects that needs to have a custom flash skin player.I have tried copying and editing excisting skins, but when I export the swf and fla into the crrect folders, I am able to select it from the skin list- however it doesn;t show in the player.Am I exporting/ publishing this in the correct way and to the right folders?
View 3 RepliesI am trying to set a custom skin URL on an FLVPlayback object. The object is on the stage named vid. When I have the following code: vid.skin = '[URL]'; I get the following error when debugging in the CS5 IDE: Error #1014: Class fl.video::UIManager could not be found When publishing the file to an SWF it "dies" (it stops video playback) at exactly the same point. There is no error message or other indication of what happens in the browser. The flash still seems to work, it responds to ExternalInterface events. It just refuses to play the video. I'm using FLVPlayback 2.5.0.26 with Flash Pro 11.0.2.489 on Win7 64-bit.
How do I fix this? If I comment out the video.skin assignment then the video plays great (except there are no play/pause controls). But when I try to set it I get this internal Flash error. Incidentally if I assign vid.skin = 'invalid/url' then it doesn't die, instead it gives me a warning that the skin cannot be found. The valid.swf url is a copy of the MinimaFlatCustomPlayBackSeekCounterVolMuteFull.swf skin that comes with CS5.
[Code]...