Hi,
I would like to base one component's x and y cooridnates according to another, I tried using the binding notation but it doesn't seem to work!
<?xml version="1.0" encoding="utf-8"?>
<s:VGroup xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.c...
Hi I have a text field which I would like to bind to a dynamic object.
<mx:TextInput id="ti4" text="{selectedObj['someProp']}" valueCommit="{selectedObj['someProp'] = ti4.text}" x="1011.5" y="835"/>
If the property doesn't exist I get a reference error - Is there any way to fail a little more gracefully?
Any ideas much appreciated.
...
I am developing a Flex application on top of Mate framework.
In this application, I am using a webservice to retrieve data.
As this webservice as not a fix location URL (depending on where customers installed it), I define this URL in a config file.
When the Flex application starts, it first reads this config file, then I would like to ...
I am creating a lot of dynamic flex components like RadioButton, Combo Box, CheckBox.
if(type=="mx.controls.CheckBox"){
//if(rep.currentIndex<5){
for each(j in x){
k=createNewInstanceOfClass(rep.currentItem.type);
k.id="radioGroup"+rep.currentItem;
k...
if I place a Border with width and height of "100%" inside a Group with width and height of 10 pixels the Border looks bigger than 10 pixels, why?
<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/halo"
>
<s:Group width="10" height="10">
<s...
For a schoolassigment me and some buddies of mine are creating an application that is showing many similarities with the C-Mon & Kypski musicvideo on www.oneframeoffame.com. The application is being developed in Flex.
We want to get a random point of a clip, let it pause so a user can mimic the pose and make a snapshot out of it.
What ...
Hi,
I've tried to use the YoutTube API within a Flex project. But i got this error:
*** Security Sandbox Violation ***
SecurityDomain 'http://www.youtube.com/apiplayer?version=3' tried to access incompatible context 'file:///Users/YouTubePlayer/bin-debug/YouTubePlayer.html'
Here are the two files:
<?xml version="1.0" encoding="utf-8...
Hi there,
I have I datagrid, on which I want to select multiple rows on a other user interaction than the one intended by the Programm. I'm wondering, whether I can programmatically select some rows depending only on code?
Thanks,
Markus
...
Hello all,
I am having a problem spacing the tick marks on my horizontal axis evenly. In other words, I would like for the minimum tick mark to line up evenly with the bottom left corner of the chart and the maximum tick mark on the bottom right corner, with everything in between evenly spaced. Is there some property that does this? Thi...
All I'm trying to do is place a button inside of a panel, rotate that button (so it is vertical) and place it on the edge of the panel. I can;t seem to do this correctly. Here is my code:
<mx:Panel id="weekList" width="260" height="100%" x="-500" title="Weeks" >
<mx:List id="weekButtonList" width="260" borderVisible="false" c...
I'm not sure if this is possible, is there a way to get the <mx:Form> to set its own height based on the position of an element within it?
For example something like this:
<mx:Form height="{submitBtn.y + submitBtn.height}">
<mx:FormItem>... </mx:FormItem>
<mx:FormItem>... </mx:FormItem>
<mx:FormItem>... </mx:FormItem>
...
I have a combobox implementation as follows - Based on user input (min 2 chars) in the editable combobox, the data provider is refreshed and drop-down opened, showing different data sets as user input varies.
Problem is that after drop-down opens, the cursor moves back to the beginning. So for instance, the user types in "ab", and want...
I'm creating windows in a Flex application (AIR) using the mx:Window component. I'd like the window to be automatically sized to its content (because it will be dynamic), in the same way that an mx:Panel or mx:Box would be.
I've customized components before, so I'm somewhat familiar with the UIComponent lifecycle, but I'm not quite sure...
I have a main app which calls a pop-up where the user selects the name of an article to view. The pop-up in turn calls a function in the main app which loads the viewer module if not already open and then sets the url on the viewer to load the .swf file.
In mainApp
public var moduleLibrary:Object;
public var displayObject:DisplayObject...
I'm attempting to compile my Flex project with an ANT build script.
One of my MXML components references an external XML data file, like this:
<mx:XML id="treeData" source="assets/data/help.xml" />
When I build the project using Flex Builder, it compiles fine. However, when I try to compile it using ANT, I get the following error:
E...
I'm writing a Flex application and I came across what I think is a weird problem.
I want to create a text box and a DateChooser as the datefield didn't do what I wanted and it's Halo so I can't skin it easily. I want the DateChooser to show when I click on the text input. Here is an except from my code:
<s:TextInput id="wholeDa...
I want to create a custom list in Flex for an interface prototype. The list is supposed to have an image and 3 text fields. This is what I have done so far, the control displayed is what I want. But, when I click on one of the items, the item does not appear (visually) to be selected. I was not sure how I would implement this.
Here is m...
I need to have a Text Area With Line Numbers,
& once the Text File is Imported to the Text Area..
the user must be able to select the line numbers & see the filtered output.
I have implemented the same with Numeric steppers.
I am in search of an enhanced component.
are there better Advanced Components for Textarea ?
Any Advanced Textar...
hello all,
can you please help me with this issue the String class does not have insert method it has only replace :( .
what I need is:
- if I have string "I stackoverflow"
- I need to insert "love " at index 2 to have "I love stackoverflow"
so what I need is insertAt(index, String)
thanks
...
I am building a Flex application with ActionScript 3. Unfortunately I've hit a wall with this one...
I would like to be able to apply an upSkin to my dynamically generated button like this:
//this theSkin variable is dynamic in my app, but for this example it's a simple string
var theSkin:String = "http://www.mypicturedomain.com/images...