Flash
Hi everyone.
I have a Flash banner I made that will be featured on a tabbed site. I want to make it so the end user doesn't have to see the intro start over if they click that tab again. It would just show the last frame. Is there a way to do that with Action Scripting or do I need some other form of programming script?
robcg posted this at 01:44 — 22nd January 2002.
They have: 4 posts
Joined: Jan 2002
you might be able to use javascript to comunicate with flash.
however, im a little confused if it's a banner or intro. it sounds like a banner and it's on every page?
do you have a link?
robert
TonyMontana posted this at 01:54 — 22nd January 2002.
They have: 218 posts
Joined: Apr 2001
Sure, you could do that in Flash, in the following way, assuming the 'tab' button was in the same .swf file as your intro.
After the intro, if the playhead stops on the last frame of your MC tab, you could change it's visibility to 0. On your button tab:
on (release) {
if (_root.tab._currentframe == _root.tab._totalframes) {
_root.tab._visible = 1;
}
}
...and the last frame re-appears. That's one way of doing it. Other than that, you might want to look into Javascript commands for controlling Flash outside of the .swf file.
TonyMontana
aka MethodAir
http://www.electricmountain.com/home.htm
Shotaker posted this at 17:09 — 22nd January 2002.
They have: 48 posts
Joined: Apr 2001
Thank you Montana! I'll give it a shot!
DC_Sara posted this at 21:55 — 22nd January 2002.
She has: 392 posts
Joined: Jan 2002
Tony, I have to tell you I think your site is the coolest. I just visited it and looked around...great work!
Sara
TonyMontana posted this at 22:27 — 23rd January 2002.
They have: 218 posts
Joined: Apr 2001
Thanks Sara! Glad you enjoyed it. When we opened our studio last April, the webmaster who was going to design our site didn't call back, so I picked up a 'Visual QuickStart' HTML book and went from there.
Now I'm glad he didn't call back,
TonyMontana
http://www.electricmountain.com/home.htm
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.