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








StageWidth After Resize


When I resize the stage during execution stage.stageWidth changes as expected, but the 0,0 coorinate seems to ove. When I trace out the stage.mouseX or mouseY coordinates after maximizing the stage I get negative numbers for the upper left hand corner, and the lower right gives numbers that are too low. For instance my normal stageWidth is 550, but when I maximize I get 1020, but the left side of my stage returns a position of -235 and the right side gives 785 (234 + 785 = 1020). Is there a way to reset the base coordinate, or am I doing something wrong?

Kinsey




Adobe > ActionScript 1 and 2
Posted on: 10/17/2007 03:06:29 PM


View Complete Forum Thread with Replies

Sponsored Links:

StageWidth ?
This code works perfectly except when I make reference to the stage width/height.

I get a error like "TypeError: Error #1009: can't make reference to a null object"

What's going on?

(yes I'm a AS3 newbie)


Code:
package{
import flash.display.MovieClip;
import flash.display.Stage;

public class circulo extends MovieClip{
public var radio:Number;

public function circulo(){
radio = Math.floor(Math.random()*100);
this.width = radio * 2;
this.height = radio * 2;
this.x = Math.floor(Math.random() * stage.stageWidth);
this.y = Math.floor(Math.random() * stage.stageHeight);
}
}
}

View Replies !    View Related
StageWidth Question
on the timeline I accessed stageWidth and stageHight just fine...but couldn't in an external class. I used:


Code:
package scripts {
import flash.display.*;

var stageW:int = stage.stageWidth;

public class BaseCode extends MovieClip {
public function BaseCode(){
//nothing here yet
}
}
}
Why didn't it work?

View Replies !    View Related
When Would Stage.stageWidth Be Zero?
Hm... I thought that I will always get the correct value on stage.stageWidth if the file is set as a Document class... Is that absolutely correct???

What would be the case when it is set to zero if it is not true???

Thanks...

View Replies !    View Related
Flash CS3: Set StageWidth?
I'm building AS3 projects using Flash CS3. Really, just what I tend to be comfortable with because I can quickly mock-up a Movie Clip visually and integrate it.

But the app I'm building is basically a component. I'd like to have the built swf's stage dimensions dynamically set. Is that even possible?


i.e. -> stage.stageWidth = 1440 does nothing. The swf stage's width and height are always determined by the FLA's stage.

View Replies !    View Related
Stagewidth Question
Hello,
I'm needing help with some code - I wish to keep a movie clip within the stage of my movie. I tried using hitTests to keep him in but it did not work as intended.

I know the code should go something like this
onclipevent (enterframe)
if(_root.Turrican > stage.width) (_root.Turrican._x=-20)}

I cant the code perfect, any pointers?

View Replies !    View Related
Setting StageWidth?
In the ActionScript 3.0 Language Reference, the property stageWidth (of Stage Class) is read-write, and even has a setter.
http://livedocs.macromedia.com/labs/as3preview/langref/flash/display/Stage.html

stage.stageWidth = 800; ==> DOESN'T WORK!!!

Anybody knows why???

View Replies !    View Related
BUG: StageWidth/Height
In AS3 documentation it says:

Quote:




When the value of the scaleMode property is set to StageScaleMode.NO_SCALE, the stageWidth property represents the width of Flash Player. This means that the stageWidth property varies as you resize the Flash Player window. When the value of the scaleMode property is not set to StageScaleMode.NO_SCALE, the stageWidth property represents the width of the SWF file as set during authoring in the Document Properties dialog box. This means that the value of the stageWidth property stays constant as you resize the Flash Player window. This property cannot be set.




Now, in flash9 with AS3 no matter what the scaleMode is set to when I try to read stageWidth or stageHeight I allways get the size of Flash Player window instead of the SWF file dimensions (as set during authoring in the Document Properties dialog box). Does any of you have this bug? If it's not a bug, then please let me konw how to make this to work.

Regards,
Psykovsky

View Replies !    View Related
Using StageWidth & StageHeight
When you are creating a class which needs to know the stage width and height, how do you do this?

Till now I have been passing the stage as a parameter in order to be able to use its properties, but I feel this is not the correct way.

If I just try to use stage.stageWidth in a class, I get an error. Any suggestions?

View Replies !    View Related
Could This Be? Stage.stageWidth Not Working?
Iv'e used addChild to add an object to the stage, within this object I have this code:

ActionScript Code:
trace(stage.stageWidth);
My trace result:

ActionScript Code:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Menu/::frame1()

Huh? Why wouldn't it work?

View Replies !    View Related
Cannot Access Stage.stageWidth
with this:

trace(Stage.stageWidth)

i get this error:

1119: Access of possibly undefined property stageWidth through a reference with static type Class.

View Replies !    View Related
AS3 - Setting The StageWidth And StageHeight
Hi,

I wish to set the height and width of the stage to 1,000 pixels by 1,000 pixels but my current code is not changing these properties of the stage.

note: I am compiling this AS3 with the Flex 2.0.1 SDK mxmlc.exe AS3 compiler.

My current code is:

package {
import flash.display.*;

public class ExampleApp extends MovieClip
{// constructor
public function ExampleApp()
{ // change stage parameters
stage.stageHeight = 1000;
stage.stageWidth = 1000;
stage.showDefaultContextMenu = false;

// add a sample red square to the display list
var _shpSquare:Shape = new Shape();
_shpSquare.graphics.beginFill( 0xFF0000 );
_shpSquare.graphics.drawRect( 0, 0, 100, 100 );
_shpSquare.graphics.endFill();

addChild( _shpSquare );
}
}
}


Any ideas ?

(note that the line of code to turn the default context menu is working ok)

I only want to set the height and width of the stage once in my application.

Cheers,

View Replies !    View Related
MovieClip Overlapping StageWidth ?
Let's say we duplicate a movie clip by clicking on a button. Each time the button is clicked the duplicated movie clip is aligned next to the previous one. How can I "trace" or monitor when the duplicated movie clip reaches/overlaps the stage width. What I'm willing to do is to auto-align the MC in a new line if it overlaps the stage width ( and so on ).

PS: and yeah, after it overlaps the width once, then if I add a new MC it should continue the new line

View Replies !    View Related
StageWidth With Zooming The Player Window?
Hello,

I have a movie where I want to periodically create pop-up windows that are centered in the middle of the stage, and I do this by calling a setup function before adding the child with the code:

Code:
this.x = (stage.stageWidth/2 - this.width/2);
this.y = (stage.stageHeight/2 - this.height/2);
When testing it, it works fine. However, if at various points during the movie i try and resize the flash player window, either by dragging it, hitting zoom, or going to full screen, the popup window keeps showing up at very strange locations.

Is there some way I can restrict it to the active stage, or maybe some windowWidth property that i can use to correct this?

Thanks!

View Replies !    View Related
Referencing Stage.stageWidth From A Class
I created a custom class in a .as file. I then linked this custom class with a symbol from the library in my .fla file. However, I can't reference stage.stageWidth in my custom class file. I get a null object error.

I think this happens because the custom class file is associated with a symbol on the stage and not the stage itself. For example, if I set the fla file's Document Class to the name of my custom class I can reference stage.stageWidth in the custom class. But I don't do this because I am creating multiple instances of the symbol on the stage. In order to do that properly i found I have to set the class in the properties panel of the symbol to the underlying class which then defines how each symbol behaves.

Under this type of linkage, is there a way to reference the stage width from the class?

I've tried root.stage.stageWidth and parent.stage.stageWidth to no avail. I also made sure to import flash.display.* in my custom class.

Below is the code for my .fla file and my .as file. In the .as file you'll see the line "x = Math.random() * stage.stageWidth;". This is the line giving me problems. I could hard code it, as I do for the y variable on the next line, but I'd prefer not to in order to keep the code flexible.

I also attached the files in a zip.

Any help would be appreciated.


ActionScript Code:
//.fla code

var i:int;

for(i=0; i < 100; i++){
    var myBall:flaBall = new flaBall();
    addChild(myBall);
}


//.as code

package {
   
    import flash.display.*;
    import flash.events.Event;
   
   
    public class Ball extends MovieClip{
       
        var dx:Number;
        var dy:Number;
       
        public function Ball(){
            addEventListener(Event.ENTER_FRAME, onEnterFrame2);
            reset();
        }
       
        private function reset(){
            x = Math.random() * stage.stageWidth;
            y = Math.random() * 400;
            dx = Math.random() * 20 - 10;
            dy = Math.random() * 20 - 10;
        }
       
        private function onEnterFrame2(event:Event):void{
            move();
            checkBounds();
        }
       
        private function move(){
            x += dx;
            y += dy;
        }
       
        private function checkBounds(){
            if (x > 550 || x < 0){
                dx *= -1;
            }
            if (y > 400 || y < 0){
                dy *= -1;
            }
        }
    }
}

View Replies !    View Related
Referencing Stage.stageWidth From A Class
I created a custom class in a .as file. I then linked this custom class with an symbol from the library in my .fla file. However, I can't reference stage.stageWidth in my custom class file. I get a null object error.

I think this happens because the custom class file is associated with a symbol on the stage and not the stage itself. For example, if I set the fla file's Document Class to the name of my custom class I can reference stage.stageWidth in the custom class. But I don't do this because I am creating multiple instances of the symbol on the stage. In order to do that properly i found I have to set the class in the properties panel of the symbol to the underlying class which then defines how each symbol behaves.

Under this type of linkage, is there a way to reference the stage width from the class?

I've tried root.stage.stageWidth and parent.stage.stageWidth to no avail. I also made sure to import flash.display.* in my custom class.

Any help would be appreciated.

View Replies !    View Related
Browser StageWidth/Height Delay
I'm looking for more information and a solid solution to the delay that some browsers create before stage.stageWidth and stage.stageHeight are set correctly.

Mainly Internet Explorer and Safari seem to affect this badly and I'm not sure when I can expect the stageWidth/Height to have the correct values.

Anyone here who can shed some light on this issue? Thanks in advance.

View Replies !    View Related
Errors With StageWidth/stageHeight In Package
hello everyone, I'm trying to make a class that will scale a clip when the stage resizes. I have the Stage resize set to NO_SCALE so the majority of clips on the stage will not scale, however i want to make an exception. So i wrote the package below. However, when i try to run the movie, it throws this error:

1119: Access of possibly undefined property stageWidth through a reference with static type Class.

Obviously i'm missing something and need some help. Thanks in advance.

package bmilesp.display.LayoutTools {

import flash.display.Stage;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.display.MovieClip;

public class LayoutTools {

private var _stageOriginalWidth:Number = Stage.stageWidth;
private var _stageOriginalHeight:Number = Stage.stageHeight;

public function scaleWithStage(my_clip:MovieClip):void{
var scaleChangeWidth:Number = Stage.stageWidth/_stageOriginalWidth;
var scaleChangeHeight:Number = Stage.stageHeight/_stageOriginalHeight;
my_clip.width = my_clip.width * scaleChangeWidth;
my_clip.height = my_clip.height * scaleChangeHeight;
}
}

}

View Replies !    View Related
StageWidth/stageHeight Initialize Timing?
I'm trying to retrieve the stageWidth/stageHeight on the constructor of document class (correct me if I'm using a wrong term). But it keeps returning me zero, until the first frame is drawn on the stage. is there anyway to get the stageWidth/Height before the first frame?

Here's the code I have.

Code:

package 
{
  import flash.display.Sprite;
  import flash.events.Event;
  [SWF(width="250", height="250", backgroundColor="#000000")]

  public class Main extends Sprite
  {
    public function Main ()
    {
      trace('width:', stage.stageWidth);
      trace('height:', stage.stageHeight);
      trace('________________________________________________');
      init();
    }

    private function init ():void
    {
      trace('width:', stage.stageWidth, ' height:', stage.stageHeight);
      this.addEventListener(Event.ENTER_FRAME, this.onenterframe)
    }

    private function onenterframe (ev:Event):void
    {
      trace('w:', stage.stageWidth, ' h:', stage.stageHeight);
    }
  }
}


I'm using Flex SDK 3.0.0.477. Thanks!

View Replies !    View Related
Retrieve The Stage.stageWidth Before Adding To DisplayList
Hi, there!

I'm trying to retrieve the stage.stageWidth and stage.stageHeight inside a component constructor before adding it to DisplayList.

And one of my components does not extends any of the DisplayObject classes, cause it is not drawn, but I still need to get the stage dimensions...

Any suggestions?

CaioToOn!

View Replies !    View Related
Resize Flash Movie, Make HTML Page Also Resize?
Hi All Flashkitters

I'm trying to do something that I believe is probably pretty simple and I'm guessing it involves some Javascript along with the Actionscript.

It's like on Fantasy Interactive's website, when you click on different sections of the site, the Flash container movie resizes, and makes the HTML page also resize vertically, to be able to scroll the content. Does anyone know how to acheive this? Its a handy function, I'd love to master it. It opens a big door for building flash sites that can hold real content.

So, anyone can point me in the right direction, I am greatful to.

View Replies !    View Related
Dynamic Resize Issue: Resize From Corner, Not Center
Okay. So I just got this little slide show I'm doing to load the next image (i'm still working on making it loop, so if anyone wants to help me with that, too feel free!)

As each new picture is loaded in the slideshow, I have a border that automatically resizes to fit it. Right now it's resizing from the center, is there any way to make it expand out from the top right corner instead of the center (since the orientation of the pictures are different, it looks a bit unnatural for what I'm doing)

Here is the code for my actions layer and if anyone can take a look and tell me what I need to change/add to make this work, I appreciate it!!


Code:
#include "mc_tween2.as"
space = 10;
photo_mc._alpha = 0;
MovieClip.prototype.loadPhoto = function(photo){
photo_mc._alpha = 0;
this.loadMovie(photo);
_level0.onEnterFrame = function(){
// modified the total and loaded so as to round it up
// to smaller number.
var total = Math.round(photo_mc.getBytesTotal()/1024);
var loaded = Math.round(photo_mc.getBytesLoaded()/1024);
if (total != 0 && loaded>=total){
var w = photo_mc._width + space;
var h = photo_mc._height + space;
border.resize(w, h);
delete this.onEnterFrame;
}
}
};
MovieClip.prototype.resize = function(w, h){
//the higher the slower the resize of the border
var speed = 6;
this.onEnterFrame = function(){
this._width += (w - this._width)/speed;
this._height += (h - this._height)/speed;
if( Math.abs(this._width-w)<1 && Math.abs(this._height-h)<1){
this._width = w;
this._height = h;
photo_mc._x = this._x - this._width/2 + space/2;
photo_mc._y = this._y - this._height/2 + space/2;
photo_mc.alphaTo (100, 0.5, "linear")
delete this.onEnterFrame;
}
}
};
image_mc.onLoad = setInterval( nextImage, 7*1000 )
;
-SD

View Replies !    View Related
SWF Resize On Browser Resize Causes Nav Buttons To No Longer Work.
Hello. I have a full browser width/height resizing swf. I can't figure out why, but the navigation rollover states no longer work after resizing the browser. My rollovers are handled by a button class linked to each nav button movie clip within the library. Other things of note. I am using the 3 frame AS3 preloading technique which holds all my assets in its own movie clip on frame 3.

My document class only really handles preloading. And a class for all my assets, acting as the "real" doc class is linked to that MC on frame 3.

Here is the URL to the problem:

http://spiritservices.mindgrabmedia.com/stmary/

Thanks in advance.

View Replies !    View Related
On Stage Resize, Resize Multiple Copies Of An Object Help
Hey everyone, I'm having some troubles figuring out the code for this. I have 12 button objects that are being created evenly across the stage, and I would like to have them resize on a stage resize event.

Here is my code so far:


Code:

//--------------------------------------
// CONSTRUCTOR
//--------------------------------------
public function BasicFullScreen(){

initVideo();
createButtons();
stage.addEventListener(Event.RESIZE, resizeHandler);

}


//Create Buttons
private function createButtons():void{

for(i==0;i<12;i++){
//trace(i);
button = new MovieClip();
button.graphics.beginFill(000000);
button.graphics.drawRect(0,0,(stage.stageWidth/30),(stage.stageHeight));
button.graphics.endFill();
button.x = (stage.stageWidth/12)*i+(stage.stageWidth/40);
button.y = 0;
button.alpha = .5;
addChild(button);

}

}

private function resizeHandler(event:Event):void {
//What to put in here?
}
I'm not sure what to put in the resizeHandler function to resize all the button objects.

Thanks for any help,

Matt

View Replies !    View Related
Resize Bg On Browser Resize While Maintaining Image Proporti
im using the following code to resize background images on browser resize:

Code:

var listener:Object = new Object()

bg_mc.width = Stage.width;
bg_mc.height = Stage.height;

listener.onResize = function(){

bg_mc.width = Stage.width;
bg_mc.height = Stage.height;

}
Stage.addListener(listener);


the problem i'm having is that my background image does not maintain proportion on resize. so, when i resize my browser to a width of 100px, the entire width of my background image is compressed into the 100px area.

is there some additional code i can add to the snippet above to maintain the proportions of my background image on resize?

thanks,
brandon

View Replies !    View Related
Stage.scaleMode And Stage.stageWidth
What am I missing here? According to the docs:

Quote:




When the value of the scaleMode property is not set to StageScaleMode.NO_SCALE, the stageWidth property represents the width of the SWF file as set during authoring in the Document Properties dialog box. This means that the value of the stageWidth property stays constant as you resize the Flash Player window. This property cannot be set.




So stick this in a new FLA

ActionScript Code:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.addEventListener(Event.RESIZE, onResize);

function onResize(e:Event=null):void
{
    trace( stage.stageWidth );
}

and the traces are of different values. According to the docs, this shouldn't be happening. What's going on? Did I miss something little?

View Replies !    View Related
How Can You Resize A Stage And Have Flash Resize The Objects As Well?
Is there any way you can resize your stage in Flash and either have it keep the objects all cenetered or have it compensate for the objects and adjust them accordingly?

This tends to be a problem when I start a new file and then forget I want the stage to be much bigger.

Any help is appreciated...

View Replies !    View Related
How To Dynamically Resize Clips With Resize Handles
Hi Guys
was wondering if someone could help me figure out a way how to free transform objects on stage. I saw it in action at
http://www.myholidaysweater.com/

Objects can be uniform scaled, rotated with the handle when you click on the objects.

its a very cool feature.
Any tip greatly appreciated

adrian

View Replies !    View Related
Q: Resize Textfield Width And Height On Resize
Does anyone know if it is possible to resize a text field dynamically when I change the size of my Flash? I want the text to do what html does on a page when you resize it. Would this be possible? Any help would be appreciated. Thanks!

View Replies !    View Related
I Cant Resize Windows And Stop Resize.
I'm going mad here! - I know this is probably really simple but i have a flash movie and i want the links to pop up in a new window of a defined size - i also want to turn off resize and get rid of the toolbar and scrollbar.

If anyone can help me Id be really grateful! :-)

Thanks - Dan (dan@introspection.f2s.com)

View Replies !    View Related
Resize Movieclip BG Per Stage Resize
I'd like to have a movieclip that scales in the background per the resize of the browser. I'd also like to have menu 200 pixels to the left of the stage width. How would I set it up in AS3? Thanks

View Replies !    View Related
ReSize Doesnīt Resize Automatic But Why?
Hey.

Iīm kinda stuck.
have a look: reSizse sucks right now

my problem is that you canīt see the hole background untill u manually resize the browser window. i just canīt figure out why it doesnīt work.

maybe itīs beacuse itīs late, maybe beacuse iīm getting sick or maybe beacuse I just suck at this.

please help anyone?

u can download fla file n everything right HERE

tnx in adv

//Mo

View Replies !    View Related
Resize Mc On Stage Resize
Hi,

I'd like to resize a movie clip via a percentage of the available screen size, so that when the stage is scaled, the movie clip responds accordingly. - Any help greatly appreciated.

Ben

View Replies !    View Related
Help Me Its Possible Way I Can Resize My Swf? Its 14mb, I Want To Resize To 5mb
I created a series of animation of pics with backgound music on it. It has also
buttons which they could change the background music. It works well but it was 14 mb,
The purpose of this animation was to embed it to my webpage. Uploading it to my site is already a pain in the ***, but my concern is for the viewer that they could easily view this animation of mine.

Now my question is. Can I possibly resize my swf considering its 14 MB, resizing it to atleast 5 MB without changing the quality? Help me masters, coz I'm still a newbie in flash

View Replies !    View Related
Stop Resize In A RESIZE
hey...there's a open source running around somewhere...
with a resize setup for loading a JPG into a empty MC...
and there's a border that resizes to that image once it's loaded..
it's even tweened to scale smoothly... (below)

problem 1:
it's a bit hefty for the eye... but it works sweet...
but i'd like to manage to work some Zigo tweens into it...
i was wondering if anyone has the super powers to
figure out how to recode it so the resizing is done through
those easing classes and tween and them through fuse...
problem 2:
i modded the resize... inside the border...this little crop box i created...
i added movie clips that are looping through a doTween setup...
so instead of lines defining the border (which will be resized according to which jpg or png is loaded) ... i have movie clips running up and down each of the total 4 sides...

but when they resize....it stretchs the in a very ugly way...
it's like in design class when the type teacher said...
don't stretch the type...i was reaffirmed why...cuz it looks like crap.

is there a way to resize a movie clip...
and have the movie clips running inside that movie clip stay constrained? ; to remove unproportional scaling?

Code:

spacing = 50;
containerMC._alpha = 0;

MovieClip.prototype.loadPic = function(pic){
   _root.containerMC._alpha = 0;
   this.loadMovie(pic);
   _root.onEnterFrame = function(){
      var t = containerMC.getBytesTotal(), l = containerMC.getBytesLoaded();
      if (t != 0 && Math.round(l/t) == 1){
         var w = containerMC._width + spacing, h = containerMC._height + spacing;
         border.resizeMe(w, h);
         delete _root.onEnterFrame;
      }
   }
};
MovieClip.prototype.resizeMe = function(w, h){
   var speed = 5;
   this.onEnterFrame = function(){
      this._width += (w - this._width)/speed;
      this._height += (h - this._height)/speed;
      if( Math.abs(this._width-w)<1){
         this._width = w;
         this._height = h;
         _root.containerMC._x = this._x - this._width/2 + spacing/2;
         _root.containerMC._y = this._y - this._height/2 + spacing/2;
         _root.containerMC._alpha = 100;
         delete this.onEnterFrame;
      }
   }
};

can someone take a crack at this? it's giving me allergies...
thanks in advance!

anybody run into any flash chat rooms where people can have live feedback and pass some flash nerdtalk? cuz i'm way down for that.

22/m/actionscript,tokyo

View Replies !    View Related
Resize?
i'd realy like to know how, once i have set-up my movie to run full screen (no browser visible), i can give the user the option of then viewing the browser if they choose...
..after all it does seem a bit, well, rude.
any ideas???

View Replies !    View Related
Resize HELP
I designed a movie....on a stage are of 700x350.....I opened up tje .fla again...and now decided that I want the whole thing bigger. Like an area of 775x425..or something..
This .fla has many layers...in main time line...as well as MANY individual MC's in it. Is there a way to resize everything so it will all be proportionate if I mae the movie dimensions 775x425?....There ha sto be a way to do this no?..Thanks -whispers-

View Replies !    View Related
No Resize, Please.
I have just finished my first Flash splash page and I really don't want it to resize to fit the window (although that is a cool feature--just not for this one). When I play the .swf file alone, it doesn't resize. When I drag .html file to a browser window, it doesn't resize. But after both are uploaded and on the site, it resizes. What's the problem here? I have the width and height set to 800x600 in the code and in the .fla file. Please, I beg of you gurus, help me.

Thanks!

View Replies !    View Related
Not Resize
hey guys,

I have a .swf file that users can run in the flash player or out of their browser. I would like it to not resize to the window...so I'd like 100% to be the default instead of "Show All". Does anyone remember the command for this in actionscript? Or would I have to do it through an html page?

Thanks!
dege

View Replies !    View Related
Resize Swf From Another Swf..?
umm ok...im still looking in forums about this but thought id ask too

im trying to resize a loadMovie swf from another swf..how do i do that??

View Replies !    View Related
REsIZe <<<>>>>
Is there anyway to resize an MC using _xmouse and _ymouse??
Thanks!!!

View Replies !    View Related
Resize All
Hi
I have a Flashmovie, with about 540 frames. Now I would like to resize all. That means I would like to resize each graphic and each Textfield in every frame (to get 50% smaller)
Is there a way to handle that, without doing it in every single frame?

View Replies !    View Related
Resize
Ok, I know how to resize my canvas,

However, I already have the movie made, and I need to resize for a different use. Problem is when I resize the movie all the content stays in the upper left corner.

Q: How can I resize a movie content and all to keep everything centered? (Similar to when resizing in photoshop)

View Replies !    View Related
Resize Mc
Hi , ive to do this, how can i resize a mc like this?
http://www.softbimage.com/sbpics

thanks.

View Replies !    View Related
No Resize?
This may be silly...

You know how I can tell my exe file not to resize when the viewer puts it in full screen or even resizes the window?

Can I tell my swf the same thing? I know I can do that by telling the html file that holds it not to resize the movie, but my problem here is I'm not using an html. The swf is supposed to run by itself... is there a way for me to prevent it from being scaled like that?

Thanks!

View Replies !    View Related
Resize ?
I have a document which is 350px by 350px. then I have an image which get smaller and larger depending on what value it is sent.

currently, here:
http://www.vaude.com/temp/query/imgC...gt=400&wdt=400

the image resizes proportionally by values passed to the HTML page fine.

What I need to do is resize DISproportionally (100 x 700)

I did it thru actionscript which worked, but then when it got larger the movie size of 300 x 300, the sides would get cut off.

is there anyway to do this so you can resize proportionally?

View Replies !    View Related
Resize SWF
Can i resize swf file in new fla file. Like in dreamweaver we grap the handles to resize swf, same i want to do it in flash.

View Replies !    View Related
Resize
My movie is complete and has a stage of 800 x 450. Is there a way to resize the stage "including" all to the graphics at the same time?

View Replies !    View Related
Cannot Resize Jpg
I'm still very new to Flash & actionscript, so please bear with me. I've written the following script thats supposed to display a resized jpg.


Code:
loadMovie("images/gallary/image3.jpg", _root.photo);
_root.photo._x = 12;
_root.photo._y = 12;
_root.photo._height = 445;
_root.photo._width = 626;
It shows the jpg just fine, except that it won't resize it. Any suggestions?

View Replies !    View Related
Resize Or Not ?
Hey there.
Anybody have an idea for displaying 2 swf on a browser window and having one of them resized to fit the window and the other one keep a fixed size, like on www.hi-res.com ( the bg picture gets resized but not the menu) ?
Thanks a lot.

Romain.

View Replies !    View Related
Resize......
Hello... i have a problem:
I have an intro which open a fullscreen home.swf,
inside i should create a button to resize the window, someone know the code??
Infact now i must close the window to return at the browser...
i would like not to close it....


sorry for my english....

View Replies !    View Related
Resize
Can somebody please tell me how to make my flash file automatically resize itself to fite to the viewers screen? Thanks
-Woodlit

View Replies !    View Related
Copyright Đ 2005-08 www.BigResource.com, All rights reserved