Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-23-2012, 09:47 AM   #1
Jawad
Veajawad
 
Join Date: Jun 2012
Location: Pakistan
Posts: 8
Post Resizing SWF file to fit any screen resolution

Hello Friends!

I want to create an interactive animated Intro in Flash cs5 using As3. After getting final swf, I will embed it into my website as Intro.

But 1st of all I need to know that how to make a swf which could be able to change its size on different browsers resolutions.

Please help me.

Thanks

Jawad
Jawad is offline   Reply With Quote
Old 06-23-2012, 10:00 AM   #2
Scearezt
Satisfied User
 
Scearezt's Avatar
 
Join Date: Jun 2010
Location: C:\\System32\Hungary
Posts: 426
Lightbulb

ActionScript Code:
stage.scaleMode = StageScaleMode.EXACT_FIT;
Scearezt is offline   Reply With Quote
Old 06-23-2012, 10:52 AM   #3
Jawad
Veajawad
 
Join Date: Jun 2012
Location: Pakistan
Posts: 8
Default

Thank you so much for help. But Sir I am still failed to get desired result.

Please have a look following link: razazahid.com/

Open this link and please re-size your browser. you will notice that it will not create any scroll bar and it will re-size flash file. This is what i want.

How can I embed flash in html to achieve above kind result. I mean swf should be re-size with browser resolution.

I dont know, How they did that.

Please let me know how can I achieve this kind of result.

Thanks
Jawad is offline   Reply With Quote
Old 06-23-2012, 01:18 PM   #4
Scearezt
Satisfied User
 
Scearezt's Avatar
 
Join Date: Jun 2010
Location: C:\\System32\Hungary
Posts: 426
Lightbulb

Take a look at it's source code.(DO NOT steal it, but learn from it)
Written in Javascript.
Scearezt is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:34 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.