Please excuse my infancy with flash but i need help again. I
have been tring for 3 days now to figure out how to do this. I have
simple text on a page. I want to click on it and have it pull a img
up to view it. Just the image itself no window or background. Any
help would be greatly appreciated.
I am also doing the same thing but wanting a image gallery i
made t come up to view….|||
You can either convert your text to a button, or place an
invisible button over it (instance name of btnText – or whatever).
To load an image, you can simply create an empty movie clip, place
it on the stage, give it an instance name of mcEmptyClip, then on a
frame use the code:
btnText.onPress=function() {
mcEmptyClip.loadMovie(“path to image.file extension”); //
example mcEmptyClip.loadMovie(“image1.jpg”);
}|||
I so much appreciate the help. I cant get it to work. I must
be doing it wrong.|||
If you can upload your fla file and provide a link, I can
look at it (or you can email it to me).|||
ok..i sent it in email..title fla file from Dorej.|||
Templates can be the worst things to use in trying to learn
Flash. Most templates are overly coded and really messy in
structure. I wasn’t too sure what you wanted to accomplish. I
didn’t know where you wanted extra image to appear, but I created
something you can pick apart and learn from. In the scrollingPage
movie clip, I’ve added a movie clip to act as a place holder for
viewing additional images. It is invisible at first until you click
on Creative Kitchen Designs (I converted that text into a button).
Once clicked, my image window appears and lets you go back and
forth to view images. I just pulled some images from your library.
On the top layer of scrollingPage, you will see some actions along
with the top layer within image loader clip I created. See if you
understand anything I did, and let me know what questions you have.
The best way to learn Flash is to take one task at a time, start
with a new flash file, and learn one thing at a time. This template
has too many nested movie clips for anything to make sense to some
one starting out in Flash.
View my edit flash file
here.|||
Thank you. I am so grateful, you ahve givin me alot to work
with,|||
You are welcome. I know that movie clip I created is small,
but I sized it according to your images. You can look at the code
and hopefully learn how it all works and apply that to your own
creations later on.|||
ok. is it possible to make the link pull up in a separate
window without closing the site. i want to be able to display a
photo gallery by pressing a link and having it open in its own
window. but without leaving the site.
Dreamweaver has a behavoir that allows me to open a new
window on a link but i dont know if something like that can be done
with flash or not.
I will try to explain what i am doing. My photo gallery i
have made is separate from the flash site. So when i click on the
gallery link, i want the swf of the gallery to pop up in its own
window on top of the page im on. Right now it leaves the site and
goes to the page, which stops the music of course and leads me to
have toput a back button to return instead of just closing
window.|||
Please don’t post the same question in multiple forums.
Related posts:
- iframes: hide an image outside of iframe when link is clicked
- How to embed a link image with pop up windows?
- How to embed a link image with pop up windows?
- Gallery – Link from large image
- Having trouble opening a .swf in a movie clip
Related posts brought to you by Yet Another Related Posts Plugin.