Hrm, I am not seeing this behaviour (the padding) in IE or Firefox. I changed the height and width of the Flex app to absolute values in the object and embed tags.
 
The Flex app is by default drawn in a table tag inthe HTML wrapper; maybe you have some style sheet that is overriding your wishes? :)
 
matt h


From: Anthony Merryfield [mailto:[EMAIL PROTECTED]
Sent: Thursday, February17, 2005 10:24 AM
To: [email protected]
Subject:RE: [flexcoders] Embedding a Flex app into an HTML page

Cheers Matt,

I have stuck the app in a html wrapper, now I need to get rid of the padding/margin around the app.

Ta,

T


-----Original Message-----
From: Matt Horn [mailto:[EMAIL PROTECTED]
Sent: 17 February 2005 14:47
To: [email protected]
Subject: RE: [flexcoders] Embedding a Flex app into an HTML page



Anthony, check out the section in the Dev Apps book on the HTML wrapper
(it's in the chapter called Deploying Applications). You'll be wanting to
write your own custom wrapper, which is covered in there. Here are some
livedocs links if you don't have the book:

Deploying Apps chapter:
http://livedocs.macromedia.com/flex/15/flex_docs_en/00000900.htm

About the HTML wrapper:
http://livedocs.macromedia.com/flex/15/flex_docs_en/00000923.htm

hth,

matt h


________________________________

      From: Anthony Merryfield [mailto:[EMAIL PROTECTED]
      Sent: Thursday, February 17, 2005 9:15 AM
      To: [email protected]
      Subject: [flexcoders] Embedding a Flex app into an HTML page
     
     

      Hi all,

      Are there any web docs outlining the process to embed a Flex app
within a web page? I currently have an app within an HTML template but it
has 20px (ish) padding all round it that is pushing the Flex out of
alignment and causing scrollbars to appear within Flash.

      Any help appreciated.


      Tony.

     
     
      This communication together with any attachments transmitted with it
("this E-Mail") is intended only for the use of the addressee and may
contain information which is privileged and confidential. If the reader of
this E-Mail is not the intended recipient or the employee or agent
responsible for delivering it to the intended recipient you are hereby
notified that any use, dissemination, forwarding, printing or copying of
this E-Mail is strictly prohibited. Addressees should check this E-mail for
viruses. The Company makes no representations as regards the absence of
viruses in this E-Mail. If you have receivedthis E-Mail in error please
notify our ISe Response Team immediately by telephone on +44 (0)20 8896 5828
or via e-mail at [EMAIL PROTECTED] Please then immediately delete, erase
or otherwise destroy this E-Mailand any copies of it.
     
      Any opinions expressed in this E-Mail are those of the author and do
not necessarily constitute the views of the Company. Nothing in this E-Mail
shall bind the Company in any contractor obligation.
     
      For the purposes of this E-Mail "the Company" means The Carphone
Warehouse Group Plc and/or any of its subsidiaries.
     
      Please feel free to visit our website:http://
www.carphonewarehouse.com or http://www.phonehouse.com
     
      The Carphone Warehouse Group Plc (Registered in England No. 3253714)
1 Portal Way, London W3 6RS
     
     
      Yahoo! Groups Sponsor     
            ADVERTISEMENT
     
     
<http://us.ard.yahoo.com/SIG=129ceaips/M=298184.6018725.7038619.3001176/D=gr
oups/S=1705007207:HM/EXP=1108736112/A=2532114/R=2/SIG=12k2721p5/*http://clk.
atdmt.com/NFX/go/yhxxxnfx0020000014nfx/direct/01/&time=1108649712922601>            
     
<http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=groups/S=
:HM/A=2532114/rand=688039812>      

      ________________________________

      Yahoo! Groups Links
     

      *      To visit your group on the web, go to:
            http://groups.yahoo.com/group/flexcoders/
             
      *      To unsubscribe from this group, send an email to:
            [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
             
      *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .

     
     




Yahoo! Groups Links









This communication together with any attachments transmitted with it ("this E-Mail") is intended only for the use of the addressee and may contain information which is privileged and confidential.  If the reader of this E-Mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient you are hereby notified that any use, dissemination, forwarding, printing or copying of this E-Mail is strictly prohibited.  Addressees should check this E-mail for viruses.  The Company makes no representations as regards the absence of viruses in this E-Mail.  If you have received this E-Mail in error please notify our ISe Response Team immediately by telephone on +44 (0)20 8896 5828 or via e-mail at [EMAIL PROTECTED]  Please then immediately delete, erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not necessarily constitute the views of the Company.  Nothing in this E-Mail shall bind the Companyin any contract or obligation.

For the purposes of this E-Mail "the Company" means The Carphone Warehouse Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 PortalWay, London W3 6RS


Reply via email to