A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: what is the best way to...

  1. #1
    Junior Member
    Join Date
    Mar 2000
    Posts
    1

    Talking

    I have a html menu that I want to be clickable that will go to a certain frame in a flash movie.

    Do I use the FS command or do I use javascript? (The main menu is a flash movie, but the other pages are plain html.)

    Do I use a hidden frame so that the main menu is loaded before I make the jump into flash?

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Lightbulb

    I'm not completely certain I understand what you want to do.. but here goes..

    How about passing the "go to frame" request in the query string of the hyperlink. You can set up your HTML link like this:

    <A HREF="flashmovie.swf?gotoframe=4">

    Then check the small demo I have posted at
    http://www.rjscs.com/scotty/demos/de...tml?var1=Flash is&var2=FUN!

    for info on passing that variable to Flash. Then you simply put a little action script at the beginnig of your Flash movie, like this:

    Go to and Play (gotoframe)


    That should do it, I think.


    <EMBED src="/cgi-bin/ubb/Members/sigs/00000205.swf" quality=high WIDTH=500 HEIGHT=50 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center