I have problem on deleting component which is created on runtime. Please help me.
heres my code in creating component
var oh: ObjectHandles = new ObjectHandles;
oh.x = event.localX-xOff;
oh.y = event.localY-yOff;
Canvas(event.target).addChild(oh);
oh.addEventListener(KeyboardEvent.KEY_DOWN,deleteSel);
...
I am deploying a Flash SWF which was built using Flex (3.2) / flexbuilder. It is a single SWF which doesn't do any further data requests of its own. It has some preloader code to display a progress bar when it is loading (it is approx. 650mb).
It works fine in almost all environments, but when deployed over HTTPS it fails to load - on...
I have a Javascript function that returns the innerHTML of a div. I am attempting to call this function from Actionscript and store the return value. I know that the Javascript function is being called because there is an alert that displays the return data, The data that is returned to Actionscript, however, is null. I am not sure w...
I set a custom cursor using the CursorManager on a sprite's mouse down event.
The custom cursor is shown. However, when I keep the mouse pressed the system cursor shows as well and is flickering.
Any idea how to prevent this?
I tried
- higher cursor priorities
- preventing the default in the mouse down event
nothing seems to work.
C...
I have a Flex application that calls a .aspx page on our webserver, which builds a PDF or Excel File. Right now, I am using navigateToURL() to call the file, and this works fine when the output file is built successfully. However, if there is an error, or timeout, there is no way of knowing this in the Flash movie.
I am trying to use U...
Hi,
I'm trying to use an SVG file in my Flex app - but it seems the best way to do that is to convert it to MXML. However, I cannot find an SVG to MXML converter. There seem to be a number of SVG to XAML converters (for Silverlight/C#), but I can't find anything analogous for Flash/Flex.
Any help would be appreciated.
Thanks,
Karthik
...
I need to show an image sequence as a movie in an Adobe AIR application - i.e. treat lots of images as video frames and show the result. For now I am going to try simply loading them and displaying in a movie clip but this might be too slow. Any advanced ideas how to make it work? Images are located on a hard drive or very fast network s...
What's the quickest way to print "debug" messages from Flex? You know, things like "got a mouse click at ($x, $y)" or "received and event from $sender".
...
Does anyone know how exactly RSLs work with AIR? I have a terminal server that runs several instances of a very large AIR application, which unfortunately has 100M RAM on startup and 200 after a bit of use. This is obviously not really workable, and I'm thinking that RSLs may be a solution if they're cached on the machine. However I have...
We are using objects that at times need to sync up with the server via
the mx.data.DataService, The problem is in case of explicit method
invocation over the dataservice object we are able to trap the fault
events using the fault handlers.
The problem arises when dataservice is sync'ing the object in
background. In case of a fault event...
My group is about to start doing a big web based project/application. The app. itself will not be used by many people and it is basically only for Intranet use for managers and application developers. Our boss wants our programmers to use the following tech. stack: FLEX -> Cairngorm -> BLAZEDS -> JAVA (EJB3 + POJO) -> ORACLE DB
Some of t...
I have been using Adobe Flex for more than an year now and
I really like it since I am not very good with Javascript.
But I just wonder if I were the person who thought of
making Adobe Flex, how would I explain to my boss,
as to what am I making? Wouldn't my boss simply
say, "but there is Javascript out there for pretty
much everything ...
Hello,
When I generate a page with jquery (by including a startup.js in a html page), i cannot acces a cookie through flex.
startup.js
function init_element() {
$(document).ready(function(event){
$("#accountBarDiv").css("position", "absolute");
$("#accountBarDiv").css("left", "0px");
$("#accountBarDiv").css("background-color", "tr...
I want to make a line chart that allows the user to select a date range for the data. For example if the date range span is more than 1 month, I want to to have a bar that shows the months, also if the date range is around 30 days or less I want it to show the dates for each day as well. Something like that.
Does anyone have any suggest...
I need to build a sales graph for a company and I am going to need to really customize the LineChart in Flex. Can anyone point me to a tutorial or even a book that gives exhaustive coverage of the LineChart in Flex?
Thanks.
UPDATE
Thank you guys for your answers but I am looking for an in-depth full coverage of everything you can do wi...
What's the best way to calculate the length of a Dictionary object in Flex?
var d:Dictionary = new Dictionary();
d["a"] = "alpha";
d["b"] = "beta";
I want to check the length which should be 2 for this Dictionary. Is there any way to do it other than looping through the objects?
...
I am getting this error during serialization:
RangeError: Error #2006: The supplied
index is out of bounds.
The error occurs in AbstractMessage.as when it attempts to read input of timestamp.
After that my fault handler gets this error:
faultCode:Server.Acknowledge.Failed
faultString:'Didn't receive an
acknowledge messa...
Is there a way to make synchronous calls using RemoteObject in Flex?
Solution:
Add the second call to the result handler of the first call, having a token check for multiple originating calls.
...
hi,
i am using flex, and in my application i am using datGrid, inside that there are 6 to 7 columns
In the last column, there are 5 link buttons.
Now in dataGris i also have one status column. on tha basis of status, i want to hide some of these link buttons.
for example, if status is 'a' then button 2 and 3 should disaapear
and when sta...
I have an ArrayCollection which is a dataProvider for a Tree component.
Objects inside ArrayCollection have _selected property.
After setting object's _selected property to true the Tree component should get updated (specific row should get highlighted). How could I achieve this? Do I have to write an ItemRenderer?
...