Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-10-2008, 04:57 PM   PM User | #1
losse
Regular Coder

 
Join Date: Mar 2005
Posts: 240
Thanks: 1
Thanked 0 Times in 0 Posts
losse is an unknown quantity at this point
playing a flash file only on one page

Hi there
Got a flash file on every page of my site. The swf has a small animation, however, I would only like that animation to play on the homepage... not on the other pages of the site... Just wondering if there is anything I can do to the file so that it only plays on index.php... on every other page it should go "go to and stop" at a specific frame...

Thanks
losse is offline   Reply With Quote
Old 11-10-2008, 05:22 PM   PM User | #2
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
Don't put it on the other pages then? Maybe I don't understand the issue but if you don't want it to play, then take off the swf. If you want a different version of the same file to play, I would make two different ones, one for the homepage and one for the rest.
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Old 11-10-2008, 05:43 PM   PM User | #3
losse
Regular Coder

 
Join Date: Mar 2005
Posts: 240
Thanks: 1
Thanked 0 Times in 0 Posts
losse is an unknown quantity at this point
actually I just want to show the swf but after the tween... I should have mentioned that... its just annoying seeing the tween evertime you click on a new page... the swf is on the header...
losse is offline   Reply With Quote
Old 11-10-2008, 05:59 PM   PM User | #4
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
Just make a second copy, that is easiest I think, without the tween. Otherwise you have to rely on some other language like PHP or JavaScript, and that just gets more complicated IMO.
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Old 11-10-2008, 08:47 PM   PM User | #5
losse
Regular Coder

 
Join Date: Mar 2005
Posts: 240
Thanks: 1
Thanked 0 Times in 0 Posts
losse is an unknown quantity at this point
Good call! thanks
losse is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:56 PM.


Advertisement
Log in to turn off these ads.