Flex 3 AdvancedDatagrid cannot convert mx.managers::DragManagerImpl to mx.managers.IDragManager
I was getting this error when clicking my AdvancedDatagrid. This only seemed to occur after converting the app to a module.
The answer to the problem was to add the following to your main application.
Hope this helps you spend a lot less time than I did resolving the problem
import mx.managers.IDragManager;
private var iDragManager:IDragManager;
Here is the […]
FLEX 3 Catch Browser Exit or Close Event using Javascript and ExternalInterface
Well after doing a bunch of searching and hacking away, I have managed to come up with a solution!
What I wanted was to set a variable when a change was made in my Flex application. (In my case it meant that a new module was loaded to my dashboard application) This way if a user […]
FLEX 3 Custom Event Listener with Popup window
Create the custom Event.
In this case I will need to pass an object along with the event.
Save the actionscript as ParseFixClickEvent.as
package modules.FIXParser.Events
{
import flash.events.Event;
public class ParseFixClickEvent extends Event
{
public var params:Object;
public static const PARSE:String = “parseEvent”;
public function ParseFixClickEvent(params:Object, type:String )
{
super(type);
this.params = params;
}
public override function clone():Event {
return new ParseFixClickEvent(params,type);
}
public override function toString():String
{
return formatToString(”ParseFixClickEvent”,”type”);
}
}
}
In my case I […]
Dividend Reinvestment Calculator
I have been a moderate investor in Dividend Reinvestment Plans. aka (DRIPS) If you are not sure what that is, check out http://www.fool.com/school/drips.htm as they do a pretty good job explaining it.
But basically it allows investors to buy shares of a particular equity on a periodic basis (bi-weekly, monthly,quarterly etc). Dividends on that […]
FLEX and Perl Export to Excel
Need to export a Flex Datagrid to Excel CSV?
Here is a link to the Flex code
The flex code will convert the DataGrid to a CSV string. Which you will then post to a cgi….code below.
You can see it in action on my Dividend Reinvestment ToolÂ
#!/usr/bin/perl
use CGI qw(:standard);
my $cgi = new CGI;
my $count = 0;
use […]
Windows Authentication using WebOrb and Flex Client
1) First make sure that the security level in IIS (at least for the WebOrb virtual Directory is set to Windows Integrated security)
2) CREATE A C# CLASS with the following function
public string getUsername()
{
System.Security.Principal
.WindowsPrincipal p = System.Threading.Thread.CurrentPrincipal as System.Security.Principal.WindowsPrincipal;
string strName = p.Identity.Name;
return strName;
}
Flex Client Code Action Script
<mx:Script>
<![CDATA[
import mx.rpc.events.ResultEvent;
//import mx.rpc.remoting.RemoteObject;
import flash.net.registerClassAlias;
import mx.controls.Alert;
import mx.messaging.config.ServerConfig;
private var […]

