ActionScript 3.0 :: Change Frame Size On Flash?
Oct 14, 2009I cannot find any information that if there is possible to change the frame size on flash. Is it possible to change the frame size of aspect ratio on flash?
View 7 RepliesI cannot find any information that if there is possible to change the frame size on flash. Is it possible to change the frame size of aspect ratio on flash?
View 7 RepliesI want to dynamically load an image into a box/frame (got that figured out) and then have the box/frame resize according to the image's dimensions .
View 14 Repliesvar tfNum_mc:MovieClip = tl.attachMovie("tfID","tfNum_mc_",tl.getNextHighestDepth());
If I'm to assign the above code to a dragDrop action. Is there a way to change the font size of tfNum_mc_.tf? I've tried;
tfNum_mc_.tf.size = 12;//did not work
var format1:TextFormat( = new TextFormat();
format1_fmt.size = 12;
tfNum_mc_.tf.setNewTextFormat(format1);//did not work
I am trying to change my radiobutton size and label size in pure as3...
searchRB = new RadioButton();
searchRB.name = "search";
searchRB.group = rbg;
[Code]....
I want to reduce the size of Swf using the size mentioned in the object tag of html. Same swf file size can be different for different request.
The problem is this if we reduce the size all control in swf reduced according to the change in swf size. But we want the buttons and one more graphics remain same size for any change in size of swf file. How can we make it ..
I made a preloader for my single scene movie and although the preloader is about 16k, when placed into frame 1 of the movie and tested, the frame is shown to have about 256k, which is larger than the movie it's loading. I've gone through all the files and made sure that export in frame 1 is not checked and made sure the publish settings also are set to export in frame 1.
View 5 RepliesI have a flash file with the stage size 800x600Now I change the stage size to 1024x768 but all the constant ( movie clip, images, buttons..) do not fit with the new stage size.
View 2 RepliesI created a simple program that displays the current time on the screen.
When I embed this object on a web page, it takes the whole screen leaving a lot of blank space. To avoid this I tried setting the height and width using two methods:
1) I did <embed src="time.swf" **height="100"** **width="100"**>
2) I tried stage.scaleX=.5;
stage.scaleY=.5;
But both of these solutions also decrease the size of my text.
So, my question is that is there a way to decrease the dimensions of the swf file, without scaling the text and other components in flash
I'm totally new to flash, and I'm trying to build a very simple app. I have one as file in which I defined my class which inherent from Sprite, with the name mySprite. I have a fla which is of the mySprite class, and a size of 400x400(I must assign a size when define the fla). my question is, when this flash is launched, I want to read some data from outside (width&height) and change the flash windows size to these specified size. I tried many ways, but can't succeed. Every time the flash is launched, window size is 400x400.
View 1 RepliesIs there a way to change a popup window size that has an swf embedded in it without loading a new page? here is the example: [URL] click the open window and the pop up opens up at 550 x 402 with an html page. The html page has an embedded swf, flash music player. All to the way to the right, there is a minimize button that will (hopefully) minimize the window to 550x 180 with out disterbing the player. This is my issue. So can it be done without loading an new page and not altering the players progress?
View 6 RepliesIs there a way to change a popup window size that has an swf embedded in it without loading a new page?
here is the example: [URL]
click the open window and the pop up opens up at 550 x 402 with an html page. The html page has an embedded swf, flash music player. All to the way to the right, there is a minimize button that will (hopefully) minimize the window to 550x 180 with out disterbing the player.
This is my issue. So can it be done without loading an new page and not altering the players progress?
i created a flash website but the problem is the size is to large to fit on screen i have imbeded buttons, Movies clips, masks, and about 7 different scenes in this 13 mb movie what do i do to make the physicle size of the objects on screen so i can view it on my sceen?
View 1 RepliesI am trying to scale this video to 640x360. When I change the width and height, the video doesn't get bigger. I tried adding the parameters scale="aspect", scale="exactfit", cale="default". None of them worked.Is there any way to scale this to 640x360?Embed Code:
<object width="416" height="374" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000">
<param name="allowscriptaccess" value="always" />
<param name="movie"
[code].....
I made a flash application that gets the geolocation of a viewer ( city, state) and I'm trying to figure out how I could make the font smaller to fit in the container that I have it in depending on how big the name of the city is. For example, "Detroit" may fit, but "Los Angeles" may need to be a smaller font.
View 1 RepliesIs it possible to change Flash applet(SWF) size dynamically? SWF is not embedded in HTML, so no external sizing will be used.
View 2 RepliesI have seen this on some site, so there must be a way of doing this. How do you dynamically change a flash movies dimension during runtime? For example, the forum nugget is working on I noticed that the height of the flash forum dynamically grows as the thread getslonger...because I can see my browser scroll bars appear. How can this be achieved?? his seems mind buggling to me, because you have to set a flash movies stage dimensions before publishing and the html has the flash dimesions too, so I don't get how this is being done
View 4 RepliesIm trying to change the size of this video object from 416x374 to 640x500.[code]I tried adding these parameters and none worked: scale="aspect", scale="exactfit", scale="default".From what I understand, this swf is being scaled inside flash using "StageScaleMode".Is there any way to override this and change the embed size?
View 1 RepliesI am editing my website, a full flash site bought from Template Monsters and it seem there is a problem with screen resolution. When i publish the fla in flash only, it fits the screen exactly with no scroll bar but when i publish in html the flash content is bigger than screen size and menu bar stays outside the screen in the way that i have to scroll down to see menu contents and tabs.In order to make this site more user friendly I have tried to resize the screen to a smaller but seems to be not a good idea. I have also tried to use different .js and includes in order to solve the problem but still not giving the result i am looking for.
View 5 RepliesHow can I change the font size in flash CS5 to show in pixels rather than points?
View 1 RepliesI am a newbie in Flash CS3. How to resize the width of of a movie clip according to the size the size of dynamic text inside it. I did it by creating a text field 'myText' and then converted it to a MovieClip symbol and named the MovieClip as myClip. The text in myText is assigned at run-time and its width changes according to the text.
I did it as follows:-
myClip.myText.selectable = false;
myClip.mouseChildren = false;
myClip.useHandCursor = true;
myClip.buttonMode = true;
myClip.myText.width = myClip.myText.textWidth + 5;
On doing this I find the clickable area changes according to the size of the text field but the text field doesn't appear at all.
I have a class for MarqueetextField, I am trying to change the text inside a marquee tag and the color of the marquee using as3.
View 2 RepliesIs it possible to set the frame count of a video manually in Flash BUilder 4? How is the frame length of a video determined in Flash Builder 4? I need to do this in order to trick video format converters into thinking that my video is actually x frames long instead of just 1 (my swf video is controlled completely through as3 code and thus resided on just the 1st frame). This way, the video format converters will be able to automatically (and correctly) convert my videos to another format (flv is desired). Another solution to this would be a converter that actually automatically converts based on video length rather than frame count, but I have already thoroughly searched for one and one doesn't seem to exist.
View 1 RepliesI am looking to add some code to my xml file that will change the final font, size and colour in Flash Action Script 2. I want to be able to have the choice of a few font sizes, styles and colours. Below is the AS2 script so far, and the XML.
stop();
var myGalleryXML = new XML();
myGalleryXML.ignoreWhite = true;[code].......
I have a problem when I am changing color of a MovieClip. When I change the frame and in some point come back to the frame that holds the MovieClip, then it has returned to its original color. Is there any way it caches the color somehow so that I don't have to recolor it every time.
View 1 RepliesI am making a quiz/game, and it works like this, two teams that have to take over the united states, by answering history questions, so right now I have it were when you click on a state, it takes you to a question (on a different frame in the main timeline), then I have a problem, if you get the question right it takes you to the "board" of the United States (that works), but when you are back the color of the state should change its color to red (on frame of the clip) if south got it and blue (another frame of the clip) if north got itBut instead i changes back to grey (default color, all start grey to begin with). I don't and can't seem to figure this out
View 2 RepliesI've been following the book "Beggining Flash Programing for Dummies" and I have come up to a part where I create a very simple game.
The script involved in the frames are FRAME here:
stop();
btnGoThere.onRelease = function(){ _root.gotoAndStop("there");
} //end event handler
Frame there
btnGoHere.onRelease = function(){ _root.gotoAndStop("here");} // end release
When I test the movie and click the button, the frames don't seem to change.
I got a MovieClip filled with a lot of others clips... When I change de X or Y value of this first MovieClip the frame rate slows down for during 1 frame. For exemple... I created a counter that returns around 30 mseconds every frame, but when I do this X or Y change the return is around 400 mseconds... When I try to fill the first MovieClip with less information it goes faster, about 100+-200 mseconds...
View 6 RepliesI am building a small flash application. In my application I've inserted an fla video. the flv video's length when I open it in vlc player is 16 seconds (after I edit the speed of the video in an external program and then converted it back to fla). When I open it in flash cs 5, the video's length is back to 90 seconds. I guess it's got something to do with the frame rate of my flash project. I'd like to be able to change the frame rate of only the movie clip containing that video, and not of the entire stage. How is that possible?
View 1 Repliesi want to know how did the creator of otradesign accomplish the effect in his site like the menu and the main contents change size and the menu position according to the size of main contents.
View 5 RepliesI am having Fast-Forward and Rewind Functionality in my Custom Video Player, Which I done by calling seek method on regular interval.which works fine. but for same cases , the video playHeadTime get changed , but the frame does not change with that, and video's playHeadTime and Frame does not come with sync.
View 2 Replies