Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Movie resizing according to browser width
 

isagard




quote this post edit post

IP Loged report this post

Old Post  02-20-06 - 08:26 AM  
Is there a way to resize a flash movie according to the user's browser or sc
reen width?


Post Follow-Up to this message ]
Re: Movie resizing according to browser width
 

tralfaz




quote this post edit post

IP Loged report this post

Old Post  02-20-06 - 08:26 AM  
"isagard" <webforumsuser@macromedia.com> wrote in message
news:dtar3o$kpk$1@forums.macromedia.com...
> Is there a way to resize a flash movie according to the user's
> browser or screen width?

In the Flash publish settings for html
Dimensions: percent
width 100   height 100

Setting to 100% works ok except for IE.  If you let Dreamweaver or
another html editor add a docType line to the html it will display as
100x100 pixels instead of 100% in Firefox.
Search the macromedia.flash forum for FireFox and 'small' or 'tiny' to
see discussion on that and different work-arounds.
tralfaz




Post Follow-Up to this message ]
Re: Movie resizing according to browser width
 

isagard




quote this post edit post

IP Loged report this post

Old Post  02-20-06 - 08:26 AM  
Doesn't work :(. This is the code I am using right now:

<EMBED SRC=/my/movie.swf AUTOSTART=true WIDTH=100% HEIGHT=100% LOOP=100>

I took off all the object stuff because it didn't work in the PHP this is in
.



Post Follow-Up to this message ]
Re: Movie resizing according to browser width
 

tralfaz




quote this post edit post

IP Loged report this post

Old Post  02-20-06 - 08:26 AM  
"isagard" <webforumsuser@macromedia.com> wrote in message
news:dtb6jc$3me$1@forums.macromedia.com...
> Doesn't work :(. This is the code I am using right now:
>
> <EMBED SRC=/my/movie.swf AUTOSTART=true WIDTH=100% HEIGHT=100%
> LOOP=100>
>
> I took off all the object stuff because it didn't work in the PHP
> this is in.

The 'object stuff' is for Internet Explorer.  The 'embed' part is for
and mozilla type browsers like Netscape and Firefox.   You need both
unless you want your site to not load anything for Internet Explorer
users.
tralfaz




Post Follow-Up to this message ]
Re: Movie resizing according to browser width
 

isagard




quote this post edit post

IP Loged report this post

Old Post  02-20-06 - 08:26 AM  
Yes, but it doesn't work right it doesn't expand to fit the browser window.


Post Follow-Up to this message ]
Re: Movie resizing according to browser width
 

tralfaz




quote this post edit post

IP Loged report this post

Old Post  02-20-06 - 08:26 AM  
"isagard" <webforumsuser@macromedia.com> wrote in message
news:dtbefn$c19$1@forums.macromedia.com...
> Yes, but it doesn't work right it doesn't expand to fit the browser
> window.

If you resize the browser window it will make the flash page change
size to fit the new browser window but the aspect ratio won't change.
You can end up with edges at the top or bottom if the window isn't
resized equally.  The other way to do it is to resize things using
Actionscript.
Here is an example with mx sourcecode on my website..
http://members.cox.net/4my5cats/noS...ageResize2.html

It resizes the background image only and repositions the other clips
but you can also resize the rest of the objects too using the same
method if you can work with the code.
tralfaz




Post Follow-Up to this message ]
Re: Movie resizing according to browser width
 

isagard




quote this post edit post

IP Loged report this post

Old Post  02-24-06 - 03:16 PM  
Doesn't work either.


Post Follow-Up to this message ]
Re: Movie resizing according to browser width
 

isagard




quote this post edit post

IP Loged report this post

Old Post  02-24-06 - 03:16 PM  
I got it to work using html and php.


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 04:54 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Flash Site Design archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top