C# :: Create Images Using Shapes?
May 24, 2011
Im trying to create a drag and drop module which can be used to build an Image. EX: Using a triangle and rectangles to create a House.
I have created the drag and drop module but I cant make them fix with each other.
I'll explain the functionality a little bit, but forgive my English if any mistakes since it's not my native language. The user is given a set of shapes and a question like "CREATE A HOUSE" so he should be able to drag the shapes that is given and and build the house.
View 3 Replies
Similar Posts:
May 27, 2011
Go about to making a custom shape for a hill. I want to import it from photoshop where I made it but when I do it comes in as a square so instead of the character moving up the hill it goes to the top of the square and drops when the image ends.
View 2 Replies
Jan 5, 2007
I'd like to learn how to create classes. For instance, I'd like to create a class that draws a custom shape. Like an arrow that is just a rectangle with a triangle on the end. I'd like to be able to do this sort of thing:
myArrow = new Arrow();
myArrow._x = 10;
myArrow._y = 50;
myArrow._width = 100;
etc . . .
View 2 Replies
Feb 17, 2009
I have a question about shapes (i mean the flash.display.Shape class). Is it possible to import Shapes directly from the library as Shapes and not as Sprites/MovieClips? Shapes are supposed to be faster than MovieClips/Sprites, right? So why is it only possible to import MCs/Sprites from the library? I understand that generally shapes could be created solely by actionscript, but in my case the shape comprises of many points and is curved - so it's quite infeasible.
Is there maybe some sort of plugin to generate code that would draw the desired shape from a drawn shape in CS4? And a last one: Are there any benchmarks out there for performance comparison between sprites/mcs/shapes? How much performance do i loose by using a sprite instead of a shape?
View 2 Replies
Jul 5, 2010
Here in Flash CS4 Explorer, I have shapes. It's intuitive that I be able to right-click on Scene1, and be able to Insert Shape. Can't. I go to the frame. Can't. I right-click everywhere. I see 'Create Shape', but everywhere I see it, it's grayed out - won't let me.
How do I create new shapes in the graphics folder in the library of a flash cs4 project?
View 2 Replies
Jan 30, 2012
HOW CAN I CREATE BUTTONS THAT LET USERS SET THE SIZE OF THE SHAPES THAT THEY PAINT? I have written syntax that let mouse movements paint ellipses and rectangles and I have also added buttons that allow users to switch between painting ellipse and painting rectangles.
[Code]...
View 2 Replies
Mar 31, 2012
i want to be able to create multiple shapes and store them perhaps in an array to be able to dynamically move them and change them.is there a way to have a shape object and store it an array?so that i can do something like shapeArray[0].x =100 current code
for(var i=0; i<10; i++){
var sprite:Sprite=new Sprite();
sprite.graphics.lineStyle(1)
[code]...
View 1 Replies
Sep 29, 2010
I'm trying to create a flash program that uses it's own code to send and create images. Each square has a colour and that colour gets added into the array. A black, then grey, then white is:
filecode = ["Bl", "Gr", "Wh"];
That works fine, but when I try to paste it into an Input text box it will only fill in the first part of the array.
filecode = ["Bl,Gr,Wh"];
So the program has NO idea what I want.The only ways I can think of fixing this is by putting in 402 text boxes to suit every box...But every one of them needs a Variable Name.Or by sending the information straight into the array. But this way you are just looking at what you just drew, and that is not at ALL practical.
View 3 Replies
Mar 30, 2009
Is there a way to create a url link on an image loaded from an xml file. So for example in my photo gallery, I have my set of thumbnails which when clicked on would show the larger image. I'd like to click on the larger image and have another window popup and go to the proper url with an even larger image.[code]...
View 1 Replies
Aug 27, 2009
how do I create a tween between two different images? I tried converting them both to graphics, but that didn't work.
View 7 Replies
Sep 2, 2009
[url]...Is this done purely in Flash CS4 or is another one of Adobe's products involved too?
View 2 Replies
Jun 30, 2009
Im making an image gallery with XML and external images.What I would like to happen is Create a row of buttons for the categories. When a specific category button is clicked, a second row of buttons(lets call these the load image buttons) will be created. When you click a load image button, it will load an image into a "holder_mc" and load text into a textbox.So far I have only been able to create ONE row which contains all the images. I really need categories.[code]
View 2 Replies
Mar 10, 2011
Im trying to create a row of different images (which are also buttons that link to different 'scenes' within my flash package) at the top of my flash movie that expand scale on mouseover and then shrink back into size when mouse leave but i am finding it quite difficult as im really new to flash & actionscript.
I was going to use an array to put the buttons into, Will i need to make a variable for the scaleX, scaleY and the range in between?so far i only have this but im not having much luck:
ActionScript Code:
var buttonsArray:Array=[button1, button2];
button1.addEventListener(MouseEvent.MOUSE_OVER,onMouseover,false,0,true);
button2.addEventListener(MouseEvent.MOUSE_OVER,onMouseover,false,0,true);
[code]...
View 6 Replies
Sep 30, 2009
what i'm looking for is to create a gallery of images. there are 12 images in total with 3 showing. I want to add a forwards/next button that will cause the gallery of images to scroll across, with a smooth action, when the cursor hovers over the fowards button. I don't want the next images to show 1 by 1 but the gallery to gradually scroll arcoss(like all of the images are on one long reel being pulled from the left)
View 2 Replies
Oct 13, 2009
How would I do a text movie like the one on this home page? http:[url]....I've tried before, but have had no success. I can create the swf file and fade images in and out. In the past I've put one line of text on one image, then another line of text on another image, but when I fade the images in they just cover up the prior one.
View 1 Replies
Sep 22, 2008
I am hoping someone can lead me down the path to figure out this issue I am having. I am trying to create an app that shows images using the RSS feed supplied by the sets page. I am not going through flikr's API, i am simply using the url from the feed on the sets page.
so far, I have been able to ouput the xml from the rss feed as a whole it looks like this
[Code]...
View 5 Replies
Jun 23, 2010
I want to create a slideshow of 5 images, with black fade effect in between. So from black to image to black to the next image and so on. Then it stops on the last image. I dont want any buttons or any interactions.
View 2 Replies
Aug 31, 2010
how can i give tweening between 2 images (Just like a Shape tweeening )
ie: in 1st frame 1 draw a rectangle shape and 25th frame i draw a circle shape that the time i give a shape tweening means it comes correctly (the shape converts to another shape)
but the same concept i gave it for image means it is not comming properly ,
View 2 Replies
Aug 24, 2011
So I have a function to create images dynamically in as2, telling some parameters, the problem I am facing is that I need to add this function to a file that has as3, so is incompatible, can anyone please help me translate it to as3?
function goGetUrl(dir:String){
getURL(dir, "_blank");
}
[code]....
For example the getURL(dir, "_blank"); does not work, I think I can change it by:
navigateToURL(new URLRequest (dir));
also I know that getNextHighestDepth() is not available in as3
View 1 Replies
Dec 14, 2011
I'm trying to generate a flv video from several pngs but the output video seems to be corrupted, no player can play it.[code]The browser do not display anything (not even for milliseconds) and nor do the vlc player and others. To grab to video to file i use:URL...Whats wrong with importing the png? Why I cant watch the video?
View 1 Replies
Sep 8, 2009
Would someone be able to direct me in the right direction as to how to go about adding preloaders for images on a rotatong menu.
I am not after any kind of complex animation loader, just simple text that says 'Image Loading'
So I guess to simplify it, it could just be a peace of text that disappears when the image loads in.....am I making any sense?[code]...
View 0 Replies
Jan 31, 2010
how to create a scroll bar with images that allow you to drag and drop from it.
View 0 Replies
Jun 8, 2010
Is there anyway to create a GIF animation from an array already loaded with bitmap images?I would like to simply create the animation in the order the images currently are in.
P.S. -- how would I display it? Just addChild() I'm assuming, correct?
View 9 Replies
Sep 8, 2009
I am not after any kind of complex animation loader, just simple text that says 'Image Loading'So I guess to simplify it, it could just be a peace of text that disappears when the image loads in.....am I making any sense??I have a few thoughts which are;1.create moveclip with the words 'loading Images' some how load this in the background of main holder that loads images in so that when image loads it loads over the text 'Image loading' technically not a loader just text in the background.2.create moveclip with the words 'loading Images' that when image loads in the text is replaced by image that loaded in??
Code:
var holder:MovieClip = new MovieClip();
holder.addChild(loader);
[code].....
View 14 Replies
Feb 14, 2010
Is it possible to create a swipe dissolve between two images? I'm looking to do a basic swipe for the most part but without have a hard edge. I tried playing with a blurred mask, but that isn't quite what I'm looking for, since it seems to only be able to work with a colored edge and not fade into the other pic.
View 2 Replies
Feb 11, 2009
I've been at this for a couple of hours chopping and changing all sorts of things so now im going back to basics and starting from scratch[code]...
all i am planning on doing is having an automated holder looping through 5 images, not even bothered about fading or anything for now, just need a dead simple loader to actually get me going again to give me something to build on
View 1 Replies
Aug 7, 2009
Previously I've done all the monkeywork by hand on the timeline, but now I need to make an automated slideshow for an image portfolio that collects pictures from an external folder (1.jpg, 2.jpg, 3.jpg, etc...) so I can just upload variants of the image without having to change the flash file each time.
I'm also hoping to include fading transitions and an easy way to change the amount of time each image is on screen.
View 2 Replies
Jul 28, 2010
I want create a photo gallery with many images. how to add a search engine in this page until search specific image or external image folder?
View 7 Replies
Jul 1, 2009
I am trying to improve the quality of the slideshow displayed on this website[url]... My knowledge of flash is pretty limited. I know how to create the slideshow, I'm just not sure how to maximize the quality and keep the file small. The original was created as a .wmv and then converted to .flv. I have heard that creating the slideshow in flash using vector images is the way to get the best quality. So, my questions are:
1. How do I convert a jpeg to a vector image? Can I do this in photoshop?
2. How do I convert the .swf file to .flv without losing quality?
View 6 Replies
Mar 12, 2010
I am trying to create Vertical scrolling images. I found a tutorial using AS 3.0, used that, but made a couple of alterations - like I did not want the images centered on the stage and I added more images than what the tutorial showed. As a result I have several errors in the Actionscript.
View 13 Replies