clarification: render.js.jsp renders the object/embed code onto script.jsp

thanks!

On 2/20/06, Jamay Liu <[EMAIL PROTECTED]> wrote:
>
> Hi everyone.
>
> I'm trying to load variables from a JSP file on my remote server to a
> local swf. I use loadPolicyFile and loadVars, and it works fine when the swf
> is called from the standard object/embed code on an html page.
>
> However, ultimately, I want to render the swf through a "js.jsp" file. I.e.,
> I have a script.jsp file with something like the following on it:
>
> <script language="Javascript" src="render.js.jsp?fileID=123">
> </script>
>
> render.js.jsp sends the fileID variable to the swf, which uses sendAndLoad
> to exchange that variable for a few other variables from a variables.jspfile 
> on my server.
>
> This method works fine when all of the files, including variables.jsp, are
> run locally. However, it hangs when I put variables.jsp on a remote
> server, even though there is a policy file in place.
>
> Does anyone know why:
> --script.jsp, render.js.jsp, and variables.jsp work fine locally with the
> swf, but not when variables.jsp is remote, even though there is a policy
> file next to variables.jsp allowing access from all domains?
> --the local swf can access variables.jsp remotely fine from standard
> object/embed code?
>
> I feel like there is something I'm missing-- any help would be very much
> appreciated!
>
> Thanks!!!!
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to