I am trying to write something in my Flex 3 application with actionscript that will take an image and when a user clicks a button, it will strip out all the white(ish) pixels and convert them to transparent, I say white(ish) because I have tried exactly white, but I get a lot of artifacts around the edges. I have gotten somewhat close us...
I can't get flash preloaders to work when there is a a # in the url of my page (even without any deep linking libraries or logic). I am using flex 3.3. Flash plugins 9 and 10, all browsers.
There is this bug regarding # in the url preventing preloaders from working:
http://bugs.adobe.com/jira/browse/SDK-14162
However, somehow, someon...
The following displays a ComboBox with the text "Select One":
*This is pseudo code
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:ComboBox prompt="Select One">
<mx:dataProvider>
<mx:Array>
<mx:Object label="Obj 1" />
...
I have a style sheet in my Flex Application, referenced as:
<mx:Style source="/assets/stylesheets/default.css" />
In this style sheet, I set dropShadowEnabled to true gloablly:
global {
fontSize: 11pt;
dropShadowEnabled: true;
verticalAlign: "middle";
}
This gives a drop shadow to many components, including all TextInpu...
Given a flex application or module, you can specify a custom xml namespace as follows:
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:custom="custom.namespace.*">
We can then refer to mxml components in the directory custom/namespace/ using the custom tag. For example, if I have the components Custom1 and Custom2 in the c...
Hello everyone. Please, anyone can guide me how to do this stuff.
I have a pannel and a box, The pannel is my component pannel(inside component pannel is eg. image, TextArea, Video) and
Box is my target Box for my component creation. The user can select a component he/she want to create (dynamic creation)
and drag it to target Box(dra...
Hi All
I'm trying to create a datagrid which will resize vertically to ensure all the renderers are displayed in full. Additionally,
Renderers are of variable height
Renderers can resize themselves
Generally speaking, the flow of events is as follows :
One of the item renderers resizes itself (normally in response to a user click...
Flex Builder allows additional compiler arguments to be set in the compiler options, under properties. It sets the argument;
-services ".../services-config.xml"
Is there a way to set the same argument when using the ant task mxmlc?
Cheers,
Mike
...
I am trying to create an area in my Flex application where a user can type in text and it will appear along a curve or an arc. The curve/arc should be able to be adjusted by the user as well.
Does anyone have any code examples or pointers on how I can achieve this in Flex 3/Actionscript 3?
...
When you click on a ComboBox, you can select an item by typing on the keyboard. For instance, if the ComboBox contains an item with the label "Luke Skywalker" and you type "L", it will automatically scroll to that item and select it. Is this possible in a PopUpMenu?
...
I have to add * Required to a ton of screens in Flex. In some places, I can't use more than one label. I need the asterisk to be as big as the text. The only idea I could come up with was:
.required:first-letter {
font-size:30;
}
Doesn't seem to work. Are pseuedo-selectors not implemented in Flex?
...
I have several lookup tables, some of which refer to or are relationships between others.
For instance, I have membership type included inventory which has Membership ID and Inventory Type ID and is the amount of each Inventory Type that one gets when one gets a specific type of membership.
When the user is reviewing an Inventory Type...
This question is pretty straight forward, I literally just want to stream video of a user's computer. Just like recording from a webcam, but with the source coming from the desktop (think "screencasting tool".) I specifically want to do this in pure Flash, no downloads or add-ons.
This would be an easy question for Google, but it is co...
Is there an easy way of converting a Actionscript 3 project to a Flex project in Flex Builder? When i right click on the project and hover "Flex Project Nature", all options are greyed out
...
Hi
By default, the Horizontal ScrollBar of a HorizontalList component will be at the bottom. Is there a way to reposition it so it is at the top?
Just for clarity, I do not mean moving the scroll position using either scrollToIndex or horizontalScrollPosition or similar, but the actual physical position of the scrollbar component.
Any...
What is the best way to change/set a registration point on a Flex 3 display object? I know this isn't really built in to easily change, but does anyone have any suggestions on how I could extend UIComponent to achieve this?
...
What I would like to do is capture an object that's in memory to disk for testing purposes. Since it takes many steps to get to this state, I would like to capture it once and skip the steps.
I realize that I could mock these objects up manually but I'd rather "record" and "replay" real objects because I think this would be faster.
Edi...
I'm write a Air application that consumes a beta webservice API. Sometimes this APIreturns me a malformed XML node and actionscript will raise an error when I try creating the XML object out of it.
What I've been doing is just try/catching the result and ignore the whole response if the XML is bad, but I could just ignore the malformed ...
Are there any best practices when it comes to styling Flex applications ? I would like to give the html page designer as much flexibility as possible.
Any tips, pointers?
...
I have a flash application (pure AS, no Flex framework) that I'd like to embed inside of a flex application using SWFLoader.
Embedding one instance works well. However, when I try to embed multiple instances (each with a separate SwfLoader), there is really strange behavior that seems to be caused by clashes among the class definitions ...