Skip to main content
Participating Frequently
June 18, 2008
Question

Simple Nav Bar Question!

  • June 18, 2008
  • 2 replies
  • 313 views
Hello,

I am building a simple navigation bar with flash cs3. When someone clicks a button on the flash navigation bar I want to load a html page from my site not to another url. Do I still use the URLRequest function?

For example, if someone presses the flash button on www.mysite.com/home to load www.mysite.com/about , do I write URLRequest(”www.mysite.com/about”) or do I write a path in my directory to that page?

Does it make a difference in terms of speed or stability?

Is there a right way to do this?

Thank you!
This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
June 19, 2008
i meant a relative path is sometimes better. but it's neither better nor worse when working with a html file because there are no cross-domain issues with html files.
kglad
Community Expert
Community Expert
June 18, 2008
yes.

you can use an absolute or relative path. a relative path is sometimes much better, not for html files, but if you develop a relative path habit, you'll avoid cross-domain security issues with other file types that can waste time debugging.
schnippleAuthor
Participating Frequently
June 19, 2008
quote:

Originally posted by: kglad
not for html files


relative paths are good for images and flash files but not for html files? I should use absolute paths for html files?