External Swf's Stretch
I'm loading external swf's into my main movie. I have a blank movie movie inside of my work area w/ the instance name host. I have the actionscript
on (release) {loadMovie ("test.swf", "host");
}
on a button so it will load the swf into the blank movie. Howver, when I click on the button, the swf loads into the space, but not according to the target point, and it also stretches and becomes bigger than it actually is. Does anyone have any idea why this is happening?
- Nick
FlashKit > Flash Help > Flash MX
Posted on: 05-01-2005, 10:24 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Stretch
Hi
I am using version 5 of Flash.How can do scaling of a line at run time by pulling it using a bar attached at the end of it.I want to do it in a simple way without writing code.
Would It Stretch The Swf?
If I load an swf fullscreen in a HTML window, then while in my original swf load another swf into that one, would it stretch?
If It did stretch is there a way of keeping it in its original shape and also centred?
Thank you please.
Bg Stretch
Does anyone know how to stretch a background full screen on a browser but not scale the rest of the content?
Cheers.
Stretch To Fit
I supplied a client with a flash .exe file that I published for them to play on a large monitor in a retail setting. They are telling me that the file looks like it is stretched to fit the screen and distorted. I didn't think flash files could stretch to fit, so it must be their monitors settings right? If anyone could confirm this that would be great. I'm three time zones away from my client so any help would be great.
Bg Stretch
Does anyone know how to stretch a background full screen on a browser but not scale the rest of the content?
Cheers.
Keep It From 100% Stretch
How can I keep my exported movie from stretching 100% in my browser w/o having it to be inserted in html? I just want to keep it at its normal size, but it keeps stretching, where can I go to change that? Thanks..
How To Stretch Using AS
http://www.system.co.kr
Check out the site above. It takes a bit to load but sit tight.
The stretching animation of the people that happens on the homepage is what I want to recreate, I have done it with tweens, but it runs a bit slowly, even with frame rate at 40fps, I am thinking that it would be much smoother and quicker with AS, but am not quite sure of how I can stretch and animate the bitmap using AS.
Any help would be much appreciated.
Cheers
PS, I have done it by splitting the image into 4 sections and then tween each to get the desired effect.
Stretch Background Like On Hi-res.net/?
Who knows how these guys set this up:
http://www.hi-res.net/
Just an swf inside an swf?
I've got a flash background that I want to fill the browser and have another swf on top that is not resizeable. Suggestions? Thanks
Stretch Background Like On Hi-res.net/?
Who knows how these guys set this up:
http://www.hi-res.net/
Just an swf inside an swf?
I've got a flash background that I want to fill the browser and have another swf on top that is not resizeable. Suggestions? Thanks
Home Stretch
I'm just about done with this site (thanks to help from the awesome members of this board) And I just have one little error that I need to get corrected.
http://www.uwm.edu/~mst4/Nehemiah.html
If you go into it, click on "MUSEL", then click on "Application" a small description comes up, with "Download Application" in bold. If you do download it, the movie goes back to the load bar and stops at 100%. Try it for yourself, you dont even have to dl it, just click on it.
Heres everything I have in the text file that flash reffers to to use as the description.
Code:
TextBox=*p align="center">*body link="#644F33" vlink="#644F33" alink="#644F33">*font face="Georgia" SIZE="20" COLOR="#000000">*div align="center">*a href="MUSELApplicationForm.doc">*strong>Download Application*/strong>*/a>*/font>*/body>
*br>*font face="Georgia" SIZE="16" COLOR="#000000">You can submit the application by mail or email*br>MUSEL*br>2506 W. Vliet St*br>Milwaukee, WI 53205*br>Musel@wi.rr.com*/font>
*br>
*br>*/p>
(The < symbol has been change to a * so it can be viewed)
Any suggestions?
Stretch The Swf In The Webpage
I have created a simple animation of size 400 x 300. And embed that flash swf in the webpage.
I want when anyone open the website the animation stretches itself in thewebpage according to the size of the visitor resolution. I dont want as full screen without any navigation bars, icons or controls.
Please tell me is this possible if yes, how?.
Line Stretch
Hi guys,
Need a point in the right direction if anyone knows how.
What I am looking to do is this: I have buttons when pressed, it stetches a movie clip from one point to another and then contacts it back down to the original size. Pretty much each button makes the line stretch from where ever it is on the page to a specific point.
I have looked all over and can't find anything even close to this. Anyone know where I can find help?
As it is quite hard to explain, please find attached an fla of what I am trying to say:
Stretch Movieclip
Hi,
I am doing a fullbrowser flash movie and I have a nav bar that I set to.
Code:
navBar._width = Stage.width;
however I need the movieclip inside of this stretched navbar to retain its dimensions as its currently being stretch with the navbar and looking distorted.
Thanks for any assistance.
Stop The Stretch?
hello fellow flashers!!
i used flash mx to create a website for my work. However because of the nature of what we needed the flash to look like in a browser window i could not export a html page from flash. So i had to write my own (well kinda)
would someone please help me with the html so that my website does not change its aspect ratio, but still looks the same as it currently does when filling the entire screen?
you can take a look at the website here:
http://www.cgeyeltd.com
your comments would be greatly appreciated.
thanks
Rob
p.s i have copied the html code in here too:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<style>BODY{
border:0px;
margin:0px;
background-color: #FFFFFF;
}</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Welcome to CGeye Ltd</title>
</head>
<body bgcolor="#FFFFFF" text="#FFFFFF" link="#FFFFFF" scroll=no>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="80%" vspace="80" align="middle" menu="false">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="TEST.swf" />
<param name="quality" value="best" />
<param name="bgcolor" value="#ffffff" />
<param name="menu" value="false" /><param name="SCALE" value="exactfit">
<embed src="TEST.swf" width="100%" height="80%" vspace="80" align="middle" quality="high" menu="false" bgcolor="#ffffff" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="exactfit" />
</object>
</body>
</html>
Stretch Text
Hi,
I wanted to stretch the text inseide text area along x axis only. Hence I set scaleX value in the textField but to my surprise nothing happens. Then I change scaleY and it seems that entire text gets scaled along both the axis which is not what I desired at all. Can you please tell why this is happening and how can I get the desired effect. Here is my code:
ActionScript Code:
package {
import flash.display.Sprite;
import flash.text.TextField;
public class textLearn extends Sprite {
private var _text:TextField;
public function textLearn() {
_text = new TextField();
addChild(_text);
_text.text = "12345";
_text.scaleX = 2;
}
}
}
Is there any way of doing this as this is needed in my project even some bad kind of hach will do Please help
Stretch Swf Inside A MC
Is there a way to stretch a loaded swf? Currently when I create the movie clip and load the swf, it maintains it's aspect ratio, but I need it to completely fill up the movie clip even if it's twice a wide.
Any advice?
Thanks
Stretch A Movie
hi all,
how can we stretch a flash movie, without stretching the images?
thanx.
Stretch The Timline
i have a movie clip with layers of animation isnide of it with key frames. how can i make the animation go slower without changing the fps of the movie? can i somehow "stretch" the timeline inside the movie clip (or layer by layer) so that the key frames will distance themselves from one another proportionaly? Or is there a better way to do it?
Time Stretch?
I would like to change the frame rate of my movie without changing the time. Is there a good way to 'scale' the timeline, adjusting the frames automatically?
Thanks,
Josh
Image Stretch
I have an image that i imported into flash... why does it strech the image in one pixel line where its not supposed to? how do i fix this ... please help
Stretch Effect
hi, does anybody know how to do thie stretching effect, just like number 19 or
28 here : www.podlob.com
i'd appreciate any suggestions.
thanks
How To Stretch Projectors.
Hey there guys,
Happy new year to all of you.
Had a problem stretching the flash file to fill the screen in a projector movie. It is not made in proportion with the standard screen sizes.
Is there a quicky way of doing this, without having to go into each element and resizing it. Its a huge file with a lot of cross referencing happening, and _root is used liberally everywhere.
Any quick command..?
(We have made a screensaver of the same file using screensaver factory 3, and it does the stretch easily)
Thanks
Surdzz
How Can I Stretch This Movie?
http://elizaldi.com/intro/intro.html
I want to scale the movie up to fill the height and width of the screen. Putting 100% for h&w doesn't just work. Any ideas maybe in AS? It's been awhile since I've had to do any Flash coding...
It's been awhile since I've been here but I still see a lot of the same ppl are around. Remember the pimp smiley was made for me yah! that rocked.
Stretch Movieclip? How Is It Possible?
Hey guys anybody know how to use actionscript to stretch a movieclip indefinately either horizontally or vertically? I have a swf file which I've set to resize when the browser window resizes and I want to have a background movie clip that 'stretches' or 'repeats' itself to accomodate the browser window at whatever width it is.
Any suggestions?
MC Not Stretch When Scaled?
hi
first post and its a question
is their a scale function or class so that when i strech a movieclip (while editing in flash and while running the swf)
that the clips specific contents do not stretch to the clip legnth but they "stick" to the clip edge?
like:
Code:
Xmovieclip._x = _parent._width - Xmovieclip._width;
but Xmovieclip doesnt scale when its parent is scaled.
thanks for any help!
Stretch Stage Only When Necessary...
I put together this little photo gallery tonight, and overall, I'm content with how it works, but there's one thing that bothers me - unless you have a super big monitor, the scroll bar is always at the side of the screen.
Is there a way to keep the stage relatively small (550px or so) until a vertical picture comes up, and then stretch the swf to say 800px? I've used full screen Flash before, but when I do that, instead of forcing the scroll bar to appear, it just cuts off the image.
Note: Yes, this problem could be solved simply by not doing it in Flash, but eventually I plan to append this to a portfolio of sorts (which will be in Flash) and don't want to make it an external link.
Thanks.
Stretch Effect
Hi,
Does anyone knows how to create a stretch effect (like photobooth on mac os x) with AS.
Thanks
Image Stretch
Hey, when using the fscommand to make a projector file fullscreen, it stretches the image. Is there a way to keep the swf the same size, only stretch the "background color" to fill the screen? Thanks
Image Stretch
I have an image that i imported into flash... why does it strech the image in one pixel line where its not supposed to? how do i fix this ... please help
Stretch Effect
hi, does anybody know how to do thie stretching effect, just like number 19 or
28 here : www.podlob.com
i'd appreciate any suggestions.
thanks
How To Stretch Projectors.
Hey there guys,
Happy new year to all of you.
Had a problem stretching the flash file to fill the screen in a projector movie. It is not made in proportion with the standard screen sizes.
Is there a quicky way of doing this, without having to go into each element and resizing it. Its a huge file with a lot of cross referencing happening, and _root is used liberally everywhere.
Any quick command..?
(We have made a screensaver of the same file using screensaver factory 3, and it does the stretch easily)
Thanks
Surdzz
Stretch To Both Corners, How?
Hi,
Im working on my portfolio.
How can i get it stretched all the way on the right side?
Have a look
http://privat.bluezone.no/stein.sebergsen/issue04.htm
Regards,
Simon
Attached Line Stretch?
Can anyone explain how people have two blocks with a line between them and you can grab one of the blocks and move it and the line grows to cover the distance and direction?thanks!
Auto Stretch - Fit To Page..?
Hi All,
I have a movie/site that is 700X500pixels..
How do i guarantee that it will auto stretch to the resolution of the viewing screen...
I know the movie will retain its dimensions, but the background (which is black) should just expand to cover the rest of the screen and place the movie in the centre of the screen..
How do i do this if flash???
Cheers
dvdvault
Image Stretch Transition
Hi all,
I've always been curious how you do something like this.
http://www.podlob.com
click on Flash Research then 28. Image Stretch
Any ideas or threads?
Stretch Movie To Max Size
I've developed a page that stretches to fit the browser that contains it. Is it possible to make a movie do this, but stop expanding at a certain size? This way it makes good use of space in a small browser/monitor, but won't get so big that embedded images stretch and distort to ugly porportions in big browsers/monitors.
Thanks!
Frank
Stretch A Movie Clip
This may be tricky. I want to have a "beam" shooting from a gun.The trick is, i want the end of the beam to be where my cursor(or crosshair is)but have the beggining of the beam stay at the gun point. I want the "beam" to be a movie clip, as it will have a quick animation to it. right now it just stays a certain length, and looks dumb when the crosshair is above or below a certain point. Any help would be great. Thanks everyone..
Is It Possible To Stretch Only One Scene To Fit Screen?
Hi there. I have three scences to my .fla and I want to make the second one fill the screen. The other scenes, however, I want to remain as they are (i.e. set to pixel in pub. settings if I'm not wrong) I would be grateful for any ideas here!
Scrollbar Component: How NOT To Stretch The Bar ?
Hey there,
Does anyone know how to use the FMX scrollbar component, and tell it
NOT to stretch the scrollbar even if the content is big or small?
For example, I'm trying to customize the skin of the default scrollbar
to change it from a square to a circle, but since it stretches as the
content grows, well, my circle then becomes a stretched vertical ellipse, and
it looks awful .
Thanks for the help !
Stretch Movie Out To Whole Screen
Happy New Year!
I have a question about how to stretch a swf to meet the whole browser window. A good example can be seen at www.shopcomposition.com. If you'll notice, the swf stretches to the whole browser and screen. How is this done?
Thanks!
Furpants
How To Stretch A Rectangle With Actionscript?
Code:
function CreateRectangle (X, Y, XLength, YLength)
{
this.createEmptyMovieClip("rectangle_mc", 0);
drawRoundedRectangle(rectangle_mc, XLength, YLength, 0, 0xFFFFFF, 50);
rectangle_mc._x = X;
rectangle_mc._y = Y;
function drawRoundedRectangle(target_mc:MovieClip, boxWidth:Number, boxHeight:Number, cornerRadius:Number, fillColor:Number, fillAlpha:Number):Void {
with (target_mc) {
beginFill(fillColor, fillAlpha);
moveTo(cornerRadius, 0);
lineTo(boxWidth - cornerRadius, 0);
curveTo(boxWidth, 0, boxWidth, cornerRadius);
lineTo(boxWidth, cornerRadius);
lineTo(boxWidth, boxHeight - cornerRadius);
curveTo(boxWidth, boxHeight, boxWidth - cornerRadius, boxHeight);
lineTo(boxWidth - cornerRadius, boxHeight);
lineTo(cornerRadius, boxHeight);
curveTo(0, boxHeight, 0, boxHeight - cornerRadius);
lineTo(0, boxHeight - cornerRadius);
lineTo(0, cornerRadius);
curveTo(0, 0, cornerRadius, 0);
lineTo(cornerRadius, 0);
endFill();
}
}
}
Then I call it by this
Code:
CreateRectangle (120, 335, 520, 75);
How do I slowly strech it?
Thanks
-Evan
[F8] Interesting Background Stretch
i dont consider myself a newbie but still have LOTS to learn, so i'll post this here.
im looking to have a stretchable background(full browser page) while still keeping the main movie file the same size..? make sense?
the link below shows an example of what im looking for . you can see that if you resize , the background stretches but the main swif size is untouched.
hope somebody can help me.
thanx so much
earshot
Proportional Timeline Stretch
I'm currently working with a multilayer, fairly complex Flash movie which I would like to proportionally stretch in order to slow it down some. The client needs it to run even slower than its 1fps rate.
Is there a hidden function that will do this? I just recently upgraded to CS3, but I don't see it there either.
Thanks,
Louis
Stretch A Symbol To 100% Width
I am looking to create a symbol that will become a gradient pattern that stretches the entire width(and only width) of the browser(See image below) . I am attempting to apply 'Full Browser Flash', meaning the college image in the picture below, will consistantly center in the users browser. I have been able to accomplish all of this using the video found here: http://gotoandlearn.com/player.php?id=31. But I need to have the flexibility of having the gradient pattern be a symbol so I can tween in new color gradients.(See second image below) The idea is to to have a slide show effect, and the image in center along with the gradient background fade to the next set. I am hoping this is possible. I am very new to action script, so please handle with kid gloves.
How Did They Do This On This Site? Image Stretch
http://213loftcompany.com/
Basically, I am wondering how they have this background image fill the browser window. I have used fluid flash before, but usually it deals with colors, or patterns for the background and not an image. How does it not distort when you resize the window?
I'm curious and dying to know. Thanks.
Background In Flash Stretch
i want the background_mc in my flash movie to be stretchable, thats my background image in swf..but i want the content box in the middle(content_mc) to not stretch and always stay in the middle. any help on how i can achieve this?
Correct Way To Stretch Without Scaling?
I have a background with a bitmap fill in it. The background is just a rectangle [drawRect(0,0,stage.stageWidth,stage.stageHeight)]. It get's a repeated bitmap fill and everything works fine.
My problem is whe the stage is resized. If I simply set the height and width of the rectangle the fill gets stretched (even when I re-apply the fill). If I redraw the rectangle and re-apply the fill everything works fine.
So my question is, am I correct in redrawing the rectangle every time the stage gets resized, or is there a more correct method of changing the rectangles size without actually scaling it.
Click-drag-stretch
hi there,
I'm looking for an option to click a mc in the bottom-right-corner. When dragging the mc scales/stretches bigger or smaller depending of the position of the mouse.
any suggestions?
i tried to find a tutorial but couldn't find any....
thanks in advance
|