ActionScript 3.0 :: Using Large Loaded Jpg To Heighten Clarity / Crispness?

Sep 9, 2011

I have a gallery on my flash site.The way I'm working this is as follows:layer 1 that runs through all frames:var loader1:Loader = new Loader();when a button is clicked, the playhead goes to a certain frame and does this:[code]As a side note, I am also using Greensock's liquid stage to scale this holder up to a certain set size.Now I've noticed that when I blow up the screen, my loaded jpg loses some of its crispness, which is to be expected.I've also noticed this is remedied if I import a larger image than I need I get a nice crisp image.  For example, I have been loading in an image that is 960 x 640 into my 'holder' which is 960 x 640.But when I load a larger image (1200 x 800 or larger) say, the image is nice and crisp.Only problem is it fills up the whole screen until I begin to resize my browser, then it snaps into place and is scaled correctly by staying crisp.Any way to tell this loaded image to not come in at it's big size, but to scale down appropriately w/o me scaling down my browser window?

View 4 Replies


Similar Posts:


Actionscript 2.0 :: Giving Clarity To XML In Flash?

Apr 16, 2009

Giving clarity to XML in Flash?

View 1 Replies

ActionScript 3.0 :: MovieClip - FloodFill And Line Crispness - Automatized Color Filling

Dec 18, 2009

I'm making a little coloring "game" for kids. The user selects a image (our originals are flash vectors), use the color picker to choose a color and click on parts of the image to color it as desired. Really simple stuff.

Now I'm trying to implement the program with automatized color filling (the old program requires that each part to be colored have to be a separate movie clip). After much research, I failed to find a method like the floodFill in BitmapData for MovieClips, so I tried to take a snapshot of the image as Bitmap with the BitmapData.draw method and use the floodFill directly.

[Code]...

View 3 Replies

ActionScript 2.0 :: Some Large Strings Are Scrambled When Loaded?

Jun 20, 2009

I'm creating a basic web page, or TXT reader within flash. I have the basic foundations down, which decodes the HEX values to decimal, and returns them for the proper character, thus making the text readable. Anyways, what I've never been able to solve is the strange mystery as to why large pages will load with certain areas of the text switched around. For instance, the file's contents may be 1234 (this is just an example, because it will not actually occur with small files), but when loaded into flash, will be 1432.Try out some BASIC html pages, or any files you may have, in the Load Vars. You can leave it as it is now and use Craigslist, and then look though the trace log, for <html> and </html> to see what I'm talking about.

ActionScript Code:
this.createTextField("disp_txt",getNextHighestDepth(),0,0,Stage.width,Stage.height);
disp_txt.multiline = true;

[code]....

View 2 Replies

Flex :: Get Dimension Of Locally Loaded Large Image?

Feb 12, 2010

I'm trying to read the width and height of a locally loaded image. This seems to work for images that do not exceed the dimensions limited by the Flash Player 10 [URL], but as soon as the images are bigger, the width and height remain 0. The strange thing is that now and then, I can read the dimension of these bigger images, but most of the times not. I understand that this might be because of the player limitation, but then I would at least expect the error to be consistent.

I want to check this since there is no use in loading such a big image as it will not be displayed anyway, but it would be good to provide a detailed error message to the user.

Here's the code that I use to load the image locally and read the dimension:

private function chooseImageButton_clickHandler(event:Event):void {
var allowedTypes:String = "*.jpg;*.png";
m_uploadFileReference = new FileReference();
m_uploadFileReference.addEventListener(Event.SELECT,

[Code].....

View 2 Replies

ActionScript 3.0 :: Display A Preloader On A Large Movieclip Loaded From The Library?

Nov 8, 2011

how to display a preloader on a large movieclip loaded from the library? right now my app just freezes from the moment the load button is pressed until the movieclip finishes loading and appears on stage.When loading an external swf I use the contentLoader to get the loading info display a preloader. can someone paste an example code of a preloader on library movieclips?

View 1 Replies

ActionScript 2.0 :: Retaining Order Of Files Loaded Externally From Large XML Files

Jul 18, 2006

I was messing around with some old examples, and I ran into an unfinished example where several 30k-100k XML files are loaded and stored as a string into an Array. The code looks basically like:[code]Basically, when I trace the 'this', the order of the files that are loaded is off. Out of about 10 tries, about 3 times the order is perfect. The remaining 7 times, the order is a bit off. Does anybody have a suggestion on how to ensure the files are loaded prior to the next file being loaded? I tried placing a while loop that basically delays the clock for a few milliseconds, and that didn't work either. Besides, that is not really a good solution to arbitrarily waste clock cycles.

View 6 Replies

Large Play Button On Flv?

Sep 21, 2009

I am currently working on a project where I would like to have the large play button come up on the flv within flash. When clicked this will then play and pause if clicked again.

View 5 Replies

Size Too Large Of Masking?

Jul 25, 2010

i made a masking anim using frame by frame animation on the mask layer...

when i exported the swf it was of 83 kb (too huge) and i checked it was all due to shapes in the mask layer....

i found "eltima swf optimizer" on internet but it gives only black and white output in the demo version ....

i opmitized all shapes one by one by using modify>shape>optimize using 100% optimization but when i exported swf this time was 114kb(even more) this sux!!!

my question is that is there any other "swf optimizer" that i can use for free.. (hey its my school project and i just need to mask a single jpeg)

View 1 Replies

Preload Large SWF Presentation?

Oct 4, 2011

My clients have alarge flash presentation (kind of microsite) which is 18MB of size.How can i embed it to their site, and have a preloader for it.The Clients dont have the FLA, as the developer didnt provide, as is out of reach.I am a Zero-Flash knowledge, just a small time web (CSS/HTML) developer.[URL]

View 5 Replies

Redraw Lag With Large 3D Scene

Nov 9, 2009

I am building a scene which consists of 1 main mc containing all the elements in the scene. Inside this mc some of the layers are pushed back in Z space to create a parallax effect and on the main timeline the scene mc scrolls in relation to
the mouse position (much like this ) the scene mc is 5953px by 1716px and all the mcs contained inside consist of line drawn vector illustrations imported from illustrator. My problem is that when the scene is scrolling, every so often there is a delay were the scrolling slows down. It eventually catches up with itself causing it to jerk back to its original speed. When I test the movie and turn on redraw regions I notice that flash is having trouble redrawing some of the mcs.

I have tried optimising my mcs, turning cache as bitmap on the static ones and even replacing some of the static ones with bitmap versions but none of these seem to solve the problem. I was wondering if there is a solution to this or any other steps I can take to ease up on the redraw Also I am having a problem with the mcs breaking up as the scene scrolls, is there a way I can easily apply an anti alias to them?

View 1 Replies

ActionScript 3.0 :: Large (7.3MB) Embedded .flv In .swf?

Apr 3, 2010

I have had to embed a large .flv (7.3 MB) into a .swf. Wondered if there were any special tricks to help reduce file size.It is a 3d flip book. The reason I need to embed is I need to be able to run the playhead backwards through the timeline to animate (via caurina tween engine) returning to previous pages.Link can be found below.http://tangram-preview.li/lla_online_test/Choose 'DE' as the language, and when the main site pops up choose the 'Interaktive LLA Broschüre' link on left vertical scrolling nav.Notice due to size that it plays very slow in the floatbox. In a normal swfobject HTML it plays fine.

View 3 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 2.0 :: Pan Across A Large Canvas?

Aug 18, 2010

Does anyone have examples of how to pan across a large canvas?

Hard to explain but basically I am using a workspace of 1280 x 800 but I have a canvas that is much larger. I want to be able to click to navigate to different areas of the larger canvas w easing.

View 1 Replies

Split Large SWF File?

Nov 20, 2010

Hey flash gurus. I did a search and while I feel certain this has been covered (and am content to be flamed) I couldn't find the answer here on the boards so here goes...

I fumble/stumbled my way through making a web site for myself and I'm pretty happy with the results. I am sure I did some obscenely newbish things but it works and it looks good enough so I'm fine with it for now except...

It takes a good long time to load the web site which I believe is due to the fact that ALL the pages of the web site are mashed into a single SWF file. I would like - for a number of reasons - to break this into several different pages (not just for size but to make updates less painful).

View 4 Replies

ActionScript 2.0 :: Large Jpg Getting Cut Off At 2880?

Apr 23, 2008

I have large JPGs or PNGs which ever suits you...and they seem to be getting cut off at 2880 pixels wide...all of my jpegs are 3360 x 2160 and obviously the width is theproblem....using the loadMovie method does not work...it cuts off at 2880...using movieClipLoader with loadClip does the same thing

View 1 Replies

ActionScript 3.0 :: Very Large 2d Arrays - 15 Second Timeout?

Feb 22, 2009

main problem lies within the 15 second timeout.trying to create a 10,000 x 10,000 2d array with just 0's are placeholders for data.i tried just going with a 2d loop of 0-9999. tried going with a 4d loop like this 0-999+(0-9*1000)

k and kk = 0-9
n and nn = 0-999
array_ar[n+(k*1000)][nn+(kk*1000)]=0;

both time out. i even tried seperating the 4d variety into 2 function passing it back and forth. is there a way to turn off the timeout? or a way to pause the looping every so often. I was thinking about creating the first function that does a 2d loop of 0-999 then at the end of it returns a value to another function that passes the 0-9*1000 part back to the first one? maybe this would create a pause reseting the timeout. but none of that would be needed if the timeout could be disabled.

View 8 Replies

ActionScript 3.0 :: Preloading Large Files?

Sep 17, 2010

I've built loads of preloaders in AS2 before. However I never ecountered so many problems as now. I'm confused about many things with preloading in AS3. This is my layout:I have a single frame on the first scene of my movie. The main content is inside a movieClip called container, placed on frame 1 of my next scene, which inherits from the class that holds the main code to initialize the game.(I read that this way my code will not try to access any movieClips, or sprites before they have been loaded... as they are not actually referenced from a document class).However my 1st frame where I have my preloader takes ages to load... My first question is... Does this happen because the loading procedure is different now? Or has it always worked like this... so that would mean that as I have many heavy assets in my library that are meant to load on frame 1. (Exported for actionscript in properties).I have a blank movie for a while. I'm using a simple code:

stop()
import flash.events.*;
this.loaderInfo.addEventListener(ProgressEvent.PRO GRESS, Loading);

[code].....

View 3 Replies

ActionScript 3.0 :: Keep Large Amounts Of Data?

Apr 25, 2011

Im not sure whats the best way is to make large amounts of data available to my android app on the local device.

For example records of food ingredients, in the 100's?

I have read and successfully created .db's using this tutorial.[url]...

However to populate the database I use flash? So this kind of defeats the purpose of it. No point in me shifting a massive array of data from flash to a sql database, when I could access the data direct from the as3 array?

So maybe I could create the .db with an external program? but then how would I include that .db in the apk file and then deploy it to users android device.

Or maybe I create a as3 class with an xml object init and use that as a means of data storage?

View 1 Replies

How To Center Large SWF On All Screen Resolutions

May 3, 2009

I'm trying to make my movie look good on all screen resolutions and when the browser is resized. I want to center my movie, and have it stay in the center when resizing the browser, and I can do this to an extent. I usually use the liquid center template in Dreamweaver, like so - [URL]. However, this time I want a big movie to stay in the center like this - [URL], I've ended up with this - [URL].

View 1 Replies

Large FLV Video Only Partially Loading?

May 5, 2009

I have a large ON2 VP6 encoded FLV video (334 MB, 75 minutes) hosted on the web and being played back using a basic Flash movie player:
 
[URL]
 
Many people are having problems getting the entire video to load. The loading progress bar will increase quite quickly at first, but then it will either slow down to a crawl or will stop completely. If the progress bar stops increasing before the video has fully loaded, it will not continue no matter how long you wait. Reloading the page does help.
 
Is this likely to be a problem with the FLV file, the Flash player or is it more likely to be a problem with our web host?

View 6 Replies

Importing Large Images Fails

Jul 25, 2009

I use Flash primarily for animation. The project I'm working on currently is a hefty 1920 X 1080 square pixel file and currently weighs in at 187mb because of all the sounds and jpg images.It's 2 minutes long.

The problem occuring is new to me as I've never worked with projects this long or in this resolution. Or with this much data (sound effects, jpgs, etc).

The problem is this: I'm trying to import a high resolution photograph (3500x2500) onto the stage or even just in the library. I'm using the photos to get an idea on where the final animation will be placed (photo backgrounds, flash animation, composited in After Effects, think Roger Rabbit).

View 1 Replies

ActionScript 3.0 :: Load Large SWF Files?

Dec 10, 2009

I have created a flash game which is about 11 MB in size and i have created the progBar in the first frame of the swf...

But it only shows the loading process after few MBs of data beign loaded...which might take some time and cause the user to close the tab..

I dont want this to happen...How i could tell the user at least that the swf is loading without any percentage and all the animations.

View 10 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

Professional :: Working With Large Objects?

Oct 12, 2010

I am preparing a navigation (using panning) movie in Flash. There is very big (6000x4000) image (area photo from top) on the stage and it's position moves once user moves his mouse. Thus, user can navigate on the area.But flash really drives me insane while working on this movie. It usually suddenly stops and quits with error.I'd like to ask what can i do? should i use a different method???It seems, Adobe becomes stupid on large files and there are bugs in somewhere Flash. For example; how can i use a method like Google Maps (it loads an another image when you move another position. Not loads all images together and doesnt consumpt large amount of resources.)?

View 1 Replies

ActionScript 1/2 :: How To Print Large Page

Dec 24, 2010

In stage print_mc is there. print_mc._height too large how to print 2page print_mc

View 1 Replies

ActionScript 3.0 :: Loading Large Dynamic XML?

Apr 28, 2011

Loading takes too long time. Maybe there are some workarounds to make it load at least a bit faster. There is a way of creating static XML - it means splitting existing database records in one, and new records - to dynamic XML (so it's not requesting all Mysql rows in every single page request), but I'm not sure if it's going to make it load fasterWhen loading XML some browsers stop at apprx. 70% and does nothing. (can't figure this one out)

View 6 Replies

Professional :: Bug When Exporting Large Images

Jan 22, 2012

I found this bug in Flash 8, so I just downloaded CS5.5 trial and I see the same problem. When I increase the image export resolution to get a larger image, at one point the lower section of the image became white (the image has the appropriate size but the content is not rendered in the lower section). As bigger is the image, larger is the white fraction. The amount of useful pixels always stay around 10 or 13 megapixels. Here some examples:Original image was 3375x6710 pixels in the left one and 2625x5219 en the right one.

View 3 Replies

Large Pixel File Yet It Gets Cut Off When I Preview It

Feb 11, 2012

I have a large pixel file yet it gets cut off when I preview it. Why?

View 1 Replies







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