FlashVars


	debug.text = LoaderInfo(this.root.loaderInfo).parameters.vidname;


		<div id="flashContent">

			<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="100%" id="newvideo" align="middle">
				<param name="movie" value="newvideo.swf" />
				<param name="quality" value="high" />
				<param name="bgcolor" value="#ffffff" />
				<param name="play" value="true" />
				<param name="loop" value="true" />
				<param name="wmode" value="window" />
				<param name="FlashVars" value="vidname=energy" />
				<param name="scale" value="showall" />
				<param name="menu" value="true" />
				<param name="devicefont" value="false" />
				<param name="salign" value="" />
				<param name="allowScriptAccess" value="sameDomain" />
				<!--[if !IE]>-->
				<object type="application/x-shockwave-flash" width="100%" height="100%" data="newvideo.swf">
					<param name="movie" value="newvideo.swf" />
					<param name="quality" value="high" />
					<param name="bgcolor" value="#ffffff" />
					<param name="play" value="true" />
					<param name="loop" value="true" />
					<param name="FlashVars" value="vidname=energy" />					
					<param name="wmode" value="window" />
					<param name="scale" value="showall" />
					<param name="menu" value="true" />
					<param name="devicefont" value="false" />
					<param name="salign" value="" />
					<param name="allowScriptAccess" value="sameDomain" />

				<!--<![endif]-->
					<a href="http://www.adobe.com/go/getflash">
						<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
					</a>
				<!--[if !IE]>-->
				</object>
				<!--<![endif]-->
			</object>
		</div>

(The value of the parameter is being filled in with PHP, not shown)

Why does debug (A standard text object) come up as blank?

We do answer these questions. But it helps to get an accurate answer if there’s plenty of information posted about the problem, the conditions, etc. Not just a bunch of code then a one-line question.

Often I’ll think that getting the necessary information out of you will be harder than fixing the problem, so I just let it go.

What browser are you using?

I’ve never worked with AS3 (just AS2), but maybe this will helps? Looks like it does what you want. From what I can see anyway :slight_smile:

Does anyone answer threads on this forum anymore? I’ve posted 5 questions, and the only answer i’ve gotten is myself.