Dock Menu FX
Home / /community/ / Components Discussions / Dock Menu FX / Page 7
-
-
Please teach a solution Is there the method to serve as a reference that the Japanese which I described in an outside XML file cannot display in flashplayer?
#  /  posted on Feb 10, 2012 -
Snowcat,
I purchased this product and I am trying to implement into an AS3 Fla. I used your AS:
dockmenu.addEventListener("thumbReleased", onReleased);
function onReleased(e:Event):void {
var id:Number = e.currentTarget.id; gotoAndPlay(id); }But it seems to only give me the ability for all the images on the dock to goto whatever number I put into the gotoAndPlay(id); target...
for example:
if I change to code to:
dockmenu.addEventListener("thumbReleased", onReleased);
function onReleased(e:Event):void {
var id:Number = e.currentTarget.id; gotoAndPlay(175); }...I can only go to 175.
on the other hand if I leave the script the way you wrote it....
var id:Number = e.currentTarget.id; gotoAndPlay(id); }
my only option now is to go to the first frame on the timeline.
Is it possible to add event listeners for every single button?
Please help. Thanks.
Drew Stepek
#  /  posted on Feb 29, 2012 -
Please login to post replies.







