You can modify the "flashvars" in index.template.html file under the 
html-template directory of your project.  In the follwoing snippet I 
have added username and pwd parameters.

// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
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=myUser&pwd=myPwd',           <------------  code change
   "allowScriptAccess","sameDomain",
   "type", "application/x-shockwave-flash",
   "pluginspage", "http://www.adobe.com/go/getflashplayer";
);


Then reference these parameter in Flex via the Application class:

import mx.core.Application;

Application.application.parameters.username;
Application.application.parameters.pwd;


--- In [email protected], Tony Obermeit <[EMAIL PROTECTED]> wrote:
>
> Thanks a lot! :-) - any code snippets to guide me as to how to do  
> that, or links to related examples?
> 
> Tony
> 
> Posted by: "Clint Tredway" [EMAIL PROTECTED]   clinttredway
> Tue Mar 27, 2007 5:33 pm (PST)
> 
> pass in the cookie value thru the flashVars.
> 
> On 3/27/07, Tony Obermeit <[EMAIL PROTECTED]> wrote:
>  >
>  > I need to access the cookies already created in the browser in 
order
>  > to determine if the user has been authenticated using oracle 
single
>  > sign on.
>  >
>  > 1. Which flash object / class do I use to access the cookies?
>  >
>  > 2. Anyone have tips / code to share that they've used to 
authenicate
>  > user with oracle sso?
>  >
>  > Thanks
>  >
>  > Tony
>  >
>  >
>


Reply via email to