actionscript 3 - Flash authoring environment strange Test Movie behavior (AS3) -


i can't life of me figure out why happening. let me describe i'm experiencing.

i add dynamically via actionscript.

in flash authoring environment, when test movie, of movieclips on stage disappear , see color of stage.

the strange thing can still rollover/rollout (i added trace statements rollover/rollout handlers). i'm tracing out 'visible' , 'alpha' property , visible=true , alpha=1.0 !!! on thing am seeing rollover/rollout methods called multiple times in quick succession. i.e. method invocation order rollover, rollout, rollover or rollout, rollover, rollout.

the actions have in rollover , rollout methods really simple. turn on/off other movieclips...imagine map...when rollover icon, path shows on map , when rolloff, path goes away.

however, if adjust window of test movie window, appears again!

the crazy thing when publish it, behavior doesn't happen in browser or app!

what's going on? memory thing authoring environment?

posting code here:

    private function rolloveruserlistener ( e:mouseevent ) {         trace(">>>>>>>> rolloveruserlistener()  e.currenttarget.name : " + e.currenttarget.name);         trace("e.currenttarget.alpha: " + e.currenttarget.alpha);         trace("e.currenttarget.visible: " + e.currenttarget.visible);                    e.currenttarget.rolloveraction(); //just scales icon little         //fade up/down appropriate path         worldmap.resetpaths(); //turns off paths         (var i=0; i<users.length; i++){             if ( e.currenttarget == users[i] ) { //highlight right path                 worldmap.highlightpath(i);             }         }     }       private function rolloutuserlistener ( e:mouseevent ) {         trace("<<<<<<<< rolloutuserlistener()  e.currenttarget.name : " + e.currenttarget.name);         e.currenttarget.rolloutaction(); //scales down icon normal         worldmap.resetpaths();     } 

i don't think it's efficient try , solve problem via posting code did.

but, guess difference in behavior seeing due flash player version.

cs5 or whatever version have of flash, comes latest player @ time. flash player being upgraded, when in browser -- have latest flash player. account differences seeing.

however, code above doesn't without seeing highlightpaths , resetpaths functions. see have trace, right after -- there's code executed potentially change state of traced before rendering frame.

stick traces after code see if expect.

are using libraries might have features supported newer flash player ?


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -