Rus
Member
Registered: 24th Jan 05
Location: SE London, Kent
User status: Offline
|
long story short, click a flash button, calls javascript function in an asp.net page (under <script language="javascript">) that javascript part has a function called zindex with an if statement of if z=1 { z=0. nothing hard but what i want it to do is changed a style from the css page (which is import of course). so the class holding the embedded flash file, i want its z index to change from 1, to 2. so everytime you click this button in flash, it swaps its z index in asp.net.... using javascript :lol:
does that make any sense at all?
[Edited on 22-06-2007 by Rus]
|
Rus
Member
Registered: 24th Jan 05
Location: SE London, Kent
User status: Offline
|
actually fuck that off. just done this in the end
<script language="javascript">
var z = 0
function zindex() {
if (z=0) {
<div id="flash">
<script src="flash8embed2.js"></script>
</div>
} else {
<div id="flash2">
<script src="flash8embed2.js"></script>
</div>
}
}
</script>
[Edited on 22-06-2007 by Rus]
|