PDA

View Full Version : Visibility of Flash Objects


Leto
04-16-2003, 04:48 PM
does anyone know how to make a Flash Object come in to a window and then exit once its done playing the animation?

I don't have anything to demonstrate but somethign that would come in from off the screen and then leave the same way. Or something that would load with the page and then remove itself without having to reload the page.

Thank you to whoever is able to help me out... I was told that this would have to be done with javascript.

Leto
04-24-2003, 05:58 PM
Example Test Page (http://www.cbc2.org/test.asp)

<SCRIPT LANGUAGE="JavaScript" SRC="flashcheck1.js"></SCRIPT>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="250" height="143" id="flower" align>
<param name="movie" value="flower.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#000000"><embed src="includes/flash/spring_2003.swf" quality="high" bgcolor="#000000"
width="250" height="143" name="flower" align
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
</div>
</body>

I have found a code that seems to work partially but it doesn't set the movie's visibility to false like it supposed too.

the js file is here (http://www.cbc2.org/flashcheck1.js)

I was hoping to get anyone's input on what I am doing wrong. For the flash
movie, I entered a 'gotoURL' action for
javascript:spring_2003.TSetProperty('/', 7, 0); return false

If anyone could help me figure out what I
am doing wrong I would much appreciate it. Thank you.