Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Full Browser Flash Plus Pixel Fonts



hi:

Im making a full browser flash, but i cant manage to use pixel fonts (keeps getting blurry)

To make the full browser flash i used the tutorial from "gotoandlearn.com" and the script is as follows:

content._x = Stage.width/2;
content._y = Stage.height/2;

var stageL:Object = new Object();
stageL.onResize = function() {
content._x = Stage.width/2;
content._y = Stage.height/2;
};

Stage.addListener(stageL);

I thought that i could use "content._x=Math.floor(Stage.width/2)",but still does not work.

PLEASE HELP ME.

I WOULD APPRECIATE VERY MUCH YOUR HELP.



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 06-26-2006, 09:36 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Full Browser Flash. Blurred Pixel Fonts.
When using listeners to achieve full screen flash I am having problems with pixel fonts not showing crisp. My guess is that they are not set on 0x 0y when movieclip is centered or resized. Is there any way to keep the fonts at a 0 integer so they show crisp at all times. Here's my code.

// ***Stage aligned top left
Stage.align = "TL";

// *** Stop the stage from scaling with the browser window
Stage.scaleMode = "noScale";

// initiate postitions and scaling values for objects
MainMovie._x = Stage.width/2;
MainMovie._y = Stage.height/2;
backgroundstretch._width = Stage.width;
// end initial position setting

//create a listner that checks to see if the browser window is resized
sizeListener = new Object();
sizeListener.onResize = function() {

// change movieclip properties when the window is resized
MainMovie._y = Stage.height/2;
MainMovie._x = Stage.width/2;
backgroundstretch._width = Stage.width;
};
Stage.addListener(sizeListener);

Pixel Fonts In Full Screen Flash?
Hi there, Ive made a website that does full screen flash and Im trying to use pixle fonts. However they blur. I know that I have to keep the movie centered, I have found a piece of code on a forum about full broswer flash:

"If using pixel fonts use

myClip._x = Math.floor(stageXCenter);
myClip._y = Math.floor(stageYCenter);

to keep the fonts crisp!"


Ive tried putting this code in the root of my movie, but can't get it to work.


Anyone know where it should go, or have an alternate method to center the stage on whole pixles?


Any help would be much apreciated - Trev

Full Browser Flash Guidelines - How Do I Stop Images An Pixel Text Distorting?)
Hey guys,

I need to make my site full browser flash because when a portfolio element is clicked in its menu, a black overlay fades in and a project swf is called. Simple enough, but of course the overlay needs to fill the user's window otherwise it will look disjointed.

When I publish to full browser flash I have set the dimensions to 100% and got rid of the margins. The only problem is that the image and pixel text is distorted because they aren't at their proper size! Is there a certain size I should build to?

I had one idea that I could have a flat colour background that uses the stage class to scale it's size whilst the content stays the same size, the black overlay would use the scale class to define it's size too.
Would this work? I would obviously need to make sure that the central site stays central.

Any ideas?

Cheers

Sam

Pixel Fonts In Full Screen Mode
Hi,

When I view my projector file in full screen mode, my pixel fonts distort. Any way to avoid this?

Cheers

Pixel Fonts Appear Different On Win IE Browser Than Mac Safari
Has anyone noticed this when building a flash app in mx 2004 pro? Its driving me crazy. I know the rules and reg on setting all my coordinates on the whole integer, alias'ing my fonts etc...

However, knowing al of this and doing what I had always done before in Flash mx isnt working when buidling my sites in mx 2004 pro. I preview the app in win IE and mac Safari. Safari looks great, but when viwed on a win machine, the 8 pixel font size is un-readable....all fonts look horrible and tiny. This is mainly just on my dynamic text fields...but still, my static text fields that use the same pixel font look crappy on the win browser..

aahhhhhhh

this thing is making me go gray quicker than I'de like to. any help would be fantastic.. My deadline is quickly approaching and I'm freakn out!

Pixel Fonts Appear Different On Win IE Browser Than Mac Safari
Has anyone noticed this when building a flash app in mx 2004 pro? Its driving me crazy. I know the rules and reg on setting all my coordinates on the whole integer, alias'ing my fonts etc...

However, knowing al of this and doing what I had always done before in Flash mx isnt working when buidling my sites in mx 2004 pro. I preview the app in win IE and mac Safari. Safari looks great, but when viwed on a win machine, the 8 pixel font size is un-readable....all fonts look horrible and tiny. This is mainly just on my dynamic text fields...but still, my static text fields that use the same pixel font look crappy on the win browser..

aahhhhhhh

this thing is making me go gray quicker than I'de like to. any help would be fantastic.. My deadline is quickly approaching and I'm freakn out!

Pixel Dimensions For Full Browser Bitmap?
Hey everyone,

I posted a similar question earlier in the general discussion but didn't really get any takers on this & am still a little baffled on this issue.

I have been working on a project that i want to have a full browser background image.

My main question is: How big should i make the actual image in terms of pixel dimensions so it will scale well in a variety of browser sizes etc & not be too overwhelming in file size, but still look crisp?

Here is an example site that is achieving the look i am going for:
http://www.daanvandoorn.com/

I have been experimenting with the StageResizer class which does work, but it scales the background image disproportionally. On the site example above the image doesn't scale up to a point but then expands proportionally, which looks better.

Does anyone know how I can accomplish this look? what size to make the image, have an example fla? anything would be great.

Thanks

Pixel Fonts Appear Different In Win IE Bowser Than In Mac Safari Browser
Has anyone noticed this when building a flash app in mx 2004 pro? Its driving me crazy. I know the rules and reg on setting all my coordinates on the whole integer, alias'ing my fonts etc...

However, knowing al of this and doing what I had always done before in Flash mx isnt working when buidling my sites in mx 2004 pro. I preview the app in win IE and mac Safari. Safari looks great, but when viwed on a win machine, the 8 pixel font size is un-readable....all fonts look horrible and tiny. This is mainly just on my dynamic text fields...but still, my static text fields that use the same pixel font look crappy on the win browser..

aahhhhhhh

this thing is making me go gray quicker than I'de like to. any help would be fantastic.. My deadline is quickly approaching and I'm freakn out!

Making Your Movie Bleed In The Browser Without Effecting Pixel Fonts
Hi guys, I have looked throughout the forum but did not find any topics referring to, if there is any way I can bleed my movie in the browser from top to bottom without effecting pixel font. I have a movie 800 x 600, on each side of the movie I have a vertical bars that go all the way from top to bottom. When I publish my movie, on top and bottom I have a blank spaces between bars and the browser. I have also used this code in html page;

leftmargin="0" topmargin="0" marginheight="0" marginwidth="0"> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td align=center>,

but it dose not solve the problem. I’m also using a pixel font and if I try to stretch a movie, the fonts are loosing its sharpness. So if anyone might have any solution, please help me. Plan “B” is to use a .gif in the html page, however I wanted to check with you if there is any other way to do it. Thank you to all of you ahead of time.

Pixel Fonts In Flash
One small rather obscure question...

Does anyone know why when I use certain pixel fonts in Flash, on export and gaps inside the letters become filled?

Pixel Fonts In Flash
I'm trying to use pixel fonts to create that cool font look, but, even though I don't use scaling, I have the font at the right size, no anti-alias...they still show up all screwed up.
I have different text boxes on screen, and each one looks different from each other...why????

Pixel Fonts In Flash
I am having an issue with a pixel font in Flash. The font is FFF Harmony from Fonts for Flash.

The problem is that in IE on a PC some of the text renders fuzzy or blurry when published to my site. It's not all of the text, just some. The problem only happens in IE on a PC. Every other browser on PC or MAC, it renders fine.

I have made sure that the text X and Y values are set at xxx.0 as opposed to xxx.6 for example, which will cause the same problem when previewing within Flash.

Is this an IE issue? I am guessing so, since I cannot emulate the problem elsewhere. Is there anything that can be done about it? This is absolutely maddening!

Thanks in advance!

How To Use Pixel Fonts In Flash
This is prb basic stuff but i really have no idea.
I have download a few pixel fonts but how do i use it? here a few stuff i tried but its not working

1) Ii have unchecked the antialias text but it doesnt work when i published it

2) For pixel fonts i can only use it certain designated size inorder for it to appear crisp and sharp rite?

so how do i use it on my flash files????

thanks a million for the answers!!!

Best Non-pixel Fonts In Flash?
Any insight..

Ive been using Helvetica Neue, Times and Caslon...
but I'd love to be introduced to some other alternatives.

Thx!

WER TO GET FREE PIXEL FONTS FOR FLASH MX
Is there a place where i can get free PIXEL FONTS for FLash?



THANX, MINE ALL LOOK CRAPPY.

Free Pixel Fonts For Flash?
Does anyone know where to get some decent free pixel fonts for use in Flash?

cheers.

Fonts For Flash Pixel Problem
Ive been using fonts for flash for a while and have
never had a problem. But right now I'm having a problem.
I cant get the mc that contains the copy to stay on a pixel.
It automatically nudges itself to either .1 or .9.
Whats going on here?

flash 5

Pixel Fonts Not Working Whatever I Do (USING FLASH 5).
I know how i should be using a pixel font, but no matter how i try and use it, the thing never seems to work in a published movie or scene. It is a nightmate for me.

I know it must sit at the 0 coordinates, must not be centered etc etc etc etc. But it makes no difference. And barr burning my apple mac, i just dont know what to do anymore. I am using Flash 5, and i know there were bugs that mean i cant use dymanic text with pixel fonts. But this shouldnt matter as static text will embed the pixel font regardless.

Would someone look at this text .fla example and explain what in my settings/publishing is wrong. Any help would be great, i feel like i am cracking up now.... i just dunno what to do.

For your info... i downloaded this example text from wwww.fontsfor Flash.com , and have followed their guide to the letter. It should be at 8 size.

Thanks and please please help me....
Ade

Getting Pixel Fonts To Be Crisp In Flash
Umm... yeah, I need to know how to achieve this. Sounds pretty sumple, but I've just now started using pixel fonts, and forgot about reading about this delima.

Any help?

(as an example, here's something I was working on, in which pixel fonts are used. Roll over the buttons on the right- http://seenew.net/red.swf )

Flash 2004 - Pixel Fonts
hey everyone..
could anyone recommend any sites to download nice pixel fonts for free?? desperately need fonts for my project!!!

thanks in advance

fresh.

Flash 2004 - Pixel Fonts
hey everyone..
could anyone recommend any sites to download nice pixel fonts for free?? desperately need fonts for my project!!!

thanks in advance

fresh.

Flash MX 2004 And Pixel Fonts
Can somebody explain to me what is happenig with the new flashMX2004 in addition with text written with pixel fonts??

it keeps changing them to Arial....???

Thanx

How To Use System Pixel Fonts In Flash?
hi guys,

im trying to use a pixel font named Small Fonts in a flash project but flash just cant read that font.

anybody knows a workaround for use this on flash?


this font seems to be a system font also, and i think that is the reason for the whole problem, but im not sure.

this font its usually on the winxp 'fonts' folder, normally occulted by default.

you can download it in this link below, also.
http://www.magnasaga.com.br/otherfiles/smalle.zip

thanks for advancing!

Flash Pixel Fonts Still Blurring
Strange this have some flash fonts. I have positioned them right with x,y 0,0 snap to pixel zoomed into check, embeded, ant text one.

However, when i view there what looks like a wave of some words being cristal clear like they should be and others blurred. This happen's with some of my flash fonts that work fine else where just this one time they are not.

The only thing that i did notice is that when i zoomed in to check they are fitting in there box's. Some of the letter are not actualy properly in, how can this be dont tell me i have to go through each letter???? Whats the point of that.

Anyone get what i mean and have a solution?

Small Fonts That Anti-alias Gracefully (NOT Pixel Fonts Though..)
Yo. Anyone know any good fonts that work in small sizes (8 pointsish) that dont go yucky THAT ARENT PIXEL FONTS? know pixel fonts are good, but im looking for a smoother look. a good example is (suprise suprise) 2advanced.com..... the fonts used for links are luverly...... Anyone?

How Do I Enable Pixel-fonts In Flash MX 2004?
Hello gurus,
I just got my new copy of Flash MX 2004 yesterday! ...been playing with it awhile.

My question is...

How do I enable pixel-fonts in Flash 7 so that I can get those nice crisp-looking fonts that I see everywhere on most websites...like on Kirupa.com?

-cadmiugreen

Embedding (pixel) Fonts In Flash [renamed]
Does anybody know how to embed pixel fonts in flash!!

How Do I Enable Pixel-fonts In Flash MX 2004?
Hello gurus,
I just got my new copy of Flash MX 2004 yesterday! ...been playing with it awhile.

My question is...

How do I enable pixel-fonts in Flash 7 so that I can get those nice crisp-looking fonts that I see everywhere on most websites...like on Kirupa.com?

-cadmiugreen

Embedding (pixel) Fonts In Flash [renamed]
Does anybody know how to embed pixel fonts in flash!!

Full Browser Flash, Vertical Scrollbar Just Like Browser?
In short:
http://www.subdisc.com/
Look at the right scrollbar, how do I accomplish this?

The height of my site site is bigger than the Stage.height.
I could use a browser scrollbar via Java, but since I want to be free in design of every component I would rather use a flash scrollbar.
But how?

Full Browser Flash Detecting Browser Size Help.
http://akmphoto.net/akmdesign_new.html

Anyone know the AS to make it automatically check the size of the browser for the listeners.... _notice when you resize the browser it works perfectly...but not when it first loads up...any ideas?

Code:
// ***Stage aligned top left
Stage.align = "TL";
// *** Stop the stage from scaling with the browser window.
Stage.scaleMode = "noScale";
stop ();
// initiate postitions and scaling values for objects
fluid._x = (Stage.width + 200)/2
fluid._y = Stage.height/2
bottomstretch._height = Stage.height;
rightstretch._height = Stage.height;
topstretch._width = Stage.width;
rightstretch._x=201;
tutoriobutton._x = Stage.width - tutoriobutton._width

bottomo._x = (Stage.width + 200)/2
// end initial position setting


//create a listner that checks to see if the browser window is resized
sizeListener = new Object();
sizeListener.onResize = function() {
// change movieclip properties when the window is resized.
topstretch._width = Stage.width;
fluid._y = Stage.height/3;
fluid._x = (Stage.width + 200)/3;
bottomstretch._height = Stage.height;
rightstretch._height = Stage.height;
//*note* 200 is the width of the left column
tutoriobutton._x = Stage.width - tutoriobutton._width
bottomo._y = Stage.height/1;
bottomo._x = (Stage.width + 200)/2;
};
Stage.addListener(sizeListener);

[Fonts] Pixel Fonts Are Closing Gaps..
Hi there,

I've got a weird and irritating problem. I have a font, supernatural_10_02, which I use in a site. This is a pixelfont, so I'm taking special actions to make sure the fonts look non-antialiased. This works fine, the text looks very nice. Untill I export the movie, then the gaps in letters are being closed for some strange reason.

To ******** things, I've uploaded two examples. First an example of how the font looks on the Flash MX Working stage:



Then an example of how this same text looks when I export the movie:



What is going wrong? And what am I doing wrong.. Is there anything I can do to prevent those letters from closing? Please help!

I'm using Flash MX 6.0 on Windows XP

Ps: I've tried to export the movie on a Macintosh, the letters on that mac did not close?! Really weird..

Pixel Fonts Becoming System Default Fonts?
Hello, when I try to use some of the pixel fonts I have downloaded some of then turn into 'system default fonts' as if by magic and then fail to work, the ones that work like the FFF fonts don't turn into 'system default fonts'. Is there any way to stop my fonts becoming system default fonts, and would this ensure they dont muck up?

attached is a pic to show you what i mean.

Pixel Fonts Becoming System Default Fonts?
Hello, when I try to use some of the pixel fonts I have downloaded some of then turn into 'system default fonts' as if by magic and then fail to work, the ones that work like the FFF fonts don't turn into 'system default fonts'. Is there any way to stop my fonts becoming system default fonts, and would this ensure they dont muck up?

attached is a pic to show you what i mean.

Pixel Fonts / Bitmap Fonts
There are hundreds of pixelfonts out there, just check http://www.dafont.com/en/bitmap.php for example, but most of them don't seem to work with Flash!?

So far, after installing loads of them and trying them out I have only found the Kroeger, Hooge and Standard fonts from miniml.com and one called "Fixed_v01" to work...

I was wondering what pixelfonts you guys have tried? I would love to find a really small pixelfont like silkscreen that works with flash.

750 Pixel Flash Movie And Very Large Safari Browser
i've noticed that when i view my 750w flash pixel site in a large safari browser that the browser seems to accept mouse clicks outside of the actual dimensions of my movie that effect my movie. does anyone know why this is? thanks...

AS2 - How To Center Flash On Page Load In Browser (using Math.floor() For Pixel Alignment)?
Last edited by gadz : 2008-10-20 at 04:41.
























I need help. I have a swf that has a tiled bmp background, a movieclip (main) with all the content (except the loader movieclip) that is automatically centered on the stage at browser resize (using Math.floor() for pixel alignment). The SWF is 100% high and wide so it fills the browser, I'm using FlashScaler to show scrollbars in the browser when needed.

My problem is that when the swf loads in the browser, the loader movieclip and the main movieclip do not center on the stage of the swf until the browser window is resized manually.

On the timeline I have an actions layer with the following code:


PHP Code:



stop();

import flash.display.BitmapData;
import flash.external.ExternalInterface;

var sw:Number = System.capabilities.screenResolutionX;
var sh:Number = System.capabilities.screenResolutionY;

var tile:BitmapData = BitmapData.loadBitmap("tile");

function fillBG():Void {
    this.beginBitmapFill(tile);
    this.moveTo(0,0);
    this.lineTo(sw,0);
    this.lineTo(sw,sh);
    this.lineTo(0,sh);
    this.lineTo(0,0);
    this.endFill();
};

fillBG();

Stage.align = "TL";
Stage.scaleMode = "noscale";

Stage.addListener({onResize:reposition});

function reposition() {
    fillBG();
    var mc = _root.main;
    var newX = Math.floor(Stage.width / 2);
    mc._x = newX;
};
 
reposition(); 




Below it I have another layer with a preloader that uses the following code:


PHP Code:



onClipEvent (load) {
    total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
    loaded = _root.getBytesLoaded();
    percent = int(loaded/total*100);
    text = percent+"%";
    gotoAndStop(percent);
    if (loaded == total) {
        _root.gotoAndPlay(2);
    }





And below the preloader layer, I have the content movie clip (main) layer that starts on frame(2) after the preloader is finished loading the swf.

The HTML code is the following:


PHP Code:



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <title>Crosswind Group</title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <link rel="StyleSheet" href="style/main.css" type="text/css" media="screen,print" />
        <script type="text/javascript" src="js/swfobject.js"></script>
        <script type="text/javascript" src="js/flashscaler.js"></script>
        <script type="text/javascript">
            var flashvars = {};
            var params = { scale: "noScale" };
            var attributes = {};
            
            swfobject.embedSWF("main.swf", "flashmovie", "100%", "100%", "8", false, 
flashvars, params, attributes);
        </script>
    </head>
    <body>
        <div id="flashcontent">
            <div id="flashmovie">
                <h2>SORRY!</h2>
                <p>We have detected that you do not have the Flash Player plugin 
required to view this website.</p>
                <p>Download the latest <a href="http://www.adobe.com/shockwave/download/
index.cgi?P1_Prod_Version=ShockwaveFlash">Flash Player</a> for free! 
It takes just a few minutes to download and install.</p>
            </div>
    </div>
    <script type="text/javascript">
        scale = new FlashScaler("flashcontent",500,620);
    </script>

    </body>
</html> 



And the css is:


PHP Code:



html {
    height: 100%;
    font-size: 100%;
    overflow:auto;
}
body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    font-size: 76%;
    font-family: "Courier New",Arial, Verdana, sans-serif;
}
a {
    color: #666;
    text-decoration: underline;
}
h2 {
    margin-top: 2em;
}
#flashcontent {
    overflow: hidden;
}
#noflash {
    margin: 20px;






Here are the complete project files. (see attached zip file).















Attached Files

Full Browser Flash?
I know how to make a background stretch to 100% but how do you make movies stretch to 100%? If you take a look here:

http://73.ufc.com/

How do they get that bar along the botton to stretch all the way across regardless of your browser size?

Full Browser Flash With AS3?
I don't seem to be able to crack how to do this with action script 3 - Adobe/Macromedia semm to have changed how "Stage" works?

So how do you do full browser sites with AS 3?

Full Browser In Flash...
Anyone knows how was BG effect done on this webpage
http://creative-box.co.jp ???

Full Browser Flash
I have done Lee Brimlows tutorial (http://www.gotoandlearn.com/) and I have it working but I don't want my image to tile, just to resize as sharp as possible. I also want to be able to change that image through a navigation.

Any advice?

Full Browser Flash
Hello, I'm working on a site, that needs to have a full browser flash document. I've tried setting every object, and property to 100% width and height but I can't find out what's wrong.

In both firefox and IE there is a 5-10pixel white border around my file.Could anyone suggest what I should do to fix it? Thanks.

The particular file I'm using is published for flash 8.

Full Browser Flash
hi everyone and thanks in advance for your advice

i am trying to create a full browser flash movie along the lines of www.brook-pifer.com so that i want to scale a background .jpg to the full size of the movie.

has anyone got any tips on the best way to handle this?

Full Browser Flash
Hey everyone-
quick question about size...what's the best way to accomplish Full Browser Flash? Ive always had issues with this becuase of the difference in user displays. anyone have any suggestions? thanks everyone

Eric

Full Browser Flash?
Hi there,

Im trying to achieve a flash page that will cover the browser window ( not chromeless, just the browser!!) Ive posted a query about this subject before but the advice i recieved didnt really solve the problem. Im not experienced with actionscript and i think this may be my problem!!

Ive been experimenting with a 100x100 stage and filling it with a coloured box and then publishing it with the following html code:

......</head>
<body bgcolor="#ffffff" topmargin=0 leftmargin=0 rightmargin=0 bottommarign=0>
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/
pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100%" height="100%" id="Untitled-1"
align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Untitled-1.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="#ffffff" />
<embed src="Untitled-1.swf" quality="high" scale="noscale" salign="lt" bgcolor="#ffffff" width="100%" height="100%" name="Untitled-1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>....

According to articles such as "mastering full browser flash" (http://www.actionscript.com/index.ph...-flash-part-2/)

and a few other similar articles, this adjustment to the code is supposed to make the flash movie stretch accross the stage to fill the browser, regardless of the original movie size.

I cant get this to work and its driving me mad. Im trying to jazz up my xhtml/css site by making a flash version and i need the flash mvoe to be able to fill the browser window.

Im also trying to enable the movie to adjust size depending on the viewers screen res. I understand this has to do with listeners.

Could somebody set me straight on this??

Full Browser Flash
I know Full Browser Flash is nothing new, but I need help with the tiled background. I want a great effect with a gradient on the background is there any way I can achieve this effect?
Do you have to use tiled gifs when working with Full Browser Flash?
Any help is appreciated!

Thanks.

Full Browser Flash
I have a full browser script that is working just fine (script below). I am having trouble however positiong an imported .swf clip into a movie clip (mc2). Even though the movie clip's registration point (mc2) is in the center, the .swf that goes in has a top left registration point, and that top left registration point is what gets centered, leaving the entire clip to be off center. I need help centering an imported clip with a top left registration point? Does the stage size matter? Any help would be greatly appreciated.

// ***Stage aligned top left
Stage.align = "TL";

Stage.scaleMode = "noScale";
stop ();

mc2._x = ?
mc2._y = ?

sizeListener = new Object();
sizeListener.onResize = function() {

mc2._y = ?
mc2._x = ?
};
Stage.addListener(sizeListener);

loadMovie("MainSlideshow.swf", mc2);

Full Browser Flash?
Hi there,

Im trying to achieve a flash page that will cover the browser window ( not chromeless, just the browser!!) Ive posted a query about this subject before but the advice i recieved didnt really solve the problem. Im not experienced with actionscript and i think this may be my problem!!

Ive been experimenting with a 100x100 stage and filling it with a coloured box and then publishing it with the following html code:

......</head>
<body bgcolor="#ffffff" topmargin=0 leftmargin=0 rightmargin=0 bottommarign=0>
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/
pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100%" height="100%" id="Untitled-1"
align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Untitled-1.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="#ffffff" />
<embed src="Untitled-1.swf" quality="high" scale="noscale" salign="lt" bgcolor="#ffffff" width="100%" height="100%" name="Untitled-1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>....

According to articles such as "mastering full browser flash" (www.actionscript.com/index.php/fw/1/mastering-full-browser-flash-part-2/)

and a few other similar articles, this adjustment to the code is supposed to make the flash movie stretch accross the stage to fill the browser, regardless of the original movie size.

I cant get this to work and its driving me mad. Im trying to jazz up my xhtml/css site by making a flash version and i need the flash mvoe to be able to fill the browser window.

Im also trying to enable the movie to adjust size depending on the viewers screen res. I understand this has to do with listeners.

Could somebody set me straight on this??

Full Browser Flash
Hey guys - I'm trying to have my movie take up the full browser and not slide UP when the window is smaller vertically. I've read all of the tutorials but can't seem to get it not to move up and cut off the top.
Here is the movie : http://www.vmg-marketing.com/kirupa/

Any suggestions?

Thanks,
Mike

Copyright © 2005-08 www.BigResource.com, All rights reserved