The Canvas of Ryan Sadwick

Tag Archives: javascript

 

IE doesn’t work with event.currentTarget

Sep. 3rd | Posted by 0 comments
Using JavaScript and the event model? IE doesn’t support event.currentTarget, it will come up undefined if used. Instead use (for special case IE): event.srcElement.id;

ExternalInterface with Flex: Using Flex to communicate with Javascript, C++, C#, etc.

Oct. 25th | Posted by 2 comments
The ExternalInterface has a multitude of uses.  One example is developing C++ applications with a Flex UI. In this example, I’ll show how to using ExternalInterface using ActionScript and JavaScript. We’ll send text back and forth as well as set color to shapes.Check out the example and the source. Note:  I started using the Flex C++ Bridge  using Visual C++ Express, [...]

Tip Jar

If you find my blog useful, tip me a few dollars to show your love and support.

Categories