Forum Moderators: open

Message Too Old, No Replies

Enlarging .FLV on rollover

looking for techniques

         

Baron Higbee

9:44 pm on Nov 4, 2007 (gmt 0)

10+ Year Member



Hey there :)

I'm a "fairly" veteran Flash user but have just recently started using CSS. I wasn't sure which forum to post this in sorry if it's the wrong place.

Currently I have a contents bar that contains a DIV holding the very small FLV. I would like for the FLV to expand to it's full size and be on top of the content of the page when it is rolled over.

I have seen this done on other sites, but it's a new technique for me. Should I be using a combination of PHP (to change the size variables) and CSS (to change the z-index) or can this all be done within ActionScript? After all, I want to do this without disrupting the layout of my CSS page :)

Thanks in advance!

Baron Higbee

4:28 pm on Nov 5, 2007 (gmt 0)

10+ Year Member



Well this ended up being fairly difficult to achieve because I had another flash file on the page that was obstructing the SWF I was trying to expand. [EDIT: have not tried setting the wmode to transparent and adjusting the appropriate z-indexes]

For my page, I came up with a better placement solution for the FLV, however I know this is still a trick that can be done. I googled around a bit more and it looks like you can alter the FLV size with a beefy amount of ActionScript and then toss in some Javascript to change the class.

Anybody wanna share the code for this trick?

[edited by: Baron_Higbee at 5:04 pm (utc) on Nov. 5, 2007]