Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Mar 2005
    Posts
    240
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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.

  • #3
    Regular Coder
    Join Date
    Mar 2005
    Posts
    240
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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...

  • #4
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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.

  • #5
    Regular Coder
    Join Date
    Mar 2005
    Posts
    240
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Good call! thanks


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •