Playing movie once when visiting page

This is a discussion on "Playing movie once when visiting page" within the Flash & Multimedia Forum section. This forum, and the thread "Playing movie once when visiting page are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 23rd, 2004, 14:17
Reputable Member
Join Date: Oct 2004
Location: Mobile, AL USA
Age: 46
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to autumn_whispers2me Send a message via Yahoo to autumn_whispers2me
Playing movie once when visiting page

WHY I'm having so much trouble finding answers in the tutorials within the program is beyond me. So here I am again.

Okay, since the open in new window thing messes with popup blockers... I'm foregoing that idea. But now that creates another problem: When people go BACK to the main page with the movie on it... the movie starts over. That's annoying too. lol

Now how would I fix this? How annoying to have to wait for the darn movie to play again when all you want to do is go back to the page with the links.

I'm still practicing... and here's an example of what I mean:

http://www.thecorridors.com/lost_souls_midway.html Coming BACK to this page restarts the movie. Also, this is the movie I wanted to add mouseover sounds to... just short, brief, soft sounds.

I did a search in Flash because I KNOW I saw a tutorial once that was about setting the movie so it doesn't play over every single time you go back to the page. Or.. was it my imagination? lol

  #2 (permalink)  
Old Nov 23rd, 2004, 16:44
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
There is no easy way to do this.

The only way I can think of, uses Actionscript to set a 'Flash cookie' to remember that you already visited and act on it, if it exists, to skip the intro of your movie. Unfortunately this is quite a high level of Actionscript and will probably make no sense at all...

http://www.webforumz.com/?ContentID=6&CategoryID=4

I can completly understand you screaming and running away from your computer after seeing that, so if it's a bit OTT, upload your FLA and let me add the code. It doesn't take long.
  #3 (permalink)  
Old Nov 23rd, 2004, 17:13
Reputable Member
Join Date: Oct 2004
Location: Mobile, AL USA
Age: 46
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to autumn_whispers2me Send a message via Yahoo to autumn_whispers2me
Well, it did leave me brain a-tinglin', but I don't smell burning rubber so I think I'm okay. LOL

The idea of this programming sort of intrigues me, though.. I have to admit. So does code require any additional coding changes, or is it left as is? Is there a way in Flash to manually insert that?

I probably can't do it myself, but I'm still curious as to 'how' it's done. :razz: BUT, once this code is in place... they would literally have to delete their cookies in order to see it play again, right? Or is there something in the actionscript that can determine when a cookie expires? Or... am I just in fantasyland at this point?

Seriously... this stuff intrigues me. Probably not something one can learn on their own, I assume? Classes needed??
  #4 (permalink)  
Old Nov 23rd, 2004, 20:02
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Like I said, the code is all in the article I linked to. But Flash cookies are different... You set something and it lasts forever, unless you program otherwise.
  #5 (permalink)  
Old Nov 23rd, 2004, 20:36
Reputable Member
Join Date: Oct 2004
Location: Mobile, AL USA
Age: 46
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to autumn_whispers2me Send a message via Yahoo to autumn_whispers2me
I'm sorry, Sirkent. My newbie-ness is showing. Thanks for you help.
Closed Thread

Tags
playing, movie, once, visiting, page

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing with Photoshop Daniel Graphics and 3D 13 Dec 16th, 2007 17:48
Remove links with movie clip over it to another page Janisf Flash & Multimedia Forum 1 Jul 4th, 2007 03:47
My movie isn't playing on my site sjh Flash & Multimedia Forum 6 Jul 12th, 2006 15:19
playing sound in flash skyfire400 Flash & Multimedia Forum 2 May 4th, 2006 23:02
How to check that sound is playing alexvesna Flash & Multimedia Forum 3 Nov 25th, 2005 23:48


All times are GMT. The time now is 22:56.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43