Flex :: Reset/reuse Progress Bar?

Dec 29, 2009

I'm using a progress bar to let a user know how much more live streaming video data is to be buffered before it starts playing.Have that much working fine.Problem is, if the buffer gets used up, and I need to rebuffer, I can't seem to get the progress bar reset and visible again. Seems once it hits 100% on app start up it can't be reused.I'm catching the proper NetStream.netStatus events.The hook for the empty buffer is there and is executing.I'm just not seeing how I might redisplay and start a fresh bar there?

I've tried bar.visible = true and nothing appears.Also tried making a new one and setting visible each time the buffer is empty but no dice.Seems to just be ignored.

View 2 Replies


Similar Posts:


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

Flex :: Action - Reuse Flex Library Assets?

Dec 24, 2010

I want to reuse the TitleWindow's closeButton inside a simple Flex component I am writing, but I'm having trouble getting it to compile. I copied the code that deals with the closeButton, which looks somewhat like this:

[Code]...

View 1 Replies

Flex :: Possible To Reuse Effects By Id In MXML Transition?

Mar 4, 2010

I have a <mx:Dissolve id="dissolveOut" ... /> Effect in an Flex page I'm working on, and I would like to reuse this effect in a <mx:Transition> sequence. Is there a way to call dissolveOut from MXML inside the Transition tag, or do I really just have to duplicate code?[code]

View 1 Replies

Flex :: Reuse A Single Function Across Multiple Components?

Aug 20, 2011

I have created a custom component that I am using, more conveniently, as a SkinnablePopUpContainer and I want to use the same function that calls and receives data from it for several Buttons in the UI. What is the best way to achieve this without having to create a new function for each button?

<fx:Script>
<![CDATA[
import spark.events.PopUpEvent;

[Code]....

View 2 Replies

ActionScript 3.0 :: Reset The Display By The Means To Start The Motion All Over Again (reset Button)

Jul 13, 2010

Just new in forum and just new in as3 programming. All i want to do is to make some physics simulations (i'm physics teacher...). So i made my first sim with the following code, just to simulate a simple motion with constant velocity. It works ok, except the part i need to reset the display by the means to start the motion all over again (reset button). Then the motion starts but the traces of the previous motion remains on stage. I tried the null command (sp=null) but the sim could not start again because the sp nedded to be non-null...

[CODE]...

View 2 Replies

ActionScript 1/2 :: Make A Reset Button And Add Script To It To Reset All Of The Drag And Drop Movie Clips?

Apr 13, 2011

I have an issue with adding a reset button to my drag and drop movie clips.The problem is, if a student drags a movie clip to a wrong location on the SWF file I want them to be able to hit a reset button that would take them the same SWF that they opened and what would showup would a clear page for them to restart their drag and drop exercise.I know how to make the button for this just want the proper action script to be able for user to start over with no movie clip symbols on the page.

View 3 Replies

Create A Progress Bar (248px Wide) With A Slider That Moves According To The Movie Progress

Jun 4, 2010

I have an SWF movie (1375 frames) and created a progress bar (248px wide) with a slider that moves according to the movie progress. I'm doing that next way:Calculating the distance for the slider to be moved each frame (248 / 1375) On each ENTER_FRAME moving the slider for the calculated distance The problem is - the movie ends far before the slider reaches the end of the progress bar.

I'm thinking that the distance (Step 1) is is somehow ends floored by Flash and the actual distance it moves the slider is smaller than required. That's why the movie ends, but the timeline control just passed the 2/3 of its way. My question is - is there any solution for the problem? Or any other way to go, if it's a wrong one?

View 2 Replies

Flex :: Reset/reload A Flex Application Without Refreshing The HTML Page Or Reloading The SWF File?

Jan 12, 2011

I have a flex application that has a home button. I need to reset the application when this button is clicked. I can't use navigateToURL or ExternalInterface.call("window.location.reload"); as its not acceptable to reload the swf file.

View 5 Replies

ActionScript 3.0 :: Bg.reset() Can Only Find Reset Used For Timers?

Dec 28, 2010

reset in google yields only its use for timers.However I have code bg.reset() which I suppose puts the background back to the beginning of its timeline.

View 3 Replies

Flex :: Air - Reset The HTML Control's History

Aug 26, 2010

I am using the flex HTML component and I would like to clear the history of the control when it is taken off screen, so that when it comes back on again the history is reset.

The only thing I can think of at the moment is to set the HTML control to a new HTML control, although this is a bit of a pain.

View 1 Replies

Flex Progress Bar Setup

Jul 15, 2010

I am trying to make a progress bar to show the my application loading status. I google a lot but it only shows how to use progress bar for elements (ex: images, datagrid). I need to know the progress bar setup for the entire application.

View 1 Replies

Flex :: Flash Builder 4 Include All Classes Being Reset?

Jul 11, 2011

When building a Flex library project in Flash Builder 4, setting the Include all Classes flag in the library properties tells the compiler to include all compiled classes into the resulting SWC file. Sometimes this flag gets reset or ignored. The .flexLibProperties file looks like this:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<flexLibProperties includeAllClasses="true" version="1">
<includeClasses/>

[code].....

View 1 Replies

Flex :: PHP Reset DataGrid Records From WebService Results

Aug 8, 2011

I'm using Flex 4.5 with PHP Zend webservice framework. Basically, I have 2 DataGrids that can drag and drop between each other. At the initializing of the component, I call a webservice to populate the top DataGrid. Then the user can drag rows to the bottom DataGrid that get processed and saved later on. My problem is that I want to have a reset button (or cancel button), that will take the user to a new component in the ViewStack, and if they return to the component with the DataGrids, the top DataGrid has the original records and the bottom DataGrid is empty.

I just can't figure out a good way to repopulate the top DataGrid. I can clear it, but it doesn't seem to refresh with the original data. I've tried unsuccessfully to call the webservice again and set the dataprovider to the new lastResult token. I've also tried unsuccessfully to copy the results of the initial webservice call to an ArrayCollection and simply set a Bindable variable to that ArrayCollection (or a backup of that ArrayCollection holding original records).

<?xml version="1.0" encoding="utf-8"?>
<s:NavigatorContent xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:valueObjects="valueObjects.*"
[Code] .....

View 1 Replies

Actionscript :: Flex - Reset IdleCounter For Mouse Scroll?

Dec 23, 2011

I am using the FlexEvent.IDLE event to track if the user is idle for more than 5 min. If so, the user will be loggeg out. I am also calling a popup in my application which has a scrollable data grid. When I scroll my data grid for more than 5 min , the IDLE event is triggered, which means if I am not moving my mouse and simply using the scroll, the idleCounter goes on increasing. How to reset the idleCounter on mouse scroll?

View 1 Replies

Flex :: Create Progress Bar On Top Of Google Map?

Oct 26, 2009

How do I create a progress bar on top of google map in flex/as3? I tried to ask google maps API for flash, but no answer... May be some of you have done this already.

View 1 Replies

Flex :: Progress Bar Move On Mic Activitylevel?

Jan 3, 2011

Can any one indicata me a small piece of code for making this progress bar move on mic activitylevel. When spoken on the microphone the progressbar should indicate it.Also which works on internet explorer

[Code]...

View 1 Replies

Flex :: Error While Setting Value Of Progress Bar

Mar 1, 2011

I want to set value of a progress bar in an accordion but I am encountering 'setProgress is not a function' error. If I move the progress bar out of the Accordion then the error goes away and the progress bar appears fine. I want to set the progress bar eventually to {repMonitor.currentItem.threatLevel} but for now I am just testing with hypothetical threat value i.e 60

<mx:Accordion id="monAccordian" includeIn="Monitoring" x="10" y="10" width="554" height="242" change="monAccordianChange()" >
<mx:Repeater id="repMonitor" dataProvider="{monitoringArray}">
<mx:Canvas width="100%" height="100%" label="{repMonitor.currentItem.firstName+' '+ repMonitor.currentItem.lastName}" >
<mx:Image x="10" y="10" source="{repMonitor.currentItem.imageName}" width="175" height="118"/>
<s:Label x="200" y="14" text="Threat Level:"/>
<mx:ProgressBar x="200" y="30" mode="manual" label="" id="bar" width="200" creationComplete="bar.setProgress(60,100);" />
</mx:Canvas></mx:Repeater></mx:Accordion>

View 1 Replies

Flex :: Make A Circular Progress Bar?

Jul 12, 2011

I am a beginner in Flex. For my appln, I wanted to have the progress bar, but not the default that Flex Framework provides.

I wanted to have a circular loading "progressbar" that would move in circular fashion before completing one complete revolution to 100%.

Can I do that in Flex 3 ? If yes, how ?

View 5 Replies

Flex :: Loading Module With Progress Bar?

Aug 16, 2011

My application has a couple of modules which am loading as thus in my application.

<local:moduleloader url="Module1.swf" id="modulel" />
<local:moduleloader url="Module2.swf" id="module2" />

Then while loading each module I am showing the progress bar. The progress bar shows but does not go away. It remains above the whole frame of the application. The module loader is as follows:(Also note that in Flex 3 the same works, but am using Flex 4 and in Fx 4 it does not)

<mx:ModuleLoader xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"

[code].....

View 2 Replies

Actionscript 3 :: Flex Reset Chart Axis Minimum / Maximum

Nov 11, 2009

I am showing a stacked bar chart with Flex, and I am dynamically changing the data of the dataprovider. However, the minimum and maximum for the y-axis do not get reset with the new data. So if one dataset had a value of -100,000, but the next dataset has only positive values, the y-axis still starts at -100,000. How can I force the chart to redraw. I tried myChart.validateNow(), dataprovider.refresh(), etc.

[Code]...

View 3 Replies

Flex :: Clear Or Reset The Preferences For Adobe Flash Builder?

Jan 17, 2011

I am using Flash builder 4 to both build and manage (via cvs) projects. In recent days my designer has been having trouble committing to CVS, leaving a project blocked. I have troubleshooted troubleshot tested CVS and it is working fine (others can commit and retrieve without a hitch).

in an effort to start from scratch - I have removed the flash builder application (dragging it to the trash, its a Mac) as well as using the uninstaller (which does not work as well as I would have thought), but on reinstall - all preferences are still there - CVS connection and all.

is there a file or set of files I can delete to reset all of the prefs for Flash Builder (built on eclipse if that helps)?

View 1 Replies

Flex :: Progress Bar Controlled By Forum Entry

Jul 9, 2009

I have five text boxes and a dropdown box in my flex application, how can I make the progress bar fill up when there is text in each box, and the dropdown selected. For example, if there is input in three out of five of the boxes and there is a selection in the dropdown, then the progress bar would be 4/6 full.

View 1 Replies

Flex :: Multiple Upload Progress Monitoring?

Sep 20, 2009

I have a Flex3 application which has to be capable of uploading multiple files and monitoring each files individual progress using a label NOT a progress bar.

My problem is that a generic progress handler for the uploads has no way (that I know of) of indicating WHICH upload it is that is progressing. I know that a file name is available to check but in the case of this app the file name might be the same for multiple uploads.

My question: With a generic progress handler how does one differentiate between 2 multiple uploads with the same file name?

View 3 Replies

Flex :: Monitoring Progress Of Loading Images?

Dec 23, 2009

I am attempting to monitor the progress of an image scroller I've built and all of the images (thumbs) load separately. What would be the best way of figuring out what the total progress of the images that are loading? I was thinking it would be cool to use a generic loader and apply it to a function such as
myScroller.loadImages();

View 3 Replies

Flex :: Generating Progress Bar For Images Upload

Feb 15, 2010

I am a novice to flex and I am trying to develop an application for uploading multiple image file along with progressbar for each upload. The datagrid holds the name of the file and the progressbar for each file when we select and add a file. When there is progress in file upload, it should be reflected in the progressbar as well. I have used filerefencelist to hold the collection of files and when i try to upload files it generates error "Null object"

My code :
private var initDG : ArrayCollection;
private var _arrUploadFiles:Array = new Array();
private var currentFile:FileReference;
private var currentFileIndex:Number = 0;
private var uploadErrors:Array = new Array();
[Code] .....

View 2 Replies

Flex :: Adobe Air Upload Progress Without FileReference?

Apr 5, 2010

I'm deploying a small application with Adobe Air. My application will do batch upload from filepath which stored in a text file. For example, in a text file name "list.txt", there is a string "C:myfilesIMG_0001.JPG". Now I want to upload this image file, keep tracking of upload progress :-< I want to use FileReference to get the upload progress, but I don't know how to import from file's path. I also wonder how to use FileReference to upload this file without prompting a dialog for user to select file.

View 1 Replies

Actionscript 3 :: Flex Remoting And Progress Events?

Apr 11, 2010

Is there a way to monitor the loading progress (percent progress bar style) when using Flex remoting?I'm trying out Flash Builder 4 with it's new data services features, but I can't find any pgrogress event stuff somewhere. This article by Robert Taylor URL... indicates that it might not be possible...

View 1 Replies

Flex :: Get The Progress Event More Consistently Through The Upload?

Sep 21, 2010

I am uploading a file to a server using a multipart URLLoader. I am able to upload the file fine. I have tried to listen to the progress event on the URLLoader but it only fires at the very end of the upload. How do I get the progress event more consistently through the upload?

View 1 Replies

Actionscript :: Dynamically Fill A Progress Bar In Flex?

Feb 9, 2011

I want to create a progress bar of which a % of it is filled in with a different color based on some variable. For example 33 % would fill 33 % of the progress bar with a different color and then 40 % would likewise, fill 40 % of it. What is the best way to do this in Actionscript and Flex 3?

View 2 Replies







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