Hello everybody,
I am trying to set a background to a canvas, and set an repeat-x on it. But anything I try don't work. I am using this code:
<mx:Style>
Canvas.topbar {
borderColor: yellow;
alpha: 1.0;
backgroundImage: url('../assets/images/header.png');
backgroundRepeat: x-repeat;
}
</mx:Style>
...
If I've got a Container with a child component that is off either the top or the left hand side:
Is there any way to get scroll bars to show up? ie, so I can scroll up and get the button back in view, the same way I could if the button was off the bottom right side?
Thanks!
...
Hi, All.
I use LineChart in Flex with horizontal category axis and I need drop duplicated category label on the chart.
The data I use are like that:
{Product: "C1", Store: "S1", Profit: "1500},
{Product: "C2", Store: "S1", Profit: "1000},
{Product: "C3", Store: "S2", Profit: "800},
{Product: "C4", Store: "S2", Profit: "1200},
{Product:...
Hi,
I have an ArrayCollection as mentioned below.
private var initDG:ArrayCollection = new ArrayCollection([
{fact: "Order #2314", appName: "AA"},
{fact: "Order #2315", appName: "BB"}
{fact: "Order #2316", appName: "BB"}
...
{fact: "Order #2320", app...
I'm trying to learn how to use actionscript over mxml for flexibility. I have this simple block of mxml that I'm trying to convert to actionscript, but I'm stuck half way though
<s:Rect id="theRect" x="0" y="50" width="15%" height="15%">
<s:fill>
<s:SolidColor color="black" alpha="0.9" />
</s:fill>
</s:Rect>
I can convert...
Hi,
I want to know if there is any existing implementation of 'endless scroll' in Flex ? I searched online but I could only find implementation in Javascript.
What could be the pros/cons of having an 'endless scroll' component in Flex, which would be more efficient JS or Flex.
Thanks
...
Hi,
I m developing flex application, in which I want to Draw Image from User local hard-drive to the canvas of size 640x360.
User can choose Image of bigger resolution & is scaled to Canvas size.
But if user selected images of larger resolution like 3000x2000, the scaling take lot time & freezes the application until scale done.
Is t...
How do you use variables to access Object attributes?
Suppose I have an Object declared as follows,
var obj:Object = new Object;
obj.Name = "MyName";
obj.Age = "10";
How would i do something like this,
var fieldName:String = "Name";
var fieldAge:String = "Age";
var Name_Age:String = obj.fieldName + " ," + obj.fieldAge;
The code ...
Is it possible to run or view flex document in adove flash cs4?
...
I want to select information in a single cell from my DataGrid in Flex 3.
Specifically, I'm displaying three phone numbers per line and the user needs to be able to select one of those numbers, from any row, but not the whole row.
While similar to this, I am displaying the DataGrid to the user. The answer for that question was to manip...
I created a MovieClip symbol in flash containing a dynamic TextField and a background. I exported it in a SWC(using this method) and I'm trying to use it from flex. When I try to change the default value of the text field the new value is not displayed(indeed the default value I put in flash is cleared on screen, but in the debugger it s...
Hi All..
I develop a application based on Advance data grid. In this grid every column add with help of item render and I have added check box in all the column header also.In the Grid i used xml data provider. I am creating xml as string and cast this string in to xml.
When i click any cell it takes 10-13 sec and in the cell click handl...
I'm doing some line charts in my Flex application, and I need to draw segments of those line chart in different color. Does anyone have an idea how this could be achieved? For instance, if I have a code like this (actually, I have given this trivial example for simplicity (the problem is the same)):
<?xml version="1.0"?>
<mx:Applicatio...
Hello,
I would like to have a variable transparency for a Flex UI container.
The upper half of the container should be completely opaque but the lower part of it should smoothly change from completely opaque to completely transparent.
Any ideas how to achieve it?
Thanks
...
Why Flex SDK is free and Flash CS4 not ? Where is the trick ?
...
I have a rectange that I've created and set its individual properties like so
var aRect:Rect = new Rect();
aRect.width = "15%";
aRect.height = "15%";
Problem is the compiler chokes on 15% and "15%", with or without the quotes, neither works.
...
Solution:
if you have the same problem, addElement() instead of addChild() is what did it
I'm trying to move away from mxml to actionsctipt. I have a <s:Rect> that I've created and set its properties, but having trouble adding it.
var aRect:Rect = new Rect();
//set properties like aRect.x, aRect.y, aRect.width, aRect.height
//trie...
So I have Html like this http://trac.edgewall.org/wiki/RecentChanges (I want to create some Flash Track reader which will be opensource)
I need to list in my DataGrid Index of all viki pages in form like
+-----------+--------+
|page name |page url|
+-----------+--------+
| name | url |
+-----------...
I have a Rect object that I'd like to create and set its properties only once. After that, I want to just modify its properties since it already exists. This is my general idea
if(theRect == undefined){
Alert.show("creating");
var theRect:Rect = new Rect();
//then set properties
addElement(theRect); //then add it using addElem...
Can I create an application with Flex Builder Trial ( that I have just downloaded ) and use that application on my website ?
But all of you that use Flex Builder have the licence ?? It's very expensive for me ;(
...