Professional :: Make Use Of A Bitmap Picture, Size 1920 X 1080?
Feb 23, 2011
I make use of a bitmap picture, size 1920 x 1080, as my stage background. That image never moves ... well I may add mask to it later on, I'm not sure yet.
Nonetheless, since it is static, is it a good idea to cache it as bitmap? is it only for vector artworks?
View 1 Replies
Similar Posts:
Feb 23, 2010
i think i highlighted the relevant code. The pictures get loaded when movie starts i think.if i could just get a example of the code i might be able to figure the rest out
heres code:
The radius of the sphere, 'rad'. You can change it if you wish especially if you use thumbnails of a different size than our thumbnails.
var rad:Number=380;
The position of 'board'that will be defined later.'board' is the main container containing the sphere and the black background that reponds to mouse actions.
var posX:Number=stage.stageWidth/2;
var posY:Number=stage.stageHeight/2;
The size of thumbnails. Change the values to reflect the size of your images.[code].....
View 1 Replies
Apr 22, 2002
I want to make a picture gallery and use buttons that move you from picture to picture and backwards, but I don't want to tell button 1 to go to frame 2 and button 2 to got to frame 3 and so on (I hope you know what I mean)Can I use on button on a separate layer with the same action set? I tried something like that, but it didn't work:
on (release) {
thisframe =+1
}
[code]........
but it didn't work. I'm kind of new to any action script other than gotAndPlay, easy functions and all that.
View 2 Replies
Jan 5, 2005
I have just been to a really nice website that has some really nice use of Flash on it.... I'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.
View 3 Replies
Jan 5, 2005
I'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.It must be some sort of actionscripting but how is it done?
View 3 Replies
Jan 3, 2011
Pretty much said it in the title. I have drawn a cartoon in flash (cs4) and because of zooming in and out my lines are different widths (thicknesses?)
Is there any way I can select the entire image (just lines) and somehow "uniform" them?
View 1 Replies
May 27, 2011
I made a simple picture slideshow with a timer, prev/next buttons, pause/play buttons and jump buttons. Everything went good so far.Now i'm trying make every picture go to a URL when the picture is clicked but only the link on the first frame goes to the URL when clicked the other 5 buttons do nothing when click.(FYI: I made alpha 0% buttons in a layer above pictures)I tried two different codes but both have no effect.
as layer
Code:
stop();
var nextImage:Timer = new Timer(3000);
nextImage.addEventListener(TimerEvent.TIMER,playNext);
nextImage.start();
[code]....
View 1 Replies
Jul 21, 2009
I have an issue with Bitmap object. I have a photo gallery which I read from an XML file. Each photo has a path, id and description. When I'm adding the picture to the screen I am doing as follows:
[Code]...
My problem is that when I click the bitmap added to the container I must know what picture this is by getting an id. This way I know what gallery I am to open. A bitmap object does not have this property to be set (id and path). I have decided to create a class which extends Bitmap and then add these attributes within this class. So instead of using a bitmap I would use something like:
[Code]...
View 3 Replies
Dec 9, 2011
I have swf file product animation the file make a 53 MB, i want that file put in website. How can i reduce file size:
1) file is make in 3DX Max,
2) Then import to render image in adobe aftereffect & done special effect & make a SWF file
View 3 Replies
Aug 16, 2010
I have this error and cant figure out how to fix it. For me it means that the namesace is defined twice somewhere on the timeline, but i checked everything, and its defined once.I have a drop down menu. If i click on first entry from the drop down menu,it will take me somewhere, load sth,then i go back, and click on the other entry where the error ocures, then its fine, table is loading, no error. But if i load the swf, and click stright away on the entry where this error occurs, then i get the error. What does it mean?
View 1 Replies
Jan 14, 2011
I need to create a Flash presentation at 11,520 x 1080. Is there a way to go higher than the 2,880 x 2,880 in CS4. Does CS5 let have a greater mximum resolution?The purpose of this is the display the presentation over 6 screeens with the ATI Radeon HD 5870 Eyefinity 6 at 1,920 x 1,080.
View 1 Replies
Jul 19, 2003
I need to establish size of picture (*.jpg) loaded in swf file. I used this script for load the picture:
_root.createEmptyMovieClip(picture, 9876);
loadMovie(obrazok.jpg, 9876);
trace(picture._width);
but traced number is always 0 however the real size of picture is 256 x 192. How should I change the script for it works?
View 9 Replies
Jul 29, 2010
Within my flash file, some of the layers/objects go off of the sides of the document as I want them to. When I play the file within the test movie function within flash, the file plays fine and none of the layers that extend of the document cause problems(the samething happens when I play it in flash player). But when I open the file in a web broswer the layers that extended off the edges of the document show up. Is there anyway to get rid of this without having to redo the whole file? (ie, crop around the main document size, or set it to export only everything within the document and nothing that extends off of it?)
View 1 Replies
Oct 3, 2005
I want a frame to transform into the size of the next picture. It's hard to explain so here is an example. goto: [URL] and click on furniture for example. Check out the pictures and se how the black frame change size. Does anyone know a tutorial for this operation?
View 2 Replies
Apr 3, 2009
I want to create a website with a background that will auto-resize according to the stage size using AS3.But what i need to know before I do it is: What is the right resolution for the background picture?I want people with resolution starting from 1024x768 to view the website correctly and I also want people with 24'' monitors to view the background with good quality so I guess the image needs a high resolution. I started with 1936x1288 but when I resize the stage to fullscreen the bottom of the image gets cut off.
View 6 Replies
Jan 25, 2011
How to save images a landscape picture and portrait size in FP10, there are ways?
View 13 Replies
May 17, 2010
I have a performance question about pixel bender. I want to enlarge many BitmapData (double their size into new BitmapData). I was doing this with as3, but wanted to use pixel bender to get better performance. On my machine, I get better performance out of pixel bender demonstrations then as3.
To my surprise (or bad coding / understanding), I am getting much worse performance out of pixel bender -- 2 seconds vs 1/2 second! I expected to get at least the same performance as as3.
I got the straightforward pixel bender code here (and it is included below for easy reference).
package
{
import flash.display.BitmapData;
import flash.display.Shader;
[Code].....
View 2 Replies
Sep 15, 2011
I would like to know how to make flash size (width and height) full size in the browser? the real size of flash is w:955px h:600px I tried to make w:100% and h:100%, it makes pictures pixelate.
View 6 Replies
Mar 26, 2011
How to minimize the file size of a bitmap in flash/actionscript.
View 1 Replies
Jun 13, 2007
Users can write a text, modify it (in type, color and size) and choose a picture (which is loaded through a XML-file) for an e-card, then send it to whomever they want. But when they have made the modifications, how do I save the card, and then store it in a database?
View 3 Replies
Jan 9, 2010
is there a way to have (the postion of) objects be dependant of another one? I have attached a simple .fla file with two boxes (MovieClips) that grow in height. Since the position of the bottom box is constant, the top box soon expands "into" the one below so that parts of it are hidden. What I want is that the gap between those two objects stays constant (in this case 50px). So, is there any way to make the position of one object dependant on (the size of) another? Or is there any other "workaround"/tip you can give me?
View 18 Replies
Jun 8, 2010
I am trying to build a flash that auto-adjust its size to the browser window size, while leaving the content of the flash itself top-centered in the screen.I have found this solution [URL].. on How to keep centered stuff in this exact case so i am pretty confident i will be able to adjust that script to do what i want.
Now my problem is that if i put my content inside the movie-clip (centerrectangle) with all the animation require, link and other stuff, the movieclip (center rectangle ) never have the exact same center, thus making the script go wild trying to always adjust the location to the variable size of the movie clip.
[Code]...
View 9 Replies
Jul 13, 2010
I've written a class that iterates through all the frames of a movie clip and draws each one to a different bitmap. When I'm done, I should be able to iterate through the bitmaps and play them like a flipbook animation.If I draw all the clips to the same size bitmapdata, then everything looks great. But this is wasteful because now a lot of the bitmapdata's are bigger than they need to be (takes up more memory), and also causes problems because the hit tests don't look right.
So next I try to crop all the bitmapdata to be the smallest possible sizes. However, when I do this, there are subtle differences in the way the images look - the edges might look slightly darker in one frame than in another. When I line up all the images and play them back to back, it no longer looks the same way it originally did.I have no idea why the images look different, and have no idea how to work around this problem, I have tried many different approaches. I have tried using BitmapData.draw(), BitmapData:copyPixels(), and manually using BitmapData:SetPixel(), and all end up with the same result
View 5 Replies
Sep 27, 2011
I am using the floodfill method to colour-in sections of a bitmap image. That part is easy enough but the issue comes in with the way I am adding an effect to the colour fill routine.
To add the effect, first a copy of the bitmap data is created and floodfill is used on that instead of the original bitmap. Then the bitmapdata.compare method is used to set the alpha value of everything apart from the filled-in section to 0 and the result is saved in another bitmapdata. After that, a 1 px radius circle sprite is added to the stage and is being tweened to the image dimensions and its mask is set to the sprite which contains the result of the compare operation.
This works perfectly except for the fact that the fill sprite has to be tweened to the complete image dimensions irrespective of how small the area is being coloured-in since I am not able to find a way to get the dimensions of the fill area. I am doing an bitmap image update at the end of the tween and I have to disable user interaction till the tween is complete to avoid the errors which come in if another fill-in operation is started before the base image has been updated. If I could somehow get the dimensions of the fill area then the time during which I have to disable the user interaction will go down considerably.
View 3 Replies
Sep 3, 2010
I'm trying to make a button with a picture I made in photoshop.. but the problem is that the background is transparent, I just want the main part to be clickable.
Here is an example.. I just want the purple part to be clickable. The box around that is the actually whole image. So how can I fix this?
View 2 Replies
Jun 4, 2009
How do I make a picture available to be used as a fill for a shape?
View 2 Replies
Feb 16, 2010
I have a gallery that shows pictures when yo hit a next and previous button, but id like to make it go automatically.[code]...
View 6 Replies
Nov 28, 2005
I just tried to do a picture gallery.But It has to have around 21 pictures.In 3 sections(this is around 7 pictures per section)
I would like to look like file 1. It must have 21 buttons (on which when you click to see the picture bigger) on the same window,now there are only 13.[url]...
View 1 Replies
Jul 31, 2009
how to make a video/picture gallery in flash? If not in flash then something else. I just need like a video gallery that i can put into flash!
View 11 Replies
Mar 16, 2009
I made the this tutorialhttp:[url]....and align the movie clip instance to the stage.The problem is when I test the movie the picture is loaded like the movie clip instance is the top left "insertion point" so the picture is not centered. How can I fix this to make the picture aligned in the page?
View 11 Replies