I'm writing a Flex app using REST requests and trying to avoid HTTP caching as well as synchronize client/server time. To this end I've created a timestamp property as such:
// returns a timestamp corrected for server time
private function get timestamp() : Number
{
return new Date().getTime() + clientClockAdjustMsec;
}
(The clien...
Hi guys..
m using the osflex treegrid component for my project .
http://flex2components.sourceforge.net/
Although i am able to use it in my code and populate data,i am not able to get the sort functionality of the treegrid working fine.Why is it ?
The demo given in the link above has the sort functionality which works fine ....what may...
I'm looking to dispose of my localconnection when the movie is closed, or unloaded, what event should i do this with?
...
I have been seeing some Flex Frameworks, but would like to ask to the programmers and Architects down here on which has suited best in your application.
Cairngorm
Pure MVC
Mate Framework
Custom One.
...
Hi,
After bringing in some html into flex and displaying it in a rich text editor control,
I would then like to make some changes to the text and send it back up to the server.
Now, I know the control will only deal with a subset of tags and that's ok for this scenario, however when I pull the html text back out of the control, low an...
I have this bit of code, and it's not working as I expected. btnContainer is a VBox that contains a ton of buttons (toggle=true); and I want to reset them to un-toggled at a certain point.
for (var btn:Object in btnContainer.getChildren()){
if (btn.isPrototypeOf(mx.controls.Button)){
btn.selected = false;
}
}
With the abo...
Here is the application I need help with: http://www.nypinball.com/inventory.php
The entire box at the top is a Flex application. The box on the left with the list of pinball machines is a VBox. As you can see, if you try to scroll with your mousewheel, it doesnt respond. The reason this is shut off is because I found that if it's...
I have a flex client connecting to a web service that needs an authentication token added as a header, named "Identity". An example of the expected message is:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<Identity xmlns="ns">2188dcbe-0325-4c1e-9a77-19110e0ea99f</Identity>
<To s:mustUnderstand...
I have an HBox with a fixed Width and Height and a Border. In that HBox I have a viewStack with a few different views.
When the viewStack changes views, I want the HBox container to keep resizing to its content. Currently it stays at the fixed width.
Is there any way to do that with an HBox setting?
...
Running flex builder 3 on windows 7 RC.
For some reason, my work completion/intellisense stopped working..
If i try to manually trigger the shortcut (alt + /) I hear a windows 'error sound'.
any ideas?
...
I'm using a localconnection to allow communication between an actionscript 2 swf and an actionscript 3 swf.
Localconnection objects share a global namespace across a user's pc.
So, this means, a user can fire up my flash app in one browser, and submit commands, back and forth, which is what i want. But the user can also fire up another ...
I wanted an animation to dispatch custom events as it cycled. It became apparent that not even trace() was running. After some searching, I found the following at Adobe:
http://livedocs.adobe.com/flex/3/html/help.html?content=embed_4.html
"If the SWF file contains any ActionScript code, Flex prints a warning during compilation and then s...
AIR seems to keep its own DNS cache when an application is running, and ignores any changes to the OS DNS cache (i.e. ipconfig /flushdns).
More specifically, I'm creating multiple URLStream & URLRequest objects over a long period of time in a AIR application. Once the first one connects the host's IP address is cached for the lifetime...
Hi,
I'm developing a flex application with 4 tabs. When the user switches a tab I want to reset the previous tab to its initial state. Also I need to alert the user, if he hasn't saved the changes he made if any, will be lost.
I'm planning to set a variable in the Model, and set/reset it if any change happens in a field under a tab. Bu...
if someone presses ctrl +alt +delete or any kind of shutdown hook from any os and delete the flex process from task manager then how can i track from that flex process application that killing that flex process was activated so i like to do some processing before killing this process.
...
Hi all,
I'm trying to implement a Dashboard using Abobe Flex which is fed from a Ruby on Rails application. The Dashboard will just display charts and tables which can be fed by JSON, XML etc. feeds.
A User will need to login into the Flex frontend before they can view the Dashboard, so I have two main requirements for this to work:
1...
i have a flv video file
i loaded the binary data of this flv file to memory by using
var myFile:File = File.documentsDirectory.resolvePath("AIR Test/video.flv");
var myFileStream:FileStream = new FileStream();
myFileStream.open(myFile, FileMode.READ);
var bytes:ByteArray = new ByteArray();
myFileStream.readBytes(bytes);
myFileStream.c...
Can a DNS lookup be made with AS3?
...
Can anyone tell me the equivalent of osflex:TreeGridCellRenderer for the flexlib package ??
...
Could anyone tell me what the difference between height and measuredHeight is in flex?
After reading a few articles on the adobe site, I'm still non the wiser as to when to use which.
Any pointer much appreciated;
...