Flash - Tween Large Bitmap Without Lag?

Jan 24, 2012

I'm using a 3800x3000 bitmap as a background of a game.

Now, I first show the whole bitmap - the landscape -, and than zoom in at the characters. I'm using TweenMax from GreenSock, but even with this advanced tween class my bitmap doesn't move and scale smooth.

I'd like to work with smaller bitmaps too and scale them, but than I'll lose the quality, and I can't blur the bitmap to hide the quality loss, since there's a terrain in the bitmap too, and I don't want to blur that.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: One Large Bitmap, Or A A Few Smaller Ones?

Dec 30, 2010

Let's say I have some background made up of 4,000 small vector images (doesn't matter what they are, say flowers or stars or something). Once this background is set, these small items won't move or animate. The background will stay the same.What I would do, rather than keep 4,000 sprites on the stage, I would create one single background "Bitmap" which has all the sprites drawn onto it once.Is this still a good idea if that Bitmap is so large it covers the entire stage (which may be quite large for larger monitors if using NO_SCALE and fullscreen or something), or is it better to break that large Bitmap into 4 or more smaller ones placed seamlessly alongside eachother to seem like a large one?

View 2 Replies

ActionScript 3.0 :: Large Bitmap Versus Multiple Small One?

Aug 4, 2011

I have 2 grid of 15x15 using BitmapData (One of 32x32, and one of 10x10). I've try 2 ways :1) Create multiple bitmap

ActionScript Code:
for ( var y:uint = 0; y < m_height; y++) {
for ( var x:uint = 0; x < m_width; x++) {

[code].....

View 0 Replies

ActionScript 3.0 :: CopyPixels Vs. Sprite For Large Bitmap Motion?

Feb 21, 2009

is copyPixels not as speedy as it should be when Tweening large bitmaps ?

copyPixels does a wonderful job on images 500x500 or less, but on larger images, my motion is not as smooth.

all i'm trying to do is slide an image from stage.stageWidth to 0 (right to left).

View 1 Replies

ActionScript 3.0 :: FireFox / IE / Chrome Speed On Large Bitmap

Jan 29, 2010

I have a project that is drawing ~10,000 small tiles into one large bitmap container - it's a mosaic... In Flash proper and in FireFox it takes about 20 seconds to complete the drawing. In Chrome it takes about 1:30 and in IE it takes roughly 3:00 - both too slow to be acceptable to the client - who of course reviewed with IE...

I have Flash set to run at 45 fps - and the images are populated by a Timer - at 2 ms intervals... Maybe 2 ms is too fast? But in my testing 1ms was slower as was 3ms... so I kept at 2. And works fine in FF and Flash...

View 1 Replies

ActionScript 3.0 :: Drawing Small Tiles Into One Large Bitmap Container

Jan 29, 2010

I have a project that is drawing ~10,000 small tiles into one large bitmap container - it's a mosaic. In Flash proper and in FireFox it takes about 20 seconds to complete the drawing. Very acceptable. In Chrome it takes about 1:30 and in IE it takes roughly 3:00 - both too slow to be acceptable to the client - who of course reviewed with IE. I have Flash set to run at 45 fps - and the images are populated by a Timer - at 2 ms intervals. Maybe 2 ms is too fast? But in my testing 1ms was slower as was 3ms, so I kept it at 2. And it works fine in FF and Flash...

View 4 Replies

ActionScript 1/2 :: Create A Single Large Bitmap Data At Run Time?

Feb 8, 2010

Requirement: Create single very large bitmap data which contain some 30 PNG images loaded and for each image it should have some text.  Images and text are loaded dynamically (AS2 code. Images are stored in a remote server). The bitmap data display should show 8 images at a time and corresponding text. We can see rest content by scrolling (kinetic scroll is implemented). How can I go for it?Some questions:Is there any limit for size of bitmap data ( As per link there is restriction on the height of the bitmap we can create in AS2 (max value is 2880 which is not enough for some 30 element list If we create individual bitmap data for 30 individual PNG files, we find some jerks in scroll. How can we have smooth scrolling?

View 5 Replies

Actionscript 3 :: Read Text File And Tween Each Word From Small To Large Out Of The Screen?

Sep 14, 2011

best way to read in like 200k words and have them each tween from the center of the screen as small dots and tween up to the word filling the SWF then "fly through my head" not literally, but you probably get it...

View 2 Replies

Professional :: JSFL Function ExportPNG Failing With "bitmap Too Large" Error

Jul 14, 2010

I'm trying to export to PNG from the JSFL document.exportPNG function with 'bCurrentPNGSettings' but it fails. Flash keeps complaining that "The bitmap is too large.The largest bitmap that can be created is 8000x800 pixels."The width x height of the document is set to 1920x1080 and I've tried modifying the publish profile appropriately.Still no-dice. If I set 'bCurrentPNGSettings' to false so that the export dialog appears it pops up with the correct width and height; clicking OK exports properly.

View 2 Replies

Shape Tween Bitmap Option Greyed Out?

Nov 11, 2009

I imported to library a jpg (of a book). I simply want it to "grow" abit. I converted it to symbol, placed it in a keyframe. Made a new key frame at the end. But when I try to insert a shape tween, that choice is greyed out.

View 3 Replies

Professional :: Shape Tween With Bone Tool On Bitmap?

Aug 22, 2011

I want to have shape tween animation with bone tool on bitmap image. Because shape tween animation supports only Shape data type, I converted the bitmap to that type (Bitmap -> Trace Bitmap). Problem is that trace command splits bitmap image into multiple shape fragments, so I can't use shape tween anymore.I tried to combine and group shape fragments, but it doesn't fix it.

View 1 Replies

ActionScript 3.0 :: Create An Effect That Will Tween The Bitmap From Black And White To Colour

Aug 24, 2009

I have a bitmap and it set to black and white using a colorMatrixFilter. Im trying to create an effect that will tween the bitmap from black and white to colour.

View 5 Replies

Professional :: Poor Quality Motion Tween With Png Image, Tried "Trace Bitmap" But Then It Looks Like A Newspaper?

Feb 28, 2012

I'm trying to get a transparent image to fly in from the side.  So, I *thought* I was doing the correct thing by moving the "symbol" off of the visible portion of the stage, and creating a motion tween to move it onto the stage.  The motion works, but the quality of the image in general (and the text in specific) looks pixelated.Thus, I did a little bit of snooping, and everyone said that you should start with a bitmap.  So I saved the image from Photoshop into .bmp format, and was able to set the properties to "allow smoothing" and with lossless compression.  So far, so good.  Now, as I expected, the transparency is no longer there... 
 
So here's the question:  how can I make this image retain its quality, still have transparency, and a motion tween?It seems like this is some set of characteristics that don't play well together, even though I see this type of thing online ALL the time.I tried "Trace Bitmap" to convert to a raster image, and tried to follow some suggestions online, but when I do "Trace Bitmap", it ends up looking like it has a bunch of grayish dots on the image... definitely NOT what I was expecting.

View 1 Replies

Flash :: Use The CS4 Tool's On A Bitmap Image After Tracing The Bitmap Image And Applying My Settings?

Aug 7, 2009

Use the flash CS4 tool's on a bitmap image after tracing the bitmap image and applying my settings?

View 10 Replies

ActionScript 2.0 :: Laco Tween Engine Versus Flash Native Tween

Aug 5, 2006

i am wondering if there is a way to put a delay (seconds) on the flashs' native tween class like you can on the laco tween engine... such as

[Code]...

View 1 Replies

Flash :: Professional - Make A Motion Tween - Mask Effect And Shape Tween With A Website?

Nov 11, 2011

I will have three seperate pages for the motion tween, mask effect and shape tween... would you make the seperately, in a different scene, as a symbol or on the same scene with the website.

View 2 Replies

Flash 10 :: Converting Classic Tween To Motion Tween?

Nov 2, 2010

Is there a way to convert a classic tween to a motion tween?

View 0 Replies

ActionScript 3.0 :: Delay A Tween - Animate The 2nd Tween After 3 Seconds When 1st Tween Stops

Nov 1, 2009

import fl.transitions.Tween;
import fl.transitions.easing.*;
var homemanTween:Tween = new Tween(homeman_mc, "x", Elastic.easeOut, 1000, 50, 3, true);//frist tween
var adobeTween:Tween = new Tween(adobe_mc, "alpha", Regular.easeOut, 0, 1, 3, true);//second tween

how can I animate the 2nd tween after 3 seconds when 1st tween stops.

View 9 Replies

ActionScript 3.0 :: Bitmapdata.hitTest - Bitmap 'emptyBitmap' With Bitmap Data Created

Feb 3, 2009

I'm cutting my teeth in actionscript 3 on a game that has a character running through a world. So, I have set up my Hit Testing by using the bitmap data hit test method, since I figured my world is going to be destructible - it'd be nice to update the level and then redraw it and have the character interact with the new change. (That works beautifully) I am however; a bit confused as to how I have my hit Testing set up. I've been messing around with it, and it works for now - but I'm not sure why.. currently, I have a character set up by using a class I built and using a series of animations I created. So, this character has a walking and falling animation, etc. This is a movie clip.

Then there's a bitmap 'emptyBitmap' with bitmap data created - however; I never really added this as a child to the character. This is sized to the dimensions of my character. My level is created as a movielip, then it's drawn to a bitmap - when the level movieclip is changed, the bitmap redraws, and that's how this updates.

[Code]....

View 1 Replies

ActionScript 3.0 :: Use The BitmapData Property Of A Bitmap And Pass It To The Constructor Of A New Bitmap Object?

Aug 20, 2009

I know the topic of "duplicating" movieclips is a hot issue with the new virtual machine. Luckily, I understand the implications. I only am [currently] interested in duplicating a Bitmap. See, I load an image from an URL using 'flash.display.Loader.load', which is a non-blocking operation in Flash Player.However,I may use multiple copies of the loaded image (which is reported to be a Bitmap, naturally) in the display list at the same time.Hence, I naturally do not want to load the image from an URL every time, because I don't want to wait for a non-blocking call to complete. Nor do I need to - I mean one copy is already loaded, so it should be possible to just "duplicate" it, right?

My idea is to do use the bitmapData property of a Bitmap and pass it to the constructor of a new Bitmap object. I have not tried the following in action, but I want to hear whether any of you did and if the following would not work, what would:

Code:

var original_bitmap: Bitmap;
var copy_of_original_bitmap: Bitmap = new Bitmap(original_bitmap.bitmapData);

LiveDocs mention that the BitmapData being passed to a Bitmap constructor is "being referenced", which to me might suggest it cannot be used twice? There is also the BitmapData::clone() method, which I am not sure is applicable here or not.I know this is a lot of talk instead of just trying this out, but I test so much Flash Player code daily just to see "what works" (which should be documented instead by Adobe),

View 4 Replies

Flex - Function To Redraw Bitmap On Sprite Without Passing In Said Bitmap?

Feb 22, 2011

If I have a BitmapData that's already been drawn onto a Sprite. Is there a way to redraw the BitmapData onto a Sprites Graphics object without having to invoke beginBitmapFill and passing in the same BitmapData?

View 1 Replies

ActionScript 3.0 :: Drawing From Bitmap To Bitmap Overrides Earlier Graphics?

Dec 29, 2010

I'm working on a game, and to keep performance good, instead of addChild'ing 50 new sprites to the stage every second, I decided to have each player draw to their own bitmap, and then to the 'master' bitmap. This introduces an issue though: the second player would override all data the first player has put into to bitmap...My basic debugging proof of concept:

Code:
// bitmap test

import flash.display.Bitmap;
import flash.display.Bitmap;[code]......

View 1 Replies

ActionScript 3.0 :: Copying A Rotated Bitmap Into A Bigger Bitmap?

May 9, 2011

I have a bitmap which has several frames (packed along the horizontal axis). In order to render them I copy it to the backbuffer (larger bitmap) as follows:

Actionscript Code:
public override function copyToBackBuffer(db:BitmapData):void{ if (active)  var drawRect:Rectangle = new Rectangle((currentFrame-1) * frameWidth, 0, frameWidth,

[code].....

View 5 Replies

Actionscript 3 :: Update A Portion Of A Bitmap With A Pixelbender Instead Of The Whole Bitmap?

Feb 17, 2012

In pure AS3, I have a pixelbender and a large bitmap. The pixelbender is configurable with a distance parameter to affect only a small area of the bitmap. The problem is that the pixelbender is executing over the whole bitmap. What would be the best way to update only the effected region of the bitmap? Given this config:

[Code]...

View 1 Replies

ActionScript 2.0 :: Bitmap Font Text Drawn To Bitmap

Oct 8, 2006

Is there a way to write a bitmap font right into the bitmap being desplayed? Mabey better worded: myBitmap.draw(image, t) draws a picture is there a way to draw text? I'm stuck even if its just a work around in some way I would like to know... (the current work around i have in my head is writing it in a movieclip turning that into bitmap data and drawing it... esentially creating a prototype answering my question... but a built in way would be easier probably).

View 2 Replies

Flash 9 :: CS3 - Why .fla So Large With Barely Anything In It

Sep 18, 2008

I started a project with AS3 set as the publish settings. So far there is barely anything in my library, a couple embeded fonts, movieclips made all with vector in flash and a coulple really small sound files. I did have a large image and some other stuff to test the preloader but I deleted all of the large file stuff out of the library. Anyways, it's a whopping 150MB and now it's starting to get buggy.

Does working with AS3 store data up somewhere where I can't delete it? Does importing packages or classes have anything to do with it? Theres no way this .fla should be 150MB with the little stuff I have in the library now.

View 3 Replies

Actionscript 3 :: Bitmap Too Big - Limitation Is In Bitmap And Loader?

Mar 30, 2011

In AS3, I am loading a png from a zip file (nochump's zip library through ByteArray to Loader). The png can be up to 45k pixels wide but only 120 tall. This creates a problem in flash, as images can only be ~8000 pixels wide. A possible solution would be to split the images into 6 columns somehow. This would probably need to be done in the ByteArray state, because the limitation is in Bitmap and Loader.

View 2 Replies

ActionScript 3.0 :: Draw Bitmap Instead Of Export Bitmap?

Nov 5, 2009

I'm using Sandy to animate some objects in 3D. What I currently do to images which are EXPORTED in the library, I want to do to some bitmaps that I create using the DRAW technique. But it wont work :-(

CODE FOR 'CREATED BITMAP' :
ActionScript Code:
var bData:BitmapData = new BitmapData(myObject.width,myObject.height);
bData.draw(mask5);

[Code]....

Sandy doesn't seem to treat the 'created' bitmap the same as those that are exported from the library.

View 0 Replies

Flash :: Import A Large File FLV?

May 26, 2010

I'm working on a project currently and need to import a large file FLV into flash. It's not over the 16000 frame issue as I've checked this. I'm in Flash CS4 and have an animation in 1080p res. It will import up to about 4653 frames fine but it will be only part of the complete file. Is there any way around this? We're using this as a cross platform container to alleviate video programs and compatibility issues for training. In the Publish settings we can export for Mac and windows options etc.

View 3 Replies

Professional :: Uploading Flash How Much Is Too Large

Jun 4, 2010

I am trying to create a web site suing adobe Dreamweaver and flash, for the first time.I am trying to upload a webpage that contains swf.When I check mu site I could only see a blank page with the webpage title at the top of the page.When I contacted the webhosting company they say they can see the message that a newer version of adobe flash player is required. From my computer I cannot even see the message.The helpdesk person said there are possibly two reasons for it. Either there is a problem with the code in flash or it is too large.Are they too large to upload? If so, what is the maximum size of file can I upload on a webpage?I know they are basic questions but I am trying to create website on my own.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved