<p>I have a swf with loads text into a Sprite that resizes based on the content put into - I'd like though for the ones that are longer than the page to have the browser use its native scroll bars rather than handle it in actionscript (very much like <a href="http://www.nike.com/nikeskateboarding/v3/" rel="noreferrer">http://www.nike.com/nikeskateboarding/v3/</a>...)</p>

<p>I did have a look at the stuff nike did but just wasn't able to pull it off.  Any idea's?</p>

[{'answer_id': 32980, 'author': 'grapefrukt', 'author_id': 914, 'author_profile': 'https://Stackoverflow.com/users/914', 'pm_score': 2, 'selected': True, 'text': '<p>I\'ve never done it that way around but I think <a href="http://swffit.millermedeiros.com/" rel="nofollow noreferrer">swffit</a> might be able to pull it off.</p>\n'}, {'answer_id': 33019, 'author': 'Paul Mignard', 'author_id': 3435, 'author_profile': 'https://Stackoverflow.com/users/3435', 'pm_score': 0, 'selected': False, 'text': "<p>I halfway looked at swffit but the height (and width sometimes but mainly height) would be dynamic - swffit let's you declare a maxHeight but that number would be constantly changing...maybe I could figure out how to set it dynamically. A great place for me to start though - thanks!</p>\n"}, {'answer_id': 33029, 'author': 'grapefrukt', 'author_id': 914, 'author_profile': 'https://Stackoverflow.com/users/914', 'pm_score': 0, 'selected': False, 'text': '<p>What I\'ve mostly been using if for is to limit how small you can make a "fullbrowser" flash, and for that it works great. \nHappy hacking! </p>\n\n<p>(and don\'t forget to post your findings here, I might need that too soon ;))</p>\n'}, {'answer_id': 34523, 'author': 'Theo', 'author_id': 1109, 'author_profile': 'https://Stackoverflow.com/users/1109', 'pm_score': 3, 'selected': False, 'text': '<p>The trick is to use some simple JavaScript to resize the Flash DOM node:</p>\n\n<pre><code>function resizeFlash( h ) {\n    // "flash-node-id" is the ID of the embedded Flash movie\n    document.getElementById("flash-node-id").style.height = h + "px";\n}\n</code></pre>\n\n<p>Which you call from within the Flash movie like this:</p>\n\n<pre><code>ExternalInterface.call("resizeFlash", 400);\n</code></pre>\n\n<p>You don\'t actually need to have the JavaScript code externally, you can do it all from Flash if you want to:</p>\n\n<pre><code>ExternalInterface.call(\n    "function( id, h ) { document.getElementById(id).style.height = h + \'px\'; }",\n    ExternalInterface.objectID,\n    400\n);\n</code></pre>\n\n<p>The anonymous function is just to be able to pass in the ID and height as parameters instead of concatenating them into the JavaScript string.</p>\n\n<p>I think that the JavaScript is fairly cross-platform. If you want to see a live example look at this site: <a href="http://www.talkoftheweather.com/" rel="noreferrer">talkoftheweather.com</a>. It may not look as though it does anything, but it automatically resizes the Flash movie size to accommodate all the news items (it does this just after loading the news, which is done so quickly that you don\'t notice it happening). The resize forces the browser to show a vertical scroll bar.</p>\n'}, {'answer_id': 2686451, 'author': 'Nick', 'author_id': 322680, 'author_profile': 'https://Stackoverflow.com/users/322680', 'pm_score': 0, 'selected': False, 'text': '<p>SWFSize </p>\n\n<p>See <a href="http://chargedweb.com/swfsize/samples/flash/" rel="nofollow noreferrer">here</a> for more details.</p>\n\n<p>Intuitsolutions.ca</p>\n'}]
['https://Stackoverflow.com/questions/32871', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3435/']