Warning: Parameter 1 to ace_where() expected to be a reference, value given in /nfs/c09/h02/mnt/127482/domains/todepoint.com/html/blog/wp-includes/plugin.php on line 227

Warning: Parameter 1 to ace_join() expected to be a reference, value given in /nfs/c09/h02/mnt/127482/domains/todepoint.com/html/blog/wp-includes/plugin.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /nfs/c09/h02/mnt/127482/domains/todepoint.com/html/blog/wp-includes/plugin.php:227) in /nfs/c09/h02/mnt/127482/domains/todepoint.com/html/blog/wp-includes/feed-rss2.php on line 8
toDeBlog http://todepoint.com/blog A blog about User Interface, User Experience, Design, Flash, Product management and all that goes in between. Tue, 20 Dec 2011 12:54:35 +0000 en hourly 1 http://wordpress.org/?v=3.3.2 Auto Draft http://todepoint.com/blog/?p=367 http://todepoint.com/blog/?p=367#comments Wed, 30 Nov -0001 00:00:00 +0000 adi http://todepoint.com/blog/?p=367 http://todepoint.com/blog/?p=367/feed/ 0 Microsoft secrets http://todepoint.com/blog/2011/12/20/microsofts-secret/ http://todepoint.com/blog/2011/12/20/microsofts-secret/#comments Tue, 20 Dec 2011 12:54:35 +0000 adi http://todepoint.com/blog/?p=363
Client Microsoft’s innovation lab
Medium Web
Date June 2011
Description The smartest banner you have ever seen, more code in this small piece of flash than in a full bloated website.
Categories Flash programing, design
URL NA
]]>
http://todepoint.com/blog/2011/12/20/microsofts-secret/feed/ 0
Microsoft’s innovation lab http://todepoint.com/blog/2011/12/20/363-revision-3/ http://todepoint.com/blog/2011/12/20/363-revision-3/#comments Tue, 20 Dec 2011 12:52:06 +0000 adi http://todepoint.com/blog/2011/12/20/363-revision-3/
Client Microsoft
Medium Web
Date June 2011
Description The smartest banner you have ever seen, more code in this small piece of flash than in a full bloated website.
Categories Flash programing, design
URL NA
]]>
http://todepoint.com/blog/2011/12/20/363-revision-3/feed/ 0
Microsoft’s innovation lab http://todepoint.com/blog/2011/12/20/363-revision-2/ http://todepoint.com/blog/2011/12/20/363-revision-2/#comments Tue, 20 Dec 2011 12:51:58 +0000 adi http://todepoint.com/blog/2011/12/20/363-revision-2/
Client Microsoft
Medium Web
Date June 2011
The smartest banner you have ever seen, more code in this small piece of flash than in a full bloated website.
Categories Flash programing, design
URL NA
]]>
http://todepoint.com/blog/2011/12/20/363-revision-2/feed/ 0
Microsoft’s innovation lab http://todepoint.com/blog/2011/12/20/363-revision/ http://todepoint.com/blog/2011/12/20/363-revision/#comments Tue, 20 Dec 2011 12:44:06 +0000 adi http://todepoint.com/blog/2011/12/20/363-revision/ http://todepoint.com/blog/2011/12/20/363-revision/feed/ 0 Amdocs http://todepoint.com/blog/2011/12/20/amdocs/ http://todepoint.com/blog/2011/12/20/amdocs/#comments Tue, 20 Dec 2011 12:42:50 +0000 adi http://todepoint.com/blog/?p=361
Client Amdocs
Medium Web
Date Apr 2011
Description Slick online presentation, the navigation is based on sliding, similar to the iPhone behavior.
Categories Flash programing, design
URL

]]>
http://todepoint.com/blog/2011/12/20/amdocs/feed/ 0
Amdocs http://todepoint.com/blog/2011/12/20/361-revision/ http://todepoint.com/blog/2011/12/20/361-revision/#comments Tue, 20 Dec 2011 12:42:34 +0000 adi http://todepoint.com/blog/2011/12/20/361-revision/
Client Amdocs
Medium Web
Date Apr 2011
Description Slick online presentation, the navigation is based on sliding, similar to the iPhone behavior.
Categories Flash programing, design
URL

]]>
http://todepoint.com/blog/2011/12/20/361-revision/feed/ 0
BabyFirstTV http://todepoint.com/blog/2011/12/20/338-autosave/ http://todepoint.com/blog/2011/12/20/338-autosave/#comments Tue, 20 Dec 2011 11:33:14 +0000 adi http://todepoint.com/blog/2011/12/20/338-autosave/
Client BabyFirstTV
Medium Web
Date Oct 2010
Description Worked with BabyFirst team to program the client-side activities and medias manager for the BabyFistTV online platform. Advanced server communication, external medias management, statistic tracing.
Categories Flash programing
URL babyfirsttv.com

]]>
http://todepoint.com/blog/2011/12/20/338-autosave/feed/ 0
Injecting and calling JS functions from within flash using external http://todepoint.com/blog/2011/08/01/injecting-and-calling-js-functions-from-within-flash-using-external/ http://todepoint.com/blog/2011/08/01/injecting-and-calling-js-functions-from-within-flash-using-external/#comments Mon, 01 Aug 2011 17:14:57 +0000 adi http://todepoint.com/blog/?p=345 JS injection

I recently encountered a unique requirement in one of my projects, triggering the loading of a page in the background (outside of flash, using Ajax) from within flash.
Often you cannot rely on JS functions to be available, you could load public libraries (Jquery or equivalent) or inject your own functions to the DOM, I chose to inject my own.

This is how you do it:

1) import the external class.

import flash.external.ExternalInterface;

2) declare a constant variable with all the JS functions:

private const script_js :XML =
<script>
<![CDATA[
function() {
AJXFNC = {
ajaxFunction:function(_url){

var ajaxRequest;
try{
// Opera 8.0+, Firefox, Safari, Chrome
ajaxRequest = new XMLHttpRequest();
ajaxRequest.open("GET", _url, true);
ajaxRequest.send(null);

} catch (e){
// Internet Explorer Browsers
try{
ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
ajaxRequest.open("GET", _url, true);
ajaxRequest.send();

} catch (e) {
try{
ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
ajaxRequest.open("GET", _url, true);
ajaxRequest.send();

} catch (e){
// Something went wrong
return false;
}
}
}
}

}
}
]]>
</script>;

3) inject the JS to DOM:

try {
if( ExternalInterface.available )ExternalInterface.call( script_js );
} catch( error:Error ) {
trace("ExternalInterface is not available");
}

4) call a function:

ExternalInterface.call( "AJXFNC.ajaxFunction", "http://www.google.com" );

Sweet isn’t it?

]]>
http://todepoint.com/blog/2011/08/01/injecting-and-calling-js-functions-from-within-flash-using-external/feed/ 0
Injecting and calling JS functions from within flash using external http://todepoint.com/blog/2011/08/01/345-revision-10/ http://todepoint.com/blog/2011/08/01/345-revision-10/#comments Mon, 01 Aug 2011 17:12:45 +0000 adi http://todepoint.com/blog/2011/08/01/345-revision-10/ JS injection

I recently encountered a unique requirement in one of my projects, triggering the loading of a page in the background (outside of flash, using Ajax) from within flash.
Often you cannot rely on JS functions to be available, you could load public libraries (Jquery or equivalent) or inject your own functions to the DOM, I chose to inject my own.

This is how you do it:

1) import the external class.

import flash.external.ExternalInterface;

2) declare a constant variable with all the JS functions:

private const script_js :XML =
<script>
<![CDATA[
function() {
AJXFNC = {
ajaxFunction:function(_url){

var ajaxRequest;
try{
// Opera 8.0+, Firefox, Safari, Chrome
ajaxRequest = new XMLHttpRequest();
ajaxRequest.open("GET", _url, true);
ajaxRequest.send(null);

} catch (e){
// Internet Explorer Browsers
try{
ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
ajaxRequest.open("GET", _url, true);
ajaxRequest.send();

} catch (e) {
try{
ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
ajaxRequest.open("GET", _url, true);
ajaxRequest.send();

} catch (e){
// Something went wrong
return false;
}
}
}
}

}
}
]]>
</script>;

3) inject the JS to DOM:

try {
if( ExternalInterface.available )ExternalInterface.call( script_js );
} catch( error:Error ) {
trace("ExternalInterface is not available");
}

4) call a function:

ExternalInterface.call( "AJXFNC.ajaxFunction", "http://www.google.com" );

Sweet isn’t it?

]]>
http://todepoint.com/blog/2011/08/01/345-revision-10/feed/ 0