Professional :: Change The Dimensions Of A .swf/.fla File Once Completed?
Apr 7, 20111, Is it possible to change the dimensions of a .swf/.fla file once completed?
View 1 Replies1, Is it possible to change the dimensions of a .swf/.fla file once completed?
View 1 RepliesWhat do I have to write to keep the movieclip not to change dimensions if the user starts playing with the dimensions of his screen ? I remember it was a line of as3 written at the beginning.
View 3 RepliesI'm loading a bunch of swfs into my movie and when they are finished loading I need to change each swfs color based on my xml data. My problem is when my Event.COMPLETE fires I don't know which loader it belongs to to retrieve the correct xml. I've tried giving my loaders names but I can't seem to access the name from the Event.Complete function. My trace causes the error: Property name not found on flash.display.LoaderInfo and there is no default value. How do I access my loader name?
for(var w3:int = 0; w3<cartXML..item.length(); [code].....
change the dimensions of this flipbook, what parameters i'd have to change in order to change horizontal and or vertical size.
View 1 Repliesiv been trying for awhile now to get a few of the buttons im using on a site to change dimensions when i hover
basically i would like the button background to change dimensions and extend length wise to the other end of the web page whenever the mouseover appears the lenght of the botton extends smoothly and also goes back to its original size smoothly without snapping back
iv read lots of tutorials (got adobe flash cs4 book) but its all about moving images and so forth not really dimensions
if anyone can point out a tutorial or knows how to resolve this
i'm using AS3 and I'm trying to change the stage dimensions to get bigger when I press a button. The current dimensions are 550 x 700, and I thought the code:import flash.events.MouseEvent;btn.addEventListener(Mouse Event.CLICK, makeStageBigger);function makeStageBigger(evt:MouseEvent) {stage.stageWidth = 800;stage.stageHeight = 900;}would work, but nothing happens. I'm getting no errors or anything, but when I click the button, it doesn't work.
View 1 RepliesI am new to Flash and ActionScript 3.0 environment. I have only basical knowledge regarding this platform.
My issue/problem starts here:
I have a Sprite object on the stage.
What I should do in order to change the dimensions (viz.,size,colour, or both ,etc) of this Sprite object, when it gets clicked?[code]...
I have a Sprite object on the stage. What I should do in order to change the dimensions (viz.,size,colour, or both ,etc) of this Sprite object, when it gets clicked?My sample code looks like this:
Code:
var circle:Sprite = new Sprite();
stage.addEventListener(MouseEvent.CLICK,onStage);
function onStage(e:MouseEvent):void
{
[code]....
I've developed a game in the dimensions 1024x1280.I realize now what a massive mistake that was..My question is, is there any way to make the dimensions smaller dynamically or by using the IDE WITHOUT manually revamping everything (I'm not willing to do this )
View 3 RepliesI am working in an Articulate program that is flash based. I don't get much control over the way parts of it function, so I have added a lot of extras to it via flash movies I inserted.
There is one thing I am trying to figure out. I want to add an object that tells the LMS to mark the course complete. I don't need it to check if the score has been submitted or anything like that, by the time a student gets to this object, the test should be done. I just need a flash movie object I guess with the script that writes the completed status to the LMS.
The template is built under Flash and has .swf, .fla and html files and was setup on an html background. To make things look nice I decided to use an XML web template as a background to his template. The problem starts from there.The XML web template allows us to add our own SWF files, so I decided to add the swf file of my friend's template.
The swf file was set to "noscale" and when I imported it into the web template it didn't fit properly. So I took the "noscale" off from the actionscript and imported it again. Even then the scaling of the swf file was not correct.As soon as you load the file, it scales towards the left and not center.My question is how can I write a code within the fla file so that when the swf file is loaded it automatically centers itself?2nd question is how can I setup the dimensions of the file as in terms of height and width of the file without getting it cropped. I tried to set it up from 840x610 to 650x430 however the swf content got chopped off (even with noscale off).
I've got a resize listener where I change my movieclips' dimensions and positions.[code]But how I set the minimum allowed resize of the stage?I don't want the stage to be smaller than 1024x600 for example.
View 3 RepliesIn AS3, I have a Sprite that has a Z axis rotation applied.How do I calculate that Sprite's dimensions (it's original size) from Sprite.rotationZ and Sprite.getRect(...)?
View 2 RepliesI have Macromedia Flash MX 2004. I need to change the images in an fla file for inclusion in a new Web site. I have inherited an fla file and am just learning the in-and-outs of using Flash. I have been trying to figure out/learn what to do. But I am now under a deadline.
How to I replace the old images with new ones?
Is there is a way? ASAP
View 3 RepliesIs it possible to change the swf file to an image file? I didn't create the site and don't have the Flash file to edit. [URL]
<td class="mainwindow" align="left" valign="top" width="519"></td>
<td align="center" bgcolor="#5a6c94" valign="middle" width="291">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="[URL]" height="180" width="285">
<param name="movie" value="window.swf" />
<param name="quality" value="high" />
<embed src="window.swf" quality="high" pluginspage="[URL]" type="application/x-shockwave-flash" height="180" width="285">
</embed></object></td>
This is the image/text that shows up right of the people image.
The more I work with this program, the more weird stuff I encounter. I set up my .fla file as 700 x 400. I've been putting stuff on the stage and adding tweens, then when I test the movie, part of the stage image is cut off. I turned on the ruler, and found that the top of my stage is aligned at X 0.00 and Y -44.50. I drew a box the size of the entire stage, and its position is X 0.00 and Y -44.50, and the dimensions are 700 x 469. Can anyone tell me why my stage is larger than 700 x 400, and how to get the top left corner of the stage to be aligned at X 0.00 and Y 0.00?
View 4 RepliesI've got a movieclip called img_container that holds a draggable image (img_mc) and a mask over img_mc. I can save my img_container out as a transparent png which works great but the issue I have is that the png dimensions are still the size of the original img_mc. I fairly new to AS3 so I'm at a stand still. What I would like to do is save out the bitmap as only the visible area of the masked img_mc. The mask (called myMask) is also draggable and resizable so I'm not sure how to go about saving that specific area only.
View 2 Replieshow to get the dimensions of my stage (x,y), BUT only the stage and not all the objects that might continue off the stage included.For example : My stage is 400 x 550.I want to get 400 and 550 returned.
View 3 RepliesFor an e-learning presentation, what is the standard size the Flash stage should be set to nowadays? Is there a trend as to a specific standard size that everyone is using? This will be embedded / placed / inserted within a .ASP page.If standard interactive actionScript and animations, should I stick with SWF file format?
View 2 RepliesI have to create a demo loop that will play on a 32" TV at a convention center booth. This .swf will also be repurposed on a webpage after the convention.What's the best pixel dimension to create the flash stage? If I create it at 1024 x 768 to fit safely within a browser, any idea how it will look when viewed on a TV? Will it look distorted? How do I compensate for fact that the TV may be 1080p or it may be 720.... and still have it work on a typical web page?
View 3 RepliesHow would I go and change the origins of the stage in my Flash file? right now its at x:30, y:35 for some weird reason. and when this file is done playing I have the as3 code tell it to load the next .swf file but the next .swf is not in the 0,0 location but rather the 30,35 location
View 1 RepliesI use DW CS4. I've gone to the Library panel, as suggested (below) but cannot find the "a Text 1" text as suggested.
Instructions that came with the Flash file:
This file has downloaded from Istockphoto.com.Thanks for buying this file.
This is a file for Adobe Flash version from CS3, CS4 or CS5.
For open source ".fla" file run Adobe Flash and press Ctrl+O.For viewing all movie clips open library panel (F11).Double-click mouse on any movieclip for view or edit.
For replace text - open library panel and click clips "a TEXT 1", "a TEXT 2" and "a TEXT 3" and change it.
All elements maded in vector, scalable to any size. No raster.
[URL]
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've been given a Flash file (.swf extension) to put into a web page. Opening the file in my browser makes it quite blurry, so I'm assuming there is a natural size for the file, same as an image.
It's also rectangular so I need to work out the aspect ratio if I don't have an exact size. How would I find this information out?
I'm working with Collada files and I need them to be a certain size. When instantiating them in pv3d you set the filename, materials, and scale. Scale works like a percentage, and there's no way to get the width, height, or depth of the DAE once in flash. I want to be able to specify the size of DAE in 3D space relative to other pv3d native geometry.
View 1 RepliesI am wondering if it's posible to set the backgroundcolor of the stage through as3 code.i am also wondering if it's possible to set the stage height and stage width through the code. for the application i wish to develop, the values of the stage color and the stage dimensions are provided by an XML file.
View 8 RepliesI have an upload form for an image. The user clicks browse and selects a file. How can I get the image dimensions the moment the user selects the file (before the file is even uploaded to the server). It obviously has to be something client-side with maybe javascript/jquery or flash/flex (prefer js//jquery though), but can either of them do this? This is the code I'm using to tie into zozo's getImgSize() function, but it gives me 0*0 as size.
[Code]...
I'm on a macbook pro, osx 10.6, using CS4 Web Premium. I used to have an external monitor hooked up which had much higher resolution, so when using Adobe Media Encoder I'd click the Settings button on a video to get the Export Settings window, then stretched the Export Settings window to be the size of my external monitor. Now, I'm just using my laptop, and the export settings window does not have the resize buttons at top left to adjust it back to the size of my laptop, and the bottom third of the export settings window is getting cut off so I can't see the cancel/ok buttons etc.
I've tried re-installing media encoder (via reinstalling flash using the CDs) to try to 'reset' the window sizes, didn't fix the problem. If anyone knows of any other preferences or something I could delete to fix this,
I have one that's almost done and the stage size is 700x800 px. But I'm starting to worry if that's going to look too small? To change it, will be a lot of work - there's animation, imported Jpegs etc. As far as I can tell, in order for it to look correct in larger dimensions I will need to basically create it again from the ground up. So, I'd really like to get an idea of what the optimal pixel dimensions would be for ecards to run on multiple platforms.
I really want to do this and I don't feel like I can move ahead until I get the viewing size correct. I don't even mind redoing the card. I just want my future cards to be the correct size. I don't want to have to come back and redo them all. By the way, the cards are being made in Flash. The site itself will be created in DreamWeaver.