Hi Hank,
If you use percentage-based dimensions Flex will take care of the resizing for you. Here is an example that might give you some ideas:
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=422
-TH
--- In [email protected], "hank williams" <[EMAIL PROTECTED]> wrote:
>
> On 7/25/06, Carlos Rovira [EMAIL PROTECTED] wrote:
> >
> > Hi Hank,
> >
> > On 7/25/06, hank williams [EMAIL PROTECTED] wrote:
> > >
> > > I am a total _javascript_/html idiot.
> > >
> > > But now I must put my flex app in an html container and I have some
> > > questions.
> > >
> > > 1. Does flex user swfObject? if not, why not?
> > >
> >
> > Flex 2 does not use swfObject. Adobe use its own script. Why? it seems
> > that they prefer their method ¿?
> >
> > 2. Also, if not, has anybody done any work to integrate.
> > >
> >
> > I test it in beta 3 and work without problem for a project with the
> > Flex SDK only.
> > Now the Flex 2 SDK comes with all the scripts ready to work, but you can
> > use SWFObject as well without too much work
> >
> > 3. Has anyone done an html container that would handle resizing the flash
> > > stage when the browser window is resized.
> > >
> >
> > See the SWFOBject examples and you'll find one that does exactly that, you
> > can use that example with your flex 2 swf
> >
>
> Ok, so here is the question. How! Remember, I am very weak on html and
> _javascript_. I am wondering how to integrate a swfObject that will do the
> cool resizing stuff with the html template that comes with flex. Any
> additional hints would be greatly appreciated. For example, I am thinking I
> wouldnt just want to replace the adobe html container because it seems to
> help with history for example. So I am thinking there is some necessary
> integration between the two. Is this right? What needs to be done.
>
> Regards
> Hank
>
> Hank
> > >
> >
> >
> >
> > --
> > ::| Carlos Rovira
> > ::| http://www.carlosrovira.com
> >
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

