This is a discussion on "How do I trigger an action when one swf is swapped for another?" within the Flash & Multimedia Forum section. This forum, and the thread "How do I trigger an action when one swf is swapped for another? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
How do I trigger an action when one swf is swapped for another?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
How do I trigger an action when one swf is swapped for another?
Well, here I go again. I am able to perform a certain action when a particular .swf is loaded into a blank movie clip.
My question is, how do I reverse what I started and trigger another action when my particular .swf is being swapped out for another? I'm new at this so I don't really have any clue at all, especially in terms of ActionScript syntax... You can can see what I mean at www.thekeelings.org/audible - Click on "Services" and then on "Graphic Design" In the area where the Red bar is loading ---- I want to show this area when the graphic design page is displayed, then hide it when the user moves on to another. Last edited by Keeldog; Apr 24th, 2007 at 22:07. |
|
|
|
#2
|
|||
|
|||
|
Re: How do I trigger an action when one swf is swapped for another?
Hmm, if that section is a movie clip you can use actionscript to change the alpha of the object, therefore "hiding" it.
It'd look something like this:
Cheers, Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
#3
|
|||
|
|||
|
Re: How do I trigger an action when one swf is swapped for another?
Thanks getting me on the right track. I'll see what I can come up with.
|
|
#4
|
|||
|
|||
|
Re: How do I trigger an action when one swf is swapped for another?
Great, let me know if you run into any snags.
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
#5
|
|||
|
|||
|
Re: How do I trigger an action when one swf is swapped for another?
Here is another slightly different method to accomplish the Alpha Transparency effect. I make it super easy to understand and reuse over and over again. Article located here.
|
![]() |
| Tags |
| actionscript, swapping, swf |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| trigger onchange | niko79 | JavaScript Forum | 2 | Jan 10th, 2008 12:46 |
| how to change button action into a movieclip button action | cjrollo | Flash & Multimedia Forum | 7 | Nov 21st, 2007 17:07 |
| IE Active X trigger? | Lchad | Web Page Design | 0 | Feb 9th, 2007 11:52 |
| insert image trigger by variable value from a form | kyk | JavaScript Forum | 5 | Aug 19th, 2006 09:15 |
| Help with the following action. | mrmag2000 | Web Page Design | 3 | Jul 8th, 2005 12:26 |