|
-
[RESOLVED] [FP9] getURL gone in Flash Player 9!!!
What's with the replacement of getURL() in Flash Player 9??
We now have to use navigateToURL() for Player 9 functionality! How many thousands of movies does everyone else have to change???
What the hell's next??
Not happy Adobe.
-- Actionscript will set you free --

-
Retired SCORM Guru
Er, why would you have to go back and change your movie? FP9 still recognizes getURL, even if the "proper" AS3 method is different. The only big change I see regarding it is domain security:
http://www.adobe.com/cfusion/knowled...fm?id=50c1cf38
It actually looks like a major improvement when sending variables back to the server. And you can specify HTTP headers. It's not a replacement for getURL, just an advanced version of it for bigger tasks.
http://livedocs.macromedia.com/flex/...navigateToURL()
Last edited by PAlexC; 08-10-2006 at 01:27 AM.
"What really bugs me is that my mom had the audacity to call Flash Kit a bunch of 'inept jack-asses'." - sk8Krog
...and now I have tape all over my face.
-
supervillain
You sorta missed the help forums and went to the chat only Coffee Lounge forum instead.
Moved ya' back to where you could get an answer.
-
Senior Member
 Originally Posted by monkey_magic
We now have to use navigateToURL() for Player 9 functionality! How many thousands of movies does everyone else have to change???
You do not need to change anything if the movie is exported for older version of FP. You would change to navigateToURL() only if you create F9 movie, but I cant see how there could be thousands of F9 movies around all using getURL.
-
Senior Member
If you want to open a javascript window with getURL (Flash 8) you need to use the ExternalInterface class. That is where getURL does not work any more.
- The right of the People to create Flash movies shall not be infringed. -
-
Total Universe Mod
I need to test navigateToURL() on a movie built in F8. Do I have to use FLEX to do that?
-
Senior Member
You can use the Flash 9 preview for that.
- The right of the People to create Flash movies shall not be infringed. -
-
I am confused. I have created a movie in flash mx 2004 and embedded it into an html page using geturl(). I also tried navigatetourl(). I can't get either to work in flash player 9. I tried targeting "_blank" and nothing. I am not that advanced at scripting and could really use some help.
Thanks!
-
Maybe you should try getURL() instead of geturl().
-
sorry- I was typing too quickly. I tried getURL() and navigateToURL(). In Flash player 9 when you click the link, it turns into a circle with a slash and nothing happens.
Thanks
-
Senior Member
When you say "Flash player 9", what exactly are your publish settings?
- The right of the People to create Flash movies shall not be infringed. -
-
My settings are :
Version- Flash Player 7
ActionScript version - ActionScript2
(the highest options in FlashMX04)
getURL worked fine when my browser plugin was flashplayer7.
Thanks a bunch!
-
Senior Member
getURL() should still work for regular web site URLs. What are you calling or doing exactly with getURL()?
- The right of the People to create Flash movies shall not be infringed. -
-
I am just trying to open a mapquest link in another window
on (release) {
getURL("http://www.mapquest.com/directions/main.adp?go=1&do=nw&rmm=1&pn1x=&a1x=&c1x=&s1x=&z1x =&un=m&cl=EN&qq=hltF3hzNT9tNhURP0HLlhh9UYBmHRqyBce g4Gkon14D8uewLk7pjHQ%253d%253d&ct=NA&rsres=1&1y=US &1ffi=&1l=&1g=&1pl=&1v=&1n=&1pn=&1a=&1c=&1s=&1z=&2 y=US&2ffi=&2l=&2g=&2pl=&2v=&2n=&2pn=&2a=194+West+A shland+Street&2c=doylestown&2s=pa&2z=&r=f", "_blank");
Thanks
}
-
Total Universe Mod
getURL has a string length limit. Assign the string to a var and use that instead.
myLocation = "http://www.mapquest.com/directions/main.adp?go=1&do=nw&rmm=1&pn1x=&a1x=&c1x=&s1x=&z1x =&un=m&cl=EN&qq=hltF3hzNT9tNhURP0HLlhh9UYBmHRqyBce g4Gkon14D8uew Lk7pjHQ%253d%253d&ct=NA&rsres=1&1y=US&1ffi=&1l=&1g =&1pl=&1v=&1n=&1pn=&1a=&1c=&1s=&1z=&2y=US&2ffi=&2l =&2g=&2pl=&2v=&2n=&2pn=&2a=194+West+Ashland+Street &2c=doylestown&2s=pa&2z=&r=f"
getURL(myLocation,"_blank");
-
Thanks... It works fine locally when I test the swf, but as soon as I embed the file in an HTML page (locally or on the web) the cursor turns into a "no" symbol as soon as I click the button. I am going crazy!!
Thanks
-
I was able to get the link to open in the existing window by deleting the target window name in the code( ie "_blank") But I still can't get it to open in a new browser window.
on (release) {
myLocation = "http://www.mapquest.com/directions/main.adp?go=1&do=nw&rmm=1&pn1x=&a1x=&c1x=&s1x=&z1x =&un=m&cl=EN&qq=hltF3hzNT9tNhURP0HLlhh9UYBmHRqyBce g4Gkon14D8uew Lk7pjHQ%253d%253d&ct=NA&rsres=1&1y=US&1ffi=&1l=&1g =&1pl=&1v=&1n=&1pn=&1a=&1c=&1s=&1z=&2y=US&2ffi=&2l =&2g=&2pl=&2v=&2n=&2pn=&2a=194+West+Ashland+Street &2c=doylestown&2s=pa&2z=&r=f";
getURL(myLocation);
}
-
did you forget the _blank?
I actually was curious about this question myself, though I havent' dove into it yet, I just got a notice that the getURL method is not supported for the SCORM / LMS environment I create flash content for. was the navigateToURL method a solution to this type of problem?
anyone have a reference to some info discussing this change?
Last edited by knottyDJ; 08-17-2006 at 05:20 PM.
-
If I specify "_blank" I just get the "no"symbol when I click the link. The window remains the same. The only way I have been able to get the link to open at all, is without the window parameter, so I just deleted it from the code.I checked a site I had used getURL() on last year and the links no longer work in Flash Player 9. They also used the "_blank" window parameter. It just seems like I am missing something simple.
Thanks a bunch for your help!!
Thanks a bunch.
-
Senior Member
Ok, to demystify a myth. This is what I put in a movieclip:
PHP Code:
on (release) {
getURL ("http://www.mapquest.com/directions/main.adp?go=1&do=nw&rmm=1&pn1x=&a1x=&c1x=&s1x=&z1x=&un=m&cl=EN&qq=hltF3hzNT9tNhURP0HLlhh9UYBmHRqyBceg4Gkon14D8uew Lk7pjHQ%253d%253d&ct=NA&rsres=1&1y=US&1ffi=&1l=&1g=&1pl=&1v=&1n=&1pn=&1a=&1c=&1s=&1z=&2y=US&2ffi=&2l=&2g=&2pl=&2v=&2n=&2pn=&2a=194+West+Ashland+Street&2c=doylestown&2s=pa&2z=&r=f", "_blank");
}
These are my publish settings.
1. It will open a new window when test movie is done.
2. It will do nothing when the html is tested locally on the computer because of security reasons.
3. It will open a new browser window when it is uploaded on the server.
navigateToURL() will not work with these publish settings because it is ActionScript 3 syntax and replaces getURL().
- The right of the People to create Flash movies shall not be infringed. -
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|