# Parameter passing not working

**URL:** https://forum.kirupa.com/t/parameter-passing-not-working/314084
**Category:** Uncategorized
**Created:** [September 17, 2010, 5:31pm UTC](https://forum.kirupa.com/t/parameter-passing-not-working/314084 "2010-09-17T17:31:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![digiweb](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@digiweb](https://forum.kirupa.com/u/digiweb)
#### Post date: [September 17, 2010, 5:31pm UTC](https://forum.kirupa.com/t/parameter-passing-not-working/314084/1 "2010-09-17T17:31:49Z")

</div>

Hi,

I’m new to flash and have been working on a simple parameter passing through embed and object tag. I’m not sure if there’s something wrong with the way I set up the text in flash or with the HTML itself. I tried using the instance name of the dynamic text and the variable name but nothing seems to work. I have attached the fla file. I would appreciate your help.

This is the code that loads it in html.

```auto
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="550" height="400" id="textflash" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="textflash.swf?txtwin=changed" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="textflash.swf?txtwin=changed" quality="high" bgcolor="#ffffff" width="550" height="400" name="textflash" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
    </object>

```

Thanks!
