Old 05-30-2009, 07:30 AM   #1 (permalink)
Junior Member
 
Join Date: May 2009
Posts: 4
Default Can't get it to pan the whole image??

Hi There,

I have loaded a swf with the dimensions 2524 X 1852. And it loads fine. I can't get it to pan the whole image and I want it to fill the browser or flash player window. I read the thread on setting the instance of the viewport to be the size of the stage on resize, but it does not work. What am I doing wrong? Stage size is the same as swf (2524 X 1852). Changing the viewport makes the outcome random. Thanks so much in advance!
dkbaum is offline   Reply With Quote
Old 05-31-2009, 12:04 AM   #2 (permalink)
Junior Member
 
Join Date: May 2009
Posts: 4
Default Just checking to see if someone knows how to do this properly.

I have played around with making the viewport the size of the stage on resize and I can't get it to work. Basically I just want the viewport to be the size of the browser, whether it's small, large, or fullscreen. When I try to control the size of the viewport via actionscript it stretches the swf and it does not position properly??? I am stumped.
dkbaum is offline   Reply With Quote
Old 05-31-2009, 02:31 AM   #3 (permalink)
Junior Member
 
Join Date: May 2009
Posts: 4
Default Figured It Out...

I just needed to add Stage.align = "TL";

Whoops!
dkbaum is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:09 AM.