I just looked at our default template.  I think you have to modify
AC_Generateobj in AC_OETags.js.  Someone else may have a better
solution.

 

You could add tags to the string or change from writing the document to
writing to something else.

 

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Baird
Sent: Tuesday, September 18, 2007 10:14 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Alignment of SWF in HTML output

 

Thanks Alex. I've tried wrapping different parts of the html in a
table/table row and divs, but neither have effects. Do you happen to
know which part should work to be centered in the whole page? 

On 9/17/07, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >
wrote:

Make sure you're wrapping the right thing.  The object/embed tags are
not used by most browsers.  Also make sure your app appears centered at
that size.

 

________________________________

From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@yahoogroups.com
<http://yahoogroups.com> ] On Behalf Of Michael Baird
Sent: Sunday, September 16, 2007 11:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Alignment of SWF in HTML output

 

I have a Flex app with a defined size of 1024x768. I'd like to be able
to center this in the HTML page that it gets embedded in. I've tried
editing the FlexBuilder-generated html index page to include a div,
table, etc to try to get the SWF centered, but nothing seems to have any
effect. 
What am I missing? Is there an easier way?

 

 

Reply via email to