Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thank you - I will give this a try.
MN
Copy link to clipboard
Copied
Still not working.
Here is what I have in the flash:
onClipEvent(load) {
if (section == "about"){
this._alpha = 100;
}else{
this._alpha = 0;
}
}
On the page I have:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="550" height="400" id="test" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="test.swf?section=about" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="test.swf?section=about" quality="high" bgcolor="#ffffff" width="550" height="400" name="test" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
When I publish the test - the _alpha is 0 so Flash is reading the conditional statement. But the variable "about" is not being passed at all.
Thanks
Copy link to clipboard
Copied
I think I have it working now - I changed it to this:
onClipEvent(load) {
if (_level0.section=="about"){
this._alpha = 100;
}else{
this._alpha = 0;
}
}
adding the '_level0' did the trick - now I will try it in my real application!
MikiNack