Flex :: Make The Slider Track A Bit Thicker With CSS?
Apr 11, 2010How can I make the slider track a bit thicker with CSS?
View 1 RepliesHow can I make the slider track a bit thicker with CSS?
View 1 RepliesI am trying to create a simple Music player has play/pause button and an HSlider that shows the position of the song as it is playing using a custom SliderThumbClass. I would like allow the user to drag/drop the sliderthumb or click on the sliderbar to change the position of the song currently playing.
With the code I have below, if I use the sliderThumb to change the position of the currently playing song, it works great. But I if I click directly on the slidertrack to jump ahead/back, the current position doesnt move and there is some flashing of the current position, but it jumps back to where it was and continues playing the song. This does work if I am in the paused state.
As expected, thumbDrag/Press/Release events are not triggered when the user clicks on the sliderTrack - What events should I be subscribing for to handle this case?
<mx:Canvas>
<mx:Script>
<![CDATA[
[code]....
I'm using Flex 3 VideoDisplay class for playing streaming video. When I drag the track slider(change the playheadTime) there are no preview frames even if that part of the video is already loaded.
Is there anything I can do to enable this feature (from the configuration of media server or in the Flex client)?
The reason I don't like the brush tool is because the brush line is not consistent in its thickness. For example, if I draw a curve with the brush tool, some of the line will be thicker than other parts of the line. The pencil tool has the same thickness all around, but unfortunately it is very thin.
View 1 RepliesI'd like to make a circle slide ( Slider that on the shape of circle instead of vertical and horizontal Slider) like this one:
[URL]
Is there a ready Component on the web.
I was curious as to how I can make an audio player with a track bar, play, pause, stop, and volume slider. Most of the tutorials or free download files I find don't have all of these features.
View 0 RepliesIf I understand this correctly, most timer examples I've seen in AS3 are limited by a certain number of occurrences. Such as:
var timer:Timer = new Timer(1000, 2);
timer.addEventListener(TimerEvent.TIMER, blah);
timer.start();
[Code]....
Where it would fire twice (again, if I interpreted this correctly)
So if what I assumed is true, is there a way to make a timer where it would continuously keep track of time?
Is there any way to make a MovieClip (or any other symbol) to keep track of a parent MovieClip?
Let's say I have a movieclip that contains a body, and then I want to add clothes on top of it, so I would write[code]...
And it works, but if change the X coordinate, I expect that clothes_image, change the coordinates as well, without explicitly write the instruction for it.
I have mad this from a tutorial. Now the slider goes left but i wants it to go right but i just cant seem to get it to work.[code]
View 2 RepliesI'd like to make a news slider for flash that not only shows images and text, but can also play videos that are presented as news, through an XML file or something.A good example is the flash news slider that ea.com uses, which can play videos on clal as well.Can anyone direct me to a tutorial or guide me here on how I cna achieve this through Flash CS4?
View 18 RepliesI'd like to make a circle slide ( Slider that on the shape of circle instead of vertical and horizontal Slider) like this one: [URL] Is there a ready Component on the web.
View 7 RepliesHere is the code I started but I want to make a slider naviagation once the page is click then the page marker will move to what page I am on?[code]...
View 5 RepliesHow to make this excellent "auto slider" Check the Portfolio section [URL].
View 2 RepliesHow would you script the movement limitations to create a diagonal slider? Im not looking for anything tricky. Just a plain 45 degree, .785 rads, um i think angle movement.My current Horizontal slider is as follows.
onClipEvent (load) {
min=50;
max=400;
[code]......
I'd like to make a news slider for flash that not only shows images and text, but can also play videos that are presented as news, through an XML file or something.A good example is the flash news slider that ea.com uses, which can play videos on clal as well.how I cna achieve this through Flash CS4?
View 2 Repliesis there a way to make the slider work with the gotoandstop. I would like to us a slider as a navagation bar and when u slide to home all the stuff related to home pops up and so on.
View 1 RepliesIs there a way to make a statement where if the slider is >=30 and <=40?
View 3 RepliesExplain the code, or point me to a good tutorial for making a volume slider for an FLV player?
View 6 RepliesI am trying to make a song position slider, ala most media players, which will slowly slide along as the song progresses, but also allows me to drag and drop it to change the position of the song. I have some code which works perfectly in regards to the progress and dragging parts but the song doesn't change position and the bar reverts to the pre-drag position when I drop it.
Code:
// Sound
sneaker = new Sound();
[code].....
Well Ive been trying to make a small flv player in flex, came across 2 problems.
1. How would you make a slider to control the video (Is it called a scrubber?)?
2. How do you change the icon of a button at runtime? (For the play/ pause button, changing the labels I can do, the icons have stumped me).
I couldn't find an example of a mp3/flv player online made in flex that has either of these, so I havn't got a clue how to proceed.
I'm making a Image slider. When the mouse is rolled over, It'll slide to one direction. Just like a normal image slider.The problem is, the images that I want to be inside this slider are in a folder and I want them to dynamically load into flash and into the slider.
For example, Lets say there are 5 images in the folder. I want flash to get all the 5 images and load them into the slider and do the normal scroll thing. When the 5th image is reached, I want the slider to display the first image. (in a continuous loop). If a new image is put into the folder, flash should now have 6 images in the slider.I've manged to get the Number of files in the folder to flash.How can I make a slider where images are loaded dynamically?
I'm using AS3, CS5.5, on Windows764bit. I created an animation with many different layers (and nested movieclips) on the stage, then wrote a short bit of As3 to add a slider control of the playback. The problem/mystery is that when I change the slider, the nested MCs act strangely/independently. How to control everything at once? Here is the current file: [URL]
Here is the code I added:
package {import flash.display.*;
import fl.controls.*;
import fl.events.*;import flash.text.*;
//for TLF crap public class SliderClip extends MovieClip {
var slider:Slider;
public function SliderClip() {
[Code] .....
Im trying to make a slider that when moved will scroll through the timeline. There is 5 snap intervals in the slider and 5 "key moments" in the movie. When the slider is snapped 2 one this will scroll to the first "key moment".
View 1 RepliesI am trying to make a flash slider similar to that in HTML Code: [URL]
View 1 RepliesMay I know what is the proper way to keep track of display objects created and hence allow me to remove it efficiently later, for garbage collection. For example:
for(i=0; i<100; i++){
var dobj = new myClass(); //a sprite
addChild(dobj);
[code]......
I've been trying to track down memory leaks in our application, and keep finding myself back looking at Spark components as the culprit.
Many classes in Spark use RichEditableText for displaying their text properties (ComboBox,TextInput).RichEditableText has a local textContainerManager property, and frequently calls compose() on this.Here's the relevant abridged extract from TextContainerManager
// Line 282 - 292:
static private var stringFactoryDictionary:Dictionary = new Dictionary(true);
static private function inputManagerStringFactory(config:IConfiguration):StringTextLineFactory
{
[code]...
Line 1242 is the crucial line here, as it gives the static dictionary a reference to our component.(Note - I've checked this with the debugger to confirm which branch of the ternary gets executed.) This would prevent the instance from ever being garbage collected.
Eg: Static dictionary has a value with a reference to the instance -- instance cannot be GC'd.In turn, this would prevent any other instances which have a reference to the instance of TextContainerManager from being GC'd also.While this theory certainly matches what I'm seeing in our app, I can't beleive that there really is a memory leak in such a low-level spark component.
how to make the slider disappear when you click (for example) on an extra button?
View 3 RepliesI want to upload data (not a local file) with Flex (4.1), and show what the progress is of the bytes sent. Now I use a URLLoader, but I know that URLLoader was designed to download data, I can connect a listener to ProgressEvent.PROGRESS but that has no effect. I also know there is a FileReference object which supports uploading. The problem here is, I do not want to browse for a file and upload it. I have a byte array which I want to send to the server, but the data property of FileReference is read-only. How can I send the byte array (which is actually a PNG encoded image) to the server and be able to track the progress of the bytes sent to server?
View 1 RepliesI currently have 6 different flex applications (widgets) that run on a main page.They all depend on one common library project.I am currently cleaning up the codebase quite dramatically and it is hard to keep overview this way especially since I inherited the codebase.Does anyone know a tool that can automatically inform me of any dead code?
View 1 RepliesHow to make vertical slider which will generate the number from the numerical range?
View 5 Replies