I'm using FileReference to retrieve an exported CSV file from the server. The fileReference.download(url, "myFilename.csv") method call seems to be working and I can download the file.
The only problem with this is that I can't seem to be able to set the file filter. In my save dialog, the file type filter is always *.*, which is really...
Environment: Flex/As3/Cairgorm/composite component.
I have two comboboxes and two datagrids such that the selection of combobox 1, inserts data into combobox two and the fist datagrid. The selection of combobox 2 inserts data into datagrid 2.
I have setup the change event so that the user selection on each of the combo boxes do the...
Hi everybody,
I have a question I came up with 3 days ago about how to do the blue underlining of a datagrid row programmatically. I thought to have found the solution, with just adding the column and row Indexes to the datagrids editedItemPosition Property.
It turned out, that this is just practical if you want to be able to edit the ...
I'm creating a project in flex builder but it's not using the flex framework, it's just pure actionscript.
At the moment I have some bitmap resources embedded for drawing things, but I'd like a little animation and thought I could create swf animations for them in flash and use the [Embed()] thing to embed them in the actionscript proje...
I am developing a project in Flash Builder which will load a file built by Flash CS4. The code in Flash CS4 is below, it's a doc class. I am sure the dispatchEvent has been invoked:
package {
import flash.display.MovieClip;
import flash.events.Event;
public class flashcs extends MovieClip
{
public function flashcs():void
{
...
I am debugging both a flash cs4 project and a flash builder project, actually the flash builder project will load the flash cs4 project thru swfloader, but the system can only support one debugger at a time. So I am seeking a method to debug it simultaneously...
...
I'm currently developing the backend of a flex application using Zend_Amf_Server and the decision has been made to to move a lot of the textual assets from the db and into some xml config files. The application is being rolled out to a 10k+ intranet user base, so in my eyes, the less db interaction going on the better, however one of the...
I am trying to extend the flex datagrid component so that I can have an "add new row" row like MS Access but I can't get it to work. I have tried a few different methods but I can't get anything to actually work.
By extend I really mean alter the Adobe code as some of the private vars I needed to do something else but I should be able t...
Hi,
I am very new to Ruby technology. In my current Project the Backend application is develooping ruby and Fortend is developing Flex with HTTPServices. I try to find any where how the Flex will call to Ruby. Please any one haing sample code, please send me asap.
Actually i have a httpService in my applcation like..
And i could n...
var bmd:BitmapData = ImageSnapshot.captureBitmapData(someSprite);
trace("bmd size "+getSize(bmd));
var bounds:Rectangle = new Rectangle(0, 0, bmd.width, bmd.height);
var snapshot:ImageSnapshot = new ImageSnapshot(0,0,bmd.getPixels(bounds));
//var snapshot:ImageSnapshot = ImageSnapshot.captureImag...
Hi,
For some reason code completion/intellisense has stopped working for new properties in
our projects.
These are the symptoms:
Add a new property to a class
If you go to a different class, and you try to use that property, the intellisense dropdown doesn't show the new property. It does show the already existing ones.
If you build...
Im trying to extend flex ArrayCollection to be able to search for an object containing specific data and give it back.
Here is my function:
public function getItemContaining(value: String): Object {
//Loop through the collection
for each(var i: Object in this) { ...
Hi,
I need to use DataProvider class and i cannot find the package that contains it. In all examples I saw they use fl.data, but I'm using flex builder sdk 3.4 beta and it doesn't have such a package. Any clue?
Thanks,
Nava
...
OK I have an HTTPService that executes the dataLoaded(e:ResultEvent):void function whenever it gets a result from a send() call.
OK so If I call HTTPService.send() and then call HTTPService.send() again before the previous one receives a result, I end up repeatedly running dataLoaded() which is undesirable
What I want is if HTTPService...
I have a piece of software I'm working on that is using a viewstack with 3 canvases. With the change event I need to look for index 2 which is the last canvas when it changes to this canvas I need it to grab data from inputs from the previous two canvases.
Within the viewstack events I've assigned the function change() to the event chil...
This is basically a continuation of a question of mine from yesterday,
"Foregoing intialization on a page"
(And btw, kudos to all who give selflessly in this forum to help others - need to do more of that myself.)
So anyway, I was told about HistoryManager, BrowserManager and SharedObject, and so quickly ascertained that its no problem...
How do I resolve the error of duplicate variable definitions? There has to be
separate namespaces and use for each definition, but I'm just not seeing it.
CODE
I didn't write this, but I've been trying to unpackage it and change the classes and seem to have broken it. I want to use this for time-scaling the playback of my movies.There'...
Since the Flash Player (or, more exactly, the URLLoader class) will not let you read HTTP response headers or cookies set by the server, and if you get hold of a session cookie through some workaround like reaching out to the browser and run JS, you can't send it to the server, because, among others, the Cookie header will be blocked.
N...
I want a MenuBar that has, for instance, a File and Edit menu on the left, and a Help menu on the right.
Is there any convenient way to accomplish this?
...
I just started to use Zend_Amf and thus far I'm really happy with it for sending objects from Flash to the server.
Sending my objects from the server back to my Flash environment is causing me a slight headache. My PHP objects mostly contain private properties that have a custom getter and setter method.
How do I make Zend_Amf aware of t...