Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
How to scale a flash movie to the browser size if resized

 
Post new topic   Reply to topic    dna88 Forum Index -> Multimedia Discussion Forum
Author Message
dude
Power User
Power User


Joined: 10 Mar 2004
Posts: 376
Location: Savar, Dhaka

Post Post subject: How to scale a flash movie to the browser size if resized Reply with quote

That is the question. How can I publish a flash movie so that it resizes automatically when the browser is resized? What is the html or flash code for that?
Wed Sep 15, 04 9:14 am
Back to top
dude View user's profile Send private message Visit poster's website
hasnatme
Moderator
Moderator


Joined: 22 Aug 2004
Posts: 283
Location: Dhaka,Bangladesh

Post Post subject: Reply with quote

Use fscommand with fullscreen and allow scale to true.
_________________
Just Fly With Your Dreams!!!
Digital Vision
Wed Sep 15, 04 11:24 am
Back to top
hasnatme View user's profile Send private message Yahoo Messenger MSN Messenger
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: Dynamic resize of flash movie with broswer Reply with quote

I may be wrong but as far as far as I know, you can use fscommand only with projectors. Since dude is talkning about scaling the flash movie with a browser resize, I think we need to take a different approach.

To have the flash movie scale dunamically with the browser size,

-- From the File menu go to Publish Settings
-- Choose HTML settings tab
-- From the dimension pulldown menu choose Percent. At the bottom of that write 100 by 100 for width and height.
-- Publish your flash file and copy the html code for the flash to use on your website.

You will get something like this:

Code:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
 WIDTH="100%" HEIGHT="100%" id="index2" ALIGN="top">
 <PARAM NAME=movie VALUE="index2.swf"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#333333> <EMBED src="index2.swf" menu=false quality=high wmode=transparent bgcolor=#333333  WIDTH="100%" HEIGHT="100%" NAME="index2" ALIGN="top"
 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>

_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Wed Sep 15, 04 3:14 pm
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Multimedia Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group