Skip to main content
Participant
January 27, 2014
Question

Flash Image Gallery

  • January 27, 2014
  • 1 reply
  • 487 views

Hi to all,

I'm trying to create an animation slider with 4 images and 4 buttons in Adobe Flash CC.

Everything works fine till i put one transition on images (Motion Tween).

I created/converted to symbols as movie clips (mov1, mov2,mov3, mov4)

The problem is when i create motion tween on a image i can't write in Action to "stop()" the images when i play the  entire flash.

is any explain into this?

Maybe is different in Flassh CC and i'm doing wrong ?

Thanks in advance for answers

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
January 27, 2014

You will need to explain how you have designed this.  It is not clear if you are using the timeline or code or both.

Participant
January 27, 2014

ok maybe one screenshot and the code maybe can help you more :

the code :

stop()

btn1.addEventListener(MouseEvent.CLICK,play1);

function play1(event:MouseEvent): void{

          gotoAndStop("final");

}

btn2.addEventListener(MouseEvent.CLICK,play2);

function play2(event:MouseEvent): void{

          gotoAndStop("oil");

}

btn3.addEventListener(MouseEvent.CLICK,play3);

function play3(event:MouseEvent): void{

          gotoAndStop("salt");

}

btn4.addEventListener(MouseEvent.CLICK,play4);

function play4(event:MouseEvent): void{

          gotoAndStop("sugar");

}

After this, i go to each image and i use "Convert to Symbol" and i use Movie Clip and i use names like mov1, mov2, mov3, mov4.

Double click on a image i open it on timeline and i pute 10 frames (copy/paste fames) and i create Motion Tween.

On the 1st frame of image i use color : Alpha from properties to get fade

The problem is when i play the flash goes back and play all over from the start. i need to write in actions to "stop()".

But when i created Motion Tween the action in that image was disabled and i can't write.

and i don't know where i'm wrong  :/

Participant
January 27, 2014

i think i found it.

when i make double click and i open the image, i make copy 1st frame and paste into frame 10.

then i select frame 10 and i go to Actions and i put there for frame 10 the "stop()"

after that i create Motion Tween.

at least is working

but i can't go again to Actions to edit or delete the commands..it says : Select a single frame to apply or view ActionScript.

After Motion Tween the Action is Locked and i don't no why is doing that..