|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Two getURLs causing problems?
I seem to be having a problem calling javascript functions from flash using getURL("javascript:functioname(params);");
The problem is I'm calling two in a row. The first one seems to execute while the second does not (in Win IE 6 at least). I've switched the order of them to confirm this behavior-only the first javascript function executes. Is this a known problem? Do I need some sort of timer delay? (I'm actually using a function that itself calls 2 other functions and each of those functions makes a different getURL call if that makes any difference) thanks! |
|
#2
|
|||
|
|||
|
assuming the second getURL makes a call for something reachable in the previously called javascript function, why not just put it into <script> instead of having flash do it
|
|
#3
|
|||
|
|||
|
thanks... yeah that's what I ended up doing as a workaround. I just passed extra parameters to the javascript function and then had the javascript function call the 2nd javascript function.
Not quite as clean or convenient, but it worked in this case. For instance, I had 3 different functions I had to modify to call the second function. Would have been more flexible to keep them all separate. I'm just surprised this isn't a known problem... I guess calling javascripts isn't that common an operation though.... For what it's worth... the original code worked on all my Mac browsers (Safari, Camino, IE)... it was only Win IE that had trouble. ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Two getURLs causing problems? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|