We use a CF based login and IE also at work.  What I have done is set 
my username and password in the flashvars parameter in the 
index.template.html file for each of my projects.

I use these values in the RemoteObject.setRemoteCredentials call.  
When I move code to production, I use a .cfm wrapper and pass 
username and encrypted password session variables instead of the 
hardcoded values.


index.template.html file change:

AC_FL_RunContent(
   "src", "${swf}",
   "width", "${width}",
   "height", "${height}",
   "align", "middle",
   "id", "${application}",
   "quality", "high",
   "bgcolor", "${bgcolor}",
   "name", "${application}",
   "flashvars",'historyUrl=history.htm%3F&lconid=' + lc_id 
+ '&username=myUserName&pwd=MyPwd',  <------------------  change
   "allowScriptAccess","sameDomain",
   "type", "application/x-shockwave-flash",
   "pluginspage", "http://www.adobe.com/go/getflashplayer";
);


Flash Remoting Code:

cfRemoteObject = new RemoteObject();
cfRemoteObject.destination = "ColdFusion";
cfRemoteObject.source = e.test.api.cfcFile;
cfRemoteObject.setRemoteCredentials
(Application.application.parameters.username,Application.application.p
arameters.pwd);


--- In flexcoders@yahoogroups.com, "Douglas Knudsen" 
<[EMAIL PROTECTED]> wrote:
>
> How to get FB debug to launch in the internal web browser in 
Eclipse and not
> FF/IE?  Possible?
> 
> Why would I want this?  We are having issues with the debugger on 
IE.  Issue
> is we have a CF based login and the Debug launches a new IE session 
each
> time its used, not reusing a current IE window, thereby breaking 
the debug
> session.  Oh, and IE is the standard in my company :(
> 
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>


Reply via email to