-
Flash Navigation for HTML site
Hello,
Right now I have a website with Flash navigation in one frame... and the html content in the other. The flash navigation stays and only the html content changes when navigating the website. If I wanted the entire page to change, so I did not have to use frames, how could I tell the navigation what frame label to jump to when the page reloads?
Thanks,
mperla
Computers Hate Me!!!!
Rock the Vote!!!!
-
Registered User
getURL("www.blabla.com", "_blank");
• _self specifies the current frame in the current window.
• _blank specifies a new window.
• _parent specifies the parent of the current frame.
• _top specifies the top-level frame in the current window.
-
Thanks for responding Bzdero, but I must have worded my question wrong.
Instead of making a different flash movie for each html page in order to represent the correct state of the navigation, how could I have it so that when a button is pushed, the entire page is reloaded, but the flash navigation will know which frame label to be on.
Say there are 5 frame labels, and each represents a different section of the webpage. When a button is pushed to change the html page and thus reloading the flash navigation movie, I want the playhead to start at the correct frame label.
Thanks,
Mperla
Computers Hate Me!!!!
Rock the Vote!!!!
-
Actionscript idiot
In the HTML on your page that calls the flash movie, you need to add a string to the end of the flash url:
Code:
<param name="movie" value="flash/chalk_board.swf?chalkboard=saved">
Do this for both the object and embed tags. Now within your flash movie, you have instant access to the variable 'chalkboard.' Now all you have to do is write an if-then statement saying something like:
code:
if (chalkboard == "saved") {
gotoAndStop("navigate1");
} else {
gotoAndStop("navigate2");
}
One more thing, make sure you do your if-then statement AFTER your preloader and not on the first frame. Otherwise you may try jumping to a frame label that hasn't been loaded yet, even though the movie has already been seen. Pulled my hair out for a while trying to figure out why my movies were jumping to some random spot in the middle.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|