|
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member
Join Date: Sep 2005
Location: Canberra, Australia
Posts: 37
|
[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 --
|
|
|
|
|
|
#2 |
|
Retired SCORM Guru
Join Date: Nov 2000
Location: NJ
Posts: 1,385
|
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()
__________________
"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. Last edited by PAlexC; 08-10-2006 at 02:27 AM. |
|
|
|
|
|
#3 |
|
yes.supermod
Join Date: Jul 2000
Location: undecided.
Posts: 18,769
|
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.
__________________
[ π ] | removethelabels | iTalk Magazine | EpicMob... soon. [ fk ] | Flashkit's FAQ/Rules | The Arena | Photography | [ Ω ] |
|
|
|
|
|
#4 | |
|
Moderator
Join Date: Jul 2001
Location: Estonia
Posts: 8,105
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Mod
Join Date: Mar 2002
Location: press the picture...
Posts: 12,120
|
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. - | www.Flashscript.biz | Help a little girl, Ana, who has cancer. | Flashscript Biz Classes/Components | Flash-Model-View-Controller-Modul | |
|
|
|
|
|
#7 |
|
Mod
Join Date: Mar 2002
Location: press the picture...
Posts: 12,120
|
You can use the Flash 9 preview for that.
__________________
![]() - The right of the People to create Flash movies shall not be infringed. - | www.Flashscript.biz | Help a little girl, Ana, who has cancer. | Flashscript Biz Classes/Components | Flash-Model-View-Controller-Modul | |
|
|
|
|
|
#8 |
|
Member
Join Date: May 2004
Posts: 37
|
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!
__________________
heidivandy |
|
|
|
|
|
#9 |
|
crossconscious
Join Date: Sep 2005
Location: Belgium
Posts: 1,186
|
Maybe you should try getURL() instead of geturl().
__________________
www.crossconscious.com |
|
|
|
|
|
#10 |
|
Member
Join Date: May 2004
Posts: 37
|
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
__________________
heidivandy |
|
|
|
|
|
#11 |
|
Mod
Join Date: Mar 2002
Location: press the picture...
Posts: 12,120
|
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. - | www.Flashscript.biz | Help a little girl, Ana, who has cancer. | Flashscript Biz Classes/Components | Flash-Model-View-Controller-Modul | |
|
|
|
|
|
#12 |
|
Member
Join Date: May 2004
Posts: 37
|
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!
__________________
heidivandy |
|
|
|
|
|
#13 |
|
Mod
Join Date: Mar 2002
Location: press the picture...
Posts: 12,120
|
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. - | www.Flashscript.biz | Help a little girl, Ana, who has cancer. | Flashscript Biz Classes/Components | Flash-Model-View-Controller-Modul | |
|
|
|
|
|
#14 |
|
Member
Join Date: May 2004
Posts: 37
|
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 }
__________________
heidivandy |
|
|
|
|
|
#15 |
|
it's automatic
Join Date: Jul 2000
Location: NaN
Posts: 2,000
|
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"); |
|
|
|
|
|
#16 |
|
Member
Join Date: May 2004
Posts: 37
|
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
__________________
heidivandy |
|
|
|
|
|
#17 |
|
Member
Join Date: May 2004
Posts: 37
|
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); }
__________________
heidivandy |
|
|
|
|
|
#18 |
|
Senior Member
Join Date: Feb 2006
Location: Portland OR
Posts: 133
|
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 06:20 PM. |
|
|
|
|
|
#19 |
|
Member
Join Date: May 2004
Posts: 37
|
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.
__________________
heidivandy |
|
|
|
|
|
#20 |
|
Mod
Join Date: Mar 2002
Location: press the picture...
Posts: 12,120
|
Ok, to demystify a myth. This is what I put in a movieclip:
PHP Code:
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. - | www.Flashscript.biz | Help a little girl, Ana, who has cancer. | Flashscript Biz Classes/Components | Flash-Model-View-Controller-Modul | |
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|