ActionScript 3.0 :: Create A Row Of Different Images?
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);
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.
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]...
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.
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]
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)
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.
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
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.
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 ,
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
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?
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?
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);
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.
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
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.
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?
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.
how to have 4 or 5 images continuing or looping at the top of a web page, no thumb nails just the images changing. This is the site I'm working on [URL], you better see what I'm trying to do.
I need some suggestions about to create .flv from 1000 images.The application I'm building will be use flash to show the .flv, and the server, who have red5 rtmp and php5. The server will be do the conversion from .jpg to .flv. I searching information but I didn't find which language can be the best to do conversion, or some examples about it..
I want to create an arc(semicircle) and place images on that arc and place them one by one.Images animating in a circular motion and move along the arc, clockwise.
I want to dynamically create button from image(s). So basically I have 4 images (on local disk) for 4 different button states (up, down, over, hit area), and X and Y coordinates where the button must be created. I want to create button on given coordinates, load these images and use as them button states (then I know how to add click event listener with addEventListener()). I have very basic knowledge in ActionScript, e.g. I can use gotoAndStop(), addEventListener(), etc. but I'm not proficient enough for advanced tasks.