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




Controlling Project Size



I've used flash for a while, but I now want to ask a novice question. What is the best practice in developing an aplication's dimensions. When i'm editing a project the whole work area is generally white making it difficult to observe boundaries. If I want to have a 320 x 240 project is there a best way for me to tell what is "in" the project and what is out of bounds?



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 05-11-2007, 12:51 AM


View Complete Forum Thread with Replies

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

Can You Publish A Different Size Than Your Project?
I have some animations (version CS3 using AS3) that need to be resized. Rather than resizing the animations in the Flash file, is there a way to publish them with smaller dimensions? Or another suggestion on how to resize it without having to edit the animation itself?

Thank you!

Project Size For Plasma?
Hi

A client would like an animation created in flash to be viewed on a Plasma Screen. The siz of the plasma screen is (700mm(h) x 1000mm(w) What size would I need to create the project at??

can anyone help? :thumb2

thanks

Best Frame Size FLV For CD-Rom Project?
Any video guys out there?

I'm wanting to put a 45 min. video clip (FLV format) onto an interactive CD. I've been able to encode Divx movies pretty well, which fit onto a 700MB CD, but have never really worked with encoding FLV files.

What is the best outputed frame size (I'm assuming 320x240) for the FLV I will be working on, that will provide the best quality/lowest file size possible? It will be a person talking on stage, so minimal movement.

Since it won't be viewed full screen, but within the confines of the flash movie size, I'm hoping I can put a fairly high quality "small" fottprint FLV on the CD.

Thanks...

Fixed Size Actionscript Project
I have an ActionScript project in flex which I place the following code:


Code:
package {
import flash.display.Sprite;
import flash.events.Event;

public class testing extends Sprite
{
public function testing()
{
stage.scaleMode = "noScale"
stage.align = "TL"
stage.addEventListener(Event.RESIZE, onResize);
}
public function onResize(event:Event):void{
trace("Width: "+stage.stageWidth);
trace("Height: "+stage.stageHeight);
}
}
}
The problem is when I resize below 465 width it keeps saying the width is 465, it stays fixed. Is there a setting in Flex I am missing? I didn't see any width or height properties when creating the project? TIA

How To Scale Down The Size Of A Flash Project?
Hi

I recently received a flash project. Basically, is a .fla file.
The size of the document is 1024 x 768 pixels.
I open it with Adobe Flash CS3 Processional, but i'm a beginner with flash projects.


The problem with this document is its size. Some good computers would "hang" when playing the resulting .swf file.
I thought that changing it's size would make it better. So, I changed the size to 600 x 480 pixels, expecting that all objects will be scaled down proportionally to fit the new size. Boy, I was wrong. It just clipped my original document and no scalling was invoked.


Is there a way to achieve this?
Please if anyone can help, it's an urgent situation.
Thanks in advance.


Change Image Size Of Entire Project.....
Hi, folks. I got my hands on an excellent photo gallery to insert into my flash site. My stage is about 700x680, however the gallery component is about 1200x1200.

Is there an *easy* way to change the relative size of EVERYTHING in the photo gallery, including buttons, tweens, display areas, etc to make it fit in my own stage? Any help is greatly appreciated.

[Flex2] Actionscript Project - Stage Size
I have an actionscript-only project in Flex2 and I would like to set width and height of the compiled swf. Any ideas how to do that?

Controlling Browser Size
hey, can someone please share with me the scripting on how to control browser sizes?
doing a site withthe nav in flash but everything else in good 'ole html(pardon the pun!). Want to have the all windows open up @ 760x420 with no re-size handles.

Thanks, AC

Get URL - Controlling Window Size
I want to launch a new browser window (home.php) at the end of a flash movie and want it to be, say, 400x300 ,resizable and without a menu bar. How can I do this WITHOUT putting any code in the html/php page but only in the flash file?

Controlling The Size An Swf Called By Another Swf
Is there anyone who could who could tell me the action-script to size a .swf within another .swf. I am having problems making an .swf work in a pane of a flash website. I create the .swf to the exact size of the pane of the original .swf of the website but when I load the .swf to opens way larger than the pane. Here is the code I am using:

this.createEmptyMovieClip("item_mc", 1);
item_mc._x = 3;
item_mc._y = 4;

item_mc._x = 5;
item_mc.loadMovie("myinfo.swf");

Any Ideas would be greatly appreciated!

RF

Controlling The Size Of An MC In A Movie
Hi people,

What I have is a movie which shows at 100% (the width and height that is) of the available screen.

Is it possible to give an MC within that movie an absolute size in pixels, so that it won't scale along with the main movie ?

I couldn't think of a way to achieve this, but it must be possible, right ?

I couldn't find anything online so far, so I'm turning to you lot

Any ideas are welcome !

Controlling External Swf Size
i am loadin' an external swf... into my main movie. Can I use actionscript in my main movie, to control the size of the external swf that i m loadin'?

Controlling New Window Size
hi,
is it possible to control width & height of the new window opening when i make a link from a flash button to url?
i write: get utl... target=_blank
how do i limit the size of the new window?
thanks

Controlling The Size Of An External Swf
ok guys, I've got a flash file that is dynamically loading .swf's into a parent .swf. I've got an empty movie clip on the stage that is loading these external .swf's into it. Now, these swfs are gonna come from all over, and most will probably not have .fla's. As such, they will be varying sizes. I'm trying to control the size that they play in the actionscript and I've hit a wall, I just can't get it to work. Any suggestions?

*edit* is the problem that .swf's don't have an actual size?


Code:
// Import path variable
var path_360_str:String = "./movies/" + path_360_str;

// Create MovieClip Loader for content (named content_mc)
var contentLoader_mcl:MovieClipLoader = new MovieClipLoader();
var contentListener:Object = new Object();

contentListener.onLoadInit = function(target_mc:MovieClip) {
// This triggers when the MovieClip has completely loaded
};

contentListener.onLoadError = function(target_mc:MovieClip, errorCode:String) {
// This triggers when the MovieClip load fails
};

contentLoader_mcl.addListener(contentListener);

// Load swf to stage
contentLoader_mcl.loadClip(path_360_str, content_mc);

content_mc._height = 377;
content_mc._width = 220;

content_mc._x = 0;
content_mc._y = 0;

Controlling The Size Of A New Window
Hello,

I need my button on flash to hyperlink to www.sitegistics.com but in a new window and the window needs to have the mesurements of 200 width and 250Ht. Please help me with an action script that will perform this function?

Mitch

Controlling Display Size
I have created a Flash swf movie and I want to control the display size for the display on the output. If a user stretches the viewer frame all the work area on the sides displays. The view size I want to display at is 550 X400. Any help with this would be appreciated.

Controlling The Phsical Size Of Loaded SWF's
Greetings all...

I'm trying to control the size of a SWF movie that i've loaded into my site using the loadmovie () command..

I have placed a movie on the stage to swap the loaded movie with that is the correct size and in the same place.

The movie loads fine but it is HUGE about 50 pixels lower and to the right that i want.

Does anybody know an easy way of making sure the movie stays the same size as the one it is replacing....

cheers

James

james@livegroup.co.uk

Controlling Window Size On GetURL
I have a small page with an swf that is 400x300 with no scrollbars, menus, etc... the only problem is that when i click a link (getURL) in the movie it opens a new window that is the same size and properties of the movie's window. I need it to open the link in a regular full size window. Anyone got ideas?

Controlling Flash Player Size
Hi

I need to do the following:

Open up the flash player from an html link and control its size to be that of the movie, and diasble the ability to maximize the window.

At present I have the swf embedded into a pop up, but the fscommand under the close button in the swf telling the player to quit does not work as the player is embedded in an html pop up. It works fine locally when just running in the Flash Player.

Therefore, I urgently need to get the Flash Player to open up at the exact size I want it to be.

Any help would be mucho appreciated.

Cheers

Callum

Help Reducing Or Controlling File Size
I am developing an index page for a site. I have turned everything into graphics and movie clips to try to reduce size of file. the swf is 528 kb which is extremely large for an index page. this page has a lot of roll over animations, and effects. it is only one frame long, to give you an idea of the intensity in the art. Upon request I can send a link to view this page, but the client doesn't want it shown to much till its used. I need to know a way to either preload this movie or reduce its size. Preferably reduce the size. I don't know how to create a preloader for a 1 frame movie. Help me if you can.

Nefaryl

Controlling New Browser Window Size
I'v got a movie where I need to bring up an html page by clicking a button in flash.
I was trying to use this javascript but I its not working:

"javascript:window.open('http://www.mysite.com','win','width=425,height=525','_bla nk');

I was using this inside getURL, but all I get is an Untitled webpage.
Just using the behavior Go To Web Page does not work, because I don't get the option to set the width and the height of my new browser window.

Anyone know how to define the width and height of a new browser window opening in a blank page??

I'll love you forever!

-Z

Controlling Text Size When Printing
I have an input text field that the user can type information into and then print the page. However I can't seem to control the size of the font. The font appears to re-size depending on the amount of text in the text box. Is there a way where I can set the font size so it prints at 12 point regardless of the amount of text inputted?

On Controlling Background / Document Size
Hello
I want the movie itself to be, on the screen, around 740 x 400. but behind this i want some background / lines / to cover the entire screen all the time to add depth.
how do i adjust this in properties, and also, im sending this through Dreamweaver to enable the site to be spidered....what kind of calculations must i make for the DW document ?
thanks
-dj

Controlling The Browser Window Size
Can anyone tell me when creating websites in flash how to control the size of the browser window?
I can't seem to be able to make a kind of pop up window that is a small size.

Controlling The Size Of The Stage In Actionscript
I am reading in a XML file that is setting the size of a movie clip. I would like to resize the stage to the same size. How do i resize the stage within Actionscript after i have read in the XML? Is this even possible?

Controlling Size Of Movie Clip
i am loading an external swf of a video file into an empty movie clip. i want the user to be able to toggle between the initial size of the movie (320x240) and full screen (800x600) by clicking a button. what is the actionscript to control the size of a movie clip? can i do that?

thanks!
-adam

Cursor Movement Controlling Size Of Mc
Hi all. I've been searching the forum and google for a while but I can't seem to figure this out:

I want to have a circle (that's a movie clip serving as a mask, but I don't think that matters). If the cursor stays still or is off the frame, the circle slowly smoothly grows until it gets really big (fills the frame) and then stops and stays that way unless the cursor starts moving again. If the user moves the cursor around, it slowly shrinks until it disappears. The circle should start in a disappeared (too small to see, i guess) state. I need this to work even if, say, the cursor is still for a while and the circle grows halfway, but then the cursor moves - it should then start to shrink from where it is until the movement stops, then it should start to grow again.

I went through trying to just have an animation of a growing circle, and messing around with it reversing when the mouse came in the frame, but I couldn't get that to work, and furthermore, I'd like it to be based on cursor movement, not if it's simply there. I'm open to any kind of solution here...

I'm an artist with more ideas than programming skills. But I'm trying! I'm studying a book on actionscript, but I JUST started, so if you have a solution for me, please keep in mind that I'm a beginner.

Thank you sooo much!

Controlling Window/movie Size?
I'm about to publish an entire web site in flash, but there is a problem... I'm using scenes as individual web pages (I'm an HTML guy...) and some pages have very little content, while other pages (scenes) have a lot. The first scene/page is kind of a welcome page that easily will fit in 800x600, while other scenes would need 800x1500 in order to display all the stuff.
A browser would solve this by letting the visitor scroll when necessary but flash publish all my scenes/pages having the same size. So the result it awful... the first page has got some content on the top, but the rest of that page is empty!
Am I doing it all wrong? Is there a way to let the scenes have different sizes? I wouldn't like to split my file into a dozen different ones, because it is very convenient to have it all in one place. If I can't do it this way, is it possible to use scrollpanes for this? I haven't seen anywhere how to put an entire scene in a scrollpane (that would be a scene within a scene...) and the idea sounds a bit silly to me so I'm not too optimistic about that...

Any ideas?

Controlling Size Of Movie Clip
i am loading an external swf of a video file into an empty movie clip. i want the user to be able to toggle between the initial size of the movie (320x240) and full screen (800x600) by clicking a button. what is the actionscript to control the size of a movie clip? can i do that?

thanks!
-adam

Cursor Movement Controlling Size Of Mc
Hi all. I've been searching the forum and google for a while but I can't seem to figure this out:

I want to have a circle (that's a movie clip serving as a mask, but I don't think that matters). If the cursor stays still or is off the frame, the circle slowly smoothly grows until it gets really big (fills the frame) and then stops and stays that way unless the cursor starts moving again. If the user moves the cursor around, it slowly shrinks until it disappears. The circle should start in a disappeared (too small to see, i guess) state. I need this to work even if, say, the cursor is still for a while and the circle grows halfway, but then the cursor moves - it should then start to shrink from where it is until the movement stops, then it should start to grow again.

I went through trying to just have an animation of a growing circle, and messing around with it reversing when the mouse came in the frame, but I couldn't get that to work, and furthermore, I'd like it to be based on cursor movement, not if it's simply there. I'm open to any kind of solution here...

I'm an artist with more ideas than programming skills. But I'm trying! I'm studying a book on actionscript, but I JUST started, so if you have a solution for me, please keep in mind that I'm a beginner.

Thank you sooo much!

Controlling Browser Size Etc From GetURL Script
I want to open a popup style window to a set size, with no toolbars or scroll bars, when a thumbnail image is clicked on in an .swf. (It is a portfolio of work, & idon't want to increase the.swf size with loads of large jpegs).

I know this is possible with an fscommand on a pc but my target audience are mostly mac based design agencies and fscommands won't work in IE on a mac.

Can someone suggest a way of doing this that would work on both mac and pc. I am using both Flash and Dreamweaver MX to put this site together.

THanks

Loading External Images And Controlling Their Size(mx)
I'm making somekind of a gallery and wants to load the images so they can be easily changed. I load them into a mc, but the problem is that the images vary in size and therefore in the mc are strecthed and weird-looking!

Is there a way to either determine a max width and let the height vary. Or maybe a way to read both the width and the height...

And not TOO complicated :-D

/Julez

Controlling The Size Of Fsb_ScrollTrack In FScrollBar Skins
Hello, I would like to controll the size of the scroll pane in my scroll bar, but every time I manually change the size of the scroll pane_mc it stays the same. Do I have to change something in the ActionScript of the scrollbar movie?
In other words the scroll thumb should be wider than the scroll pane in my scrollbar.

Controlling Content Size In Browser Window
Hi,

I do so hope I'm posting this to the right forum (not sure if it's an actionscript thing or XML???) anyway here goes...

I'd like to have my swf fill users' browser windows but not to the extent that the size of any images included are scaled (either up or down).

i.e. if a jpeg included in the swf is 200x 300px I'd like it to stay that size so as not to appear bitmapped and jagged, but I would like the background (the rest of the swf, in essence) to scale up or down as appropriate to fill anything from a small laptop screen to a 23" cinema display.

An example of the sort of thing I'm aiming for can be found here.

http://www.dynamicfactory.us/xmlswf/xtra/index.html

I'm looking to learn, not copy; so if someone could put me on the right track (or guide me to any online tutes whereby I might find the answers I'm hunting for) it really would be hugely appreciated.

Many, many thanks, in advance, for any help and advice.

Fran

Whoops... forgot to mention. I'm working with Flash 8

Controlling Flash Movie Size In Html
i am embedding a flash movie(swf) inside an html page. i want the size of the flash movie always in proportion with the browser. i tried setting 100% to its height and width in the html page, it works, but is it possible to compute the proportion between the swf and the browser's height and width? How can i know the swf's current heigth and width when i resize the browser?

Controlling Image Size When Importing A File Sequence
I'm importing about 500 jpegs that are sequentially numbered to create a time-lapse swf. When flash asks if I want to import the sequence and I say yes, the images appear on stage at about 1/3 of the size that they should be. In the library, the bitmap files properties say the files are still the same pixel x pixel dimension as the original files. Can I control Flash's ability to resize these arbitrarily? Otherwise I have to edit each keyframe and correct the image size.

Thanks-

Copy Pasting A Project Into A Keyframe Of Another Project
This is what I want to do,


Here's the project that I'd like to incorporate into my own site,




And this is the timeline for my site, I want the above to work in the Chronicle keyframe,



I don't know if it's possible to copy paste the project into that keyframe, or how can I do this? I downloaded a free flash book that opens up and shows a certain text, and I want to incorporate it into a page on my site, that's it in a nutshell.

Any help would be tremendously appreciated.

Copy Pasting A Project Into A Keyframe Of Another Project
This is what I want to do,


Here's the project that I'd like to incorporate into my own site,




And this is the timeline for my site, I want the above to work in the Chronicle keyframe,



I don't know if it's possible to copy paste the project into that keyframe, or how can I do this? I downloaded a free flash book that opens up and shows a certain text, and I want to incorporate it into a page on my site, that's it in a nutshell.

Any help would be tremendously appreciated.

Controlling The Size And Font Of Text Within A Dynamic Text Box While Importing Txt
I am trying to control the size and font of text that my SWF file loads from an external .txt file. The import works and it displays text, but the size of the font is ALWAYS as huge as the defined text box region I made in flash.

Working with Flash 5 on a PC (details).

Can anyone tell me how to tell flash the desired font size and/or font type when importing from a txt file during the movie?

Thanks much

Dahmer

ActionScript Project On Flex Project
What is advantage of ActionScript project on Flex Project ?
In Flex project usage of components are easy. But in AS3 project I find very difficult to create classes for these components

Project Insight (The Ban Map Project)
I really like the style of the map on "The Ban Mapping Project".
http://www.thebanmappingproject.com/atlas/index.html
http://www.thebanmappingproject.com/atlas/base.swf
I like the way that when you click on something, regardless of the coordinates that you are currently at, it re-focuses on the new coordinates, whether it has to zoom in, or just slide. I REALLY need to learn how to reproduce that effect, just that effect... for a project that I need to do. Does anybody have any idea of where I can find tutorials that explain similar effects? Or... Could anybody explain that effect himself/herself?


My deepest gratitude,

Nathalia

Insight On Project (The Ban Map Project)
I really like the style of the map on "The Ban Mapping Project".
http://www.thebanmappingproject.com/atlas/index.html
http://www.thebanmappingproject.com/atlas/base.swf
I like the way that when you click on something, regardless of the coordinates that you are currently at, it re-focuses on the new coordinates, whether it has to zoom in, or just slide. I REALLY need to learn how to reproduce that effect, just that effect... for a project that I need to do. Does anybody have any idea of where I can find tutorials that explain similar effects? Or... Could anybody explain that effect himself/herself?


My deepest gratitude,

Nathalia

Match The Size Of A Dynamic Movie To The Size Of Its Parent Container Using ActScrpt?
I have a program that is dynamically loading images into a nested movie clip. The Parent movie contains the two separate movies within it and images are to switch back and forth in them. I need to know how I can use action script to load these nested movies to the exact dimension of the parent movieclip.

Here is my code:

onClipEvent (load) {
StagePictures._lockroot = true;

e_mc.loadMovie(_root.PathText+_root.imageClips[0]);

}
onClipEvent (enterFrame) {
if (Key.isDown(a number)) {
if (Key.isDown(Key.something)) {
if (Key.isDown(a number)) {
_root.StagePictures.e_mc.createEmptyMovieClip("SecondClip" , 3);
_root.StagePictures.e_mc.SecondClip.loadMovie(_root.PathText+_root.imageClips[1]);
_root.ScoreBox.text = scvar+1;
_root.Command.text = _root.imageCommand[1];
_root.Response.text = "Correct!";
}
}
}
}

StagePictures is the parent clip, e_mc is a child, and SecondClip is a child within e_mc.

Both e_mc, and SecondClip are loading the dynamic images which are the paths labeled _root.PathText+_root.imageClips[0, and 1];

The size of the images need to be contained within the size of the parent clip of both called StagePictures.

How can I set the size of the two nested clips to match the parent?

Thanks,
sam

Why Use Flash Video When It Bumps The File Size To Outrageous Size?
I have imported a flash video into my flash movie. I have run the .mov in sorenson squeeze and have it nice and small. As soon as I import it into flash (because this is the only way I know to do it in order to run a video in flash) now I have 1024 frames and a HUGE .swf file.

So what is the point to using flash at all...or am I doing something wrong. Is there a better way to handle video within flash??

Thanks
Fitchic77

Browser Size Doesn't Match Flash Movie Size
Can anyone help me figure out how to make the Browser or Window that launches my .swf file fit exactly the size of the Flash Movie's dimensions?

My movie is 800x550 yet when launched it in a browser there is extra space around it which shows the elements that are outside the border of the movie which I later tween onto the stage.

In short, how do I constrain the Browser Window to fit the dimension of the Flash movie?

Thanks,
Tony

[F8] Symbol Size Bigger Than Max Stage Size - How To Edit/view?
Newbie Alert!

I am trying to edit a FLA file for a sliding timeline and the main background image with the details (years, images text) is 23960 px wide and I cannot scroll the main stage area all the way to the right to edit the contents. How can I do this please?

Thanks.

Broadsword1967

Change Stage Size (not Scale) Based On Browser Size?
Not sure this can be done. I've looked through LOTS of resizing tutorials, but they don't do exactly what I want, and I'm not sure it's possible.

Basically, I have a slideshow that loads from xml and fades in a variety of sizes of images in random positions. I'm trying to set it up so that the swf (which is in a div tag in an interface) will resize depending on the browser size and will use the NEW stage size to determine the x/y position of the images (without resizing them) and will skip any images that are too big for the stage size...

Any ideas if this is possible? Dynamically sizing and determining the "working area" of a swf based on the browser/div size?? Any tutorials out there?? I can figure out the code, I just need to know where to start...

THANKS!!!!

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