IDE :: Make Flash "scaleable" In Browse But Maintain?
Sep 13, 2009How to make flash "scaleable" in browse but maintain
[Code]...
How to make flash "scaleable" in browse but maintain
[Code]...
I'm wondering how to make scaleable flash sites - if you look at this[url]...
Even what ever size it is it uses all the corners and scales the graphics. But the great thing about this is that the menu is not scaled but kept in the same size.
I created a game in Flash and outputted it into an APK file for use in my Android phone. I would like to make a quit function so that it quits the game application when you leave.
Right now, I have to quit using task manager in my mobile. Also how do you enable it to maintain a high score in the game so that next time the user plays the game again, the high score is still there? Right now, the highscore is lost when you quit the game application.
I have a full-browser background slideshow. To do this, I'm using some AS in conjunction with the handy dandy swffit. I would like to ensure that the slideshow scales appropriately with the browser window size (as it is currently doing), but I would lilke the location of my logo, which is in the lower left hand corner, to remain fixed so that it is not pushed out of view when the browswer gets scaled to a small size.
View 3 RepliesI'm attaching an swf to show what I'm talking about. But essentially, I have a full browser flash set up, with an animation running in the background. I would like there to be a horizontal navigation bar at the bottom that is always at the same spot on the bottom. I would like the width of the bar to always stretch to cover the entire bottom of the browser window. Right now everything is peachy except for getting the nav bar to stretch across. When I do a menu.scaleX = 100; The little text block I have on the left seems to scale off the screen somewhere and it is no longer visible.[code]...
View 3 RepliesWHat comands do I have to use in AS2 to do what fileReference.loaad() does in AS3?
My purpose is to browse for an image and make it load on stage.
Just stumbled across this site: [URL] Does anyone know how they got that really crisp backround image to scale in Flash without pixelation? Been tring to get that down for ages.....
View 14 RepliesWhat's the best way to maintain image quality in Flash.
The images in this banner gallery just don't look as good as they do on my computer.
Is there a way to embed color profile in the Flash import?[url]...
I'm looking to work out the most efficient way to maintain the joining of two points with a line in AS3. Basically, I have a whole bunch of circles that move around, and have a property subNode which will act as an end point for the line. At the moment, the way I'm doing it is extremely intensive:
[Code]...
I have created a flash video player using as3 (videoObject) but when I play the video the video is streched how to tell flash using as3 to maintain aspect ratio.
View 2 RepliesI have a container full of tiles and other assets that serves as the map. On top of that container is a mask that serves as the camera the player sees through. In order to move the camera around I move the container around.I'm able to center on a tile within the container using the following formula:
container.x = ( ( (tile.x + (tile.width / 2) ) * container.scaleX) * -1) + (mask_width / 2);
container.y = ( ( (tile.y + (tile.height / 2) ) * container.scaleY) * -1) + (mask_height / 2);
This moves the container into position relative to the mask such that the center of the mask will be the tile in question.I recently added the ability to zoom, which just adjusts the scaleX/scaleY of the container to make it bigger or smaller. I've already fixed the centering code above to account for it, but I'm having trouble making it so the "camera" doesn't appear to move around as the view shrinks. Basically, when zooming out everything appears to move to the left, because the container shrinks. It's all fine once I center on something with the code above, but I need a way to bump the container over to the right a bit based upon the difference in scaleX and scaleY to keep everything looking like it's in the same position while zooming.
My app has 2 frames; in frame 1 there are 5 MC and on a DOUBLE_CLICK event the target's color change and go to the next frame 2. In frame 2 I have a button to return to frame 1.
How can i maintain the MC color when I return to frame 1?
public class test extends MovieClip
{
public function test()
{
[Code].....
My picture size is about 1000px by 1000px. It's pretty big, but simple. It has large circles, & when I place it in Flash, the circle's edges become pixelated and choppy, and not at all as smooth as it was in Photoshop. How can I maintain the quality? I tried putting a JPG in and a PSD, both of them looked really bad.
View 1 RepliesAnyone know how to maintain the original stage size of a externally loaded swf in as3 FP10?
View 2 RepliesI'm having a problem with importing a layered PSD file into Flash, an issue which i've read about in a number of forums but haven't yet been able to fix.
The content of the PSD file in question is numerous layers of line drawing which I am importing to the Stage and converting to keyframes in Flash. The layers have no white background and are clear but for the lines of drawing.
The problem I'm having is that the first layer of the PSD file imports perfectly, with its quality intact, but all those which follow it are distorted and jagged, and look pretty awful for some reason.
I have experimented with both lossy (set at 100) and lossless compressions to try and improve the layer quality, lossless is marginally better but not the best.
I am creating simple drawings in Power Point and them saving them as png or jpg files. I then bring the drawing into Flash using import to stage. The imported drawings lose some quality (e.g. straight lines appear jagged). Any way to maintain image quality when importing images into Flash.
View 5 RepliesI want to browse or list the directory present in my system and display those dirs graphically.
View 9 RepliesI'm making a small back-end system, and I would like to know if it's possible to integrate a browse button...I did already soms "research"...
I pass a var from flash to javascript
//***FLASH
_root.hitme_mc.onRelease = function()
[code].....
Is anybody able to figure out what's wrong with this (or specifically why it doesn't work in mac browsers)?
[URL]
I've tried lots of different options including the yamago component [URL]. The yamago component works but I don't like the complexity of the code, it's difficult to edit. It also doesn't work in safari on a MAC.
My example above is the simplest version I've been able to get working but unfortunately only on PC.
I was wondering if there is a way to do a browse button for a field in flash, a la php where you click it, you can navigate a file you want to upload, and it populates the file in the text field (basically a file upload type of thing). i know that you will need to use php/mysql to go along with it
View 3 RepliesI'm making a small back-end system, and I would like to know if it's possible to integrate a browse button...I did already soms "research"...I pass a var from flash to javascript
//***FLASH
_root.hitme_mc.onRelease = function()
{fscommand("filechooser", "")}
//*** JAVASCRIPT
[code]....
With this you select a file and the path will appear as a string in the textfield. Now the thing I want is to call the function, when I click a button in Flash, that chooses a file and passing the string back to flash, to put it there in a textfield. But how do you call that function?
Is anybody able to figure out what's wrong with this (or specifically why it doesn't work in mac browsers)?
[URL]
I've tried lots of different options including the yamago component [URL]. The yamago component works but I don't like the complexity of the code, it's difficult to edit. It also doesn't work in safari on a MAC.
My example above is the simplest version I've been able to get working but unfortunately only on PC.
Can you by any means of java script or anything else get a browse window to pop up from within flash? Return the selected file, or even get a php script to upload it?
View 4 RepliesI have a main character in my Box2d game that has a b2PolygonShape collision. When the player crouches I am changing the body to a smaller b2PolygonShape. The logic works fine, but when I change the size (height) of the collision the character starts to fall.
Is it possible to create the new body with an offset (localPosition?) so the position of the body stays the same? This way I can play the crouch animation and change the collision without worrying that the position will change and make my sprite go bananas.
I cannot browse flash games(casino games) in iphone. I googled my problem and found 2 types solution1.iphone doesnt support flash.2.Using cloud browse we can play flash games in iphone
View 1 RepliesI have a video inside of another movieclip. When I go full screen, I scale up the outer movieclip to fit the screen. So that OuterMovieClip.width is equal to screenWidth etc. How do I maintain the aspect ratio on my video so it does not get distorted? Whats the proper math for that?
View 1 Replieshow to load an image to flash using browse dialog box .
[Code].....
i am using windows 7 64 bit on my laptop ...it came with a internet explorer 8 64 bit .. and i cant get flash player for that ..is there any flash player for 64 bit OS ? to browse applications in facebook ,or which browser do u advise with 64 bit support ?
View 1 RepliesWe have an issue were the server session associated with a Flex client times out when the browse file dialog is open for a time longer then the configured session timeout. It seems that on some players, the playback is stopped when browse or download on a FileReference is executing. This also causes remote calls to be blocked and hence our manual keep-alive messages are not sent to the server, resulting in a session timeout. I searched for some info on this in the docs and found a notice of it, but it does not explicitly list the players it does (not) work. Would anyone know were I could find a complete list?
[Code]...
In Flex 4, I am trying to make a simple browse button update the text field of an TextInput object with the file name that the browse button gets. It doesn't have to be the full path, all I want is the file name to show up. It only shows up after hitting the browse button for a second time, not after I have selected my file the first time. Here is my code:
import flash.net.FileReference;
private var fileReferencer:FileReference = new FileReference();
private var excelFilter:FileFilter = new FileFilter("*.xlsx", "*.xlsx;*.xls;");
protected var fileName:String = new String("");
[Code]....
So to recap, the file name is only shown in my TextInput box upon hitting the browse button a second time.