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




HELP: Load The Movie Clip In FIXED Size ,but...



but the movie clip is loaded through another swf ,and this also is loaded through the main.swf in levels so the problem is that my main.swf is set to scaled (and i want it like this)but i need to load some movie clips that will have photos so i want them to appear at the size i will give (for example 600x600 and allways at the right)what i mean is if the user resize the window ,the main movie will scale but this mc (with the photo) will STAY at the size it is.but because of the main movie is scaled those mcs also do scale!if i set stage no scale AS at the mcs with the photos then the scale will be lost from the main movie! (it's allways loaded at level0)help me i tried everything!!i don't want to build the site from the beggining ..is huge!is there any way?my site is like this: main.swf(allways loaded ,set to SCALED 100%) -->--> menu.swf (will load with a button from main.swf at level1) -->photo.swf (will load with a button from menu.swf at level2 ,and will unload menu from level1)the reason i want those mcs not scaled is because they contain photos and if broswer scale the photos get pixelized etc...it's bad!please help me and if you didn't understand something ask me..i will follow this thread everyday ..i need to finish this!sorry for my bad english i hope to everyone a happy new year



FlashKit > Flash Help > Flash ActionScript
Posted on: 01-06-2008, 05:14 PM


View Complete Forum Thread with Replies

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

Load Movie Clip In FIXED SIZE Help
hello everybody ,1st post here please i need your help
i've made a flash site that will be 100% in the broswer so it will be scretched and scaled
this is not problem for me cause this movie is mostly the backround and some buttons
the buttons will load all the other mcs ,like photos ,videos etc
but i want the movie clips to load at fixed size and stay like this
even if the user resize his broswer the main movie will scale BUT the movie clips will stay at fixed size
how can i do it?

i load the mcs into levels or containers so plz help!

on (release) {

loadMovieNum("menu.swf", 1); // <---if i load this it will be scretched!
loadMovie("menu.swf" , "container5");//<-- even in the container!!

}

Can You Load A Movie With A Fixed Pixel Size?
I have a background movie where I load an image in. When the browser is stretched , or more important when the resolution is changed, the loaded movie changes size along with everything else. Is there a way to keep the loaded movie at an absolute size , regardless whether the parent movie is resized?

Thanks in advance.

Sizable Movie Clip With Fixed Text Size
The title doesn't explain this very well, so here is what I'm trying to achieve...

Basically I'm after a menu bar that goes right across the top of my movie (touching left and right sides), with X options in it that are specified in an array. Each of these options could be of varying width and the last item in the array needs to size itself to take up any remaining space that the other buttons haven't filled. As mentioned each of these options could be of varying width, but I want them to all have the same sized text (which will be centered horizontally).

All sounds pretty simple, on my main scene I have a movieclip called 'MenuButtonBar' which is about 30 pixels high, and takes the entire width of the movie. I then have a symbol called 'MenuButton' which is just a plain movie clip with a colored square for a background and a TextField on it with an instance name.

So I loop over the array and create instances of the MenuButton and add them to my MenuButtonBar, setting the text on the TextField, calculating the overall width along the way and then auto-sizing the last one to take up the available space.

Works perfectly.

Here is my problem:

Because my MenuButton symbol has an initial width of 200 pixels, which I am then changing to suit the particular button im creating, its scaling the font in the TextField. But this is only happening if I embed the font in the TextField object. (Obviously it looks terrible if I dont embed the font, but at least all the buttons have the same size text).

I've tried a whole bunch of things, like creating the MenuButton first and setting its width, then adding the text. Dynamically creating the TextField and setting its TextFormat... But it doesn't matter what I do, as soon as I embed the font it gets scaled.

Hope I've explained that well enough for somebody to lend a hand. I've attached a sample file that demonstrates the desired outcome (font isn't embeded so it looks ugly). But if you turn on embedding on the TextField in GenericButton you will see what I mean by scaling.

Thanks in advance

Auto-size Vs. Fixed Movie Size
I wasn't sure where to put this post. I hope this is the right place.

This is what I want to do:

On screen resolutions up to 800x600, I want my Flash movie to resize to 100% width and height of the browser window (since that's usually something like 635x450 on 640x480 and 755x550 on 800x600). On screen resolutions higher than 800x600, I want the Flash movie to be a fixed size (say 800px x 600px exactly).

Is this possible, and if so, how? Or is it something more to do with javascript after the final movie has been created?

Auto-size Vs. Fixed Movie Size
I wasn't sure where to put this post. I hope this is the right place.

This is what I want to do:

On screen resolutions up to 800x600, I want my Flash movie to resize to 100% width and height of the browser window. On screen resolutions higher than 800x600, I want the Flash movie to be a fixed size (say 800px x 600px exactly).

Is this possible, and if so, how?

Auto-size Vs. Fixed Movie Size
I wasn't sure where to put this post. I hope this is the right place.

This is what I want to do:

On screen resolutions up to 800x600, I want my Flash movie to resize to 100% width and height of the browser window. On screen resolutions higher than 800x600, I want the Flash movie to be a fixed size (say 800px x 600px exactly).

Is this possible, and if so, how?

Fixed Movie Size
I have made an fla that is 300 x 400 pixels. What can I do that when I play my swf as standalone or in a browser not goes fullscreen.

Load Entire Movie In Any Size Movie Clip?
Hi all. I was wondering. I want to make a static html page with a flash preloader. loading my entire movie into that preloader movie clip. Now I know I can load a movie into a movie clip but can i load it in and have the movie retain it's height and width (1024 by 768) after being loaded into a smaller movie clip (20 by 300). A movie clip placed on a static web page that is.

Well any advice will do, thanks in advance.

London

Fixed Size Mc In Fullscreen Movie
Hello everyone,

Searched everywhere, but I can't find the solution to...:

I've got a fullscreen flash (publish settings: default show all).
Now I want a bitmap (mc) in it, that always has the same pixel value, so it musn't be scalable. And it should be in the same spot.

Is this possible? Anyone knows the solution?

Thanks in advance,

Maaike

Any Ways For Fullscreen Movie Loading Fixed Size Movie
i would like to make a full screen webpage with a resizable flash image as background, with centralized, fixed size- flash movie. Is it possible?
I set the root resizable flash swf in HTML and used loadmovie to attach the flash movie. however, the loaded movie follows the fullscreen-magnification of root flash.


do you have any suppestion to me? thanks for your attention and advices.

my reference files zip link:
http://www.wildbutharmless.net/flash...creen_test.zip


root flash= fullscreen
attached movie= 700x580

External Swf Won't Load Into Movie Clip At Proper Size/specs PLEASE HELP
I am having a very frustrating problem with the loadMovie function and external swfs. I have set up everything as it should be: the empty movieholder clip in the main swf and the external swf I want to load into it are the same sizes, and the movieholder is registered at (0,0). the movieholder instance and everything is named. the external swf loads into the clip fine. but when loaded, the swf's background color is gone, and stuff that is outside the stage of the external swf file shows up instead of staying inside the stage/size of the swf and the movieholder. also, this swf isn't just an image, it is an animation, so a whole other swf that I want to load into the main navigation swf.

once a swf is made from a flash file, shouldn't anything else in the flash file that is outside of the stage/main area stay out of the swf? the swf plays fine on its own in the flash player, but won't play within its own borders inside the movieclip when loaded externally. what am i doing wrong??? is there some way of formatting the external swf so the background and playing size of it doesn't change when loaded into a movieclip holder of the same size as the swf?

i have tried to find a solution for this for many hours online already and have found nothing dealing with this specific problem. i am at my wit's end. please help! thank you for your expertise...

Center Fixed-size Movie In 100% Scaled Exe
I've seen a reply to a similar question sometime early in the year, but I cant find it with the search function..

I'd like to create a presentation, in kiosk form, but with the content of the movie at a fixed size, and centered in the screen. I'd have expanding borders to fill the remainder.

I know its something to do with the stage object, but cant work out how to ensure my fixed-size swf remains fixed size if I use 100% scale. I'll be using an exe, so I cant use js to set the size of the swf and pass on those variables, so any suggestions would be welcome.

Fixed Size Mc In Fullscreen Movie [MX 2004]
Hello everyone,

Searched everywhere, but I can't find the solution to...:

I've got a fullscreen flash (publish settings: default show all).
Now I want a bitmap (mc) in it, that always has the same pixel value, so it musn't be scalable. And it should be in the same spot.

Is this possible? Anyone knows the solution?

Thanks in advance,

Maaike

Fixed Size Loaded Movie In Fullscreen Movie?
I have a movie that opens up full screen and load an external movie into it. No problem there but I want the loaded movie to keep its original size and not resize with the full screen movie. Any thoughts on how to do that?

In the screenshot, you see how the yellow external movie loads into the fullscreen green movie. The white rectangle is only for size reference (photoshopped it in) and is not in the actual flash movies. The yellow movie is supposed to be 800x125 pixels but resizes with the fullscreen of the green movie.

Thx!

Open Fixed Size Html Page From Flash Movie
i need to open an html page that is scripted to open at a specific place and at a specific size. the html page also contains an iframe.

ive tried the tutorial written at flashkit :

http://www.flashkit.com/tutorials/Ac...-836/index.php

and it works great when all files are on my pc. but once i upload all files to the web it dosent work.

ive tried contacting the guy who wrote the tutorial but the email doesnt work.

any help would be greatly appreciated.

CS4 Background Fills Browser, Movie Content Fixed Size
Hi,
here is what I want to achieve.
background image movie clip in my movie fills the browser window completely.
main content movie clip stays a fixed pixel size in the center of the window.
is it possible to achieve this?
mark

How To Load Movie And Then Run It For A Fixed Time Period.
Dear Sir,

I want to run a movie where in there will be three scenes.scene-1,scene-2 and scene-3.The movie will start from scene-1.In scene-1 it will load a movie from c:my documentsflash-1.swf and then it will run for t1 seconds.After t1 seconds it will unload it and the main movie proceeds to scene-2.In scene-2 it will load a movie from c:my documentsflash-2.swf and then it will run for t2 seconds.After t2 seconds it will unload it and will proceed to scene-3 wherein it will load a movie from c:my documentsflash-3.swf and will run it for t3 seconds.After that it will loop again from scene-1.I use swish version 2.Please help me how to write the code.

Thanks
Bera

Change Movie Clip Size Without Changing Whole Swf Size?
ok this is kind of hard to phrase this question... but i have a movie clip and there is stuff in the movie clip i dont want to be seen... i thought about hidding it behind a white background but that doesnt work because it covers up other movie clips that i have.. so is there a way to set what can be seen in a movie clip

[MX04] Load Movie Clip...wait...load Another Movie Clip
ok...i'd like to do this all in actionscript if possible...on one frame.

one character (headshot). at timed intervals, the character would do something different...repeat.

[code]function antics() {
mc_Antics.start(0,0);
clearInterval(anticstime);
}
anticstime= setInterval(antics, 1000);

function antics2() {
mc_Antics2.start(0,0);
clearInterval(anticstime2);
}
anticstime2= setInterval(antics2, 2000);[code]

I don't know actionscript well at all, so is this just stupid? Any ideas on how to do this? It's not working right now...

SWF Fixed Size...
Hello there,

I want to be able to people enter a site and then click on a language choice and then a pop up window opens with the Flash movie with a fixed size
and with no browsers toolbars....

Can anyone tell me how do you publish the swf file ?
and what kind of html do you need to make the SWF pop-up that way?





thanks

Fixed Size Pop Up Window
heres the deal

i have some pictures in my swf file and i want to open up in a fixed size internet explorer browser of 500x500px when they are clicked.

how should i do this?
i have tryied some scripts put nothing is working out.

(heres some more info
my pic names are facillities....facillities7.jpg
every pic has its own htm file.
the facillities htm's are in a different directory from the swf file.
they are located to a facillities folder)

i dont know if that were info worth mensuning it, but i really dont know what to do.
also my photos are inside of a movie clip

thanx anyway for the help

FIXED SIZE OF THE WINDOW
I NEED TO KNOW HOW TO GIVE A FIXED SIZE TO THE EXPLORER WINDOW, FOR EXAMPLE TO A FLASH ANIMATION OF 200 X 200 PIXELS.
CAN YOU HELP ME?

Fixed Size Projector
hey everyone...
how do i make an *.exe projector window a fixed size... to noone can change the size of the window?
thanks in advance.

Fixed Size Web Page
I posted a question yesterday regarding a scalable web page with no scroll bars and got my answer...thanks.

I have another question now. How do I create a web page that is a fixed size with no scalability and no scroll bars? I would like the page to simply open up at a fixed size. How do I specify this type of page in my settings?

Thanks.

LoadMovie Fixed Size?
Hey people!!

Im new here and im quite a newbie to Flash MX.

At the moment im working on a movie where i load a external .swf into the movie (LoadMovieNum command).

Im also using the fscommand to show fullscreen.

Im making this movie for a CD and the movie opens with autorun and so far everything works fine

My problem is that the loaded external .swf is shown 100% on the Movie/screen, but i want the swf to be shown with fixed width and height in the middle of the movie.

Could somebody give he a hint on how to fix this!??

Cheers

Loading Fixed Size .swf Into 100% .swf
I've seen something similar to this at http://www.teknision.com/siteVersions/tek2/index2.cfm.

I've got a large .swf that I've set its dimensions to 100% to fill the browser window.

I want to load a couple of small .swf's into the large one, but I want the smaller ones to retain their original dimensions.

How is this done?

Fixed Window Size
Hi!

If there´s somenone that could enlighten me...
I want to know how to make a fixed window size for an swf.
I tried the fs command but for some reason it didn´t work, i tried a code that is appliable to a button (removed the button code).

I want the movie to run in a fixed size once it´s opened so, not related to a button.

Thanks!

Fixed Size, Non Adjustable Cd-rom?
Hi,

I have created a cd-rom, when it starts it opens a flash swf.

All that is fine, the main problem i am having is that when it opens i want it to open to a specific size, and without the option for people to resize the window, eg force it to the maximum screen size.

How could i achieve this?

Thanks for you time,
Tom

[F8] Fixed Size Window Get Url?
With the Get URL function is it possible to set a fixed size for the window that you open? If so does it need to go in the get URL function?

Any help be greatly aprreciated

thanks,
glory

Problem With A Fixed Size
Hi guys,
I made a image hangman game.. so the image chosen is random.. oka
but the images are all different in size and i'd like to load them in the same size, i got this script

_root.picture_mc.loadMovie(chosenWord+".jpg");


how do i stick the same size for all pictures?

thanks
leandro.

Pop-up Fixed Screen Size
hi there. i want to utilise space and i like the idea of making the window pop-up into a fixed size

A perfect example of what i want to do is show here:

www.sunseeker.com

What size/dimensions does this size use for the pop-up ? will it be compatable with every resolution? also.... how do i do it? Does someone know a good tutorial to achieve this?

thanks a lot for help


regards

jarmanje

Fixed Pop Up Window Size?
I know how to do it in dreamweaver, but how does one tell a link in a flash movie to open up a _blank window at a fixed size? I only know

on (release) {
get URL("myurl.html","_blank");
}

but this just opens up a regular sized window.

thanks for any help

Fixed Window Size
im pretty new with flash, i've searched, but maybe I'm not hitting the right keywords.
I'm trying to make my index flash page a fixed size. For example 550w x 250 h. I dont want people to be able to maximize their web browser and see all the other jumble thats hidden. I think its possible.. anyone?

LoadMovieNum With Fixed Size
I'm working on my first real Flash site and once I figure out a problem, 2 more pop up. Here's the newest one that I can't seem to figure out.

I have a main movie in which I've tried a couple of ways of opening external swfs. First i tried the loader component but everytime I loaded the swf, it would resize to whatever the screen res was. I then tried loadMovieNum and I still get the resizing problem. My question is what is the best way to load an external SWF into a fixed size area?

Any help would be great.

headhunter66

Fixed Image Size
Hello friends;

I use flashmo carousel 057.But all loaded pictures orginal size.How to fixed(100x75) or any image size view ?

http://www.flashmo.com/preview/flashmo_057_carousel_xml


Code:
// Code Credit: Lee Brimelow
// Tutorial Reference URL: www.gotoandlearn.com
// Modified by www.flashmo.com
stop();
var folder:String = "images/"; // a folder for thumbnail files + an XML file
var total:Number;
var radiusX:Number = 310;
var radiusY:Number = 90;
var centerX:Number = 400;
var centerY:Number = 150;
var speed:Number = 0.005;
tn_group_mc._visible = false;
fm_label.text = ""; fm_price.text = ""; fm_url.text = "";

var xml:XML = new XML();
xml.ignoreWhite = true;

xml.onLoad = function()
{
var nodes = this.firstChild.childNodes;
total = nodes.length;

for( var i=0; i < total; i++)
{
var t = tn_group_mc.duplicateMovieClip("tn"+i, i);
t.angle = i * ((Math.PI*2)/total);
t.onEnterFrame = mover;
t.tn_mc.inner.loadMovie( folder + nodes[i].attributes.filename );
t.tn_reflection_mc.inner.loadMovie( folder + nodes[i].attributes.filename );
t.fm_label = nodes[i].attributes.label;
t.fm_price = nodes[i].attributes.price;
t.fm_url = nodes[i].attributes.url;

t.fm_button.onRollOver = function()
{
fm_label.text = "Ürün: " + this._parent.fm_label;
fm_price.text = "Fiyatı: "+ this._parent.fm_price;
fm_url.text = "Ürün Sayfası: " + this._parent.fm_url;
}
t.fm_button.onRollOut = function()
{
fm_label.text = "";
fm_price.text = "";
fm_url.text = "";
}
t.fm_button.onRelease = function()
{
getURL(this._parent.fm_url);
}
}
}
xml.load( "products.xml");

function mover()
{
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s = this._y /(centerY+radiusY);
this._xscale = this._yscale = s*100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
}
this.onMouseMove = function()
{
speed = (this._xmouse-centerX) * 0.0001;
}
Thanks...

Fixed Pop Up Window Size?
I know how to do it in dreamweaver, but how does one tell a link in a flash movie to open up a _blank window at a fixed size? I only know

on (release) {
get URL("myurl.html","_blank");
}

but this just opens up a regular sized window.

thanks for any help

Fixed Player Size
Hi,

Does anyone know of an easy way to fix the size of the flash player? So that if the user tries to resize the window it just stays the same size.

So not running the swf file within a browser window but just within the flash player itself.

Cheers,
Radiostar



Fixed Size Swf Into Scalable Swf?
Can i make a swf file, that i want to be with fixed size to appear into a scalable swf like a fixed size?

I tried both load into MC and load into level but no sucess;-(

For example I have movie1.swf that I would like to have fixed size when I load it into movie2.swf, which I want to be scalable

Thank you

Code 4 MovieClip Button To Load A Movie Clip Into A Placeholder Movie Clip.
Yeah that title sounds a little confusing...so i will explain:

Is there a way to tell a "movie clip button" that once it is clicked on to load a "movie clip" into a "movie clip placeholder". So instead of loading an external swf into the placeholder, it will be a movie clip from within the same library. Putting every single custom clip on the timeline would take a while, so that is why I thought it would be easier like this, and the other movie clips are not that large that I want to load into it so there is no need for external swfs, trying to keep it clean. Here is the code along the lines I am trying to go for.

__________________________________________

this.profile_mc.onRelease = function() {
placeholder_mc.loadMovie("profileSection_mc","plac eholder_mc","_root.content");
}
__________________________________________

- "profile_mc is the button I am trying to activate to load the
"profileSection_mc" into the "placeholder_mc". but so far no good.

- the movie clips are within the same library, not on the timeline or external library.

- Is this possible?

Opening New Window OF FIXED SIZE.
How do you open a new window of a custom size (where you can specify the height and width of the window) from a button created in Flash?

I know how to do this in HTML (actually, in JAVA), but I'm not sure about Flash.

PLease help....

Creating A Pop-up Window Of Fixed Size.
I'm trying to enlarge a thumbnail onto a new window of a fixed size (where I can specify the width and height). I can do this using Javascript but don't know how to do it in my Flash site. Please help.

HTML Opening With Fixed Size ? (not A Pop-up)
What are the commands to put into my Site HTML so it will always opened with a predetermined fixed size ?

This is not a pop-up. Folks can directly connect to this page and view my site. It is my main Site page.

Also, I don't want any scroll bars on it.

I'm assuming it's some kind of Javascript.

Open New Fixed Window Size
I am trying to open a new window from a link within flash. I want the window to be 300x350. The new window is just a straight .html document. I don't want any nav bars, scroll bars, etc... in the new browser window. What do I need to do to my flash button and also my .html document? Any help would be appreciated.

Thanks.

Fixed Size Browser Window
I placed a Flash file in a Dreamweaver page. The Flash movie has a button that loads another Flash page. I want the 2nd movie to load in a fixed window size, but I can only seem to get it to open in a full size window.

Probably a simple question (I'm pretty new at this), but what do I need to do to get it to open in a fixed size window?

Thanks!

Fixed Size Pop Ups With GetURL Script
does anyone know how to make a button pop up an html window with a fixed size with no status bar, address bar, buttons, scroll bars and not resizable with flash mx using the geturl action script?
Please help me

Set Fixed Window Size With GetURL
Is it possible to set a fixed window size with the getURL command?

If so, could you direct me.

Thanks

Drag & Drop - Fixed Size
Okay, this may be a little hard to understood, but Ill try my best. For a website, I want to have a horizontal rectangle, with 3 smaller horizontal rectangles inside of it. Instead of text links, these are sort of the links. Each of those 3 boxes is a part of my site. I want it so that you can drag it on a field, and once it gets in contact with it, it grows bigger to fit the size of the field. And the same when putting the rectangle back into the smaller rectangle. How do we do this?

Drag & Drop - Fixed Size
Okay, this may be a little hard to understood, but Ill try my best. For a website, I want to have a horizontal rectangle, with 3 smaller horizontal rectangles inside of it. Instead of text links, these are sort of the links. Each of those 3 boxes is a part of my site. I want it so that you can drag it on a field, and once it gets in contact with it, it grows bigger to fit the size of the field. And the same when putting the rectangle back into the smaller rectangle. How do we do this?

Borderless, Fixed Window Size
hi ppl,
i need some help. i've make a flash website with a dimension of 200x400. now i want to publish it on the net, but i'm stuck, as i'm a newbie.

first, i want to make my index page so that it will have a flash movie (so that the user will know whether he/she will be able to view flash files) and when he/she click on the flash movie...

*click*

..a new borderless, window will pop up, and the window will fit just nice to my main site (ohh, and I don't want anything on the new window too... no scroolbar, no address bar, etc etc). my question is, how do i do this? i've tried searching on forums, but none that fits wat i picture.

please help.
thanks in advance.

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