I am in the process of designing a 3D panorama viewer using papervision3d for the 3D library. I am coding entirely in ActionScript3 using FlashDevelop. I am at the point now where I need to add simple components (button, dropdown menu, toolbar, etc.) I know that using mxml it is easy to create UIs. Does anyone have any experience wit...
I want to use a validator to ensure 2 password fields match in Flex. I want the validator to highlight form fields like a normal flex validation control. Thanks.
...
hi,
im using the webservice component in my flex app but find im using the same code over and over again when using the same webservice calls through my app.
Are there any best practices for creating webservice components? Should i be putting all the code in an actionscript class and if so have you any samples?
...
I have a Flex file upload script that uses URLRequest to upload files to a server. I want to add support for http authentication (password protected directories on the server), but I don't know how to implement this - I assume I need to extend the class somehow, but on how to I'm a little lost.
I tried to modify the following (replacin...
We're using Flex 3 to consume a .NET Web Service. The web service uses an enum and we use Flex Builder to automatically generate the web service objects. Here is the .NET web service enum definition:
/// <summary>
/// User type
/// </summary>
public enum UserTypeEnum
{
Admin = 1,
User = 3,
Manager = 4
...
I am trying to display arbitrary mp4 videos in a flex application. Often videos have text on them.
Sometimes when I have to scale the video down (on the client size height or width less then videoHeight or videoWidth) keeping the aspect ratio Flash Player makes text look blurry.
Is there way to tell Flash to handle scaling more accur...
I have started design of a Coldfusion application that is entirely web based. Not much use of Flash forms, or AJAX.
The first version is a strict web app. Version 2 will be a Flex front end.
I want to design and build things so that the Flex layer can use existing logic. It's okay if it means I have to do extra work in version ...
I'm building a Flex app that includes an area chart, and when users hover over an AreaSeries, I'd like them to see the DataTip for the nearest data point in the series. The problem is that as far as I can tell (and I should admit at this point to being fairly new to Flex), mouseSensitivity is the only way to control when data tips appea...
I noticed that Eclipse (Flex Builder) generates hundreds of metadata files. Should I check them into my source control? They seem necessary, because if I delete them Flex Builder just opens up an empty workbench...
Some of these files plainly do not belong in source control (like .history files and some cache files). If I delete them my...
Hi all,
I'm working on a RDF file in my application. I loaded it with the URLLoader and I've imported flash.xml.* class in order to manipulate the content of my RDF file. I need to count certain tags ("Description") in an efficient way. The number of the tags I'm searching for is variable and now I'm using a combination of methods first...
hi,
im writting an actionScript class to handle my web service calls. When i retrieve a result i want to call a setter method in my main mxml application. My problem is that i dont know how to access the methods in the actionScript section of my main mxml class from my actionscript class, any ideas?
...
I have the following repeater code:
<mx:Repeater id="chapterRepeater" dataProvider="{Library.Book.Chapter}">
<mx:FormItem label="Chapter" direction="horizontal">
<mx:TextInput width="100" text="{ chapterRepeater.currentItem.@Name}"
change="event.currentTarget.getRepeaterItem().@Name = event.target.text"/>
<m...
When I click the button, it should popup my module, when i click outside it will hide or remove it. This is the code I have:
private var Showup:IFlexDisplayObject;
Showup = PopUpManager.createPopUp(this, samplemodule, false);
Showup.addEventListener(FlexMouseEvent.MOUSE_DOWN_OUTSIDE, Removewindow);
private function Removewindow(e:Fle...
hi,
im trying to call a setter method in some an actionscript block of my custom component from an actionscript class.
I can do this fine when its the main application i want to call by using ;
Application.application.methodName();
however how can i call a method from a custom component? My component is in my components package and ...
I'm using a graph with a <mx:LineSeries>. When I hover over the line it shows the data points as little circular points. How can I get these points to display all of the time?
...
Hi guys, hope you can help me with this question.
So, I've been working for a while with Flex, and had the crazy idea to create pure AS project.
If I compile a Flex app with the -keep flag, the generated actionscript gets generated.
Do you guys know of a way to make it compile, without going trough the code and gluing it all together?...
I have a Collection, and I want to remove all items that have a certain property set to true. I use a filterFunction to accomplish this. My question is, how can I add new items to the Collection that have that property set to true? The filterFunction is still applied, and the item is not added....
Do I have to iterate through the entire...
I have a regular control in my code with serveral items.
<mx:List id="myList">
<mx:String>Item 1</mx:String>
<mx:String>Item 2</mx:String>
</mx:List>
I have some other code which runs and populates the list. How do I select the first item in the newly populated list using code?
...
I’m trying to set up a server to data-source paged service. I’ve got everything set up so that I’m getting my assembler called and am returning values, but I’m not getting “paged” calls.
Specifically:
public Collection fill(List fillArgs, int begin, int rows)
is always called with begin == -1 and rows == -1, instead of getting real ...
I have a flex application where Im displaying login data using an advanced datagrid. Is it possible to show the data in this advanced datagrid, by a page wise way? if so do you have any sample coding to do this. thanks
...