Hi,
If you look at the link below, there is some PHP code called by Flex mxml through HttpService. The PHP code has functions, but the mxml code doesn't call a specific function. How can I use httpservice to call a specific function (in my case, one which takes parameters)?
http://livedocs.adobe.com/flex/3/html/help.html?content=data_a...
I am using an AdvancedDataGrid with two GroupingFields. The dataProvider has a list of objects with these two field values, but occasionally the second field value can be null. When it loads, the AdvancedDataGrid UI has a root folder (first GroupingField) and some additional subfolders (second GroupingField). This is all good. However, t...
Is it possible to call a function asynchronously in Flex? I want to parse a file at regular intervals without blocking the rest of the application, what is the recommended approach for this?
...
is there a way to handle menuEvents like the ones used in submenus but in top level menus that doesent have sub menus?
and use a function like:
private function menuHandler(event:MenuEvent):void {
if (event.item.@data != "top") {
Alert.show("Label: " + event.item.@label + "\n" +
...
How do you word wrap the text in the buttons that are part of a togglebuttonbar?
I have the following structure:
what i find is that the words on the button text just continue and there seems to be no wordwrap setting on any of the various components.
Any thoughts would be very welcome.
Thanks,
S
...
Hello guys,
I have a Canvas i would like to clone.
This canvas hold a Degrafa Surface with several Geometry shapes.
I tried the naive approach of
return ObjectUtil.copy(graph_area) as Canvas;
TypeError: Error #1034: Type Coercion failed: cannot convert Object@63b1b51 to com.degrafa.geometry.Geometry.
TypeError: Error #1034: Type Coe...
Summary: The behavior detailed below seems to indicate that if your app at www.someplace.com sets/retrieves data via a SharedObject, there is some sort of .sol collision if the user hits your app at someplace.com, and then later at someplace.com?name=value.
Can anyone confirm or refute this?
I'm working on a Flex web app that present...
Does anyone know how to programmatically bind a property to a function that isn't a getter? IE: I have a function that returns a translated string based on the identifier you pass it. How do I do this in AS3 rather than MXML? (reason being - I have a dynamic layout that I render based on XML and so have create and add all children progr...
I have a dynamic ActionScript Class that is used to send parameters to a WebService. Some of these parameters are always present, so they are public properties of the Class:
package
{
[Bindable]
public dynamic class WebServiceCriteria
{
public var property1:int;
public var property2:String;
public v...
I have a dynamic Class that is a Value Object that is used to pass arguments to a WebService. It has two public properties:
package
{
[Bindable]
public dynamic class WebServiceCriteria
{
public var property1:String;
public var property2:String;
}
}
I set these two properties in one part of my applicati...
Hi all,
Is it possible to do with application or anyother control except image control
...
I want to develop an Adobe air application. Whats the difference between using the Air SDK or Flex SDK and what are the advantages / disadvantages? My application will use a SQLlite database and PHP may be involved later if I turn the whole thing into a web app.
thanks
...
Please help. I want to add a click event on checkbox that i created dynamically so that i know what checkbox I click.
Heres my code on action script:
var myCheckbox:CheckBox = new CheckBox();
vbox.addChild(myCheckbox);
How to add click event on checkbox?
...
Hi,
When using FileReference.download() to retrieve a file from a server, I'd like to give the user the option to open the associated application directly rather than having to save it to disk first.
Is this possible in Flex 3? And, if so, how is it done!
Thanks,
Mark
ps. I've tried doing URLLoader.load(URLRequest) also, but no dice....
Hi all
im using colorpicker for fontcolor. i want to know when i choose any color from colorpicker, all text color shuld change to choosen color. is it possible to use css to over come the probelm .thanks
...
i have a data grid in my application and am pulling data from a MYSQL DB using php.
is there a way to store all that data into an array and pass it to a function or is it possible to just store the data directly into an array instead of pulling it from the datagrid
here is the code
<mx:DataGrid id="dgUserRequest" x="150" y="10" dataProv...
I'm looking for a component like a single-generation treeview that can collapse a section or expand any or all sections, but it would look like an Accordion: headings and canvas "pages".
Obviously, each page would not take up the entire height of the container; they would be fixed height.
Perhaps I am not using the correct terminology ...
I wrote a custom item editor for a datagrid in flex. My question is how to retrieve the pre-edited value of the datagrid cell after the item editor initializes and also in the custom item editors code.
...
If I include a an external actionscript file in a flex mxml file, I get different behaviours at compile time depending on the method used. Using an mx script tag with a source attribute or an include statement, then compiling the file gives errors like:
Error: Packages cannot be nested.
If use import these errors go away and the file ...
Hello guys,
I have a canvas of variable width and height with a maximum being 2K*2K
This canvas current height and width vary depending on the user screen size. Usualy smaller than 2K*2K.
If the user moves an element (free moving elements like child UIcontainer) inside the canvas at position greater than the current user available H a...