Dusan Czupek's blog

Blog related .NET & web development

Javascript in Flash

Imaging an situation when you need to track redirect activity from the flash animation. Execute some tracking script right before user left the flash animation.

Basically there are two ways have you can call javascript from ActionScript:

1) getURL()
2) ExternalInterface.call

Problem is that browsers does not behaves same way.
getURL is properly executed on FF but not in IE7.
ExternalInterface.call is working on FF, IE in same way. Browser executes javascript before redirect.

Posted: Oct 17 2009, 16:53 by dczupek | Comments (6) RSS comment feed |
  • Currently 1/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: dotNet

Comments

DotNetKicks.com said:

trackbackJavascript in Flash

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# October 17 2009, 16:59

DotNetShoutout said:

trackbackJavascript in Flash

Thank you for submitting this cool story - Trackback from DotNetShoutout

# October 17 2009, 20:02

DotNetBurner - Javascript said:

trackbackJavascript in Flash

DotNetBurner - burning hot .NET content

# October 28 2009, 18:35

WebDevVote.com said:

trackbackJavascript in Flash

You are voted (great) - Trackback from WebDevVote.com

# October 28 2009, 18:35

kerja keras adalah energi kita United States said:

kerja keras adalah energi kitaThanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful and beneficial to your readers.

# November 06 2009, 09:44

Annuity Rates United States said:

Annuity RatesThanks a lot for sharing such a helpful time. I faced the problem with the flash i Java. Thanks for the example. Good job!!!

# January 22 2010, 07:11

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading