PDA

View Full Version : Flash MX openURL()


ggambett
2004.08.06, 09:10 AM
I know this isn't the best place to post this but I didn't have much luck with less-perfect places ;)

I have a .fla with a couple of buttons which call openURL() to open a browser window to a certain URL. This .fla is used to generate a .swf, a Windows projector, and a Mac projector.

The online version and the Windows projector work as expected. The Mac projector, however, opens a browser window to my default page, as if no URL was passed to it.

I want to know 1) if this is a problem with my setup or it doesn't work for someone else - http://www.mysterystudio.com/openurl_test.zip and 2) if there is a workaround. I was thinking of having a .url file and launch it as a document, instead of using getURL() directly.

Thanks!

NCarter
2004.08.06, 03:12 PM
Doesn't work for me with OmniWeb 4.5 on Mac OS X 10.3.4. All that happens is the browser is brought to the front and this message appears in the system log:

Aug 6 21:06:10 localhost /Volumes/Documents/Downloads/ iDevGames/Misc/openurl_test: LaunchApplication(/Applications/OmniWeb.app)
...so I suppose it's launching the browser but failing to tell it to open the URL. :???:

I know nothing about Flash so I can't suggest a workaround, but your idea of opening a .url file sounds sensible.