Flash 3D animations are not compatible with standard AS3 clickTag coding. Inserting the code breaks the 3D animations.
We need clickTag code equivalent to the standard AS3 clickTag code listed below, but amended so that Flash 3D animations DO NOT BREAK once the code is inserted.
The first to provide code that actually works gets the job.
The example below is standard AS3 clickTag code for a banner with two separate clickTag buttons, each button having a distinct instance name on the timeline (btn_mc and btn1_mc) and a 3rd button (btn3_mc) that is hardcoded to a specific url (in this example, to google homepage).
Make this code work in AS3 so that it DOES NOT BREAK 3D Flash animations:
function onClickTag(e:MouseEvent):void
{
getURL(clickTag, "_blank");
}
function onClickTag1(e:MouseEvent):void
{
getURL("_level0.clickTag1", "_blank");
}
btn_mc.addEventListener(MouseEvent.CLICK, onClickTag);
btn1_mc.addEventListener(MouseEvent.CLICK, onClickTag1);
function onClickTag3(e:MouseEvent):void
{
getURL("http://google.com", "_blank");
}
Starting On: April 29, 2012
Ending On:
Posted On: April 29, 2012 05:09 UTC
ID: 201126590
Category: Web Development > Web Programming
Skills: adobe-flash
Country: United States
Hours Billed: 6.83
click to apply
via All Web Development jobs | oDesk.com https://www.odesk.com/jobs/You-will-write-Flash-AS3-clicktag-code-that-DOES-NOT-BREAK-Flash-animations_%7E%7E564f6349e2dc5cc6?source=rss
No hay comentarios:
Publicar un comentario