A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25

Thread: help with sending gotoand stop command across an HTML frame

  1. #21
    Member
    Join Date
    Feb 2005
    Posts
    31
    basically, the way it stands now, the clicking of the link is what sends the java instructions to the nav.htm and swf...

    what I am trying to do is make it so the page load itself sends the same instructions instead...so insetad of the link to shows telling it to move, the shows page itself tells it to move upon loading.

    I don't know if I am being clear enough...sorry

  2. #22
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    So if I was to hit shows in main.htm, it's the loading of shows.htm that would trigger the change in navigation, and not my onClick event, is that it?

    Edit: Hadn't read your last post before posting this...

    And I guess it answers my question!

  3. #23
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Ok, try this...

    Remove my onClick event from main.html, and in the shows.htm, for example, change your < body > tag to this...
    PHP Code:
    <body onLoad="javascript:top.navmenu.my_menuMove(7)";>
    // As usual, no space between java & script in the above. 

  4. #24
    Member
    Join Date
    Feb 2005
    Posts
    31
    woohoo!

    that did it...thanks so much again...I would have never thought to put that in the body tag itself...awesome.

    Thank you!

  5. #25
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397

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