dcsimg
A Flash Developer Resource Site

Results 1 to 18 of 18

Thread: Page-to-page Navigation States

  1. #1
    Junior Member
    Join Date
    Apr 2001
    Location
    L.A.
    Posts
    13

    Page-to-page Navigation States

    Greetings.
    Can anyone suggest a method/technique for making the navigation (linked below) remain in any of the six main states ['education', 'conservation', 'recycled water', 'desalination', 'comm outreach', 'public information'], dependent on whatever page is viewed?

    http://www.zornfett.com/client/digis...4/left_nav.swf

    e.g. Under 'Education', when 'Water Facts And Info..' is clicked, the left-side nav should remain with the dark-blue 'Education' submenu open - as opposed to the SWF navigation resetting itself.

    http://www.zornfett.com/client/digis...ter_facts.html

    thanx much!
    Last edited by zornfett; 02-02-2004 at 05:07 PM.

  2. #2
    Senior Member
    Join Date
    Jan 2001
    Posts
    524
    You can control flash from HTML. In Dreamweaver it is under Behaviors. You just tell it what frame number you want the flash movie to go to. At least that is how I do it...maybe there is a better way?

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Neither links work for me!

  4. #4
    Junior Member
    Join Date
    Apr 2001
    Location
    L.A.
    Posts
    13

    RE: Page-to-page Navigation States (links FIXed)

    sorry to waste your time - was moving files around - here are the fixed links:

    http://www.zornfett.com/client/digis...4/left_nav.swf

    http://www.zornfett.com/client/digis...ter_facts.html

    Thanx sincerely for the suggestions!

  5. #5
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Would be easier if you were just using a frameset, then navigation would stay put.
    Otherwise you'll have to pass variables along with your getURL's, and have some first frame actionscript on your navigation .swf, to set it in the state it was left at in the previous page.

    Would have to see your navigation .fla, to be able to better help you out.

  6. #6
    Junior Member
    Join Date
    Apr 2001
    Location
    L.A.
    Posts
    13

    RE: Page-to-page Navigation States (SOURCE)

    Here is the source:

    http://www.zornfett.com/client/digisyn/leftNAV_v7rb.fla

    Hmmm ...for that matter, I don't understand what page object/text I select in Dreamweaver to make the 'Control Flash Movies' behavior available.

    cheers, ZF

  7. #7

  8. #8
    Junior Member
    Join Date
    Apr 2001
    Location
    L.A.
    Posts
    13
    yayuh - just like that, thank you. (looks good on PC - but it appears Mac users [on Safari/IE] are outta luck). Did you use the DW 'control swf' technique?

  9. #9
    Senior Member
    Join Date
    Jan 2001
    Posts
    524
    yes

  10. #10
    Junior Member
    Join Date
    Apr 2001
    Location
    L.A.
    Posts
    13

    RE: Mac support

    hmmm ...this page seems to suggest that Macs are generally doomed when it comes to supporting these kinds of commands:

    http://www.macromedia.com/support/fl...ort_matrix.htm

    I just so happens I'm contracting for a house that uses Macintoshers and I doubt they'd let this go out the door without the nav supporting the browser/OS.

    Thanx for the hand-holding, y'all.
    Last edited by zornfett; 02-03-2004 at 04:39 AM.

  11. #11
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    So maybe try with a _global variable set on the nav button presses, _global variable then checked out within the nav menu itself to re-set it to it's last state upon entry of a new page.

    That should work on Mac, although I can't confirm it.

  12. #12
    Junior Member
    Join Date
    Apr 2001
    Location
    L.A.
    Posts
    13
    This technique wouldn't require any additional scripting in the HTML page it's (the SWF) embedded in then, ja?

  13. #13
    Senior Member
    Join Date
    Jan 2001
    Posts
    524
    works on all the macs here at our office.

  14. #14
    Junior Member
    Join Date
    Apr 2001
    Location
    L.A.
    Posts
    13
    they put me on an eMac here and I wasn't able to get your [MajTom] example to work on NS 7.1 or Safari... or IE 5.2 (NOTE: works on PC however)
    Last edited by zornfett; 02-03-2004 at 06:05 PM.

  15. #15
    Junior Member
    Join Date
    Apr 2001
    Location
    L.A.
    Posts
    13

    RE: Major Tom's experiment

    You mentioned the implementation you have at:

    http://www.yellowseven.com/test/test1.htm

    worked on Macs around your office. I'm having difficulty doing this )as well as on PC IE.6). I there an upgrade you can recommend to OS or browsers to make this happen (on Macs in partic.)? Also, could I be overlooking an edit you made to the SWF? thanx

    Alpha deploy: http://www.westbasin.org/newsite
    xoxRBB

  16. #16
    Senior Member
    Join Date
    Jan 2001
    Posts
    524
    I am on a PC with IE6 and it works great.

  17. #17
    Junior Member
    Join Date
    Apr 2001
    Location
    L.A.
    Posts
    13
    thanks for the reassurance!
    can you imagine a browser setting that IE6 PC users might have molested/not activated to prevent this from occuring?

    Could it be an OLD Flash Player issue?

  18. #18
    Senior Member
    Join Date
    Jan 2001
    Posts
    524
    I'm not sure but we have done this this way since Flash5. Our webserver tells us our sites are hit with IE browsers 95% of the time and this is acceptible for our clients.

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