This content has been marked as final. Show 6 replies
When your Flash .swf plays by itself in a browser, the browser takes
that getURL() call and connects to the given url. When your Flash .swf
is wrapped in a Director movie, there is no browser to catch the
getURL() call. Director does that. The problem is that getURL() is also
used to send many different protocals. Http is the most common. Director
can use lingo, action and none.
What you need to do is to pass the url that you want to open from the
.swf to the Director movie. You can keep the getURL() function as it is
in the .swf. In Director, just write a behavior that looks like this:
on getURL me, data
The url string from the getURL() function in Flash will be sent to the
Lingo behavior as the data argument. This string will then be used by
the gotoNetPage() Lingo function. Be sure to include network xtras with
the Director projector, if this is used in a projector.
Adobe Community Expert
Thanks Rob. The issue is that this has been working in this project for several years in exactly this way. It now doesn't work using Flash content published as F8/AS2 inside Director MX2004. I'm wondering what's changed, and why? We have 70+ pieces of content that this could effect, so the rework is potentially very costly.
Also, we are using the text field hyperlink in Flash, not getURL().
> Flash is published as Flash 8
Do you have the 10.1 update installed (with the Flash 8 asset xtra)?
Yes, we're using Flash Asset 10.1r11. We're going to go ahead with passing the info and getting Director to handle it.
Thanks everyone for taking the time to help!