Can't Draw Over Imported Images?
Nov 15, 2009
why I can't draw over impoted images? I've animated something on paper and scanned in the frames. When I import them to flash it either deletes the line as soon as I draw it, or if I create a new layer the drawing stays in all frames, not just one.
View 3 Replies
Similar Posts:
Apr 10, 2011
I'm putting together a website in Flash CS4, and my Actionscript knowledge is pretty minimal. The site has a portfolio section with a scrollbar, which I modified from a downloadable example I found here: http:[url]...The prewritten code uses xml to import the thumbnails into the scrollbar- all of this is fine and working beautifully so far. What I'd like to do is to have each thumbnail act as a button, so that when clicked, you jump to another page/frame on the timeline. I see that it's very straightforward to either open a 'full' image or to go have the thumbnail take you to an html page, but is there a command that can go into the xml text that will simply take you to another spot on the timeline?
View 3 Replies
Apr 9, 2009
've been building some website in pure flash with as2, where index.html is only a 100%x100% swf movie without any marginsi didn't expect there was supposed to be a gallery but oh well. our client decided that he wants to have some gallery in his flash website. this of course wouldn't be a problem if the swf weren't scaled but it unfortunately is so everytime it loads an image it is, of course, sacled up/down which produces a really ugly pixelated image (because nobody would want to have his gallery images scaled up 2 times)if i knew there was going to be a gallery, i would export it into html with "match movie" dimensions and dynamically reposition all the objects in the swf but i didn't. and i don't have time to rebuild the damn site againso i'm asking, is there any option for a loaded image that it would not get scaled up/down while the swf(browser window) is? or a variable that tells at how much % is the movie scaled in the browser?(so i could re-scale the images inside flash) i know there is probably not but i'm really desperate
View 1 Replies
May 18, 2009
when i import a jpg file in flash and then resize this with the transform tool to for example 50% of the original size then im not getting the same result as resizing it in photoshop.if i first resize it in photoshop and import the image is smooth and looks the way i want but if i resize in flash the image gets edgy and not so good.so is there a way in flash cs 4 to resize the image with the same result as resizing it in photoshop or similar?
View 4 Replies
Apr 21, 2011
I had CS5 v11.0.0.xxx. I had the problem. I have just upgraded to CS5 v11.0.2.489. I have the same problem. I imported a series of images in CS5 v11.0.0.xxx to the stage. I saved the file and reopened it.The images were gone in the stage. They were corrupted in library as well.
I imported the same images in Flash 8. I saved the file and reopend it in Flash 8 without a problem. I reopened the file in CS5 v11.0.0 and CSv11.0.2 without a problem. I saved the file to CS4 format and reopened the new CS4 file in CS5 without a problem. I saved the file to CS5 format (both compressed and uncompressed) and reopened the new CS5 files. The problem is still there.
You can download the Flash 8 version of the file here in my dropbox.[URL]...
View 2 Replies
Jan 20, 2007
I want to import an image and then skew it slightly using actionscript. I know how to import images and such but what I need to know is how to skew it with AS without distorting the image too much.
View 1 Replies
Jul 30, 2009
I'm having some problems with importing images. (RGB jpegs)
When I import them, the colours, brightness and contract look totaly different.
I haven't got a clue what could cause this. And I really need to have the colours right.
View 2 Replies
Apr 29, 2011
Question: How do I (assuming it is possible) animate a drawing (gif, jpeg, png, whatever) I drew outside of flash. I have some monsters I have drawn and would like to animate them for a flash game I am creating. I've looked around and done a lot of searches, but I cannot find any answers or tutorials. It is probably because I am not using the right keywords. One similar to this that already has a lot of detail, but can still have the limbs animated with the bone tool or weapons even. When I try it seems I have the entire square image and can't use the weapon shape. Note: I am new to flash and have only gone through the first 14 tutorials on this site,which rocks btw
View 2 Replies
Jun 14, 2011
I import Jpeg or any other images into flash , and I can click on it in the library and see the image, but when I bring it onto the movie scene, I just see the squares and the image is faded, it seems like it has brought the opacity of the image all the way down to zero , no matter what image type I save I get the same result, PNG, BitMap, GIF , is there anything I gotta do in preferences ?
View 1 Replies
Apr 12, 2011
I'm putting together a website in Flash CS4, and my Actionscript knowledge is pretty minimal. The site has a thumbnail section with a scrollbar, which I modified from a downloadable element I found from flashmo dot com (admin won't let me include link). The prewritten code uses xml to import the thumbnails into the scrollbar- all of this is fine and working beautifully so far. What I'd like to do is to have each thumbnail act as a button, so that when clicked, you jump to another page/frame on the timeline. It's very straightforward to either open a 'full' image or to go have the thumbnail take you to an html page (as that's how the code was written, but is there a command that can go into the xml text that will simply take you to another spot on the timeline? The website is going to be entirely in Flash, so URL links don't help me. Is there a simple command I can add into the xml and Actionscript?
This is what the xml looks like, in case that's helpful:
<thumbnail>
<filename>black.png</filename>
<title>Item No. 1 (192 color art)</title>
[Code].....
View 5 Replies
Apr 9, 2007
Is there a way to get the height and width of an image that was loaded via an xml file? I am making an Image Viewer and I want the display to resize to the dimensions of the image loaded.
View 1 Replies
Jun 10, 2010
I'm importing my images dynamically into an online portfolio. I'd like to have some text/areas on the imported images be linked to outside websites, or link to other areas of my site.If this is possible, how does one code it; or are there any tutorials anyone knows of that I could check out?
View 2 Replies
Jun 25, 2009
I'm creating an image scroller in AS2 that pulls images into Flash from an external folder, as determined by an XML file. The program use a MovieClipLoader to load the external images into series of empty, and temporarily invisible, movie clips that are created inside a for loop. Once the attached listener determines that the clips are all loaded, their visibility is turned on and they begin scrolling. Everything had been going fine, until I tried to add functionality to each of the four images that had been loaded. All I want to do is generate a trace statement that says "success" when I mouse over each of the four external images in the scroller. I can use that as a springboard to continue working...
Here is the problem: "Success" IS traced out upon rollover, but only once - when you roll over the last image that was pulled in from the RSS feed and into the for loop. It does not apply to any of the other images. It seems like the functionality on the other images is created but them somehow instantly destroyed or overwritten as the for loop continues to run and the MovieClipListener updates itself. But I am not sure. If this were simply a series of movie clips or images being pulled in from the Flash library, I wouldn't have this problem. However, the external images and the MovieClipLoader are confusing things.
//Start For Loop Pulling from XML File {
//create movie clip that will hold next image pulled in from XML file var cImageHolder:MovieClip = scrollerBase.createEmptyMovieClip
("imageHolder" + i + whichRow, scrollerBase.getNextHighestDepth());
var mcLoader:MovieClipLoader = new MovieClipLoader();
[Code] .....
View 1 Replies
Jun 29, 2011
I have a small question about the size of images imported to flash.Recently I imported a series of png images to flash CS5 to be used in an animation, 92 images to be exact. Each image was 34Kb size. Before I imported the images, the FLA was 6kb, and after I imported them the FLA was 160 MB large. Now 33Kb * 92 isn't 160 MB, so why does this happen? Is there any way to decrease the image quality or something when importing, or do I have to do that manually when creating the images?
(I used photoshop, and the images have a transparent background if that makes a difference).
View 1 Replies
Jul 22, 2011
I made a logo for my website in Fireworks (I tried it in Flash as well, but I couldn't create even a similar one). I imported images and made the intro part. I made a new timeline for every image and tween them the slide in, rotate, etc. At the last frame I gave my movie a "stop();" command. I'm here right now.
I would like to add a shiny effect now which slides over the logo every 4-5sec. I know I have to do some mask thing, but I'm not sure how to start. Should I select everything at the last frame and create a movie clip and then inside that movie clip create a mask? would that work this way?
[URL]
I wanted that background to flow or move a bit, but I can't make a similar image in flash and if I import another image from fireworks I can't tween them. Does anyone know how to tween to similar images imported from fireworks?
View 3 Replies
Jun 30, 2010
I have loaded an external swf in my main movie, the swf is a picture gallery which loads images from an XML file. The directory structure is as below[code]...
When i run the main movie, it is looking for the Thumbs folder in the root folder. How can i make the images load from the subfolder?
Do i need to change the relative path in the XML?
View 3 Replies
Mar 25, 2005
I'll make a gallery of 122 images but I don't want to place each of them on the timeline
or I can't call them, they should be included in the exported .swf or .exe file I guess what I need is something like an actionscript that would call the images imported to the library is that possible or is there a gallery like that?
View 3 Replies
Oct 11, 2010
I have a flash file (banner ad) that uses some jpgs that I imported onto the stage. When I publish the file... It won't include the images. If the images are in the same folder as the swf.. it will work. However, just the SWF on its own will not display the images. Any ideas?
View 1 Replies
Oct 2, 2003
All the images have to be in timeline 1 on different layers(they all have to be in timeline one........).I have a frame, it has a lot of images on it, with them all set to _alpha = 0;
on a button press the required image has its alpha set to 100;
however this means there will be a lot of images on the screen at once....
If alpha is set to 0 does flash have to still draw the object, is there a better way ?
View 5 Replies
Mar 18, 2009
I am using the draw() method of the BitmapData to encode a jpeg of part of the image. Now this should be easy enough given the object I want to draw to the bitmap is on the stage at design time so I know its location and dimetions exactly! Heres the code I have in place.
Code:
var myBitmapSource:BitmapData = new BitmapData ( street.width, street.height, false, 0x333333);
myBitmapSource.draw(street, null, null, null, new Rectangle( 96, 5, 571, 450 ), true );
I know for a FACT that no part of the street clip I am drawing out is in negative space, and it's registration is (0,0). However, it cuts off A lot of the top of my image. y=5 in the above rectangle is where I need the top to be, but it cuts the top off of the image... even if I change it to 0, it has no effect.
View 2 Replies
Jun 30, 2011
I'm making something that requires me to draw() the youtubeplayer Giving me this pretty error:
[Code]...
View 4 Replies
Dec 15, 2009
I'm trying to do some lean blitting for an object that rotates by rotating it once at startup and capturing a BitmapData snapshot of each 5 degrees. The problem I'm having is that the draw() method of the BitmapData object is only picking up pixels in the MovieClip that are below and to the right of the registration point. If I change the MC so that the registration point is in the top left corner, I sometimes get what looks like most of the pixels, but the entire object rotates into and out of the frame, since it's rotating around the corner and not the center.
View 5 Replies
Apr 5, 2012
I need to be able to draw a thick patterend line between 2 points in AS3, I can't use the draw API because it doesn't all me to actually put detail (pattern etc) into the thickness of the line, I thought about perhaps using the line to create a bitmap version and then using that as a mask, but I remember many years ago seeing some examples that use a movieclip as a source for a line.
View 1 Replies
Jan 9, 2012
I am having an issue with using BitmapData.draw(stage). I am getting the following error:
SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: file:///C|/Documents%20and%20Settings/bla...bla...bla.swf cannot access null. No policy files granted access. Here is a portion of my code:
var bd:BitmapData = new BitmapData(2800, 2100); bd.draw(stage);//this is where the error happens All of the files referenced (.xml/.jpg/.swf) are located in the same local folder as the main .swf. How do I get around this error? The main objective is to print the stage using PrintJob(). I am using Flash Professional CS5.5 and publishing to Flash 10.0/10.1. Let me know if I need to supply any more info.
View 4 Replies
Dec 16, 2010
i have a class thats create a class with bitmapData that merge 2 IBitmapDrawable. one of them is 24*20 while the other is 16*16.i want to draw the smaller first in a bitmapData object which its width and height are 24*20 but i want to draw it in the center of the big bounds.
[Code]...
View 2 Replies
Apr 29, 2009
I'm using the following code to import class functions the import is fine but my question is what are the diffrent ways to use it once imported right now the cam:CameraExample line throws the error TypeError: Error #1009: Cannot access a property or method of a null object reference.[code]...
View 5 Replies
Jul 27, 2009
Is there a way to have imported images automatically update if the original file is changed?
View 1 Replies
Sep 28, 2009
i've imported an flv, it's about 8 seconds long. i'd like to loop it... i thought this would be simple enough... but after doing alot of searches online, i'm getting nowhere...
View 2 Replies
Aug 12, 2010
it seemed like a simple process but I cant seem to get this right... I got a button there, but the URL wont go, ie, the click does nothing.I imported a PSD layered image to Flash CS3, into a new blank layer. I need basically an area of this PSD to be "image mapped" so what I did was create a rectangle with the rect tool, over the area I needed the hot spot.Here I tried to do a transparent box and border (alpha 0) but the outline is still there even though the box is "empty." I did select the transparent box, no color, and tried alpha, both same result)I made that into a symbol, then I double clicked into there to fill in the key pts for the over, hit, etc., states.... I dont have any effects here btw, as simple as we can get.After that I right clicked on the buttonand entered the action script ("reserve" is the name of my button symbol)
reserve.onRelease=function(){
getURL("http://www.redeggnyc.com/menu2.htm");
}
[code].....
View 2 Replies
Jul 17, 2009
I created an image in Photoshop that included a gradient layer fading from transparency to a foreground color (in this case, black). I saved this image as a PNG file and imported the file onto my Flash stage. The gradient appears on the image as expected when viewing the stage in the Flash editor, however, when I test the movie, the gradient no longer appears.
View 2 Replies