Hi:
A crazy idea just dropped from the sky and hit me in the head xD. I was wondering if it is possible to make and App capable of listening when the user "adds" new files to a directory.
Example:
The User opens up our Application.
The user adds new files on the desktop (using the Microsoft Explorer).
Our application automatically de...
I want to upload a file(photo) from Flex to Rails and then send a response back to the server in XML (contains photo URL and ID). I'm sending from my Rails server some XML as follows:
render(:xml => {:id => @photo.id,
:photoURL => @photo.URL,
:thumbPhotoURL => @photo.thumbURL})
This is sent through Fi...
I'm trying to plot data from a database over time. The data represents events taken by several entities (light bulbs). For example:
Light A
was turned on on July 10 12:00
it flickered at 13:45
flickered again at 19:29
flickered again on July 11 2:00
then turned itself off on July 12 20:00
Lights B, C, and D all have similar patterns...
Hi,
i am new in Flex.Please guide me.I am making a dataGrid whose first row will be empty.
In the empty row, i want to add one check box and some radio buttons.Please Guide me
Thanks in Advance
AP
...
I'm writing an simple application for users to upload an image, modify it and save it back to the HD.
Because most images are bigger than the image view of the app, they are scaled to fit. When te image is modified, it will be saved to the disk. At this point the quality of the image is bad.
Is it possible to scale an image for displ...
I'm trying to have a popup window with an immediately editable TextInput. This means that the user should be able to type inside the TextInput once the popup is displayed.
The problem is that I can't focus on the textInput. What happens is that when pressing a key for the first time, no text is inserted, only after a second key is press...
I have several datagrids with changing columns. For the text fields the datagrid's sort function neems to be making a case sensitive compare.
eg. the following list sorted would look like this
apples
strawberries
Autos
Autos should be with apples but since the capital A is counted differently all capital letters come after.
I've fou...
I have a complex layout and many reports need such a layout.
Wondering if we can create a "template" like thing where every one can extend and get the layout.
Below is my first attempt.(this is just a dummy layout).
The below has 3 canvas, one on top, one to left, one to right.
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"...
Hi,
i used before a datagrid and fixed that issue by overriding the methods but now i have to move to advanced data grid and didn't find the answer yet, could any one help, thanks
...
Is there a way to get the content of a component inside a scroller to be at 100% height.
here is a simple example:
<s:Scroller width="100%" height="100%">
<s:viewport>
<s:Group height="100%">
<s:Rect width="10" height="500">
<s:fill>
<s:SolidColor color="0xFF0000"/>
</s:fill>
</s:Rect>
<s:Rect width="10" x="10...
I'm trying to plot data from several entities over time.
Each entity will have its own line, so there will be several lines.
Each line will be connected, but it's important that dots are drawn to represent data.
I'm aware of the linked bar chart, but at initial inspection, I can't seem to find one that offers me the ability to draw ...
I'm giving users the ability to upload an image to my Air app, then displaying this image in an image control. But I need to allow for PDF uploading in the same manner, so I need to convert the PDF to an image. I only care about the first page of the PDF they upload for now.
What I'm doing is:
1) User browses for a file with the file r...
In flex, I am using the following code:
mx:HBox id="box1" mouseOver="onBox('box1')" mouseOut="outofBox('box1')"
// adding label
// closing HBox
onBox adds an image as child of box1:
var crossImage:Image = new Image();
crossImage.source = "cross.png";
crossImage.id = "cross";
box1.addChild(crossImage);
and outofBox removes them.
...
I'm using Google Engine App with Python. I want to add custom user authentication. How is it done, with the best practices?
I want custom authentication because the app is built in Flex and I don't want to redirect to an HTML page.
The user value object is like this:
class User(db.Model):
email = db.EmailProperty(required = True, i...
I am trying to replicate this game for flash using Box2D http://www.physicsgames.net/game/Tricharge.html . I have everything fine, the only problem i am having is when the group of bubbles burst, How do i apply a uniform increase in speed like it does in the game. I have tried ApplyForce, ApplyImpulse but all i get is what looks like an ...
Hi there!
I'm trying to create a dynamicly named object.
something like
private var myVar:String = "dynamicName";
private var [myVar+"staticName"]:Object = new Object;
but what i wrote above dosn't work for some reason.
...
I'm trying to do something very similar to this example (source code enabled):
http://www.sunild.com/proto/line_chart_example.html
When you hover over each data point, a circle appears indicating that this is a point. How do I keep those circles visible at all times?
Edit: this example isn't mine, but you can view the source enabled h...
I have an MXML component that includes a .as file with
<fx:Script source="myfile.as" />
Running asdoc throws a whole bunch of errors like
"Error: The private attribute may be used only on class property definitions."
"Error: The public attribute can only be used inside a package."
The only useful information I could find on the sub...
I am trying to take images I am placing in a flex canvas component to a bitmap. I was able to get to the point where I'm not getting an error but then no image shows up and the image I save out as a jpg is blank. I imagine I'm not setting the bitmap data correctly but can't figure out what I am doing wrong.
Here is the code where I am c...
Having this new problem with flash builder where I run a debug flashplayer, close out the flash and it doesn't always kill the process. Sometimes it does sometimes it doesn't, leaving me, after a while, having 10 or more flashplayer tabs on windows still open. I try to close them using the task manager with no luck.
This hasn't always ...