No, I am passing in the width.  But when I wanted to try a very basic
test of the YahooMapService, I set all the properties statically.

Also, the rest of the app works fine, its just the map that I have
issues with.  Thus I wanted to make sure I wasn't shooting myself in
the foot by making a basic map instance in another development
workspace.

Tom


On Jan 8, 2008 11:56 AM, Tracy Spratt <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
>
>
>
> When you say "changed manually the width of the swf", do you mean you set
> the width of the "object" and "embed" html tags?  Doesn't seem to me like a
> good way to do what you want.
>
>
>
> If I was doing this, I would pass the desired size of the app into the swf
> using flashvars.
>
>
>
> Tracy
>
>
>
>  ________________________________
>
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of João
>  Sent: Tuesday, January 08, 2008 9:38 AM
>  To: [email protected]
>  Subject: [flexcoders] Problems changing the width of the SWF on the HTML
> wrapper
>
>
>
>
>
>
> Hello,
>
>  we have created a form in Flex than should be used on several sites
>  with different widths. Our idea was to change the width manually on
>  the HTML wrapper file without having to recompile the SWF. So, what we
>  did was:
>
>  <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; width="100%"
>
>  and on the HTML wrapper, we have changed manually the width of the swf
>  on all "width" entries to a fixed pixel width (196).
>
>  The problem is that the area of the Flash content is properly set to
>  196, but the Application content seems to be expanded more than 196
>  and is cut on the middle. We are seeing only half of the application.
>
>  Have we done something wrong? Is this an expected behaviour or a bug?
>
>  Thanks,
>
>  João Saleiro
>
>  

Reply via email to