Skip to main content
April 6, 2006
Question

getURL not working in IE??

  • April 6, 2006
  • 18 replies
  • 2712 views
I can't remember the last time I've been so tired and frusterated of Flash. It's 2am and I just spent the last 2 hours trying to solve this problem:

getURL("anything at all");

does nothing at all in IE. No warning, no nothing, just silence. I know the code block is being executed by placing a _root._alpha = 0 the line before it, and it goes. And it works as expected in Mozilla/FireFox. My Mozilla/Firefox is running Flash Player 8, IE is on Flash Player 7.

And here's the good part: putting a getURL at the beginning of the movie works.

So does anybody know of a reason why getURL would refuse to work in IE? Ugh.
This topic has been closed for replies.

18 replies

kglad
Community Expert
Community Expert
April 6, 2006
ok
April 6, 2006
Good call, and that's the issue here. I can't post the original(NDA) so I'm going to have to reproduce it, and I haven't been able to reproduce it - which is what makes me think it's a very specific compiling error. I will try this evening more in depth to replicate it exactly, and if I succeed I will cetainly post a .fla.

Thanks for your interest.
kglad
Community Expert
Community Expert
April 6, 2006
post a link to your fla.
April 6, 2006
^ and yes, I have 1) checked to make sure the onEnterFrame is succesfully deleting itself, 2) the superDump() is being called and executed in full, 3) the line before and after the getURL() is being executed
April 6, 2006
onEnterFrame is essentially a tween... it fades out some clips, and when it reaches a certain point it does some logic and calls superDump() and deletes onEnterFrame
kglad
Community Expert
Community Expert
April 6, 2006
what's the onEnterFrame() doing? is it repeatedly calling superDump() and is superDump() repeatedly calling getURL()?
April 6, 2006
tralfaz -

Sorry, I forgot to mention that. It's actually being published to Flash6, AS1.0. I have naturally checked, doubled checked, triple checked, Nth checked every single publish spec, but this is so bizzare I'm open to checking yet again.

It's crazy. It's so specific(getURL works everywhere else in the same movie on the same platform), that I wonder if it might be a Flash 8 compiling bug; it wouldn't be the first I've run into. Basically after two hours [of lost sleep and fruitless effort] last night, here's where I had come to:

- tested platforms: Mozilla/FireFox FP8, IE FP7, Win XP sp2
- SWF publish specs: Flash 6, AS1.0, compiled from Flash 8
- The SWF has perfectly working getURL throughout the _root timeline in all tested platforms
- The SWF has perfectly working getURL in all timelines tested on Mozilla/FireFox
- In IE, the SWF would not communicate with getURL from a specific location (_root.suvery_mc.superDump()) even though the code block was clearly executing
- allowScriptAccess params seemed regardless

At that point I went to bed. I can't work on it untill this evening, but I'm going to look in depth at exactly what places the getURL successfully works, and what places it fails, and see if I can determine any pattern.

In case it helps, here's the order of exectution, after the user event that triggers it:

[all in _root.survey_mc.]
nextSlide()
slideTo()
onEnterFrame()
superDump()
getURL()

As stated several times, the getURL works in Moz/FF w/ FP8, but not IE FP7, while a getURL on the _root works in both.
Inspiring
April 6, 2006
"abeall" <webforumsuser@macromedia.com> wrote in message news:e12b5m$fss$1@forums.macromedia.com...
>I can't remember the last time I've been so tired and frusterated of Flash.
> It's 2am and I just spent the last 2 hours trying to solve this problem:
>
> getURL("anything at all");
>
> does nothing at all in IE. No warning, no nothing, just silence. I know the
> code block is being executed by placing a _root._alpha = 0 the line before it,
> and it goes. And it works as expected in Mozilla/FireFox. My Mozilla/Firefox is
> running Flash Player 8, IE is on Flash Player 7.

Is it the same problem if you publish for version 7?
tralfaz