When you place a Flex application inside a custom HTML page instead of generating the HTML page automatically, you must set up the HTML page to support history management if you want to use it.
The following steps are required to support history management:
<script language='javascript' charset='utf-8'
src='/flex/flex-internal?action=js'></script>
historyUrl and lconid parameters to the flashVars variable for both the object and embed tags, as the following example shows. You must add these parameters in JavaScript, because history management uses a JavaScript variable called lc_id.
document.write(" <param name='flashVars' value='historyUrl=%2Fflex%2Fflex-
internal%3Faction%3Dhtml&lconid=" + lc_id +"'>");
_history iframe, as the following example shows:
<iframe src='/flex/flex-internal?action=html' name='_history' frameborder='0' scrolling='no' width='22' height='0'></iframe>
Version 1.5
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/15/flex_docs_en/00000640.htm
Comments
No screen name said on Jan 4, 2005 at 7:05 AM : mpeterson said on Jan 7, 2005 at 6:45 AM : stevermac said on Nov 29, 2005 at 7:17 AM : smgilson said on Nov 29, 2005 at 8:58 AM :