Flex :: While Loading Data Make All The Components Disabled In Adobe
Sep 27, 2010
I have a vertical tab-bar with 4 items with different sub tabs. All the four items use data from a single xml file, which is a big file. When the user clicks on a tab, while the data is being loaded this error is shown. TypeError: Error #1009: Cannot access a property or method of a null object reference. I want to disable all the tabs while the xml file is being loaded.
View 3 Replies
Similar Posts:
Oct 27, 2011
In my flex application, my custom class AudLogDataGrid has a renderer function that takes a list of data and filters it, before passing it to the renderer:
private function rendererFunction(item:Object, grid:Object):ClassFactory {
var itemRenderer:ClassFactory = new ClassFactory(AudActionDropDownIR);
var FilteredAudActionData:ArrayCollection = new ArrayCollection(AudActionData.toArray());
[Code].....
However, rendererFunction runs before the data is fully retrieve from the server! Is there any way to get around this without declaring the AudLogDataGrid in AS?
View 1 Replies
Apr 22, 2011
I have an application which displays employee information. If the user opening the detailed employee information page is not authorized to make changes I set the TextInput to disabled. Some users are reporting rendering issues with this. The TextInput's text value does not appear inside the box but is misaligned and is outside of the component. You can see the screenshow below of the disabled ID column where the numbers which are supposed to be in the TextInput box are far off to the right.
[Code]...
View 1 Replies
Feb 20, 2009
why are the components in my FLA disabled? nothing happens when i click on them.
if you cant open the attachments, change thier extensions from .zip to .rar
View 1 Replies
Apr 4, 2007
This is the code i got and you can see the attached output, but i still got a problem, like after the user has selected one of the radioButtons and clicked submit button i want all the components even the submit button to be disabled so that he won't click around until he gets the rite answer. How can i add this fucntionality to ma code below:
[Code]...
View 6 Replies
Sep 27, 2010
I have a Flash 'application' that is all on one frame and has about 2000 lines of AS 2 code. Works fine if it's all in Frame 1, but when I move everything (that's every layer and all the code) to Frame 3, for example, my menu bar component (which gets its data from xml files) doesn't load the data. I want to be able to do this so as to put a pre-loader on Frame 1 which would jump to Frame 3 when the SWF has fully loaded.
View 2 Replies
Dec 15, 2011
I am trying to override the text setter in the Label component but it behaves weirdly sometime super.text works and sometimes not! and the traces show that there's no error with my code.
here's my code:
import spark.components.Label;
public class LabelXX extends Label
{
private var _initialText:String;
[Code]....
View 1 Replies
Jul 9, 2009
I have a Flex application that I'm working on for a new job. It's sort of a training wheels application -- I'm learning the language, and this isn't an app that needs to talk to a service in order to do its job. There are a few instances of combo boxes throughout the application that share the same set of possible values (say, a selection of states: "In Progress", "Rejected", "Complete") that I want to have use the same data source.
What is the best way to manage this?
View 2 Replies
May 13, 2010
i have in my flex application various mxml components that all need to show stats based on the same data. how can i go about doing that? do i need some mvc framework like cairngrom or puremvc for that or can i do it without them?
View 4 Replies
Mar 25, 2011
I have an sqlite db in an application and am stuck on how to pass the data that is retrieved from the db into multiple textboxes. I can get the first selection passed into the components just fine, but my problem comes in when I try to pass a second data selection into a different textbox while keeping the data from the previous selection the same in the first textbox.Basically, the user selects a recipe and that recipe is passed into textbox 1 Then another recipe is selected and that recipe is passed into textbox 2. *The recipes are selected from a different view, if that adds anything to the problem. After being selected, the view is returned to where the textboxes are.I'm not looking for someone to code this for me, but rather on how I would do it. I should be able to do that. =)My Text Components
<s:Group id="group1" x="412" y="156" width="200" height="206" contentBackgroundAlpha="1.0" >
<s:TextInput id="tText1" x="22" y="30" width="157" height="25" fontSize="12"
text="{data.kTitle}"/>
[code].....
View 1 Replies
Apr 25, 2011
I need to create a slideshow using data received from another view.I'm calling the slideshow's view like this:
<s:List id = "list" dataProvider = "{actions}"
change = "navigator.pushView (DetailsProduct, list.selectedItem) ">
<s:itemRenderer>
[code].....
View 1 Replies
Jul 27, 2009
I'm trying to make a loading bar with Adobe Flash CS4, and have completed all the graphics and labeled them with their appropriate instance names. My problem is that I am completely new to Flash, and have limited knowledge with respect to writing action codes. My plan is to get my loading bar to be never-ending, so that it counts up from 1-99%, then keeps going to 99.01, 99.02, 99.03...etc, never getting to 100%. And then when it reaches 99.99%, it just loops back to the start. Here is a screenshot of my template with the necessary instance names indicated:
I also didn't attach any .swf or .fla file for the script to actually load. So the ofBytes_txt and totalBytes_txt would have to be purely fictional. As as a result, the green loading bar graphic would load relative to ofBytes_txt divided by totalBytes_txt.
View 0 Replies
Apr 14, 2010
I usually write something like this:
<mx:VBox height="100%" width="155">
<mx:Button label="b1" width="100%"/>
<mx:Buttonlabel="b2" width="100%"/>
[code].....
View 1 Replies
Aug 2, 2008
I'm making a VERY basic Jeopardy game, and I need buttons to be disabled after being clicked on once.
Oh, and I'm working in CS3, but I'm using AS 1&2 because that's what I learned... I have no idea how to use AS 3...
example: frame 1 has btn11 in it. btn11 when clicked takes the person to frame 2. when done with frame 2, they click on return.
the return button (btnReturn1) has the following AS
on (release) {
gotoAndStop ("Round1",1)
btn11.enabled=false;
}
the problem is that it works at first - the button disables when I get back to frame 1, but the next time I click a different button then return to frame 1, the first button I disabled isn't disabled anymore.
my actionscript so that my disabled buttons stay that way no matter how many times I come and go from the frame? or if you have a better way to do it, that'd be great. basically, it's like the jeopardy screen, and after "songs" for 200 is clicked, I don't want it to be clickable again at all.
View 1 Replies
Dec 29, 2009
How can I make sure all the components, even those that are not going to be visible at the beginning, load right away when I start my application?I have an application with a ViewStack whose visible child is set via a sidebar menu. Say the ViewStack has two children, A and B. A is initially visible, whereas B is not. How can I make sure they both load at the beginning, so that when I change to B I don't have to wait for it to load?
View 1 Replies
Nov 8, 2009
I'd like to make a series of components into a solid, consistently repeatable object. For example, suppose I have a "notification" template that I want to add to a notifications area every time something new happens. This template includes an icon (Image), text (label), and some space between these two things.
I want to take a template like that and make it so I can invoke it with a function like add_notification("icon", "text"). How would I go about doing that?
View 1 Replies
Nov 12, 2010
I am building an offline [URL] application in Adobe Flex. Can we use [URL] Rich Text Area fields in the offline application? I do not see the field returned in a query.
View 2 Replies
Nov 12, 2011
I am using an component, and currently have a dataProvider working that is anArrayCollection (have a separate question about how to make this an XML file... but I digress).Variable declaration looks like this:
[Bindable]
private var _dpImageList : ArrayCollection = new ArrayCollection([
{"location" : "path/to/image1.jpg"},
[code]....
View 4 Replies
Oct 23, 2009
I have a professional license of Flex 3.3. This allows me to create applications using the data visualization components (charts) without watermarks. However, all of release builds (test, production, etc) occur on our build server.
The build server only has the Flex SDK installed (not full Flex Builder). As a result the SWFs compiled with this SDK contain watermarks on all the charts. How can I apply a Flex Builder Professional license to the build server to remove the watermakrs w/o installing Flex Builder?My build environment is Flex SDK 3.3 + CruiseControl.NET + NAnt.
View 3 Replies
Mar 30, 2011
Ive read a ton of online tutorials about this and cant seem to get a definite answer...
View1.mxml
navigator.pushView(views.view2, {response:"BLAH"});
View2.mxml
[code].....
View 2 Replies
May 26, 2009
How can I make a global varaible ArrayCollection that I can call from differint classes/components in flex?
View 1 Replies
Jun 4, 2009
I am a new flex developer.I would like to know about the LCDS. What it does?How to configure it?Do I need to know Java? Can I get some sort of tutorial pdf for it? I have it on my system. I need to know about it.
View 4 Replies
Sep 24, 2006
I would like to ask, if there exists any code, which would make a function disabled onMouseWheel?
View 6 Replies
Jul 5, 2010
I want to write some data stored in a string variable into a text(txt) file.
View 4 Replies
Mar 10, 2011
As I know. Flex/AS is single threaded.I want to write an application that talking to server side, also display the data streamed from server.Since Flex is single threaded. I am not sure how could I do this.Better not involve something like "implement your own multi-thread model"
View 1 Replies
Feb 24, 2012
I need to delete all the application data directories on the exit of an application:
/data/data/air.<appID>/cache/.AIR
/data/data/air.<appID>/cache/webviewCache
/data/data/air.<appID>/databases
But I get each time the "directory not found error"
This is from my application descriptor:
<id>test01</id>
<filename>test01</filename>
<name>test01</name>
I know also this is not a best practice, but for security reasons I need to delete all the stagewebview cache and autofill form data.
View 3 Replies
Aug 22, 2010
Do you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.
View 1 Replies
Nov 25, 2010
was going through the free trainings offered by them. The trainings were good but what surpried me that even though the videos are Flash based, they are not stored in the browser's cachewhich also uses Flash for videos, where the videos are stored temporarily in the browser's cache, this was not in this case. The following is the link for one of the video training which I played on my computer but I was unable to find any trace of it on my local hard-drive:I guess, if the videos are played, then there must be some temporary storage allocated in the hard drive. There are two questions I would like to ask:
View 8 Replies
Apr 8, 2011
I have a Flex Spark Button that I've changed the background to a dark color using
s|Button {
color: #66ffff;
chromeColor: #333333;
[code]....
View 2 Replies
Sep 8, 2009
I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....
[Code]...
View 1 Replies