loading images

Tamiko
Tamiko used Ask the Experts™
on
I need a script that will allow me to load images in a viewer. something simple! I want to create a slide show.  I looked at some samples but sometimes actionscript gets too unfriendly for me.  I'm looking for a step by step process to use the script and load the images without much hassle.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
you don't really have to load the movie...

here is what you can do.
1st, you load the images on the screen one by one.
Next, select the image and and press F8. Make them as graphic.
Next, right click on the image, select panel-->effect
Choose Alpha at the effect.
reduce it to 0%

switch the Alpha back to 100% at the time you want.

Hope that this will do the job.

I think this is what you mean
I would not use the Alpha setting just to hide an image... Typically that slows down the SWF because of the load it puts on a processor.  

you should put each image into a movie clip and place then out side of the stage area.  Then use the code below anytime you want to put an image on the stage...

_root.movieclip1._x = 50;
_root.movieclip1._y = 50;

this will place the movieclip1 at (50, 50) coordinates on the stage...


It sounds like you need to go to www.flashkit.com and find a tutorial for this...  you can probably even find a .fla that does exactly what you want...

rp

Author

Commented:
Thanks rascalpants and guoyong for your suggestions...

I tried flashkit first but there picture slide shows were to complex, I mean they added some xtra stuff that I wasn't interested in. all i want is to show a little box that display one pic after the next when you click on the buttons. i don't want it to be automatic flow.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Commented:
How about using scene to get the job done.

I think that is the only way...

Commented:
Hi,

Create a button in a new layer. Assign 'mouse on' and 'go to and play(pic_num). Put pic1 in frame 1,pic 2 in frame2 etc...

In frame2, assign another button(press F6 to cut the frame) and assign 'mouse on' and 'goto n play()'.

Just repeat this action. :)

Author

Commented:
okay here's a pic of what i want to show the pics in....will your advice work for this fishopps?  www.msu.edu/~barneyau/picture-viewr.html

Author

Commented:
okay here's a pic of what i want to show the pics in....will your advice work for this fishopps?  www.msu.edu/~barneyau/picture-viewr.html
Tam,

with the SWF that you showed up, you would just need to place the following code in the buttons:


back button:

on (release) {
      prevFrame();
}


next button:

on(release) {
      nextFrame();
}

then use place a picture in each new frame...

- just make sure that your buttons are in each frame by extending them to the last picture frame.

that is the absolute simplest way to create an image view that I know of...

rp
let me know if you want me to email you the example .fla that I made... just give me your email address...

rp

Author

Commented:
hotpink527@attbi.com

Author

Commented:
Thank you very much!
no problem...

Commented:
Sigh...I was going to answer this question....
Tamoki...next time mail me to discuss the flash problem
:)
I'm a little too quick for you fishopps ;)

rp

Commented:
lolz rascalpants :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial