A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Template and flash(sub)menu problem

  1. #1
    Member
    Join Date
    Jan 2001
    Posts
    66

    Template and flash(sub)menu problem

    Hey guys hope you can help me out:

    I'm building a site with only a flash menu, the rest is HTML.
    The Menu is a repeating region in the template.

    On some buttons it has a submenu, but when you click an item off the submenu it loads the page, but also it reloads the flashmenu. Wich causes the submenu not to be visible anymore. (I cant use frames for this site)

    How do i get it to work that it stays at for example frame 30 (where the submenu is located).

    I see 2 options for this, maybe there are more.

    1: the flash shouldent be reloaded.
    2: on the pages off the submenu i need a (invisible) .swf that tells the menu movie to gotoandstop frame 30

    I'm sure one of you pro's here can tell me the code for option 2


    Please help me out here,
    regards Pokko

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    usually pages that want to tell flash something would add a bit to the embedding

    <embed src="menu.swf" flashvars="page=portfolio" ....>

    Now flash can utilize _root.page to perform some action, e.g. gotoandstop(page)

    Musicman

  3. #3
    Member
    Join Date
    Jan 2001
    Posts
    66
    ok i still dont get it.

    Isen't there another way, create an empty loader who loads the menu.swf and then tell the loaded MC where to start?

    In that case i only need to make seperate loaders for some pages.

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