When the Flex SDK converts MXML to actionscript it generates a lot of databinding code. Sometimes, however, I don't want to bind a variable, for example if I know the variable will not change.
I can't seem to find a work around in Flex to disable the autogenerated databinding.
Also, I was hoping this might also help with some of the...
I created a new Flex 4 project, and used Video display component and source was set to a file in src folder. It works fine in my computer. But not showing the video in any other computer.
Any ideas ?.
...
Hello.
I'm creating a facebook application in flex.
I'm actually working on the friends component that shows your friends who are using the application. now, each friend has a profile image.
I created the component using a s:List element.
In the Skin Class of the element i configured the requestedColumnCount to 3, which means it shows...
after reading
http://livedocs.adobe.com/labs/textlayout/flashx/textLayout/edit/TextScrap.html
flashx.textLayout.edit.TextScrap should have a public [read-only] property textFlow
but it is protected in flex_sdk_4.1.0.16076...
does anybody know how to access a pasted TextFlow?
Clipboard.generalClipboard.getData("TEXT_LAYOUT_MARKUP")...
After I drag and drop a label(or other UIComponent) in a container, i want to double click the label to show me an alert. well it doesn't work.
i've tried in the dragCompleteHandler to put event.dragIntiator.addEventListener or event.currentTargetaddEventListner but it doesn't work. Also i enabled the DoubleClickEnabler and still nothin...
Hi,
Using Flex 4 / Air 2.0.3
Is it possible to get the active directory domain name associated with the logged on user?
This page (http://stackoverflow.com/questions/1376/get-the-current-logged-in-os-user-in-adobe-air) shows the user name can be inferred from the user directory folder name, however is there a way to get the domain nam...
I recently upgraded a Flex 3 project to Flex 4 "MX Only" and prior to the upgrade, I had some rotated text which now does not render. I have embedded the font ("Verdana") within my CSS Stylesheet using the following declaration:
/* CSS file */
@namespace mx "library://ns.adobe.com/flex/mx";
@font-face
{
fontFamily: Verdana;
sr...
Hello Flexperts,
I have a DropDownList inside the itemEditor of my DataGrid. There are enough items in the DropDownList to justify scrollbars. You can see the scrollbars, and the mousewheel works fine. If you move the mouse over the scrollbars, they'll change appearance fine (mouseover is working). If you click on them, the DropDown...
Hi:
This is my code:
public function setPaneContent(names : Array, parent : AbstractPane) : void {
//....
okButton.addEventListener(MouseEvent.CLICK, function okMouseClickHandler(e : Event) : void {
parent.addNewPane(valuesPane, parent);
PopUpManager.removePopUp(/*need to put "this"*/);
...
How do you set the default value of skinClass for a custom component in Flex? I've extended the DropDownList with my custom component, but I would like to specify a default skin to go with it instead of always setting the skinClass value for each instance.
...
Hey all,
Can anyone see whats wrong with either the code to grab the XML or the XML file itself? It looks well formed to me and I don't see the cause of the error:
A TypeError has occured:
TypeError: Error #1088: The markup in the document following the root element must be well-formed.
var file:String = 'config.xml';
var...
Hello,
I would like to right align an icon on a button or tabbarbutton and keep the text left aligned in Flex 4.0 Spark.
So far, I've come up with something like the following in my custom skin:
<s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label id="labelDisplay"
textAlign="left"
maxDis...
I'm having an issue where certain controls are flipped, depending on the machine that I'm building my project on. On my development machine, when I build it, everything is okay. However, when I build it on our build server, some things are flipped. It seems to be things that are on a higher layer - for instance, options in the select con...
I am interested in understanding how to run a Flex-3 SWF inside a Flex-4 SWF.
My Flex-4 host app looks like this:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="...
hi,everybody.
my english is not so good,but i still hope someone can help me.
when i was try to visit my webservice from .net ,the flex4 has show this error:
"Cannot resolve element definition for ref 'http://www.w3.org/2001/XMLSchema::schema'"
and i can't find out the problem.
I'm upset for several days.
here is a link,it's close...
I am using this API with Flex4 with Windows7 operating system.
I am able to login and also to get the list of my blogs.
but when I tried to post any new post on my blog.
bloggerService.publishBlogPost(blog, post);
I am getting following IOError:
[Line 1, Column 124, element content] Malformed MIME type.
I am unable to find what's go...
Hi!
There is my scenario:
I have a BorderContainer that is contained by a Scroller.
Question :
How can i make my BorderContainer to listen for Scroler events?
e.g. When i scroll down or up, or right or left, i want to change my BorderContainer's cordinates(x, y).
Thank you!
...
Hi!
Here is my code:
var x : int = 50;
var group : RadioButtonGroup = new RadioButtonGroup();
for (var i : int = 0; i < 5; i++) {
var rb : RadioButton = new RadioButton();
rb.id = i.toString();
rb.group = group;
rb.label = i.toString();
...
In my application build on Flex 3.2 SDK I am calling a swf of
Application built in Flex 4 SDK. and I am using Local connection to
transfer data to and fro from that swf.
When I am building my flex 3 application using Flex Buulder then
everthing works fine. i.e. The swf generrated runs fine and also
loads(using swf loader) the Flex 4 swf...
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.
Thanks to some helpful resources (
http://www.adobe.com/devnet/flex/articles/flexbuilder3_to_flashbuilder4.html
http://stack...