Welcome to WebmasterWorld Guest from 54.159.19.75

Forum Moderators: open

Message Too Old, No Replies

Multiple Events in a Single Flash Movie

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

Preferred Member

5+ Year Member

joined:Mar 30, 2006
posts: 399
votes: 0


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 June 29, 2008 (gmt 0)

Preferred Member

5+ Year Member

joined:Mar 30, 2006
posts: 399
votes: 0


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

Senior Member

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

joined:Nov 12, 2005
posts:5966
votes: 0


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 July 16, 2008 (gmt 0)

Preferred Member

5+ Year Member

joined:Mar 30, 2006
posts: 399
votes: 0


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 July 16, 2008 (gmt 0)

Senior Member

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

joined:Nov 28, 2004
posts:7999
votes: 0


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 July 17, 2008 (gmt 0)

Preferred Member

5+ Year Member

joined:Mar 30, 2006
posts: 399
votes: 0


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 July 18, 2008 (gmt 0)

Preferred Member

5+ Year Member

joined:Mar 30, 2006
posts: 399
votes: 0


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

Preferred Member

5+ Year Member

joined:Mar 30, 2006
posts:399
votes: 0


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