Hey all! I've been asked to create a website with a flash banner/navigation and have all the content in html. My initial thought and concern was that everytime I clicked on a link within the flash movie, the movie would have to reload everytime the page changed... is there a way to avoid the reloading on each page? (I know nothing about this but I'm sure someone here as done something with this) thanks a bunch!
The only way that I know is to use frames (I'm assuming you know how to put frames on pages...let me know if you don't). Have a frame at the top of the page with the menu in it, and have the main content below in the main frame. To make the content load in the main frame, give your buttons the following code:
on (release) {
getURL ("yoursitehere.com", 'mainFrame')
}
I have attached an example of this to this message in a compressed format.
If you have any trouble with this, don't hesitate to reply to this post or to email me directly at sethchristian@mailbolt.com
yes or use an iframe... you put your flash on a page then below it <iframe height="100 width="100" src="page.html"> </iframe>... thats a way i have used before...
hey tucker, I was thinking frames too... but someone told me to stay away from frames yesterday (I don't know why). Are there problems with frames?
Acb, is the iframe created within Flash? and will is scroll? I can't really make it a set height cause we're gonna have a lot of content to scroll through.
Frames can be tricky to deal with. First off, the content in frames doesn't move when you scroll down the rest of the page. So your menu would always be visible at the top.
The other problem is if you have advertisements at the top of the pages of your web site, it'll be messed up.
Lots of proffesional web designers don't like frames, so I would check with your employer before getting too deep into it.
something else to think about here....on the website http://macromedia.com, they have a flash/html combo that works really well because flash is usually very small file size, so viewers don't have to wait long at all for the menu to reload on each page. That's what I'd do.
the easiest way the think about what an iframe is is to think of it as a floating frame that you can position anywhere on the "page"...
when you use an iframe, you not only have x and y coordinates, you also have a z-index which is essentially the "third dimension" aspect of the frame... you can tell each iframe what "level" it should sit on...
theoretically, you could stack iframes on top of each other...
here's a good place to start learning about iframes...