Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Overlaying and aligning a SWF animation over content
Old 03-05-2008, 11:05 AM Overlaying and aligning a SWF animation over content
Junior Talker

Posts: 2
Name: Stephen
Trades: 0
Hi!

well, i'm trying to put a 250px wide SWF file floating on the right side of a 640x480 window...

The 640x480 window is a <div> tag and contains additional content in <div> columns: 150x480, 320x480, and another 150x480... The first column is floated left, the second column is centered, and the third column is floated right. The SWF file is just placed OVER the right and part of the middle column.

I thought the SWF needs to be a position:absolute tag to overlap the other columns' content with the z-index tag...but to do that it needs exact coordinates for placement, right? Problem is the website needs to be centered on the page, and his coordinates will need to shift according to window size. I mean, he needs to stay on the right side of the <div> window he's set inside, regardless where that window moves to.

Also, when the SWF file is loaded on top of other buttons, the buttons behind the SWF are inoperative. Is there a way to unload the SWF file from the screen after it's animation is complete, or is this a flash question?

Thanks greatly in advance!
whoamonga is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-05-2008, 02:44 PM Re: Overlaying and aligning a SWF animation over content
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
when the SWF file is loaded on top of other buttons, the buttons behind the SWF are inoperative
Make sure the window mode is set to "windowless transparent" and wmode is set to transparent in the parameters.

You should be able to position the flash div with position: relative and setting it so it stays on the right side ie. right: 0;. However, you must also make sure that the container surrounding it is also set to position:relative.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-05-2008, 04:38 PM Re: Overlaying and aligning a SWF animation over content
Junior Talker

Posts: 2
Name: Stephen
Trades: 0
Right, I have the wmode set to transparent for the SWF, but the window it still creates for itself doesn't allow for interaction below it...

I'm attempting to have a SWF that's the width of the 640x480 div, play an animation that runs across the screen one, and then is gone. If the SWF remains, even with a transparent window, content behind it is inoperative... But i think there might be a way in Flash to unload the movie from wherever it's at, once it's played through.

Thanks for your help!!!
whoamonga is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Overlaying and aligning a SWF animation over content
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20907 seconds with 12 queries