Ask a Question related to Macromedia Flash, Design and Development.
-
Andy #1
image swap
I'm trying to do something that's incredibly simple in Director but can't
figure it out in flash.
I just want to click a button and change "image 1" to "image 2" (a movie
clip). But I want to do this without moving to a different frame.
Thanks!!
Andy Guest
-
Need Help with swap image
:confused; I've got this page with a Spry collapsible panel in it. No problems getting that to work, but I'd like to be able to use an image in the... -
Swap Image ?
I have five images named image1 to image5, and five buttons named butt_1 to butt_5. What I want to achieve is a simple swap image behaivour but... -
Swap image also swap link
Hi, I have a system set up where I have 5 thumbnails and when you roll-over one of the five it makes the large image above change to the... -
Fading image swap
Hey there, Do you guys know how to do a fade in/out image with a swap image activated on over state mode? Im trying to create this effect... -
pop-up menu and swap image help
URL?? -- BR "foosball is th' DEVIL, Bobby Bouchet" "aserecuba2886" <webforumsuser@macromedia.com> wrote in message -
Brandon Bradley #2
Re: image swap
You can do this by creating a empty movie clip and a assigning it a
instance name such as mc_holder (Alternately instead of a empty
movieclip you could have your first picture in it to start out with.)
Then use the load external movieclip behavior to swap load in your other
pictures (must be jpeg, and can NOT be interlaced) on whatever event
(rollover, press, etc) that you want.
This will let you pull external jpegs in dynamicly at run time, but
requires that the jpegs be published along with your swf. If you wanted
to keep everything embedded it could still be done, but would be harder
to update and require a bit more coding on your own instead of using
behaviors. (you would have to create multiple movieclips and assign each
linkage identifiers to begin with.) But I am hoping this simpler method
will fill your needs.
Best of luck
Brandon Bradley Guest
-
Johnny Walker #3
Re: image swap
> I'm trying to do something that's incredibly simple in Director but can't
You can make a movie clip with two frames. One with image 1 and the> figure it out in flash.
>
> I just want to click a button and change "image 1" to "image 2" (a movie
> clip). But I want to do this without moving to a different frame.
other with image 2.
when you click your button, you tell the movie clip to go and stop at
frame 2 (my_movieClip.gotoAndStop(2)), so the movieclip moves to a
different frame but your main timeline doesn't.
Also, you can have both images in the stage at the same time (inside
their corresponding movieclips). At the begining, you set movie 2 to
invisible and when you click the button, set movie 1 to invisible and
movie 2 back to visible with the boolean property: my_movieClip.visible
Hope this helps or gives you new ways of thinking that lead you to the
answer.
JW
Johnny Walker Guest



Reply With Quote

