hyperlink on .swf puts margin around embedded flash

apouch
apouch used Ask the Experts™
on
I am using MacOS with FF 3.5.7 and Safari 4.0.4 - not sure how its looks on PC

http://www.annepouch.com/WNL/index2.html

Adding a hyperlink to this .fla file has put a margin/border around the
embedded flash movie and I cannot figure out how to remove it.

This is what I want it to look like but with the ability to link from the
.swf:  http://www.annepouch.com/WNL/index1.html

I would have thought putting border="0" on the object/embedded tags
would have taken care of it, but no luck  I have also attached the html file:

<object width="900" height="360" border="0" padding="0" margin="0" align="left" overflow="hidden">
<param name="movie" value="wnl3c.swf"/>
<param name="wmode" value="transparent" />
<embed src="wnl3c.swf" width="900" height="360" border="0" padding="0" margin="0" align="left" overflow="hidden">
</embed>
</object>


I have attached the .fla  but this is the action layer code that was added:

my_btn.buttonMode = true;

my_btn.addEventListener(MouseEvent.CLICK, myBtnClicked);

function myBtnClicked(e:MouseEvent):void {

navigateToURL(new URLRequest("http://www.wnlsafety.com"));

}

Thanks for any help!

wnl3c.fla
index2.html
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Have you tried also removing the border from the <embed> tag?

<embed ........ style="border:none;"></embed>

Author

Commented:
Yes I tried that with no luck.  
Hi,

The problem is with your flash.

wnl3b.swf flash displays good without white border.

But wnl3c.swf this getting some problem...
Commented:
attached your file with the problem solved

you can continue using your file by deleting a white border you created while creating the link button.
You selected and created the button but you did not select the border. The border stayed & it was white and so it kept showing.
wnl3c.fla

Author

Commented:
Thank you so much for you help!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial