ActionScript 3.0 :: FlvPlayback Skin Fixed Dimension?
Apr 11, 2011I'm trying to set a fixed dimension for the skin of a FlvPlayback that is loaded dynamically irregardless what size the container is.
View 3 RepliesI'm trying to set a fixed dimension for the skin of a FlvPlayback that is loaded dynamically irregardless what size the container is.
View 3 RepliesI am creating my own skin for the FLVPlayback component. I coped an existing one, renamed it and made some changes very easily.
However, I want my player to have fewer buttons. I had a go at removing some buttons from the layout_mc but when I published I found that the buttons I had taken out were appearing in the video playback area of the stage (I'm not really surprised it didn't work because the manuels say that layout_mc isn't actually put onto the stage at runtime, its just used for working out where things will go...)
ANyway, how to I successfully delete a button such as the fast forward
Is there anyway to add some new custom buttons on a FLVPlayback skin? i already try to put the button, everything fine, add a dispatchEvent with bubbling true,to that button to capture elsewhere in my aplications, the button appear on the skin but can´t get the Event
View 2 RepliesA video should be loading to the second pane of this carousel[url]...
But, on some systems, the playback controls, and the video, are not loading. When working correctly, as the swf seems to do on some systems, the video is covered by a movie clip of the first frame, and then a play button is loaded atop the image. When a user clicks the play on the skin controls or the button that has been loaded on top of the video, the image and button are moved off the stage and the video plays.[code]...
Is it possible when publishing a Flash CS4 file to have the Video swf and the Skin swf be in one swf file? I have a Flash CS4 (AS2) file that has a FLVPlayback Component. When I publish or test movie 2 swfs are output. I need only 1 swf as I am then going to insert this 1 swf into a Captivate 4 project. When I insert the video swf by itself into Captivate 4, I do not have a play bar/skin. If it is not possible to publish as one swf, how I can insert the 2 swfs into a Captivate file and get them to work?
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]...
I am working in CS5/AS3 with an FLVPlayback component and a pre-made skin with some custom colors. It is a skin with the caption button included (SkinUnderAll to be exact). I'm using Timed-Text files for the caption content. The captions work just fine. All other buttons on the skin show up, but the toggle button isn't showing up.
I checked all of the linkage in the skin's FLA, checked the AS that creates the FLVPlayback and FLVPlaybackCaptioning objects. All seems fine there.
I've checked the paths and SWF locations to be sure all are in the right places.
I've also included a SKIN_LOADED event listener to get around the default captions-on issue. I'm just not seeing what the issue is. I'd prefer to not go back through my code and make a custom control panel with button components. Started this in CS3 and moved the file to CS5, so I'm not sure if there's something I overlooked in the documentation that spells this out.
I am trying to customise a FLVPlayback Skin that has a counter in it, (MinimaFlatCustomColorPlayBackSeekCounterVolMute.fla)If i modify any of the skins without a counter there is no problem however when i try to publish one of the skins with a counter i get these compiler errors:Warning: unable to load SWC FLVPlaybackAS2.swc.1046 type was not found or was not compile time constant: NetstreamPlayOptions
View 4 RepliesI'm trying to insert a player on a Facebook Page tab with FBML with fb:swf. I have the following:[code]I can see the video, no problem. It plays inside a FLVPlayback component, which uses a skin (referred by /player/skinName.swf, I tried also the absolute path here). This player works perfectly everywhere else (even on an iframe Facebook application, where it's not inserted using the fb:swf tag, but with object, of course). However, I can't see the skin on the Page tab.
View 2 RepliesA video should be loading to the second pane of this carousel:But, on some systems, the playback controls, and the video, are not loading. When working correctly, as the swf seems to do on some systems, the video is covered by a movie clip of the first frame, and then a play button is loaded atop the image. When a user clicks the play on the skin controls or the button that has been loaded on top of the video, the image and button are moved off the stage and the video plays.Here is the code referencing the video:
Code: Select all//Import FLVPlayback components
import fl.video.*;
import fl.video.VideoEvent;
[code]....
I want to play a video, for it I decided to use a FLVPayback with a skin, and it works very well when I test it in Flash CS4, also when i called it from my server with the "network access" only preference. But when i embeded into a html... it plays the video but the skin does´t shows up.
here is my code:
package
{
import fl.video.FLVPlayback;
import flash.display.Sprite;
import flash.display.*;3
[Code].....
I have been working on modifying an existing FLVPlayback skin. Ideally I would like to have one that uses a counter. The problem is, all the fla's provided for the skins with counters fail to publish/compile correctly. Fla's are here: C:Program FilesAdobeAdobe Flash CS5CommonConfigurationFLVPlayback SkinsFLAActionScript 3.0
[Code]...
FLVPlayBack asks a link for it's skin. How can I bult-in skin in project, so I will have only one swf in result?
View 1 RepliesI have an FlvPlayback skin, which works really well, except the custom button. Basically this button needs to be able to call a function in the parent movieclip (that loaded the FlvPlayback, which in turn loaded the skin).
I am not really a Flash developer, and have not found anything on Google relating to this. It seems like a simple issue, but I just do not have enough knowledge of flash.
How to call a function in the base swf which has a FlvPlayback movieclip, from a custom button in the skin file.
I'm trying to insert a player on a Facebook Page tab with FBML with fb:swf. I have the following:
<fb:swf
imgsrc="http://IP/player/player.gif"
swfsrc="http://IP/player/player.swf"
[code]....
I can see the video, no problem. It plays inside a FLVPlayback component, which uses a skin (referred by /player/skinName.swf, I tried also the absolute path here). This player works perfectly everywhere else (even on an iframe Facebook application, where it's not inserted using the fb:swf tag, but with object, of course). However, I can't see the skin on the Page tab.
I need to get access to the buttons inside an flvplayback skin. After a bit of googling I've come across several solutions for AS2 but it doesn't seem to function in a similar way. I know skin_mc is a private function of the flvplayer but I can't for the life of me figure out how to access it as an object that retains its properties all I get back is a string with the path to the skin swf.d.
View 10 Replieswhy FLVPlayback isn't working properly in MVC views?I think i narrowed it down to the "hard coded" skin url file not being correct. Where should I put the skin file( e.g.skinOverAllNoCaption.swf)so that flash can find it?Or are there any alternative approaches to somehow setting the skin file dynamically.
View 1 RepliesI'm building a videoplayer using the flvplayback component for flash cs5 the skin i'm using is SkinUnderAllNoCaption.swf.my question is how do I modify the code for the forward button currently the forward button scrubs the video file.I want the forward button to go to another video and for the rewind button to go to the previous video.
View 1 RepliesI have a custom movie clip in the flvplayback skin and I am looking for a way to call an external js function.[code]Unfortunately, the External Function is not being called at all.
View 10 RepliesI want to separate the time_txt inside the counter_mc into two objects. One displaying just the displayheadTime and the other the totalTime. I want to do this on the skin file. What my problem is I can't seem to find the part where the text is being set at all. I am using CS5/FlvPlayback 2.5.
View 1 RepliesWith autoHide set to true I would like to have the skin show when a video is loaded then fade away after a couple of seconds.
View 5 RepliesThe issue I'm having is that I have a main "wrapper" 100x100 (but it could be any size) - it's just there to hold and display whatever content, swf, gif, etc we may want to throw into it. As long as the loaded content doesn't have 3D animation like rotationY going on, it displays fine. But when it does, the 3D "anchor" properties (like projectionCenter) of the loaded swf inherit those of the main timeline (i.e. 100x100 (main) vs 728x90 (loaded)). If I change the dimension of the main "wrapper" in Flash IDE to match what's coming in - the 3D behaves fine, but I won't know what the dimensions of the content will be until it comes, so I need a way (if there is one) to dynamically alter the main "wrapper" or root display object through AS. Stuff like "this.width = loader.width" or "stage.width = loader.width" or "root.width = loader.width" etc doesn't work. Flex has the hBox and vBox
View 1 RepliesSkinParts are a great way to add event handlers and logic to an object that is instantiated in the skin, away from any business code. Often, though, I find myself wanting to do the opposite, and define parts that will be used in reusable, skinnable containers in the parent mxml files which will be inserted into the skinned containers.
What's the best practice for when you want to be able to define a control and a skin which can be reused with different controls inserted from outside the skin? Edit: A better way to put this might be that I want to use something that works a little bit like a SkinnableContainer, but that isn't limited to one area where content can be placed.
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 extend Button to create ImageButton, and I extend ButtonSkin to create ImageButtonSkin. But, when I define hostComponent like this:
public var hostComponent:ImageButton
I get an error that there is a conflict with hostComponent:ButtonBase inside the ButttonSkinBase. How do I extend a skin AND provide a new hostComponent for it?
My client wants SteelExternalAll as the skin for her swf. It's not on the skinning menu in CS3. Is it possible to download it somewhere?
View 2 RepliesHow can we embed the over,up,down etc skins defined as sybols in a .swf file... i mean in skin file how can i specify those symbols to be used as up,over,down skins.
View 1 RepliesI have attached a video on a frame of my website in Flash. When I preview the movie the film plays as it should.But when I export the Fla. as a Swf. file it then doesn't have the movie there anymore?It does show this error:
**Warning** The linkage identifier 'FLVPlayback' was already assigned to the symbol 'Video/FLVPlayback', and cannot be assigned to the symbol 'FLVPlayback', since linkage identifiers must be unique.
I really don't know what that refers too.
if i create and swf let say for desktop application and it is full action script without any object in the stage ( movie clip and etcetera is created and placed by action script 3) not even in the library panel ( i mean no manual object that i added to library oanel and linking it to my code by using the linkage ) what would become the width and height of this application?? let just say for example i make a slideshow swf which load it's image by reading a xml file (the url of the image file is in the xml file).i ask this because when i test my swf (stage.width) it return 0.and when i loaded it into another swf i cannot set the loaded swf dimension (i did use event.complete).
View 7 RepliesIm doing a project of a site in flash/as3.... now im trying to put it on web to see some results...
But when i go to publish... i dont know what options are the best... Like... i put percent 100% in width and height.... and it works fine in height but in width it shows me more then my stage width :/
what should i do...? i can show u what i mean ....[URL] this is the url where im doing some tests....