HighDots Forums  

can I link from an html page to a frame within a flash movie

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss can I link from an html page to a frame within a flash movie in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kevin T
 
Posts: n/a

Default can I link from an html page to a frame within a flash movie - 07-17-2003 , 09:07 AM






can I link from an html page to a frame within a flash movie?

I have a flash page which contains an intro - when I return to that flash
page, I don't want to see the intro again, I want to return to a certain
frame within the flash movie - is this possible?


Reply With Quote
  #2  
Old   
Joe {RoastHorse}
 
Posts: n/a

Default Re: can I link from an html page to a frame within a flash movie - 07-17-2003 , 09:52 AM






yup.
using java script you can set a cookie, and send the movie to the
appropriate frame eg:

<script>
function getCookie(name) {// read cookies
var dc = document.cookie;
var prefix = name + "=";
var begin = dc.indexOf("; " + prefix);
if (begin == -1) {
begin = dc.indexOf(prefix);
if (begin != 0) return null;
} else
begin += 2;
var end = document.cookie.indexOf(";", begin);
if (end == -1)
end = dc.length;
return unescape(dc.substring(begin + prefix.length, end));
}

themovie = 'movie.swf';
theframe = 20;
if (getCookie('returnuser') == 'true') {
document.themovie.GotoFrame(theframe);
}
document.cookie = 'returnuser=true';
</script>

i haven't tested this but it should work/nearly work, not sure whether
nn/moz works with flash methods.

joe


"Kevin T" <kev@**NOSPAM**basement143.com> wrote

Quote:
can I link from an html page to a frame within a flash movie?

I have a flash page which contains an intro - when I return to that flash
page, I don't want to see the intro again, I want to return to a certain
frame within the flash movie - is this possible?




Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.