Groups | Blog | Home
all groups > flash (macromedia) > may 2004 >

flash (macromedia) : Flash HTML page, need help!!!


flash_headache
5/10/2004 9:51:33 PM
I am trying to create a flash webpage by embedding my flash swf file within the
main.html. My flash movie has buttons that load other html files into the
browser. That all works fine and dandy, but when I hit the back button to go
back to index.html, the movie plays from the beginning again. When I hit the
browser back button from the other html pages I want it to goto the last frame
of the movie, not play from the beginning. Anyone have any experience with
flash webpages??? I am running out of hair to pull out!

---D
privatenews.microsoft.com <ruffup NO[at]SPAM msn.com
5/10/2004 11:58:45 PM
there is a little trick to use if the movie has been seen before, I cut and
paste this from:
http://www.gmg.com.au/assets/tutorials/flash-mx-skip-intro/page-05.html so
dont think im anywhere near clever ok :P

Add a layer and name it "actions". Keyframe frames 1 and 2. Add this code on
frame 1 of the actions layer.

if (getBytesLoaded() == getBytesTotal()) {
gotoAndPlay("skip build");
}
Now add a layer and name it "labels". Keyframe frame 1. Label this frame
"start". Also add a keyframe where you would like to skip forward to if the
file has already been fully loaded. Label this frame "skip build".

All done. Easy.


[quoted text, click to view]

Doctor Wink
5/11/2004 1:16:27 AM
Dimon666
8/4/2004 3:28:27 PM
AddThis Social Bookmark Button