hi
I want to build a "Form builder" like this one in Flex 3: http://www.phpform.org/
I need to add Buttons, TextArea, TextInput Controls and other form-elements to a List based container at run time and allow drag and drop support for reordering of those elements.
When I try to add Buttons, TextInput & TextArea Control to a List only ...
When you select text in a Text or Label or TextArea (or other) control in a Flex application, the selection is shown in white text on a black background. Always.
I have a request to change that — and it seems to be a simple enough thing to want — but I can't find a style (or property) anywhere that permits that. Any ideas out there abou...
I have a Width and Height parametr. I have been given an array of colors in such format: [r, g, b, a, r, g, b, a, r, g, b, a... etc]
Data can be acsessed by something like this
for(var y = 0; y < height; y++)
{
for(var x = 0; x < width; x++)
{
r = data[y*width + x + 0]
g = data[y*width + x + 1]
b = data[y*width...
Adobe Flash Builder: How to make a function to play video starting from one second and ending in another? So I havein MXML simple video player tag. I need some function to play that video from second X to second Y and pause it. How to do such thing?
BTW: we asume file is embeded into SWF.
...
I'm getting an odd error from my composite canvas component:
An ActionScript error has occurred:
Error: null
at mx.core::Container/initialize()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\Container.as:2560]
at -REMOVED THIS FOR STACK OVERFLOW-.view::EditableCanvas/initialize()[.../view/EditableCanvas
....
It s...
I am learning how to use Flex with Adobe Flash Builder 4 standalone. I am working my through the Adobe Flash Build 4 Bible by David Gassner. This has led me to create my own micro problems to try and solve.
I am trying to connect to a dynamix XML feed created by the following aspx page:
generate_xml.aspx
When I create the data connecti...
I want to create an MXML container component that has some of its own chrome -- a standard query display, et al -- and that supports the addition of child components to it. Something a lot like the existing mx:Panel class, which includes a title label, but acts like a plain mx:Box with regards to adding children.
What's the easiest way ...
So If I play one sound I use
sound = new Sound(); ...
sound.addEventListener( SampleDataEvent.SAMPLE_DATA, onSampleData);
sound.play();
And so I'll get data, but If I have 20 sounds playing and I want to get data from the sound I here as a resalt of data mix of all that sounds... How to get it?
...
How can I add an MXML component as a child of the main application using ActionScript. It's not possible to instatiate it, is it? Assuming that behind every mxml file stands an actionscrpt3 class, I tried to import it but id didn't show up.
...
Hi,
Using CSS, i can set the corner radius of the top corners of a tab in a tabnavigator:
<mx:Style>
.tabstyle
{
corner-radius: 10;
}
</mx:Style>
<mx:TabNavigator tabStyleName="tabstyle" />
However, I also want the bottom corners to have a radius. Does anyone know how to do that??
...
Hello,
I have an array structure that have to be converted to MXML. I know of PEAR XML_Serialize extension but it seems the output format it produces is a bit different.
PHP generated XML:
<zone columns="3">
<select column="1" />
<select column="4" />
</zone>
MXML format:
<mx:zone columns="3">
<mx:select colu...
So... I have a URL like www.example.com/stream/
I need to make any request to this url and get Http Rewspons header (like this one:
HTTP/1.0 200 OK
Content-type: video/x-flv
Cache-Control: no-cache
I do not need reponse body at all. After I get header need to emmidiatly close connection to that url (so stop to obtain data from it)
H...
I've upgraded a FlexBuilder3 project to FlashBuilder4, and I am seeing many compilation errors regarding unsupported tag attributes:
The style 'backgroundDisabledColor' is only supported by type 'mx.controls.TextInput' with the theme(s) 'halo'
Here is the offending mxml element:
<mx:TextInput x="245" y="86" id="code1" maxChars="15" c...
How to compile your flex (Flash Builder) application for Iph*ne Using Adobe Flash CS5?
A User can Install an app having it as compiled binary?
...
So I have a simple HTML pages browser in air (using Default one) I give it a link it renders out Page I use code like this (Flash builder)
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xml...
What are main diferens between flash ActionScript and Flex actionscript?
Why Flash can not compile AS files generated from Flex (with keep-as) directly?
Somy problem is - I want to compile generated from MXML .AS files using Flash CS5... But it appeares to me I can not... Why?
...
I'm looking for a way to collect the file dependencies from Flex ActionScript and MXML files. I was hoping that mxmlc could spit them out (like gcc's -M option), but its option list doesn't seem to have anything relevant. I could write a parser, but would prefer not to reinvent the wheel if it has already been done, particularly given ...
What are some of the hidden features of MXML? What existing features are not well known but very useful?
MXML being used in Flex Framework became quite popular language because Flash Player is something every PC has and Flash Builder and Flash Catalist are quite popular Adobe programs.
Please specify one feature per answer, and read a...
So I have a s:DropDownList with data from service. When an Item from recived list is selected I perform some action (lets call it Action A) I want to add an item visible in list so that when user selects that one item I'll perform another action (lets call it Action B).
Toda when I use such code to fill my list:
<s:DropDownLi...
How to put\save files into your application directory? (adobe air) (code example, please)
...