The magic of get url

Yup, to combined flash to Jquery used the get url..

1. On Flash
AS2

stop();
getURL("javascript:applebyte();");

AS3

stop();
import flash.external.ExternalInterface;
ExternalInterface.call("applebyte");

2. On CSS

.applenav {
display:none;
margin-top:0;
}

2. On Jquery

function applebyte()
{
$('.applenav').fadeTo('slow', 0.1, function() {
$(".applenav").animate({"margin-top": "215px"}, 1000).fadeTo('slow', 1);
// Animation complete.
});
}
$(document).ready(function() {
});

Leave a Reply