ActionScript 2.0 :: External Swf Won't Scale?

May 6, 2008

I'm trying to load an swf into a main xml-generated swf (photoGallery.swf). The external swf doesn't seem to scale and my display is all messy... After so much coding and so little to no experience, I'm pulling my hair. #_#

check out my files here: [URL] (the folder's size is too big to be directly attached to this post).

View 5 Replies


Similar Posts:


ActionScript 3.0 :: Loading An External Swf With A Determined Scale?

Dec 20, 2009

i'm trying to load an external swf (as2) and I want to use it as a background for my movie.I'm doing it with this code:

Code:
var bg = new Loader();
bg.load(new URLRequest("background.swf"));
addChild(bg);

[code]....

Why is not working when I set as the width and height the stageWidth and stageHeight parameters?

View 1 Replies

ActionScript 2.0 :: [CS5] External Swf Into Movieclip Scale And Position?

Feb 2, 2011

[URL]while in "portfolio" section, if you resize, the content go to the left.I know WHY it does it : while in a MC, an external movieclip lose his stagesize to compress into the movieclip, if resize, it use the size of ALL the content in the SWF to resize. the external fla stage is 1600 x 680, but the content goes out of the stage to the right to make an 1760 x 680 size.to make it LOAD at the right place and right size, i've got a layer with a MC (externalStageSize) in the external SWF that is the size of the Stage, while on frame 1, only this MC(externalStageSize) is active, so when loaded, the _level0 flash can position and scale the external SWF.

BUT, while active content is on, any live resize does not go well..I tried to "connect" the scaling with (externalStageSize) BUT once loaded the size does not change.I wanted to use the math : "new width" = ("allcontent".width / externalStageSize._width)/Stage.width but _level0.ContentMC.externalStageSize._width return the value it have in the flash... like, even if rescale, it will say "1600" is there a way to counter this ? before you ask : AS3 was out of the question because the person who will maintain the site is not that advanced.

some script used when resize :
ContenuMC : the movieclip in witch external swf is loaded

Code:
function setContent() {
// content dimensions
ContenuMC._width = Stage.width;

[code]....

View 1 Replies

ActionScript 3.0 :: Load External Swf And Scale To Extended Screen?

Nov 18, 2009

Isn't possible to load an external "swf" application and launch full screen (include extended screen, if exist).

How to scale the external "swf" to display in full screen?

I able to load the "swf", but do not have ideas how to scale the external swf to full screen. (I already set the main swf in full screen)

View 2 Replies

ActionScript 2.0 :: Scale External Images To Full-screen?

Dec 14, 2011

I have this code to scale external images to full-screen:

function resize_image(){
pic = big_mc.swfloader;
Stage.align = "TL";

[Code].....

It works fine but I want to change it so the scaling is determined by the browser height, at the moment it scales to the browser width so you lose some of the image height - Also, need to keep the images in proportion

View 0 Replies

ActionScript 2.0 :: Rolledover Clip To Scale Up And All The Others To Scale Down And Blur?

Mar 8, 2007

Scenario: main moveiclip with 4 other clips in it. I want the rolledover clip to scale up and all the others to scale down and blur.

Question: What is the most effiecent way to code this. Would it be a "for in loop"? I am trying to minimize the code and would rather not use a whole bunch of if then statements.

View 3 Replies

IDE :: Flash Content To Scale When Scale Browser Window?

Feb 19, 2010

I want my flash content to scale when I scale my browser window.

View 5 Replies

ActionScript 2.0 :: Initialize X Scale And Y Scale Into Percentages?

Jan 14, 2006

How can I convert the current scale of the instance to 100% so I can easily "visualize" and manage the instance when I modify its scale? Here's the actionscript, it works, but I just want the temp._xscale and temp._yscale to be in percentages, not real numbers.

Code:
USflag.onMouseDown = function ()
{
var temp = USflag;
onEnterFrame = function ()

[code]....

One last thing, what's the tag you have to put that is designed for boxing actionscripts? I'm suing [ code ][ /code ]

View 1 Replies

Scale A Flash Using Dreamweaver - Can't Get It To Scale

Dec 4, 2009

My Flash image will not scale.if you zoom in, it gets chopped up. if you zoom out, it has a big blank area.What should I change in order to have this Flash image scale just like the rest of the site? [URL]It is the Flash in the center.

View 1 Replies

Swf Won't Scale To Fit Div

Feb 15, 2010

I am trying to use swfobject 2.2 to display an swf, but the swf won't scale to fit the div that I'm putting it in. You can see what I've got here. When it first loads, it is the right size, then it expands larger for some reason. If I right-click on the movie and select "Show All", it then fits perfectly.[code]

View 5 Replies

AS2 :: Scale Objects With It?

Sep 7, 2010

I have a purple box on the stage. I turned this box into a movie clip with the instance name of "purple." onEnterFrame, I want to increase the wdith of that box. It is currently 11.75px. I want it to ease into 40px. I want this to happen onEnterFrame.

View 2 Replies

ActionScript 1/2 :: Scale One MC But Not Another?

May 13, 2009

It's been awhile since I've worked in as2 but I think I'm close to accomplishing this. I've got one mc to center itself in the browser and move with the browser size without scaling. What I'm trying to do now is get my background video to scale with the browser without affecting the centered mc. I've grabbed this code and altered from another source.

[Code].....

View 3 Replies

Way To Scale My Application

Mar 13, 2010

How can I make my application to fit the browser size? I wont it to be on all of the screen(not full screen mode) and not just the size that I chosen.

View 6 Replies

Set SWF To Scale To Screen?

Mar 1, 2012

I have finished my Flash presentation which is set for a large monitor. My file is 1920x1080. How can I get the SWF to scale to a smaller monitor if needed? When I output an HTML file, (set at 100%) the file scales, but the rollover buttons only work on (Click) and the cursor doesn't change from the arrow to a hand. Is there a code that I can place within the action window?

View 2 Replies

C# :: WCF Scale Well Using WebOrb?

Oct 31, 2010

I'm looking for feedbacks regarding performances using WCF with amf. Here's an old benchmark which doesn't use WCF :[URL].. I'm aiming to few hundred/thousand concurrent connections at the same time. I think there's an overhead using WCF, but I would like to know to what extent if anyone has already test WCF through WebOrb using AMF behavior ?

View 2 Replies

ActionScript 3.0 :: Scale A Swf Down 90%?

Sep 7, 2009

What is the easiest way to "globally" shrink an entire Flash Movie?I designed a entire site at 960x610 and the person I did it for has a 13" macbook and he needs to scroll down to get to the bottom of the page and would like it to fit completely without having to scroll down.so what is the easiest way for me to say publish it at say 90-95% keeping all things proportional?

View 7 Replies

Possible To Scale Only Background?

Mar 13, 2009

Is it possible that when i embed my swf file to an html page n then view it in the browser, it should autoscale only the background image of my flash file and keep everything else to the center?I'm using actionscript 2.0 for this movieclip.

I got this code from a blog and tried it..but it doesn't seem to be working..(my background pic(movieClip) instance name is 'pic') [code]...

View 1 Replies

ActionScript 3.0 :: Scale The Mc To 50?

Jul 15, 2010

I need to scale the mc to 50.In as2, I would do

mc._xscale = 50;

how in as3?

View 1 Replies

Working Out A Scale Formula?

Mar 14, 2009

I'm having a real problem trying to work this out...


A: I start with a movieclip on stage. it's 100x100.

B: I set xscale and yscale to 150.

C: I use "attachMovie" to add a little man into the square.The problem is, the man has an xscale of 100, but he is also scaled with the movieclip square container. So he appears too big.

D: What i would like to know, is what formula you would use to reduce his scale so he is the correct height, if the container movieclip had an xscale of 100?

[Code]...

View 2 Replies

Drag And Drop On A Set Scale

Jun 21, 2010

Basically, there will be two images, which participants are to choose between. Below the pairs of images will be a horizontal bar with arrows at both opposite ends. I would like the participant to be able to drag and drop a small rectangle somewhere along the bar to represent their choice (and the degree of their endorsement).Basically, I'm asking how to make an interactive scrollbar on its side (without buttons, just the drag). I would also like it to start in the middle of the bar and be able to be moved in either direction.

View 2 Replies

ActionScript 3.0 :: PrintJob Not To Scale?

Apr 28, 2009

there is a print button , however when i try to print , it is not to scale.

View 1 Replies

ActionScript 3.0 :: How To Scale Mc From Center

Nov 25, 2009

I have created a movieclip with programming and added a image via xml loader. I am scaling it down using tweenlite. But it scales as if the registration point is on the top left of the image. Do you know how to change it so it scales from the center?

View 6 Replies

ActionScript 3.0 :: Scale Movieclip Using It?

Apr 22, 2010

I am trying to find the code to have my mc scale from 0 to 1 in AS3 on enterFrame.Unfortunately, I have researched and have found every solution but the one I need.

View 8 Replies

ActionScript 3.0 :: How To Scale From The Middle

Sep 19, 2010

[code]...
 
Now, when it scales, it scales from the movieclip var registration point of 0,0. So when it scales, it appears to grow in two directions (down and to the right)Is there a way to have it scale from the center of the box so that it scales equally in all 4 directions?

View 3 Replies

ActionScript 3.0 :: MC Scale On RESIZE

Nov 30, 2010

I am currently working on a swf (call it swf_A) that will eventually be loaded into another swf (call it swf_B) and have a few questions about resizing movie clips with the RESIZE event.[code]This is resizing my Movie Clip, however when I drag the flash player to make it bigger, it seems that it is scaling from the bottom right of the player.  I see the Stage, or white background in the top  and left of the player.  Any Ideas?Second part is if I use a reference to the stage like doorsMC.width = stageWidth; and doorsMC.height = stageHeight;will this break when I load it into swf_B?

View 4 Replies

Flex :: Scale A Loaded SWF?

Sep 2, 2009

I want to load a swf into a Flex application and scale it down into a thumbnail-size.I've looked at http:[url].... but it does not really address my need: I want to size it and keep all the pieces inside a container.

View 1 Replies

Actionscript 3 :: Scale Swf Up To 100%, But At Any Percent Down?

Feb 18, 2011

I want to allow the swf to scale when the browser window is resized, but I don't want it to increase over 100% (so it should only scale down).This is an example of the kind of scaling the client wants:[URL]But again, it should stop at 100% going up.

View 1 Replies

Jquery :: Scale Image With It?

Aug 13, 2011

What would be the best and fastest way to scale/resize an image which is injected into PHP file which is called via AJAX with use of jQuery?

So I am trying to assure the image does not bypass the width of 600px and height of 410px but I do not wish for the image to be maxing out this dimensions and look weird, it has to be displayed as it would be, but just in smaller scale.

Also if there is a way I can do this with a already existing Flash script that would be great, but I do not recall of any good ones which are as simple as one used by Google on there Picasaweb service.

View 3 Replies

ActionScript 2.0 :: Preloader Bar Does Not Scale Right?

Jan 20, 2009

I have this nice preloader in as3 which scales the bar depending on the percentage. I tried changing the code to fit as2 but the bar does not scale right? It scales about 10% of the full size and then stops instead of scaling back to 100% of the original size.[code]

View 1 Replies

ActionScript 3.0 :: Set Swf To Scale Apart From One MovieClip?

Jun 20, 2009

Is there a way to set the swf to scale apart from one MovieClip? I have a bitmap pattern which i dont want to change!

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved