I have some small canvas, and i have to show border around them, i did that using rollover and rollout evenets, (these canvas hold product images), here rollover and rollout are working perfectly fine, but when a user clicks on some canvas, it has to be selected, means it has show the border around it, and rest canvas should work as norm...
I want to download a file from the server and save it in a particular location of the disk without user interaction. All this I want to do it in Flex. If anyone has a solution please help me.
...
Hi,
I have a function which makes a call to the server to load some financial data. This data is then displayed in a grid. In order to keep displaying the latest data I keep making this server call (every 30 secs). I'm using a Timer object to do this.
The problem I have is that I have to wait 30 secs when the application starts for fin...
Hi,
I'm trying to write some data to a raw data socket(around 22 MB's). The scenario is such:-
1. Open local file
2. Read a chunk of bytes.
3. Write it to the Socket
4. Repeat 2 & 3 until the end of the file.
Now the problem is that my code(Below) is not transferring the complete file. It transfers maybe 3 out the the 22 MB with my t...
What language construction can be used to make a compile time checking of Array elements type when the Array is a function parameter?
Let's use this function as an example:
[ArrayElementType("String")]
private function GetNumberArray(parameter:Array):Array {
var myData:Array = [1.0, 2.0, 3.0];
return myData;
}
Here we've marked...
Hi,
I have an application in flex, it has some components out of the box and quite a few of custom components and events.
I want to get all event listeners on a specific component in runtime, I know how to do it with monkey-patching the framework but I do not want to use a monkey patch nor can I rely on this in production.
Is there a ...
Hi,
How can I access the specific .data (based on its dataField) inside an AdvancedDatagridColumn-ItemRenderer instead retrieving the whole data for the parent AdvancedDataGrids dataprovider?
Any idea?
Many thanks...
...
Hi,
I have a comboBox and values like basic and advanced. And viewstack container conatains 2 grids.
When i select the base option in Combobox, the first grid has to be selected. select the advanced value in comboBox, the second grid has to be selected.
Please chck my below code and help me how to do it.
<mx:ViewStack i...
I am trying to extend the TextItem class in Flex 4 but I keep getting the following error:
Could not resolve <custom:txtIdNumber> to a component implementation.
My txtIdNumber.as is as follows
package custom {
import spark.components.TextInput;
public class txtIdNumber extends TextInput {
public function txtIdNumber...
Hi,
How do we identify the user's web browser in flex ? Based on the browser I have to display some text in my flex application.
Any help would be appreciated.
Thanks
...
I am new to MATE framework and I have been digging around some sample codes so that i can do the following:
On clicking a button (on a canvas)
Display a Panel.
The issue is that i am not trying to pass any value hence not sure of how/ what should be defined as sourcekey and targetkey. If this is the case, then how should one define t...
Hi,
I have a ArrayCollection, containing a set of Value Objects. This ArrayCollection populates a DataGrid. I'm loading data into the ArrayCollection via a HTTPService call to the server. Once the first server call is made, I then start making repeated calls to the server to make sure I have the latest data (financial prices) shown in th...
I have a component that changes its location based on other elements. I'm trying to find its x and y position at different intervals, so I tried compname.x and compname.y.
The x position seems to be working, but the y position is always 0. I'm guessing I need to play with localToGlobal or contentToGlobal or one of those conversions. Is...
Hi,
I am facing problem with camera unpluging in as3. After detecting camera if I unpluged it then also in as3 can't recognise this unplug.Any solution?
...
I have a custom component Comp that gets its position changed as a result of interactions with other components, etc. I check for changes in its position by constantly checking its position at fixed intervals. I'm looking for a better solution (maybe an event-based solution) to monitor its position so I don't have to check constantly mys...
Hello
I use Flex for a short time, use a bit pushed to my client for a solution-oriented monitoring.
Background:
Platform:
Windows XP
Eclipse 3.4 Ganymede
Flex Builder 3.0.2 Licenced
JDK 1.6_20
Firefox 3.6
Flash Player 9 (Debug version)
Server: OSGI (Eclipse equinox) an
instance of jetty service allows HTTP
requests
Requiremen...
I have a button with a click event of "currentState='someState'". Is there a way to tell component to do some function like for example "Function()" when the state changes to "someState"? So execute a function when the state is changed.
Thanks,
...
I am new in flex and recently read about Validation and Invalidation in components. May somebody explain what it's mean and when it's use, may be some good article.
...
I would like to have an AIR application available for web download, but have some data customized per-user-download. Think CD-key, or in this case an encryption key and user name, so that the downloaded version can connect to a website and know who it is that downloaded it. As a fail-back if this is not possible, I could require the user...
I have a main parent application with 2 children (the children are siblings). I am trying to pass data from sibling1 to parent and then to sibling2 but can't quite figure out how to do it. Here's code from the parent:
<fx:Script>
<![CDATA[
[Bindable] private var _myData;
public function set myData(value:Object):void{
_myData=sibli...