ActionScript 2.0 :: Create A Scalable Flash Movie That Doesn't Scale The Contents?
Nov 16, 2009
I've created a flash file which loads an image using loadMovie, this all works fine but what I need to be able to do is load different size images into the swf. I have tried changing the size of the swf in the embed tag and using the 'noscale' option, however the stage appears to be moved to the center (see screenshot), I need it to be at the top left.
I've also tried passing the new width and height to the swf via flashvars and then setting the size of the stage to these values, however this makes no difference to the outcome.
how I can create a flash movie that I can scale using the width and height parameters that doesn't scale the content and keeps the content in the top left corner?
View 2 Replies
Similar Posts:
Jun 6, 2007
How do I accomplish the Flash scroll bar that is on the following website?[URL]..Since the site is non scalable and at full screen IE doesn't scroll. On this website they have created a scrollbar in flash aligned to the right side of the screen that accomplishes the same thing as the IE scrollbar. But it looks so much cooler.
View 3 Replies
Feb 5, 2009
how to make a flash movie scalable? So it can resize without pixelating etc.?
View 0 Replies
Oct 17, 2008
I used to make fullscreen Flash websites, using 100x100 width/height and "No Scale" on Publish Settings.Everything is ok on a browser, since I can position elements using relative coordinates for liquid layouts.Now I have to make a fullscreen standalone .exe projector.To get fullscreen I use fscommand("fullscreen", "true") on the first frame and it works.
The problem is:If I create a 1024x768 Flash movie, even with 100x100 and "No Scale" activated, the movie remains at 1024x768.So, if I trace stage.stageWidth and stage.stageHeight, those remain respectively at "1024" and "768", but I need for the movie to get the max width and max height available on the system.
In the browser it happens automatically, but in the Flash projector it doesn't. how can I get the movie to match the exact size of the screen where it runs?I've tried with Capabilities.screenResolutionX and Y but there is no way (and I think it's normal) to set the stage.width and stage.height properties on runtime.
View 3 Replies
Jun 28, 2010
Can a finished flash file be resized.
Stage is at 1684 x 1322 animated map operated by buttons in a static key located outside of map border, all on stage. Map also pans/zooms.
Two scenarios:-
1) resize stage and all contents down to a different size.
2) resize the animated map down but more so than the static key (sits outside the map) which should remain readable.
View 1 Replies
Mar 8, 2010
I'm trying to generate a simple node within some xml that i'm sending out of flash like this
<myNode>myvariablevalue</myNode>
i was using this:
Code:
tx = xmlOut.createTextNode(myVariable);
but this is causing ', ", etc. within my strings to be converted to character references...How can i set node contents otherwise?
View 1 Replies
May 19, 2009
I am trying to create my Flash Animation to scale to page, as in this example - [URL]
View 1 Replies
Sep 7, 2011
we are trying to create an old fashioned scale in Flash CS4. We need to be able to randomly place objects on either side of scale and have scale tip appropriately. Has anyone attempted to create the code for a such a project?Also does anyone have any experience with code that will allow the end user to randomly place/move objects in the SWF file?
View 1 Replies
Jul 2, 2009
I have a webpage containing 2 DIV containers hidden using CSS. The site has a Flash Movie embedded. I want to render the content of these hidden DIV containers from within the Flash movie.I'm using CS4?
HTML
<div id="sectionone">content</div>
<div id="sectiontwo">content</div>
CSS
hide sectionone div and sectiontwo div
FLASH
Display sectionone within flash movie when requested
View 2 Replies
Oct 20, 2010
I have built a simple Flash application that will be presented using a projector, the application will show messages in the form of questions that will come from a simple flat-file text file or XML file.
In addition to this I would also like to be able to add my own messages using a simple HTML form.
I've been looking around the web for some resources, but have been struggling to find what I am looking for. The basic idea is that the flash application will loop through these different messages from the XML, but then when a user types in a message that will also appear within these messages. Think of it as a sort of dynamic tag cloud.
View 2 Replies
Aug 5, 2009
I have looked at the help files and tried all 3 possible parameters, bframe, bmovie and bmax.
The only thing I want to print is a JPG I am loading into an empty mc and I don't want it to scale to fit the paper. Looks bad and wastes ink.
If the mc is empty, I guess it has no bounding box parameters.
[Code]...
View 2 Replies
Feb 28, 2009
I have followed the XML Video tutorial and everything works fine however Lee says you can use a movie clip to display the contents of the XML file instead of one of Flash's built in components. Is there a way to create your own drop down menu or simple text field?
View 2 Replies
Jun 11, 2009
I am in the planning phase of a new multi-user client/server app using Flash via Flex and AIR. I am trying to decide which web platform/stack is the best suited for this? I have used RoR in the past, but as i understand, RoR is single-threaded, and is therefore not the ideal choice for handling potentially thousands of simultaneous requests. I have done some reading about Scala and Lift and that is an intriguing option, but i was wondering if there are other languages/frameworks out there that would work well for my project?
View 3 Replies
Apr 28, 2010
i have external swf with a size of 750x500, then it loads to main swf where it size is 750x700 now i want my external swf loads to main with its fix size which is 750x500, how should i do that?i've tried stage.stageWidth etc and swfLoader.width etc, but doesnt work.
View 7 Replies
Feb 16, 2009
How would I create a something that dynamically places buttons and things near the edges of a Flash movie that don't scale, even when the .swf is embedded with different dimensions?ort of (exactly) like YouTube's embeddable video player...
View 1 Replies
Oct 28, 2010
http:[url]....In my opinion, the way in which the photographs on this website scale, is perfect.I know how to load an image, dynamically, and add it as a child and in fact scale it.What I don't know, is how to scale it in the way the designer has in the example above.
The code I use to scale the Child (the image) at the moment is this:
//IMAGE WIDTH OVER HEIGHT
var ratio:Number = (1052/700);
//SET HEIGHT OF CHILD[code]......
The designer appears to have used minHeight and minWidth commands to ensure the image doesn't scale beyond certain height and widths.
View 3 Replies
Mar 12, 2010
I am working on a flash presentation that will be burned onto CDs. I want people to be able to scale up the player of the movie, but have it keep the proper ratio and not show the stuff in the margins of the stage. I found stage.scaleMode = StageScaleMode.NO_BOARDER, which is close as it does not allow stuff on the margins to show, but I don't like how it will crop the top and bottom. Is there a way to have it force the scale and keep the margins from showing.
View 3 Replies
Jun 13, 2011
I used the preloader AS3 found here and it work fine localy but in firefox 4.0.1 it doesnt show the percent and the scale of the progress bar.
is there an issue ?
View 1 Replies
Aug 13, 2010
As a UI specialist, I am often asked to build tool-tip displays and other sorts of popups that display text. One of styles clients seem most keen on is text in a comic-book balloon. I would like to create this balloons programmatically (as opposed to embedding or linking to rendered graphics), because these balloons will have to change size at runtime, depending on how much text they have to hold.
Balloons are easy to draw for the most part: circles, rectangles or rounded-corner rectangles. The tough part, for me, is the tail (the little arrow-like part of the comic balloon that points towards the speaker). If you google comic balloon, you see that there are many varieties of tails. They ones clients request from me most often are curved. E.g...
[URL]
The tail will always be on the bottom of the balloon, and it will sometimes point left and sometimes point right. I have been trying to come up with tail-drawing algorithms for a while, but I'm not happy with the results. I'm basically stumbling around in the dark, changing variables, looking at the results, and using trial and error to try to move closer to the magic numbers that will work. "Work" just means a result that looks pleasing, which I realize is subjective. Most of my clients will be a happy with anything that looks reasonably good and professional.
I want this result to scale. And it would be great if it could work with as few inputs as possible, maybe just isFacingLeft, tailWidth and tailHeight (Which could maybe be a percentage of the whole balloon). Maybe an adjustable curveAmount.
If it matters, I'm using Flash/Actionscript, but any system that has some sort of turtle graphics engine should work pretty much the same way: I'm working with that standard flipped Cartesian grid (y increases downward), x and y coordinates, the ability to move a pen, draw lines and draw curves.One caveat: Flash only allows me to draw 3-point bezier curves -- start point, control point, end point.
Note: balloons won't have to scale after the are drawn.
View 1 Replies
Jun 20, 2009
My website is going to have a main wrapper that is set to a max-width property for compatible browsers. It will stretch to 940px across at max. When scaled down I would like the swf to scale proportionately with it. Like an image with width percent applied. The flash movie has the dimensions of 940 × 360 pixels.
I can't seem to figure out the correct attributes to add to the embed tag to get it to do this.I am currently using jquery flash embed, but am open to other options, though this is my ideal.In the example I have set the flash background to black.
When resize the browser window the flash movie doesn't scale proportionately to the div, only the photo does, leaving a blank canvas (black), while the div height stays the same. I can't add a height value in the CSS.How do I make this scale correctly? Adding a noscale param only crops the image. The swf's height doesn't scale also.
View 3 Replies
Jul 28, 2009
How can I publish a flash movie so that it resizes automatically when the browser is resized? What is the html or flash code for that?
I am not useing Flash or Flex but FlashDevelop so I beleve I have to do it in code to make it work.
View 2 Replies
Feb 19, 2010
I want my flash content to scale when I scale my browser window.
View 5 Replies
Jan 2, 2010
Currently I am trying to create a mini map which i can populate with the contents of an array.I can make any size grid with little to no trouble in AS3, for arguments sake I have been trying to get a 4x4 Grid populated.I can even make listeners inside the new class but i cannot figure out a way to give each new MiniMap tile a unique identifier like i would of in AS2 and then assign the current frame to play.I have looked around and tried a few tutorials with no success.I have been using this to create the tiles (inside two for loops to make the grid)
Code:
var MiniMap:MiniMapTile = new MiniMapTile();
addChild(MiniMap);
Here is how i did it in AS2 for anyone Interested.
Code:
_root.MapTile.duplicateMovieClip("Tile" add i, i);
Edit: I have done it the long way :/ made 12 separate objects. Incredibly convoluted.
View 3 Replies
Jun 21, 2007
I'm building a flash movie for something at work and im loading in some images using an XML file but when i use a preloader it only preloads the XML file (as in just the text inside) and not the images.
This causes the movie to start playing without having the images loaded.Does anyone have any ideas about how i could get it to preload the contents/images being called in the XML file so it doesn't run as soon as the XML file is loaded.
View 1 Replies
Jul 26, 2011
how does pagination work? Is that I just need to create several Movieclips for each page and then add the contents into pages seperately?? Or is there any available tutorials??
View 2 Replies
Jun 2, 2011
I have made a functional to use a number of objects on the stage which should not load overlap with other object of the stage. But, Some time it goes stuck in infinite loops or overlap others.
Note:- I am attaching the files and screenshot also.
View 1 Replies
Jun 15, 2009
I want to create some grahics for a website but have no idea on whats best to use. I want to create a sliding scale, that incorporates colour changes as the scale slides. If anyone has any suggestions, preferably freeware as its for a college project.
View 1 Replies
Feb 18, 2012
I'm creating an ActionScript-based flash file that only needs the screen to be updated in response to something happening behind the scenes. As such, I don't need it to run with a fixed frame-rate. Instead I just want to tell it to lay dormant until I explicitly tell it the screen needs to update.However, I don't see any way to do that. Can that be done? (i.e. set the framerate to zero and manually force an update based on some user-defined event?)For example's sake, if you can provide an example that just kicks off the update based on a simple timer,
View 2 Replies
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
Oct 12, 2009
I'm customizing an xml flash website and while I can handle all the html and xml well enough, but in Flash, I have no clue how to:
Now go on the stage, and delete the contents of the last layer(background & pattern). Here, add from the library, the square movieclip, and name it mcBackColor(see attached image).And then to add your swf background in the "background & pattern" layer from the main.fla file.
I can change the name, but don't know how to delete just the contents of the layer and then add the new clip.I've made a slideshow before and that's all I can do.
View 1 Replies