Flash - Flex3 - Builder (Flex) - Hide UI Element?
Dec 12, 2010
how can I hide an element in Flash Builder? I can do visible=false but the element is still there (other buttons are not centered). I'm looking for display:none style property.
<mx:HBox horizontalAlign="center">
<mx:Button id="publishButton" label="Start" />
<mx:Button label="Stop" visible="false" />
</mx:HBox>
View 1 Replies
Similar Posts:
Jun 1, 2011
I need to run some code when a panel is destroyed. The code is simple, I have some Background tasks while it is opened, but need to stop them when closed.
I have a Close button for the panel, and I stop the BG Tasks when the user wants to close the panel, the problem is that they have access to a top menu bar too and can jump to another application module/part throught it, so, the user can exit the panel (when exiting, the panel is automatically destroyed) but the panel close event code is not executed because the close button was not pressed.
One solution could be to inherit from panel and add a post step method that is called when swapping modules, etc... So, if the user wants to move to another place through the menu bar, my system will first call sometihng like PreEnd() method on the panel and everything will be solved. But, is there any event that I could catch from the panel when it is destroyed to accomplish this? I have been checking the documentation but couldn't find anything useful to achieve what I explain.
View 1 Replies
Mar 29, 2012
Is it possible to show or hide a comboBox based off the selection made in another comboBox. I have been looking for documentation on this to no avail.
View 2 Replies
May 9, 2010
I have a website which I am setting up. However, I want the first page (Home) not to have any sub menu. When I change the value of true to false all the other pages where I want the drop down to appear also disappear.I want other pages to have sub menu but not the home page. I have tried to change the xml path etc, but nothing seems to wor am new to xml and finding this very challenging.I have uploaded the config.xml and the layout xml's. I have also placed the index.htm and js script therelso me understand from where it is reading the config.xml.UPDATE:I checked the SWF and yes the it is pointing to the config file. What I still dont understand is that how can i remove the sub-menu from home while keeping it for other pages.
View 1 Replies
Apr 7, 2011
When writing code sometimes those red error icons pop up on the left side. Most of the time they are on point, but sometimes they are wrong. How can I hide them.
View 2 Replies
Nov 25, 2010
I am extending TextField to create my own implementation of it, and there are some properties & methods I would like to simply remove from use, eg:
override public function setTextFormat(format:TextFormat,[...]):void{}
I would like now to hide setTextFormat from code hinting, so when, in some other class, I type:
var t:MyTextField = new MyTextField;
t.set
And hit ctrl+space I only see setPropertyIsEnumerable(...) and setSelection(...), no trace of setTextFormat(...). But no matter what I do it still appears, I tried @private metatag in asdoc, as well as some made-up (like @remove, @disable, @ignore, @deprecated). Using [Exlude] doesn't work either as, afaik, it works only with mxml. Is there some way to actually accomplish this task? Or am I forever left with useless and redundant code? Some plugin maybe? (I know I can just leave it as is and don't double methods, but, nevertheless, I'd rather have it my way)
View 1 Replies
Nov 7, 2010
In a Flex Project, whenever there's an error, I fill in the error data into a hidden TextInput then show the control to the user. I want to make it so that after showing the TextInput, it will automatically hide itself after some time with a fade effect.
View 1 Replies
Apr 21, 2010
Does anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?
Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.
View 1 Replies
Oct 6, 2009
I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex Builder 3 did not. Is there an easy way to get all my projects back into Flash Builder 4?
View 2 Replies
Apr 16, 2010
In the .NET world order, companies like Telerik provide awesome sets of components for web/windows/silverlight. Who are the equivalents in the Flex/Flash universe? I see lots of sites filled with little 10/20 dollar menu components or uploaders, but I'm really looking to find something a step above that.
View 1 Replies
Jun 27, 2011
I have an AIR project that I was working on Flash Builder 4.5 which now I'm trying to import to my updated Flash Builder 4.5.1 and it is prompting me to fix some paths before the import is completed. I'm kinda clueless what I should put in those fields.
[URL]
The project access a web server to retrieve data using JSON.
View 2 Replies
Nov 28, 2011
I am trying to migrate a project from Flash Builder 4.0 to Flash Builder 4.5. After Flash Builder prompts me to choose my new SDK, I choose 4.5, Then I get the following error:" error "The required skin state 'disabledWithPrompt' is missing".
View 1 Replies
Aug 21, 2009
I'm getting occasional ConcurrencyError faults when using HTTPService in Flex 3. I have four HTTPService objects, all configured with concurrency=single. I'm not sure though how to continue to diagnose, as I don't see in the FaultEvent what service object caused the issue, and I can't easily reproduce it on-demand.
One feature of my app is that I am also using a URLRequest to load a sound shortly after receiving a result from one of the HTTPService calls. Could this be related to the concurrency error?
The fault looks like this:
[FaultEvent fault=[RPC Fault faultString="Attempt to invoke while another call is pending. Either change concurrency options or avoid multiple calls." faultCode="ConcurrencyError" faultDetail="null"] messageId=null type="fault" bubbles=false cancelable=true eventPhase=2]
View 1 Replies
Jun 9, 2009
After upgrading the Flex SDK from 3.1 to any newer version of the SDK and trying to compile an existing project, the following error appears in the Problems pane:
Description: { expected Resource: (shows project name, not a specific file) Location: line 15
Any ideas how to solve this or where to start the bug hunt?
It looks like the problem is in the ...sdks/3.3.0/frameworks/libs/player/10/playerglobal.swc file, but I'm certainly not sure.
View 4 Replies
Jul 5, 2010
I have a datagrid which has id="myGrid" in my application, from it I call a component. Now from the component I can call parentDocument.myGrid.selectedIndex = 0; and it works fine.But I want to make the component reusable, and I would like to pass the ID to the component each time, so myGrid will change, how to properly send the ID to the component, and use it in the component?
View 2 Replies
Apr 12, 2011
My flex application generates individual pdf documents based on individual selection criterion,but i need to merge those generated pdfs or is it possible to store individual pdfs temporarily then merge those into single pdf?
View 2 Replies
Apr 15, 2011
I want to create flex application by which i can verify user age i have use following code can u tell me why i cant see mx component "dialogtitle","dialogcontent""dialogbutton"
<?xml version="1.0" encoding="UTF-8"?>
<mx:VBox creationComplete="{initComponent();}" height="219" width="560" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:components="components.*" xmlns:local="*">
[code].....
View 1 Replies
May 24, 2011
I have a modal Flex dialog and want to make the background not of the window itself, but the semitransparent modal indicator transparent. (Yes I tried to convince the client they don't want to do this, but apparently they really want to do it). Is this even possible?(prefer a solution using Flex 3's TitleWindow, but Spark/Flex 4 TitleWindow is acceptable)
View 3 Replies
May 10, 2010
I have flash where there is a link for song download. And, at the bottom of the flash I've a count, loaded thorugh flash vars which should increment everytime donload button is hit. Please let me know what approach should i take to do that. can i call a Java method on donload button which will insert a row in the table and and then get the count and render it to the count variable in my flash?
May be this extremely confusing. Here is a very similar example on how it is done. This is actually very similar to what i want to do. [URL] on this link there is count below which increments you hit the download button.
View 1 Replies
May 25, 2010
When setting up a source control repository for a Flex Builder workspace, what do you consider to be worth checking in? Do you exclude the workspace .metadata folder but keep the .project and other project specific files? Keep both? Throw away both? Is there a guideline you use to decide which is worth holding onto or do you do it out of practical experience?
View 2 Replies
Mar 20, 2010
I have an area graph and I'm looking to have the data points to be shown. I have a CircleItemRenderer, but this shows all of the datapoints in the default stroke and fill. 1) How do I customize the display of my CircleItemRenderer? (instead of it having an orange fill, how can I change the color?
2) How can I decide to show the node for specific data points but not for others? For example, in my .XML file that imports the data for the graph, I may have a variable show_data_point which is true or false.
[Code]...
View 1 Replies
Jul 27, 2011
I have a problem with inline components. I want to reach an inline component from another one.. From the first component, i want to change "enable" value of the linkbutton named "Add" which is in second component. Altough i gave "id" and "className" to second one, i could reach neither it nor its elements.. is there a way to do this?
*in first component there is a text input in "CodedDescriptionItemEditor" component. I want to validate it and according to validation enable the button that i mentioned above..These all are in a datagrid by the way. In datagrid, there is always a row that you can enter data and via the "Add" button you can save it. After save it seems as text..
Here is my code:
<mx:columns>
<mx:DataGridColumn headerText="{Problem}" wordWrap="true" textAlign="left" sortable="false">
<mx:itemRenderer>
[code]....
View 2 Replies
Apr 7, 2010
I have a flex grid where I have the verticalScrollPolicy="auto".But every time when the scrollbar appears all the columns get pushed to the left, making the columns not align as they should. I tried setting minWidth on all the columns to prevent this,
View 1 Replies
Aug 19, 2010
We are migrating our Flex-3.2 application to Flex 4.1, mainly to take advantage of the new text flow/engine features. In a first step we decided to go with compiling for MX-only and in Flex-3-compatibility mode.
[code]....
Now do the same in Flex 3 and you'll see both events fire.Apparently, this is a bug. Might be possible to work around this but certainly decreases my level or trust substantially.2) Dialogs/popups show all content mirrored.A bug as well. Easy to work around, but how could something that obvious slip?
View 1 Replies
Jul 31, 2009
From a video on AdobeTV, I tried to play with example empWeb (LiveCycle Data Services).In Flex Builder 3 (FB3) everything works fine. When I tried this on Flash Builder 4.0 Beta (FB4) it doesn't work. When I replaced original xmlns declarations (2009, spark, halo)with declarations from FB3 (2006) it works. Could you explain why?I'm using the default SDKs (Flex 3.2 for FB3 and Flex 4.0 for FB4). I investigated this (please see 3 source code examples). Source #1 works OK in FB3 and FB4, Source #2 gives a FB4 compilation error message: [code]
View 1 Replies
Feb 16, 2011
I have a Flex module created in Flash Builder 4 as a swf file. I am trying to load and run in within a Flash application. I can get the module loaded but I can not get the flash application to access any module functions. Here is how I load the module in Flash and the error I get. If I change the module to an application type swf then it loads and runs but now I have two applications on top of each other. I would like the loaded module swf to be able to have access the Flash stage object.
ReferenceError: Error #1069: Property application not found on MyModule__mx_core_FlexModuleFactory and there is no default value.
var loader:Loader = new Loader();
[code].....
View 1 Replies
Mar 15, 2010
[code]This code is drawing a colum chart with two columns and drawing a line across the top of both columns. I have two requirements: the line need to be dashed as of now the line starts from top right corner of the first column to the same corner of the second column. How can i shift the line to the left, so that it starts from center of first column to center of second column.
View 3 Replies
Apr 19, 2010
In Flex3, I could compile pure as3 code and use "embed" tags to load in images. This was done by Flex making a BitmapAsset class.I can still do this in Flex4.
However, there was a trick to fakeout flex3 and use my own mx.core.BitmapAsset class to remove some of the extraneous stuff Flex's BitmapAsset brings in with it. This is described here: [URL]..Unfortunately, I cannot get these tricks to work with Flex4 and get smaller file sizes. I end up with the error "VerifyError: Error #1014: Class mx.core::BitmapAsset could not be found."[URL]..Following this advice, I add -static-link-runtime-shared-libraries=true, and my swf loads without an error... but this means I am loading in the pieces of the flex framework I wanted to omit (and the file size says so too).
Is there a better way to fake out flex4 when it comes to using Embed?
View 2 Replies
Mar 1, 2010
Is there a way to export Table data to a MIME Resource(Flex3 component) from Web Dynpro?
I have a flex3 component(US heat Map) which accepts a arrayCollection (state and value pairs). I need to create a webdynpro wrapper for this to use in Visual Composer 7.2.
What I am trying to do is migrate the flex components I made for Visual Composer 7.0 (using a VCXL wrapper) to Visual Composer 7.2 using web Dynpro. I have managed to migrate components which require simple input data types like integer or string, but I am stuck at those which require complex structures like an array collection.
View 1 Replies
Jun 14, 2010
I just got CS5 master suite which includes Flash Builder 4 and Flash CS5 Pro. When I create a new AIR app in CS5 pro it says "AIR 2" but when I create a new AIR project in Flash Builder I do not see anything indicating that it is AIR 2 or 1.5?
Is there a way to tell which AIR runtime it is using?
View 2 Replies