Try referring to lc_id as top.lc_id.
http://groups.yahoo.com/group/flexcoders/message/7849
On 10/31/05, moyosaned <[EMAIL PROTECTED]> wrote:
> We got the following problem. We builded an application witch
> History Management. Now in de precompiled swf + html it is working
> correct. but when we copy past the htmlcode en call this html. we
> see that that on action history is updated (check "Back"-button).
>
> Because we got 2 servers 1 flexserver and 1 server for html, cms,
> etc.
> we thought it had something to do with crossdomain. So we stored the
> js, swf and iframe, that are needed for history, and tried it like
> that but still same effect history is updated but but there is no
> action followd by clicking on "Back". (we have adjusted the paths)
>
>
> Sample
> /************************************************/
> <script language='javascript' charset='utf-8'
> src='history.js'></script>
>
> <script language='javascript' charset='utf-8'>
> document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-
> 444553540000'
> codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swf
> lash.cab#version=7,0,14,0' width='100%' height='100%'");
> document.write("id='news.swf'");
> document.write(">");
> document.write(" <param name='flashvars' value='historyUrl=flex-
> internal.htm&lconid=" + lc_id +"&postingid=188dc949%2D6f31%2D4e1e%
> 2D90ba%2D4dcb89ed68eb>");
> document.write(" <param name='src' value='news.swf'>");
> document.write(" <embed
> pluginspage='http://www.macromedia.com/go/getflashplayer'
> width='100%' height='100%'");
> document.write(" flashvars='historyUrl=flex-internal.htm&lconid="
> + lc_id +"&postingid=188dc949%2D6f31%2D4e1e%2D90ba%2D4dcb89ed68eb");
> document.write(" src='news.swf'");
> document.write(" name='news.swf'");
> document.write(" />");
> document.write("</object>");
> </script>
> <script language='javascript' charset='utf-8'>
> document.write("<br><iframe src='flex-internal.htm' name='_history'
> frameborder='0' scrolling='no' width='22'
> height='0'></iframe></br>");
> </script>
> /************************************************/
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/