Flash :: Flex Component - Show The Stream Progress On The Seek Bar

Jul 2, 2010

I am developing a audio player in flex. I need a seekbar kind of like on youtube's video player. To implement the basic seek functionality the HSlider component is enough. But I also want to show the stream progress on the seek bar. (youtube colors the already streamed part of the seekbar red). Is there a way I can achieve the same? drag and drop audio player component with play/pause and seek functionality.

View 1 Replies


Similar Posts:


IDE :: Progress Bar Component - Load Bar Doesn't Show Any Percentages?

Aug 3, 2005

I have a Flash site that I'm designing. The movie that I'm working with is the main movie into which my external .swf's will get loaded into. Now in the very first frame of my main .swf I have the progress bar component setup running in manual mode (I'm running in manual mode because I'm not using the loader component in conjunction with the progress bar. I figured that I wouldn't need the loader just yet because this is the progress bar for the main movie and not for an external .swf...) with this code:

Code:
var kalarahProgress:mx.controls.ProgressBar;
kalarahProgress.mode = manual;
kalarahProgress.indeterminate = true;[code]....

Now when I test it in FlashMX 2K4 Pro using "Simulate Download", everything works fine EXCEPT: Theres this white box that shows up right where my progress bar is in the first frame. After the progress bar loads (itself) then, you actually see the "candycane" indeterminate load bar and then after my other frames in the movie loads, it goes into my second frame and everything is cool.How can I make that white box go away? I tried using actionscript that would make the progress bar invisible until after it finished loading and then go to visible, but when I tried that, the component never came back visible. I just need to make that white box go away, it's taking away from the "beauty" of everything else. Also, my load bar doesn't show any percentages. It just flashes "loading" until after the rest of the frames are loaded. How can I get it to show the percentage of whats loaded so far?To download a copy of my .fla, just click here.

View 2 Replies

C# :: Show Progress Messages In Flex From Initiated Batch Process?

Sep 29, 2009

I have Flex call a C# dll which starts a long batch process (10 minutes). This process is actually a PERL program which periodically outputs progress messages. I want to be able to stream these messages back to a text area in Flex.

View 1 Replies

Actionscript 3 :: Flex - Show Multiple Sections In A Single Progress Bar?

Feb 17, 2011

I need to show multiple sections in single progress bar where each component is of different color.

View 2 Replies

FLVPalyback Seek Not Working Http Stream?

Jun 6, 2009

Using the FLVPlayback skins in CS4 (ActionScript 2.0).  When I play the swf and the video is local, everything works great.  When I switch everything to stream from http server, everything works except the seek bar handle doesn't move as the movie plays.  It just stays at the beginning.  I can manually move the seek bar handle and it does scrub the video but when I stop, the movie will play from that location and the seek bar handle just sits where I left it.

View 1 Replies

Flash :: Set Up A Preloader To Show The Load Progress Of The Main Swf

Nov 3, 2009

I'm trying to set up a preloader to show the load progress of the main swf, which has all of it's assets embedded. I found the factory class method as described on bit-101, but no load progress ever seems to show. The swf loads fine, but the bytesLoaded is always equal to bytesTotal and therefore the preloader is never called.

[Code]...

This correctly calls the Factory class first, and then instansiates Main and calls init(). But as I mentioned above the preloading is never shown as it seems to be loading everything straight away.Is this a problem with the way I'm embedding the images or because I'm testing locally?

View 3 Replies

Flash :: Preloader - Show The Download Progress Of A File?

Jun 1, 2010

I know how to setup a preloader and I have that working. But when I debug the flash application and simulate a download, it has a blank background until a few seconds have passed. I know it is "downloading" the swf file and I'm wondering if I can show a progress bar for that, or do I need to have the swf file as small as possible and pre load everything needed and have all assets as a separate file I fetch? I found something with ProgressEvent.PROGRESS but this only loads after the flash file is finished downloading.

View 1 Replies

ActionScript 3.0 :: Seek Button For FLV Component?

Oct 29, 2009

I'm building an flv player using the cs4/as3 video playback component as a basis with custom buttons on the interface. I'm trying to figure out how to do rewind or fastfoward using a button instead of a scrub bar. I've seen plenty of tutorials on how to develop a scrub bar but I can't figure out a way to apply the theory to a button you hold down and it fast forwards/rewinds until you mouse off.

Obviously a mouse_down event only fires one signal and causes a jump effect if you click repeatedly, so is there a way of firing multiple events whilst holding down the mouse button?

Code:
flvPlaybackComponentname.seek(flvPlaybackComponentname.playheadTime + fastForwardSeekAmount);

to achieve the skip through the video, but this only happens as I said with multiple clicks.

View 4 Replies

Flex :: Use A Custom Text Component To Show A Series Of Comments?

Apr 1, 2010

I'm trying to use a custom Text component to show a series of comments. I got the original idea from:

[URL]

I've got the base case working but I am stuck with 2 problems I cant seem to figure out:

Since I am drawing around the text, the actual height of each bubble is greater than that of the Text field, as a result, the last bubble is always chopped off. I have tried explicitly overriding the height getter, and adding some padding, but I cant seem to get it right. You can see an example here: [URL] In my layout, I have 2 VBoxes (one nested inside the other). The first vbox shows a form where the user can enter a comment, and the second box has all the comments. In order to ensure that the scrollbars only show up on the second box, I set minHeight="0" on the nested VBox, but then for some reason, some comments' text is shifted to the right. You can see an example here (look at the first comment): [URL]

Rather than posting the code here, I've provided some links:

[URL]

View 1 Replies

Flex :: Show Hand Cursor When Mouse Is Over List Component?

May 24, 2010

I am aware that the follow will show a hand cursor:

component.mouseChildren = true;
component.useHandCursor = true;
component.buttonMode = true;

When I do the above on a List component, the hand button is shown and the whole component loses it's interactivity (Hand cursor is shown even on scrollbars).

So how can I show the hand cursor only when rolling over the list items?

View 3 Replies

Flex :: Use A SplitViewNavigator Component To Show Master/Detail Navigation?

Feb 10, 2012

I am having an issue with using the SplitViewNavigator component in flex 4.6 using Adobe Flash Builder.

[UPDATED]* * *

I am building a reddit app for the blackberry playbook tablet, and am making use of reddit's API. I have three mxml views: RedditReaderHomeView .mxml, redditFeed.mxml, and subredditList.mxml. In RedditReaderHomeView.mxml I have a splitViewNavigator. In left side of my SplitViewNavigator resides subredditList.mxml,and on the right side resides redditFeed.mxml. On initialization, redditFeed.mxml pulls in XML data to populate its list with reddit entries, and subredditList.mxml pulls in XML data which populates its list with subreddits(categories) to display. When a user clicks on of the subreddit entries on the left, the redditFeed.mxml on the right should update so that the data it pulls are entries from the subreddit category that was selected on the left. In other words, classic master/detail navigation. Category on the left, which opens entries of that category on the right.I have a function that passes the url of the selected subreddit over to redditFeed.mxml.

subredditList.mxml - here a subreddit is selected and its url is sent over to a function in redditFeed.mxml

public function list_clickHandler(event:IndexChangeEvent):void {
var RSSItem:Object = redditList.dataProvider.getItemAt(event.newIndex);
var thisItem:Item = RSSItem as Item;[code]....

View 1 Replies

ActionScript 3.0 :: Show Progress Through AC3?

May 13, 2009

I've been having a hard time for some days now trying to make a progressbar in AC3. I searched the web and tried several different approaches and attempts but nothing works. I hope I can get some input from here now...
 
The main portion of the applicataion is working. It's only when I try to use AC3 to control the jumps in the timeline the problem occours.
 
This is my AC3-code:

import flash.events.*;import flash.display.Loader;stop();addEventListener(Event.ENTER_FRAME, myFunction);var p_loader:URLLoader=new URLLoader();//addChild(p_loader);

[Code].....
 
As I run the code all the trace-statements is printed. But the bytes is 0 all the time. I guess this has something to do with the main problem. I tried to simulate the download-process, but in this way not even the "kirupatxt.text = "TESTING";" is printed in my dynamic textfield.

View 4 Replies

Flex :: User GetRepeaterItem To Set The Progress Of A Progress Bar?

Mar 2, 2011

I have a progress bar inside a repeater and therefore I will need to use getRepeaterItem to set it's progress as suggested in this question.

How can I do that such that the value of progress may be taken from repMonitor.currentItem.threatLevel?

<mx:Accordion id="monAccordian" includeIn="Monitoring" x="10" y="10" width="554" height="242" change="monAccordianChange()" >
<mx:Repeater id="repMonitor" dataProvider="{monitoringArray}">

[Code]....

View 1 Replies

Progress Loader Text Won't Show Up

Jun 24, 2009

I have a SWF file that is the first frame of the movie and it's only purpose is to load in another SWF and show text corresponding to the progress of download completion.  When I test the movie (Simulate Download) it just simulates without showing my text with percentage complete. The only way I can get it to show, is if I add a button to click to make it show.  How can I get it, so that when someone opens the movie, it will start the download process, show the percentage, and then upon completion, start the UILoader movie?[code]...

View 9 Replies

ActionScript 3.0 :: Progressbar Can't Show Its Progress

Oct 2, 2009

I am using ProgressBar Component i have upladed the flash file to my site.firefox 3.0 show the progressBar moving but ie7.0 doesn't.

View 0 Replies

IDE :: Preloader Not Working - Can't Get The Progress To Show

Sep 1, 2009

I've got two preloaders that I've made from the same template, but I can't get the progress to show. It simply shows a quick glimpse of the finished image and then goes to frame two.

View 2 Replies

ActionScript 3.0 :: Stuck When Use 'show Progress Bar' Version

Jun 24, 2009

My file contains a moving flame that I want to keep moving.

The preloader file has 3 versions and I'm trying to use the 'show progress bar' version. Ive tried EVERYTHING! I'm so stuck! Here is a link to download my files since they are too big for this forum. [url]...

View 3 Replies

ActionScript 3.0 :: Get A Progress Bar To Show How Much Time Is Left In The Day?

Dec 10, 2010

I'm trying to get a progress bar to show how much time is left in the day. So it will fill up all day and then start over at midnight.

View 4 Replies

ActionScript 2.0 :: Preloader - How To Show 0 Percent On Progress Bar

Jun 21, 2006

How to show the Progress bar at 0%, as it currently shows around 50%+ rather than starting at 0%.

View 3 Replies

Flex :: Seek To An Exact Point In A Flash Video Without A Flash Media Server?

Aug 20, 2010

Is the Flash Video (or Flex VideoDisplay) component capable of seeking to an exact moment in a video?It seems to always 'snap' to keyframes (which is understandable). I'm just wondering if there are any mechanisms in the video classes for seeking to exact frames, ie it should do the translation from keyframe to specific frame in the background rather than having to actually play the video forward to the desired frame.This is not a streaming file and has nothing to do with buffering. The player is just downloading a movie file from the web and playing it from memory.

View 1 Replies

Flex :: Make PopUpManager Correctly Show Custom Component Based On Spark TitleWindow?

Jan 28, 2011

I use this code to create and show a MessageWindow:

var newTitleWindow:MessageWindow = PopUpManager.createPopUp(contextView,MessageWindow, true) as MessageWindow;
newTitleWindow.text = message;
PopUpManager.centerPopUp(newTitleWindow);

[Code]....

There is no nested components displayed when I run my app.

The debugger shows they are created and visible.

To my "amusement" the components are shown when I replace s:TitleWindow with mx:TitleWindow.

I really want to use spark TitleWindow.

View 1 Replies

Flash 7 :: Play A FMS Stream (live Or On Demand), Either An FLVPlayback Component

Jul 16, 2009

In order to play a FMS stream (live or on demand), either an FLVPlayback component or the Video class is needed.And they require ActionScript 3 and Flash 8 or above.
 
As far as i know , Youtube, Dailymotion and Google Video stream their on demand videos from a FMS, and their players are compatible with Flash 7.
 
How can they achieve this?  If Youtube, Google and Dailymotion do that, i deduce it's possible..
 
I tried to create a Flash 7 application that plays a video coming from FMS, using a MediaDisplay component, but it doesn't work well. Sometimes it shows the video, sometimes not.So i don't think youtube player uses MediaDisplay..

View 7 Replies

Media Server :: Show A Progress Bar Both On Recording And Preview Video?

Nov 2, 2010

I am developing a web application. where user can record video, audio and can take photos.
 
The recording is working fine. but only upto 70% of video is recording. How can I know the video progress?
 
Is it possible to show a progress bar both on recording and preview video?

View 3 Replies

Actionscript 3.0 :: Preloader Doesn't Show Percent And Scale Of Progress Bar

Jun 13, 2011

I used the preloader AS3 found here and it work fine localy but in firefox 4.0.1 it doesnt show the percent and the scale of the progress bar.
is there an issue ?

View 1 Replies

Actionscript 2.0 :: Progress Bar Of A Flv Component

Jan 27, 2009

I'm having issues with a progress bar of a flv component. It goes beyond the limits and cannot control the movie or see the load progress. My problem can be seen here: [URL] To see the problem: Click ARQUITETURA -> Click REPRESENTAƇƃO -> Click VIDEOS DIGITAIS

[Code]...

View 6 Replies

ActionScript 2.0 :: Use The Progress Bar Component?

Feb 12, 2003

I am trying to use the Progress Bar Component. Does anybody have examples of its implementation?

View 2 Replies

Add A Progress Bar To An Image In Custom Component?

Jul 23, 2010

I'd like to add a progress bar to my image. The problem is that the image is in a custom component. In the Application, I make server call to get the pathway to the photo. I set photo1 in the Application. Please find below the custom component[code]...

View 1 Replies

IDE :: Use The Progress Bar Component To Load The Main Swf?

Apr 28, 2010

I've searched a little and in tutorials the progressbar always loads an external mc...I was wondering, is it possible to make the bar load the main movie?

View 1 Replies

ActionScript 3.0 :: Progress Bars Show 100% Immediately As The Upload Is Happening, And The Site Looks Like Its Frozen Out?

Jan 29, 2010

Has anyone seen the issue with the progess bar, when uploading on a system running Windows 7.The progress bars show 100% immediately as the upload is happening, and the site looks like its frozen out - but its not, the upload finishes and the onComplete event is fired! So the upload is working, but not the progress bar.I am not even sure who's problem this is... is it MS, or Adobe

View 0 Replies

ActionScript 3.0 :: Loading JPG Files With Progress Bar Component?

Aug 27, 2009

trying to load a JPG. Here is my code:

import fl.controls.ProgressBar;
var pic_loader:Loader = new Loader();
var my_pb:ProgressBar = new ProgressBar();
my_pb.source = pic_loader.contentLoaderInfo;

[Code]....

The image loads but it does not "take the place" of the "pic_loader" movieClip like it did in As2. The main issue is I am getting this erroe message:

TypeError: Error #1034: Type Coercion failed: cannot convert loader@40fad881 to flash.display.Loader.

ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display:isplayObjectContainer/removeChild()
at as3_test_file_fla::MainTimeline/finishLoading()

View 9 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved