Welcome to WebmasterWorld Guest from 54.146.171.44

Forum Moderators: open

Message Too Old, No Replies

Multiple Events in a Single Flash Movie

   
3:38 am on Jun 27, 2008 (gmt 0)

5+ Year Member



The scenario is as follows: I have a slideshow with a fade in transition and I have three slides.

I want to assign different events for each slide when comes to display.

Whenever I try to run the slide, I displays only one event and not the other events.

Please help

12:43 pm on Jun 29, 2008 (gmt 0)

5+ Year Member



rocknbill help
7:23 am on Jul 16, 2008 (gmt 0)

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 5+ Year Member



How are you doing with this? You figure anything out yet? Can you provide a little more information - how are you setting the events?
11:23 am on Jul 16, 2008 (gmt 0)

5+ Year Member



just had this issue cleared.

the scene is like this:
5 images and 5 transitions with fade in effect.

whenever a transition occurs , I added a key frame in a new layer and added action specific to the corresponding frame.

Earlier I tried to use events in a common action layer, but only later i found out the flash doesnt support propagating events.

5:54 pm on Jul 16, 2008 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



When you say "cleared," do you mean you solved it?

But it does support propagating events - look at the preloadImage function in this earlier thread [webmasterworld.com]. Note how that function creates a listener object, assigns various attributes to the listener, then attaches the listener object to the movie clip, which is dynamically created.

3:21 am on Jul 17, 2008 (gmt 0)

5+ Year Member



dear rocky,

The issue was over but Im not satisfied with the ways things worked

i was using the time line not the actionscript for the images.
And I m trying to do a new one with the code pasted in the other thread.

4:54 am on Jul 18, 2008 (gmt 0)

5+ Year Member



how will you add events for a multiple number of objects in a external action script class in AS 3.
3:16 pm on Jul 18, 2008 (gmt 0)

5+ Year Member



something like a simple calculator with events in a single external actionscript file