ActionScript 3.0 :: Way To Resize (scale) A Hole Timeline?
Nov 21, 2009Can A flash fla be resized even if its just the swf needed in different size? (Stage size)
View 2 RepliesCan A flash fla be resized even if its just the swf needed in different size? (Stage size)
View 2 RepliesI get this error when I try runing my fla, this did not occur brfore I moved the hole timeline into a moveyclip symbol.when I debug the run breaks on: MovieClip(this.root).MusLargeImageLoader.source = "Images/Mus/IMG_1.jpg";I think the error is with this root.
View 9 RepliesI am working on image and i like to scale or resize the image by dragging and resize option.same working as "free transform tool" in flash (design part); i need same functionality in application.
View 7 RepliesI 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 RepliesI'm doing and animatic movie with flash (means lots of hand drawn frames and many layers) I also have about 40 sequences
I would like to scale down my whole movie to a smaller size like 720*480 (actual is 1980*1080) but when I change size in "propery" window it just change the size of workspace and drawings stays the same size.
is there any way to have the graphics scale to the new document size without using "transform tool" on each sequence, because flash crashes when I do that.
I have to adjust to a new size and my objects have to adjust accordingly. Is there a way to select multiple objects on separate frames and resize as a group?
View 1 RepliesThere is a flash with stage size 800 x 600. I need to add a button on the flash. When the user clicks the button one time, it will resize to be 600 x 450 and all MC, texstbox, button insides the flash would be resized on scale.
When the user clicks the button 2nd time, it will resize to be 400 x 300 and all components resize on scale as well.
When the user clicks the button 3rd time, it will resize to 800 x 600 again.
Is there any AS3 source code for it?
I have a movie clip object with a width of 306 and height of 194. I need to change the dimensions of the movie clip and still have the x and y scale set at 100. Currently when I change the movie clip width to 352.8, the x scale increases to 115.3%. I have to have the scale reset to 100% after I've adjusted the movie clip's width. Is there a way to do this in CS3? (this is all in design mode, not run time). Do I need to delete the movie clip and recreate it?
View 2 RepliesI'm using the loadermax class from greensock in order to load an image which matches the screen's width and height, using a scaleMode of proportionalOutside. The problem is, if I resize the stage, the image does not scale with it. Is there a way to resize the image while maintaining loaderMax's scaleMode?
View 2 RepliesI am wondering how would I scale an image on browser resize with minimum and maximum width and height parameters?
I know how to use the Event.RESIZE function to make my image proportional with the browser using stage.stageWidth/Height, but I am trying to figure out a way to have a movieclip or image scale up or down to a certain dimension such as on browser resize the image max would be 640x480 and the minimum being 320x240.
I have a sprite in as3 code, I want to enter its height to resize it, how can I scale the width accordingly?
sprite.height = 200;
sprite.width = ??
I am creating a website and I want it to be fixed size when the stage is bigger than 750 height so I am using no scale mode
ActionScript Code:
stage.scaleMode = StageScaleMode.NO_SCALE;
But if the stage would be smaller than 750 height I want the website to scale proportionally.
So I am using
ActionScript Code:
stage.scaleMode = StageScaleMode.SHOW_ALL;
I am also listening for resize with eventListener everything works fine until i resize the browser smaller then 750 it executes StageScaleMode.SHOW_ALL but after that resize eventListener stops calling the function.
resize an MC on browser resize (or if detected a small monitor resolution).
This is how things should be work:
- MC (my_ssp) should be positioned always in the center of the stage
- on browser resize, MC move to keep the center of the stage
- when stage height is < of 750 px (max MC height), the MC start resizing proportionally with the stage.
I attach the code:
Code:
import flash.display.StageScaleMode;
import flash.display.StageAlign;
import flash.events.Event;
[Code].....
Ok so for a while now I had this tiny chunk of code that would resize and image and scale it proportionatly. However I just realized there is an issue and I'm having some trouble fixing it - which should be a joke to fix but I can't.
[Code]...
I am trying to achieve an effect seen as on this website. [URL]
I want to have a background image that resizes to the browser window (my other elements retaining their size) - but stays in scale. I have been using the code provided at gotoandlearn which tiles the image. Here is the code used there.
import flash.display.BitmapData;
GreyBar._xscale = Stage.width;
var tile:BitmapData = BitmapData.loadBitmap("tile");
[Code]....
I am trying to make a frame arround an uploaded picture by repeating 1 image over and over again. The user will have to enter the real dimentions of the picture and the image will be scaled acordingly so that the frame will look as big as it should. The problem is that when I get a bigger pickture and I scale the images something goes wrong and there is some smearing in the movie clip. When I move it to X:0 and Y:0 all is well. When I move it to the center of the screen the smearing is there. Here's the code I use:
[Code]...
The name of the background image movie clip symbol is bg_main. The problem here is img is aligning outside the browser window on extreme bottom-right hand side instead of centering.[URL]
Here's the code below:
//set stage for FBF
stage.align = "TL";
stage.scaleMode = "noScale";
[code]...
'i am doing a game for children where users can drag and drop resize and scale movie clips on stage!The drag and drop is not an issue...
View 2 RepliesI just finished animating a scene with multiple layers and multiple motion tweens on those layers. But after testing it, i decided that it is too fast. Does anyone know how to scale everything on the timeline without changing the framerate?Also, how can i scale the size (transform) an object that already has a motion tween applied to it? I want to scale it on each frame in the animation, not just the first. I've tried, and it changes the animation where i scale it on the timeline.
View 8 RepliesI have a quite different problem with resizing. I have a Flexbook component which uses the middle part of screen (center) with a html header menu and footer. The problem: The scaling works perfectly when we run in the local machine ( Flexbuilder). But when we deploy it to the server its like scaling never existed.. The requirement: when user maximizes the window or minimizes it, the Flexbook should be resized to fit the screen.
[Code]....
I have a MC with a hole in it, graphically speaking. I need something behind it to show through the hole. The MC has a button embedded in it, so its clickable. But where the hole is I am not getting the button finger when I play it.My button hit area covers the hole, but it won't recognize it apparently.URL...Its the 2 bluish polygons on the map.
View 1 RepliesI want to draw a circle in as3 that has a 'hole' in it (like a donut). Something like this, but without the outlines[code]...
View 4 RepliesCan i mute a hole movie (.swf) and not just a one sound ?
View 14 RepliesI have made a Actions Script 3 code that fetches an image, does an addchild do it and adding a mask to it aswell.
Everything works fine, except the mask I've made is an animated MovieClip, and this MovieClip hides some spots where 2 or more objects inside that MovieClip overlaps each others.I haven't found how to remove this effect, so the mask is valid on overlaping aswell.[code]...
i drew a circle and i want to make a hole inside it ,, here is my code -->
ActionScript Code:
var _Target:Sprite=new Sprite();
_Target.graphics.beginFill(0xFFCC00);
[code].......
how to make the micro-hole texture in the big movieclip in this site.
View 2 RepliesCan i mute a hole movie (.swf) and not just a one sound? and how ?
View 14 Repliesi've posted many times and got loads of responses but i dont understand how to make a bullet hole appear when you shoot an object. MSN me a [URL] to have a chat about doin the actionscript.
View 1 RepliesI have a game where the character walks around the screen and stops if she hits a wall or a hole etc... - typical. HOWEVER - I coudn't get her to stop walking. Is there any standard code for this. If you tell to stop walking then she can't walk back out either etc... Also, she walked into the hole a little so being in the hole she definately couldn't walk any more not even back out as she would be walking inside the prohibited zone.
View 3 RepliesI am trying to duplicate a movie for a bullet hole when the user clicks a button hole is sapposed to appear but its not working. here is the code I have inside my bullet hole
onClipEvent(load){
i = 0
}
onClipEvent (mouseDown) {[code].......