Hey,
I want to populate a ComboBox after a clicked a button.
This is my code:
var dpNames:ArrayCollection = new ArrayCollection();
for each(var ca:Categorie in arrCategories)
{
dpNames.addItem ({label: ca.name, data: ca.value});
}
cbWijzigCategorie.dataProvider = dpNames;
But when he executes th...
I find PopUpButton, PopUpMenuButton and ComboBox controls have the same function and behavior in Flex. What's the difference between them? Are they redundant?
Thanks
...
Hi, is it possible to transform regexp pattern match to lowercase?
var pattern:RegExp;
var str:String = "HI guys";
pattern = /([A-Z]+)/g;
str = str.replace(pattern, thisShouldBeLowerCase);
Output should look like this: "hi guys"
Thx
...
I'm building a user login page and I want to go from titleWindow to Panel.
I'm using the following function but it always takes me back to parentApplication.
My question is how can I go to my panel and not to Application page?
I know that I'm using parentApplication but what should I use instead?
Here is a part of my code:
private fu...
Hey all,
I'm looking for an imap library to use in flex but can't find any.
I know that can be done from scratch, but thought i should ask before reinventing the wheel.
Thanks in advance for any pointers.
...
I have a problem with Flex module. I want to access url variables by this.loaderInfo.url, i call a function in createionComplete handler of module and sometimes it works and sometimes it doesn't. (Can't access... null). Any suggestions?
This function is called in creationComplete handler of module. And although it throws error window, t...
Hi there,
I have to call an ActionScript method via Javascript, but I have a problem accessing the flash object itself. I embed the flash file via the help of swfobject.
Previously, when I use the static publishing approach, I could easily get the flash object by calling these methods:
swfobject.registerObject("flash_object", "9", "ex...
Hi to all, I need to read a file, which has an "n" number of lines, I need to know when reading the end of each line, so I can store the line in an array, ok so far I have
while(stream.position < stream.bytesAvailable)
{
char = stream.readUTFBytes(1);
if(char == "\n")
{
array.push(line);
...
Hello
in my Asp.net web page (C# on backend) I use a Repeater, whose items consist of a title and a Flex chart (embedded .swf file). I am trying to export the contents of the Repeater to a Word document. My problem is to convert the SWF files into images and pass it on to the Word document.
The swf object has a public function which ...
I am creating a nav in flex that pulls in buttons dynamically from xml. THe problem i am having is setting the button width to the text width. currently the buttons are all the same width and if the text is larger then it just cuts off. I've tried a few ways of doing this:
Setting button width to 100%
On creation of the button try to ...
I have a Flash CS4 (Flash 9 ActionScript 3.0) project that compiles and runs perfectly on my machine.
However it is part of a big batch of fla's that I want to compile on another (faster) machine. When I copy the project (the fla and all actionscripts and assets files) to the faster machine, it's Flash CS4 compiler gives me compiler erro...
I've just found a strange error when deserializing from a ByteArray, where Vectors cannot contain types that extend Array: there is a TypeError when they are deserialized.
TypeError: Error #1034: Type Coercion failed: cannot convert []@4b8c42e1 to com.myapp.ArraySubclass.
at flash.utils::ByteArray/readObject()
at com.myapp::MyAp...
Example:
var arr_1:Array = new Array();
arr_1.push({sdate:"2010-02-02",status:"New"});
arr_1.push({sdate:"2010-02-03",status:"New"});
arr_1.push({sdate:"2010-02-04",status:"New"});
arr_1.push({sdate:"2010-02-05",status:"New"});
How can i change element number 3 status to: "Old", without removing it. just update the status value??
...
Greetings. I'm planning on building a Flex based multiplayer game, and I'm researching what will be required for the server end. I have PHP experience, so I started looking at ZendAMF.
Now in this game, I'll need the concept of rooms, and real time updates to clients in those rooms, so it looks like I'll be using remote shared objects ...
ExtendedDateChooser class is great solution for simple event calendar used in my flex project. You can find it if google for "Adding-Calendar-Event-Entries-to-the-Flex-DateChooser-Component"
with a link of updated solution in comments of the post. I posted files below.
Problem in that calendar is text events are missing when month is ch...
Hi,
I am trying to increase the height of container with increase in the number of contents inside the container.
Like in my case i m using tileList inside tabNavigator , when I put contents inside the tileList, the height of tileList does not increase
beyond vertical height of the viewport. It puts scrollbar on the container. I want...
I am looking to implement a search text box as follows:
When user starts typing in and there are non-zero results, the text box will open up and display the results below it.
When the user selects a result, the text box closed, but this time with a down-arrow (like a combobox) so that the user can re-open the list.
I suspect what I re...
Hi
Have got page where many times add/remove combobox. Unfortunately in cases when 'user':
1)add text to TextInput
2)'interact' with combobox
Profile is showing that instance of class ListCollectionViewCursor is not removed. But when there is no any of above interaction instance of class ListCollectionViewCursor is removed
Simple te...
Hello :)
It's possible to print in flex image (high resolution png/jpg file) with print quality greater than 72DPI ???
rudi888
...
I am using bitmapData and bitmap classes to render a mouse cursor on the display screen. The bitmapData consists of an area whose colors should be inverted according to the background color. This is a very basic thing which could be observed with text cursor(the vertical line with two small horizontals on top and bottom), when moved over...