Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Help Creating Images



Take a look at neostream.com. I like the images that appear in the circle when you roll over the buttons. Anyone have any advice on how these images were created and how I can create some cool 3-d ones like this for my buttons? Where they created in photoshop? Is there some cool free clip-art site where I can get a hold of cool images like the ones in that site instead of having to painstakingly render my own? Just wondering.......?



FlashKit > Flash Help > Flash ActionScript
Posted on: 01-24-2002, 06:19 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Creating FLV From Images
Any idea how you could go about creating an flv server side from a series of images?

For example, say I have 10 images that are uploaded, and I want to create a slideshow movie of them that can be saved/exported.

Creating Vector Car Images..
I'm having some difficulty creating vector car images without importing a full photo with the car image into flash then turning it into a vector. What would be the most productive program to use or technique for high-semi detailed color vectors (illustrator/flash)? Also does the use of the gradient fill have a significant size on the vector? I tend to use this tenchique alot to add more color shadowing to automobiles. If you got pics of cars please send them this is a pain doing 20 vector cars.

Creating A Loadbar For Images
Hey Gang,

I'm using the moviecliploader object and a listener to check to ensure my dynamic pics are loaded before continuing with an animation.

Well, I also have to create a loding bar that runs while the pic is being loaded. Is there a quick way to do with in conjunction with the mcl and the listner? Thanks.

What Is The Best Way For Creating Dissolve Between Two Images
I have a very simple action that I want to complete! can someone suggest what is the best way to have to fade two images! ie one image will fade into another! Hope I am Clear! in Flash mx

Mark

Creating Rollover Images With Xml.
Basically, what i want to do, when i have one picture and i move my mouse on the picture it changes to another. Like before and after.
Now, how could i do it if i have like 30 different pictures which change when i move my mouse on it!?

Beautiful Christmas,
Mesilane

Creating Sheets Of Thumbnail Images?
I've a directory of images that I'd like to make a thumbnail sheet for. Preferably, some automated script that creates the page regardless of how many images the directory has.

This is a long shot, but is there some technique to allow this? (Reminds me of the time I was asking people back in the late 80's if there's something that can translate Apple software into IBM compatible programs LOL)

Here's what I'm doing right now, and it works great! But thing is I have to manually edit the code any time an image is added or removed. If there's a better way of doing this that's completely different than what I have started, I'm all ears! Even if it's just the name of a concept, and I'll go research it on my own.

Thanks!
Liam

this.createEmptyMovieClip("mc1", -101);
this.mc1.createEmptyMovieClip("imgHolder_mc1", -101);
this.mc1.imgHolder_mc1.loadMovie("images/creation/animals/Aquatic004.jpg", "ai1");
this.mc1.imgHolder_mc1._x = 196.2;
this.mc1.imgHolder_mc1._y = 40.0;
this.mc1.imgHolder_mc1._xscale = 20;
this.mc1.imgHolder_mc1._yscale = 20;
this.mc1.onPress = function() {
_root.gotoAndStop(2);
_global.mainimage = "images/creation/animals/Aquatic004.jpg";
}
//
this.createEmptyMovieClip("mc2", -102);
this.mc2.createEmptyMovieClip("imgHolder_mc2", -102);
this.mc2.imgHolder_mc2.loadMovie("images/creation/animals/Bird014.jpg", "ai2");
this.mc2.imgHolder_mc2._x = 196.2;
this.mc2.imgHolder_mc2._y = 130.0;
this.mc2.imgHolder_mc2._xscale = 20;
this.mc2.imgHolder_mc2._yscale = 20;
this.mc2.onPress = function() {
_root.gotoAndStop(2);
_global.mainimage = "images/creation/animals/Bird014.jpg";
}
//
this.createEmptyMovieClip("mc3", -103);
this.mc3.createEmptyMovieClip("imgHolder_mc3", -103);
this.mc3.imgHolder_mc3.loadMovie("images/creation/animals/Bird069.jpg", "ai3");
this.mc3.imgHolder_mc3._x = 196.2;
this.mc3.imgHolder_mc3._y = 230.0;
this.mc3.imgHolder_mc3._xscale = 20;
this.mc3.imgHolder_mc3._yscale = 20;
this.mc3.onPress = function() {
_root.gotoAndStop(2);
_global.mainimage = "images/creation/animals/Bird069.jpg";
}

etc...

Creating Sheets Of Thumbnail Images?
I've a directory of images that I'd like to make a thumbnail sheet for. Preferably, some automated script that creates the page regardless of how many images the directory has.

This is a long shot, but is there some technique to allow this? (Reminds me of the time I was asking people back in the late 80's if there's something that can translate Apple software into IBM compatible programs LOL)

Here's what I'm doing right now, and it works great! But thing is I have to manually edit the code any time an image is added or removed. If there's a better way of doing this that's completely different than what I have started, I'm all ears! Even if it's just the name of a concept, and I'll go research it on my own.

Thanks!
Liam

this.createEmptyMovieClip("mc1", -101);
this.mc1.createEmptyMovieClip("imgHolder_mc1", -101);
this.mc1.imgHolder_mc1.loadMovie("images/creation/animals/Aquatic004.jpg", "ai1");
this.mc1.imgHolder_mc1._x = 196.2;
this.mc1.imgHolder_mc1._y = 40.0;
this.mc1.imgHolder_mc1._xscale = 20;
this.mc1.imgHolder_mc1._yscale = 20;
this.mc1.onPress = function() {
_root.gotoAndStop(2);
_global.mainimage = "images/creation/animals/Aquatic004.jpg";
}
//
this.createEmptyMovieClip("mc2", -102);
this.mc2.createEmptyMovieClip("imgHolder_mc2", -102);
this.mc2.imgHolder_mc2.loadMovie("images/creation/animals/Bird014.jpg", "ai2");
this.mc2.imgHolder_mc2._x = 196.2;
this.mc2.imgHolder_mc2._y = 130.0;
this.mc2.imgHolder_mc2._xscale = 20;
this.mc2.imgHolder_mc2._yscale = 20;
this.mc2.onPress = function() {
_root.gotoAndStop(2);
_global.mainimage = "images/creation/animals/Bird014.jpg";
}
//
this.createEmptyMovieClip("mc3", -103);
this.mc3.createEmptyMovieClip("imgHolder_mc3", -103);
this.mc3.imgHolder_mc3.loadMovie("images/creation/animals/Bird069.jpg", "ai3");
this.mc3.imgHolder_mc3._x = 196.2;
this.mc3.imgHolder_mc3._y = 230.0;
this.mc3.imgHolder_mc3._xscale = 20;
this.mc3.imgHolder_mc3._yscale = 20;
this.mc3.onPress = function() {
_root.gotoAndStop(2);
_global.mainimage = "images/creation/animals/Bird069.jpg";
}

etc...

Creating Sheets Of Thumbnail Images?
I've a directory of images that I'd like to make a thumbnail sheet for. Preferably, some automated script that creates the page regardless of how many images the directory has.

This is a long shot, but is there some technique to allow this? (Reminds me of the time I was asking people back in the late 80's if there's something that can translate Apple software into IBM compatible programs LOL)

Here's what I'm doing right now, and it works great! But thing is I have to manually edit the code any time an image is added or removed. If there's a better way of doing this that's completely different than what I have started, I'm all ears! Even if it's just the name of a concept, and I'll go research it on my own.

Thanks!
Liam

this.createEmptyMovieClip("mc1", -101);
this.mc1.createEmptyMovieClip("imgHolder_mc1", -101);
this.mc1.imgHolder_mc1.loadMovie("images/creation/animals/Aquatic004.jpg", "ai1");
this.mc1.imgHolder_mc1._x = 196.2;
this.mc1.imgHolder_mc1._y = 40.0;
this.mc1.imgHolder_mc1._xscale = 20;
this.mc1.imgHolder_mc1._yscale = 20;
this.mc1.onPress = function() {
_root.gotoAndStop(2);
_global.mainimage = "images/creation/animals/Aquatic004.jpg";
}
//
this.createEmptyMovieClip("mc2", -102);
this.mc2.createEmptyMovieClip("imgHolder_mc2", -102);
this.mc2.imgHolder_mc2.loadMovie("images/creation/animals/Bird014.jpg", "ai2");
this.mc2.imgHolder_mc2._x = 196.2;
this.mc2.imgHolder_mc2._y = 130.0;
this.mc2.imgHolder_mc2._xscale = 20;
this.mc2.imgHolder_mc2._yscale = 20;
this.mc2.onPress = function() {
_root.gotoAndStop(2);
_global.mainimage = "images/creation/animals/Bird014.jpg";
}
//
this.createEmptyMovieClip("mc3", -103);
this.mc3.createEmptyMovieClip("imgHolder_mc3", -103);
this.mc3.imgHolder_mc3.loadMovie("images/creation/animals/Bird069.jpg", "ai3");
this.mc3.imgHolder_mc3._x = 196.2;
this.mc3.imgHolder_mc3._y = 230.0;
this.mc3.imgHolder_mc3._xscale = 20;
this.mc3.imgHolder_mc3._yscale = 20;
this.mc3.onPress = function() {
_root.gotoAndStop(2);
_global.mainimage = "images/creation/animals/Bird069.jpg";
}

etc...

Creating Images To Use In Shape Tween...
hi,

i am try to make a button in photoshop with transparency around it which when rolled over will shape tween to a different shape.

i can get the transparency to work fine when i save it as a png but then when i try to break it apart so that i can use it in a shape tween, it still has the box around it (it shows transparent, but is still there) which makes the shape tween not work because the box hides the difference between the two shapes i am trying to shape tween.

does anybody know if there is something i can do to get around this?

im sorry if this is worded confusingly...

[F8] Please Help Creating Thumbnails From External Images
Hi Everyone,
I'm not sure if this should be posted in the XML section, because there are other problems apart from it.
I'm have a problem creating the thumbnails for my picture gallery.
I am using XML to load the image names into the loadMovie() code.
This is my script that doesn't work.
The script is on a frame referring to a movieclip called 'imgBox0' :

Code:
xmlDoc.onLoad = function() {
for (i=0; i<3; i++) {
imgBox0.duplicateMovieClip(this["imgBox"+i], this.getNextHighestDepth()+i, {_y:imgBox0._height*i});
loadMovie(xmlDoc.firstChild.childNodes[i].firstChild,this["imgBox"+i]);
this["imgBox"+i]._width = this["imgBox"+i]._width/4;
this["imgBox"+i]._height = this["imgBox"+i]._height/4;
}
};
xmlDoc.load("images.xml");
Please help.
Thank You in advance,
Skulky

Creating Dynamic Images Slider?
Hi there

I am looking to create something along the lines of www.pyott.co.uk with the animation being scrollable in all directions - left, right, up and down - I've seen some references to it called 'dynamic images slider' - does anyone know how I could create something similar? Or even what the correct name for this is?

Creating Buttons With Images On Them Dynamically?
**Nube alert**

I am making an actionscript driven site and so far I know how to make buttons dynamically and I know how to load images, but I dont know how to use those images on my buttons?

I just want my buttons "upState" to be an image, how do I write this is in Actionscript 3?


Thanks

Creating Transparent Images For Flash
I want to creat a simple Flash movie that uses some portratits of people. I have jpg images of them, but I want to cut out all the stuff around them, and have that area of the image transparent in hte Flash movie. How would I do this to have the image show this way in Flash? Could I use a Photoshop Path? Will Flash recognize paths?

Here is an example of what I would like the image to appear:
Example Picture Link

Thanks,
Sondzin

Flash MX - Creating Transparent Images
HTML Code:
] Hi,
Any one can help me how to create a image in which should be transparent and i should see the background picture through another layer which is at foreground

Creating Linkage In All Images In Library
I have 120 images in my library and need to link them all to actinscript:

-right click on image in library --> linkage --> and then check export for actionscript

Is there a way to to them all at once or do I have to continue doing this the hard way??

Creating A Scrollbar For Text And Images In MX
Hi everyone,

I want to create a customised scrollbar in Flash MX but here's the catch: I want it to scroll both text AND images (i.e. scroll another movieclip with various content), NOT just a textbox.

The tutorial here http://www.kirupa.com/developer/flash8/scrollbar.htm is EXACTLY what I want, however I've followed the instructions to a tee and it does not work as it's supposed to. As soon as you click on the scroller it jumps to co-ordinates (0,0) and the up and down arrows don't work at all - no scrolling happens whatsoever. I am thinking this is because the code was written for Flash 8 and not MX... So can anyone tell me if this is possible to do in Flash MX???

I've also followed the tutorial http://www.kirupa.com/developer/mx/s..._scrollbar.htm which was great and I've had no problems with customising the scrollbar - however this is only good for scrolling a textbox.

If anyone can help out it would be most appreciated! At least if someone could let me know if it's possible in MX that would be a start...

Thanks heaps in advance,

Michelle (Shellgrunge)

Creating A Space Between Two Images In Flash
This is the gallery I am working on. It used to have four boxes across, but I cut it down to two (which is what I want).
http://www.toxicair.org/index3.html

I want to make the boxes bigger, and I have figured out how to do that, but I am having a problem trying to get more of a space between the images. I am new to flash, but I can read some coding. I have looked everywhere and can't figure it out. When I open the flash doc, I can see the background and just one of the images, so it's basically on 'repeat' to show four images (now 2).

Can anyone look at this actionscript and see if they can help me locate where the space between the two images would be? I would Soooo appreciate it:

http://www.toxicair.org/actionscript.html

I've done a search for 'width' and 'space' in the actionscript and got nothing that worked.

I have been able to figure out how to make the images bigger, but when I do this, they smash together and there is absolutely no space between them.

I wonder if the spacing is set to 0 or something because I know there is spacing now, but it doesn't stay there when the images get bigger.

I have Flash 2004
Thanks

Creating Multiple Images With Loop
Hi!
I am doing a school project where I need to create serveral objects in a loop. The objects should be stored inside an array. These objects are supposed to be images which I should be able to move, change, resize etc. I want the images to be loaded externally (images that are not inside the flashfile). Also I want to be able to change the images shown in each of these objects.

I have no clue how to do this. I am very thankful for all help I can get.

Flash MX - Creating Transparent Images
HTML Code:
] Hi,
Any one can help me how to create a image in which should be transparent and i should see the background picture through another layer which is at foreground

Externally Linked Images And Creating Hyperlinks
I have Flash MX and want to know how I externally link images, so if the image changes in a file eg: C:My Docsimage1.png then the image changes in the flash movie without it being edited.

Also, how do I create hyperlinks, ie, how do I link an image to go to C:My Docs? I used to know how to do it, but I have just reinstalled the program, and can't remember how I used to do it.

Thankyou in advance,
PigeonHead

Creating Huge Wall Images With Flash
A couple years ago I saw a website with a Flash program that would enlarge images to huge poster or wall sized proportions. It would actually blow up your image and create tiles which you could print and assemble on your wall. There was a gallery on the site showing huge images people created.

I've lost the link to this site. Does anyone know of this or something similar?

Thanks, Gary

Dynamically Creating Images (movie Clips)
I'm kind of new to flash, but I've been following a few tutorials on AS3 and I think I know the language pretty well (just working on memorizing the functions and constants.. but that will come with time).

I'm wanting to create a dynamic image gallery, where image URLs will be loaded from an XML file and displayed on the flash scene.

My main question is, inside of my XML loop, how can I create a resized image in the scene? Since the number of images will vary, I can't create image1_mc, image2_mc etc. movie clips. They need to be created dynamically.

And how can I make them show inside of a scrollable box?

Big thanks in advance. You don't have to create anything for me, I believe in doing things myself. Unless of course you're just feeling really generous. But just some tips and/or links to tutorials will be fine!

Wes

Creating Many Images Using One External Image File
Hello all,

I'm rather new to actionscripting and am trying to display 2 images using the same external file. I have tried a lot of different things and I'm not sure what I'm doing wrong.

I understand that to insert an external image (jpg or otherwise) I must:
1) create an instance of the loader class
2) add the loader instance to the display list
3) call the loader()method to pull it in an external asset

So my corresponding code is this and it works fine with just one image:

var brickRq:URLRequest = new URLReques("target.png");

var brickLoader:Loader = new Loader(); // step 1
brickLoader.load(brickRq); // step 2
brickLoader.x = 15; // set coords
brickLoader.y = 35;
addChild(brickLoader); // step 3

But if I try to add a second brick, only the second brick appears and this is the way I add the second brick.

brickLoader.x = 35; //new coords
brickLoader.y = 55;
addChild(brickLoader);

Whatever the last x,y value is, that image is displayed but what about the first image? I've tried to create a sprite and loaded the image into the sprite but I am encountering the same problem. I've been stuck on this for days.

If anyone has any ideas or hints what I should be doing, please, I would appreciate it.

-m

LocalToGlobal Creating Images That Slide Onto The Stage
Hello, I have been trying to create an effect that I have seen quite frequently where images slide onto the stage and stop always in the same location. Hard to explain here is an example: http://www.mediaranch.net

skip the intro and check out how they are sliding clips and stills back and forth.

I would like to achieve this with actionscript. However I have run into a problem where the coordinates are not the same for my subMovieClips as with my main stage? I have been beating my head on this subject for quite a while and thought now is time to ask for some help. I don't seem to have any grasp on how the submovie clips coordinate space relates to the main movie?

If anyone can point me in the direction of a good tutorial or shine some light on this subject it would be greatly appreciated.

If you made it this far thanks for reading all this.

Creating A Scroll Bar For A Series Of Dynamic Images?
Does anyone know of a good tutorial that shows how to do tihs?

I am trying to create a series of images inside of a width constraint that would have a scroll bar to go through these images. It would display approximately 4 images at a time inside of the width constraint, and there would be around a total of 10 images.

Creating Gallery So People Can Save Images
Seems an ideal thing in a portfolio gallery is so a potential recruiter could save images an artist has done. I could be wrong.

But is there any way in flash to make it so viewers can save the images in the gallery.

My gallery will be XML/Flash so the images will already be seperate files on my server.

I have heard there is php way, but I would rather not go that route, unless its simple.

Help With Creating Movies And Loading Images Into Mc Instances
Hi all,

This is my first attempt at using as3 and I am a little confused. I have attached my code below. Basically, I am aiming to generate 4 movie clips (mc1, mc2, mc3, mc4) and into each of those movie clips, load an image into another movie clip (mc1a, mc2a, mc3a, mc4a).

Ctrl+L shows that my movie clips are being created, but I cannot see them on the screen.

Any help would be greatly appreciated.

Thanks,
Paul


Code:
package {
import flash.display.Sprite;
import flash.events.MouseEvent;
import flash.display.Loader;
import flash.display.LoaderInfo;
import flash.net.URLRequest;

// Add sprites
public class showcase extends Sprite {

public function showcase() {
init();
}

private function init():void {

var image1:String = "../images/showcase/thumb_item1.jpg";
var image2:String = "../images/showcase/thumb_item2.jpg";
var image3:String = "../images/showcase/thumb_item3.jpg";
var image4:String = "../images/showcase/thumb_item4.jpg";

var mc1:Sprite = new Sprite();
var mc1a:Loader = new Loader();
var url1:String = image1;
var urlReq1:URLRequest = new URLRequest(url1);
addChild(mc1);
mc1.width = 150;
mc1.height = 150;
mc1.x = 0;
mc1.y = 0;
mc1.addChild(mc1a);
mc1a.load(urlReq1);

var mc2:Sprite = new Sprite();
var mc2a:Loader = new Loader();
var url2:String = image2;
var urlReq2:URLRequest = new URLRequest(url2);
addChild(mc2);
mc2.width = 150;
mc2.height = 150;
mc2.x = 150;
mc2.y = 0;
mc2.addChild(mc2a);
mc2a.load(urlReq2);

var mc3:Sprite = new Sprite();
var mc3a:Loader = new Loader();
var url3:String = image3;
var urlReq3:URLRequest = new URLRequest(url3);
addChild(mc3);
mc3.width = 150;
mc3.height = 150;
mc3.x = 300;
mc3.y = 0;
mc3.addChild(mc3a);
mc3a.load(urlReq3);

var mc4:Sprite = new Sprite();
var mc4a:Loader = new Loader();
var url4:String = image4;
var urlReq4:URLRequest = new URLRequest(url4);
addChild(mc4);
mc4.width = 150;
mc4.height = 150;
mc4.x = 450;
mc4.y = 0;
mc4.addChild(mc4a);
mc4a.load(urlReq4);
}
}
}

Two Questions: Creating Buttons & Form For Sizing Images
Hi there. I'm seeing some talk about creating movie clips to make buttons and I'd really like to create buttons that look like... well the buttons above this message. With a little symbol and words... can't seem to find a "how to" on making buttons like that. I'd appreciate any direction or tutorials on that. Thanks.

Also, here is my bigger problem. I'm racking my brain trying to figure out how to create a way to click on a b/w pattern and have the user be able to size the pattern by percentage and then print it the way they sized it. Make sense? Any help at all would be greatly appreciated. Thanks all!

Amy

Creating An Index For Externally Linked Images/clips?
k, this might get confusing... i know i'm confused trying to work it out. i'm hoping someone here can help me. it might help to look at the movie i'm talking about. it's located at:
http://s123415833.onlinehome.us/blunt2/blunt2.swf

if you don't wanna type all of that or if i've got a typo in that ridiculous addy, you can go to www.liveblunt.com and click the link that says "blunt magazine".

anyway, it's a virtual magazine running with each seperate page linked as an external image/swf file. i'm trying to build an index for it. the goal is to create a menu that you'd be able to click and the corresponding magazine page would show up.

i've tried several other methods for this. i've hated how inefficient all of them were. an example: i tried to create a seperate "magazine" with start pages being the article heading being clicked. each seperate magazine was on a different scene, so the illusion of going through the magazine was maintained, but really the user was jumping all over the movie. that seemed like a lot of wasted effort.

i'll post the actionscript on here if it's necessary, but i think what i'm looking for is a way to implant a pointer or "bookmark" variable value from a button in the _root level of the movie into the _root.magazine level of the movie.

i hope that makes sense. help of any kind would be greatly appreciated.

Creating A Particular Rollover Effect When Moving Cursor Over Images, Help
Hello,

my dad wants to have a particular rollover effect for his flash website, he gave me this link as an example:

http://www.templatemonster.com/flash-templates/12983.html

If you go to it, and move the cursor over the small corporate images, you will see the effect. What's the best way to achieve this? Creating a movie clip? I don't know what actions I need to use... I'm still petty new to Flash, any advice would be highly appreciated.

Thanks

Creating A Movie With Images (narration) Vegas? Flash? RM? Livemotion?
Basically, I am creating a small book for online viewing.

It's a real book (published) about 20 pages long, childrens book. All I'm doing is scanning the images, adding music and narration as well as some effects (moving the image, panning in, out, etc, etc....)Have/own most platforms but have never used them for this type of project. Any feedback would be great.

Wanted a opionion on the best platform to do this with keeping file size (bandwidth) in mind for both highspeed and lowspeed users.

thanks.

Creating Interactive Images Where Section Colours Can Be Changed By Viewers?
Hey,

im new to scripting, and am tryin desperatly to make a componant for dreamweaver in flash. i want to have a picture of a Nike shoes but have editiable sections such as the ticks, where viewers of my web page can change colours online?

Any help would be appriciated,

my email is vixytrixie@hotmail.com

cheers

Strange Problem In Creating A 360 Model With Dynamicly Loaded Images...?
Hi there,

I'm creating a 3D "spinaround" 360 model, from 40 images of the model.
I want the 360 "spin" to run as smooth as possible with the dynamicly loaded images.

I'm loading the images with a MovieClipLoader object, and afterward placing them on a timeline in another movieclip. I've created a layer for each image, because I couldn't get it to work when all placed in one layer.

Now I've tried a million different setups, but can't get it to work with more than 23 images???

Can't Flash handle more than the 23 images in a movieclip??? Or is it perhaps the number of movieclips in the main movieclip, with an image placed in each that is screwing things up...??

Here's a link to the flashmovie I've createt so far...

The first couple of turns to the right should run pretty smooth, but then it goes wrong...?

http://www.plusidentity.dk/360/MCL_2.html

Any suggestions will help, because I'm out of ideas.

/JBOY

How To Prevent Flash From Auto-creating Symbols When Importing Images...
Hello,

Using flash CS3, and importing .png files.

Whenever I import the images to the "library", flash auto-creates graphic symbols for each image I import.

Considering the size of my library, it's starting to get filled with clutter because it's becoming hard to distinguish what symbols are actually needed and which ones were the auto-created ones.

I looked in the preferences but couldn't find anything relating to it. Does anyone know why this is happening or how to prevent it??

Thank you in advance.

Help With Creating Dynamic Images Inside A Scroll Bar Referring To Kirupa's Tutorial
I have read through the tutorial posted here on creating a scroll bar in flash: http://www.kirupa.com/developer/flash8/scrollbar.htm

It worked great, when the content in the contentMain movieclip was static. However I am using this scroll bar application to create a variable amount of images in content main. So I started off with something simple, and put this actionscript code in the contentMain movie clip its self:

var regName:String = "watermark";
var mcName = "watermark";
var corner1:Number = 0;
var myHeight:Number = 0;
var colorVal:Number;
var xPos:Number = 100;
var yPos:Number = 30;
_global.totalContentHeight = 0;
for(var i = 0; i < 30; i++){
mcName = regName + i;
this.attachMovie("watermark", mcName,700+i);
eval(mcName)._x = xPos;
eval(mcName)._y = yPos;
xPos = xPos + 200;
trace(xPos);
if(xPos > 800){
yPos = yPos +200;
xPos = 100;
tempyPos = 0;
}
}
note: The image inside the watermark clip will be dynamic, however the width and height of that image is static.

Inside the watermark movieclip's action pannel is this code:
this.lineStyle(1,0,100);
this.beginFill(0x00FF00,100);
this.moveTo(0,0)
this.lineTo(0,160);
this.lineTo(160,160);
this.lineTo(160,0);
this.endFill();

to draw a simple box.

Now the problem is that the height of contentMain is thrown way off from all of this. If I do a contentMain._hieght I get a value of 0, even after calling the scrolling function after attaching all the watermark movieclips.

So I keep track of the total height of contentMain after the movie clips are attached, and use that global variable instead of contentMain._height in the scrolling function. What results is a scroll bar that is functional, but a variable amount of white space resulting after the images are done being displayed (of about 3 times the running tally of the contentMain height in theory).

This is all based off the assumption that in theory, the height of contentMain, should be the height of all the MovieClip's attached to contentMain, + their padding between them.

If the movieclips being attached are drawing a 160x160 square starting at 0,0; then their height should be 160 as well. So pad them by 40 pixels (yPos = yPos + 200) and yPos + 200 should be the total height of contentMain after attachign the movieclips.

contentMain lies at position 0,0 on the masked layer for the scroller, and when it's y value is equal to the total height tracked above (the negative value of it) minus the masked height, but that is definetly not right. Anyone have any ideas as to why this is happening?

Creating A Calculator In Flash - Type In Numbers - Add Movie Clip Images Together
Hi,

I am trying to create a Hieroglyphic Calculator in Flash. An example is shown here http://www.isomedia.com/homes/mjohns/calc.htm written in Javascript.

I want to build a similar thing in Flash by Assigning Movie Clips to numbers up to 1 million with add and subtract functions.

I am not expecting anyone to code this but any suggestions on how it could be done or previous examples of a similar sort of thing would get me started.

Thankyou!
Ben

Tutorial: Creating A Flash Form + Creating Php To Send Email
I came across a great tutorial for those of you who do not know how to create a flash "contact" form and how to create the php file to go with it.

http://www.kirupa.com/developer/acti..._php_email.htm

Enjoy!

Creating A Tunnel Effect/ Creating Snow On Tv
I'm trying to create two effects and I'm new to using swish. Anyone have some hints on how to make a 3D tunnel effect- as if the person viewing is entering a winding hole going down.

I'm also trying to make an effect of snow on television (the static you get when you don't have any reception). Any hints?

Thanks

HELP-creating Links To .doc's And Creating Forms In Flash 5
right, how do i create a button in flash 5 that when pressed downloads a .doc file onto their desktop?(and how do i link to the .doc file?)

also how do i create a form in flash 5?

hope someone can help!!

mavis

Creating Animations / Creating Websites In Flash 8
I am trying to find some advanced animations for Flash 8 as well as information on how to build a website in Flash.

I am not exactly sure where i can find these questions out. I need websites that have tutorials that go step by step for beginners because I tried a simple custome scrollbar tutorial on here and got lost. It integrated all this actionscript but never told me where to put it or anything.

Get back at me asap if you can help.

Thanks

cd2502

Creating Arraey And Creating Element
i am trying to creat an array dynamicly by need using action script,
i made a new arrey by:

set("Names"+Number(i+1), new Array());

now i want to put, dynaimcly, elements into the array:

set("Names"+Number(i+1)+"["+z+"]", "myElement"); <-this one this not work! i try to use eval in many ways but nothing...

i am stack!
anyone?

Pulling Images From Folder/txt File, The Images Loop With Delay?
I would like to have a flash movie where images change from one to the next with maybe a 10second delay, and it will loop over n over.

I want flash to take images from a folder or a .txt file stating where the images are found so adding new photos or removing photos from this looped movie will be a breeze.

Any help would be greatly appreciated, thanks!

Load All Images From The Images In 1 Folder (named By Random Number)
Hi Guys,

I've got a gallery style viewer, you click on an image and it enlarges. It pulls in images which are numbered 1 to 12 in a folder called 'images'. I want it to pull in randomly numbered images instead. so i suppose i want it to search the folder for images named 1.jpg up to 1000000.jpg and pull them in.

I've uploaded it to: www.dhardy.co.uk/gallery.zip as it'll become clearer then!

Thanks in advance! dave.

Bad Quality For JPEG Encoded Images ,,<***(sample Images INSIDE)***>
I have noticed that the quality of the images produced by the JPEGEncoder does not match that of other encoders available (i.e. php’s built in image compression functions from the gd library)

Any explanation ? or hints/workarounds for improving the quality of compressed images by JPEGEncoder ??

Please have a look at the following samples:

original image:
http://img212.imageshack.us/img212/5930/67624460qh5.jpg
Size: 110KB

Image encoded with JPEGAsync (same effect with JPEGEncoder):
http://img136.imageshack.us/img136/3554/77570198qp0.jpg
Size:46.7KB

Image encoded with Php’s built-in functions (gd library):
http://img382.imageshack.us/img382/7751/1492if8.jpg
Size:33.4KB
Much smoother than the JPEGAsyncencoder and JPEGEncoder version.. and smaller too


Any hints ? or workarounds to improve the quality of the encoded images ?

Images Pulled From Folder/txt File, Images Loop With Delay?
I would like to have a flash movie where images change from one to the next with maybe a 10second delay, and it will loop over n over.

I want flash to take images from a folder or a .txt file stating where the images are found so adding new photos or removing photos from this looped movie will be a breeze.

Any help would be greatly appreciated, thanks!

Images Pulled From Folder/txt File, Images Loop With Delay?
I would like to have a flash movie where images change from one to the next with maybe a 10second delay, and it will loop over n over.

I want flash to take images from a folder or a .txt file stating where the images are found so adding new photos or removing photos from this looped movie will be a breeze.

Any help would be greatly appreciated, thanks!

Images In Layers Being Hidden By Transparent Parts Of Other Images?
I am having a weird issue with Flash MX. I am working on a design, and I have images that are being hidden by the transparent section of other images. Basically I have 10 layers. Each layer has a piece if an image. They all kinda fit together to make one big image. But the problem is that even though none of the pieces overlap some layers seem to be hiding others. All the images are transparent png images. I have tried this with gif images as well and the problems still are there. Am I missing something totally easy here? Or is this some bug? Any help would be greatly appreciated.

Thanks,
Bill

Loading External Images Randomly, Getting The Amount Of Images Out A *.txt
hello there!


i've made an a script that loads images externaly from a specific map
randomly. there's only one thing:


how can flash learn to know how many images are loaded?


it's for a client so he can only upload the images and that's it.
can he somehow fill in a *.txt-file that flash can use further???


this is my sourcecode for the external-stuff:

code:

_root.importImage = "background_netomzet"+random(*)+".jpg";



(the * has to be a value that needs to be generated by how many pics
there are in the image map")


thanks a million people!


g

Is It Possible To Upload Images From CMS To Update Images In Flash Movie?
Hi,

I've got some developers working on a job that I'm project managing. Check it out by clicking here.

On the home page, you will notice a Flash movie of images of cars that fade into each other. My client wants to know if it's possible for him to be able to update the images of the cars (when the model gets out-of-date) from the CMS. Is there a way of updating the images from the CMS? The site is scripted in php on a Linux server. Any help will be greatly appreciated.

Regards,

Dan

Copyright © 2005-08 www.BigResource.com, All rights reserved