Groups | Blog | Home
all groups > flash actionscript > july 2006 >

flash actionscript : flash menu in IE


phyrron
7/15/2006 9:09:16 PM
i have designed flash menu which directs main frame to related page. flash menu
stays at the top frame and have buttons to redirect the main frame to related
pages(ex: geturl("news.htm", "main") .) it works in firefox but doesnt work in
IE, i have updated for ActionScript due to MS update, however still it does not
works.

when i opened the top frame in the browser(IE) it opens the pages in new
window, in addition if the site is opened in another window when i push a
button it changes the main frame of the site at the other window.

thanks
Motion Maker
7/16/2006 11:15:30 AM
You need to review the syntax for getURL.
http://livedocs.macromedia.com/flash/8/main/00001730.html
As you posted: geturl("news.htm", "main")
The second argument which is optional only has four possible values:
a.. _self specifies the current frame in the current window.
b.. _blank specifies a new window.
c.. _parent specifies the parent of the current frame.
d.. _top specifies the top-level frame in the current window.
If you do not use the second argument, I believe it defaults to _self, but
you may need to try it to be sure.
--
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
[quoted text, click to view]

Peter Blumenthal
7/17/2006 12:00:00 AM
[quoted text, click to view]

No, *you* need to review it :)

"window:String [optional] - Specifies the window or HTML frame into which
the document should load. You can enter the name of a specific window or
select from the following reserved target names:"

Note: You can enter the name of a specific window...

Sorry, can't help you phyrron...

--
-------------------------------
Remove '_spamkiller_' to mail
-------------------------------

Motion Maker
7/17/2006 10:24:43 AM
Thanks Peter. I missed that detail.

I would then recommend that the html be validated for proper form and be
sure that there are no potential cross browser issues.


--
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
"Peter Blumenthal" <mmgroups@_spamkiller_PhageInteractive.com> wrote in
message news:e9fmqj$eoh$1@forums.macromedia.com...
[quoted text, click to view]

Motion Maker
7/17/2006 8:33:56 PM
Great! It is amazing how a Javascript runtime error or malformed html can
foil your efforts. I usually turn on the error reporting in both FireFox and
IE when it seems that Javascript is the last possible place to look. With
those on you will see if you have any Javascript errors. With those off, you
will not see the errors, but they are occurring.

--
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
[quoted text, click to view]

phyrron
7/17/2006 8:43:49 PM
i try to validate the html but even if the code was dreamweaver's frameset code
it gives doc type errors. i think it was not about that. a smilar page was:
http://ae.metu.edu.tr/ this page have the same style with my site but the html
code was too crowded. but this page works both in IE and Firefox.
phyrron
7/17/2006 9:01:38 PM
AddThis Social Bookmark Button