Css :: Custom Skin For VolumeBar?
Feb 2, 2012I want to change the default styling of the volume bar in Flex to
I want to know if it is possible?
I want to change the default styling of the volume bar in Flex to
I want to know if it is possible?
I 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 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 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 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]...
I have a SkinnableContainer that I would like to add a border to. I have already created a skin class that creates a 1 pixel border around all four sides of the container successfully, however, I would like the border to only be for the top and bottom of the container, not the sides (left, right). How can I achieve such a thing? I have attached my current skin class.
<?xml version="1.0" encoding="utf-8"?>
<!-- containerssparkmySkinsMyBorderSkin.mxml -->
<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
[code]....
can find a solution to progressive download flv files and display them with a custom skin?I am using Flex3 and working on an AS3 Project - not a Flex Project so i do not have access to the Flex Video Components. I have to resolve this with AS3 but how to do? Everything in find somewhere is based on the usage of Flash or Flex as a Flesproject...
View 0 RepliesI just used FLVPlayback component and created flv player my custom skin work in normal mode. but in full screen mode the skin not appear and no thing appear else the video screen ..so, how to make my skin appear in full screen mode ?
View 1 RepliesI have built a basic theme for my Flex app. I would like to add support for additional predefined themes. By default, app has a theme and I would like it to change when user selects a theme from dropdown list. This can be done by loading a swf file using styleManager. However, all the skins have colors hard-coded in them. So, in order to achieve this I would have to duplicate skins and change value of the colors.
Is there a better way of doing this? Can I just have a skin that will change color values dynamically based on user selection?
I have a custom Flex 4+ component that I am trying to make and have the skin be aware of changes to a custom property. This property will determine the graphic on the button (and some other visual changes) but the data will change constantly as it will be updated by a timer.
I've looked at untold examples and still seem unable to get the syntax correct or discover how things should be separated. I've looked at overriding commitProperties and the PropertyChangeEvent without success. So I have two questions.
1) How can I get a skin to be notified of a bound property when it changes?
2) If the data for a bound property of the component is an object, will binding work properly if a property of the object changes (or would it be better to pass each property separately)?
[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 RepliesHow do you set the default value of skinClass for a custom component in Flex? I've extended the DropDownList with my custom component, but I would like to specify a default skin to go with it instead of always setting the skinClass value for each instance.
View 1 RepliesI'm trying to put my components in a window container that can be closed by "x" moved on the stage, resized and so on. And I wonder which is the best way to do it. I want to use a skin class and the component class. The "solution" that is not working looks like this
[Code]...
I'm trying to create a simple skin for the flex progressbar control. Both the track and the bar should have rounded corners, and the bar should fill the track completely in the parts where it is being shown.
Here is the bar skin I've created based off this example:
<?xml version="1.0" encoding="utf-8"?>
<s:SparkSkin
xmlns:fx="http://ns.adobe.com/mxml/2009"
[Code]....
Instead of the bar being flush with the track, there's a margin, and the rounded border gets cut off.
I wanted to change the background color of my Panel title area and I discovered that I needed to create custom skin or skin extender to accomplish this. So I created a skin called myPanelSkin based upon the Spark.PanelSkin. My background color works fine but it will no longer show the cornerRadius defined either on the component or in a styleI then tried another approach and simply created a new skin as an exact copy of the Spark.PanelSkin. It also looses the cornerRadius.
View 2 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'm using the following rather than the FLVPlayback component, how do I attach a generic skin?
[Code]....
I 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 use a flex mx:datagrid. I can set the headerBackgroundSkin to specify a skin or a picture to be displayed in all datagrid column's headers and it works just fine !
The problem is I can't find any way to specify a custom skin for the currently sorted column (doesn't matter if the sort is asc or desc, this is just to show the user which column is currently sorted).
I also tried to create a custom headerRenderer for each column but it is quite complicated and doesn't work very well.
I have been looking for the solution for a while but I can't find a good approach to do it. It sounds like a very basic need for me...incredible it is so complicated to achieve with Flex !!
I noticed someone was looking for the same thing few years ago but without success... [URL]
i add to horizontal volumebar in my player. But compiler error msg is Scene 1, Layer 'Actions', Frame 1, Line 6051061: Call to a possibly undefined method setVolume through a reference with static type flash.media:Sound.
[Code]...
how to target the VolumeBar component Handle via as3?
Im trying to tween the alpha of the component (with TweenMax) but the handle never takes on the alpha style, it just sits on top like it isnt part of the component.
So I was thinking if I can just target it separately I can put the same effects on the handle instance.
I've even tried putting the VolumeBar into a MovieClip so I could perform the alpha on that MC and not the component but the handle would not display at all when it was inside an MC.
and if I say removeChild, when I addChild back again the handle is gone completely!
has anyone made a Custom Skin for a TileList component in Flash CS5. I want to change the scrollbar of the TileList, i want the track bar as just a thin white line and the thumb a orange circle, this for a Touch Interface.
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.
Is there a way to disable/enable the buttons in FLVPlayback component? I got a flv files loaded into a fla file and the swf file then loaded onto the main fla file which where I want to disable/enable the FLVPlayback button at certain time.
View 7 RepliesI'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 Replies