|
-
Flash Incompetent
Lining up a SWF with a tiled background
I am curious if anyone can help me with a small problem I'm having. I recently decided I want to design a site with a very specific tiled background. Now the problem with this I can't seem to think of how to make sure my SWF lines up with the tiled background for different resolutions. Basically the SWF is going to be centered on the page and is going to incorporate the background so it needs to line up exactly with it (the first frame of the SWF basically will make it look like there is no SWF but just a full tiled background). I would presume people have encountered this problem before but I can't seem to come up with a solution. Anyways, thanks in advance for any help,
ChaseNYC
-
junior master chef
Instead of having a tile in your SWF, make the background transparent.
<param name="wmode" value="transparent" />
Put that in the SWF object tags in your HTML file, remove the background from your SWF and then see how it looks.
-
Flash Incompetent
hmm, this, surprisingly seems to work... kind of... in frontpage preview I can get the desired effect, but then when I check it in firefox it does not seem to register the transparency part... am I doing something wrong or does firefox not understand? if it isnt firefox compatible I think I want a different resolutions...
-
junior master chef
It does work in Firefox, there maybe some extra coding needed. In flash, open your FLA. Go to File/Publish Settings... Under the HTML tab in the "Window Mode:" drop down choose "Transparent Windowless". The HTML file published will have all of the correct coding and will work in Firefox. Take a look at the code and see what's different, or just use this HTML file as your main.
-
Flash Incompetent
Thanks! Works like a charm, always love when there are simple resolutions to simple problems!
Cheers,
ChaseNYC
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|