Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
ldebono #1
onEnterframe issues
I am using onEnterframe in the 17th frame of my movie to control the _x
position of an empty movie clip. The empty movie loads and positions properly.
When I use _root.onEnterframe the script inside does not work, not even a
trace command. in addition, setMask will not work in this frame even though it
works in the next frame over. Any suggestions?
_root.createEmptyMovieClip("sliding_mc", 0);
//set the dimensions of the display mc
sliding_mc._x = -450;
sliding_mc._y = 41;
sliding_mc.loadMovie("sliding-pics7.swf");
sliding_mc.setMask(slidingMask_mc);
_root.onEnterFrame = function() {
trace("l");
if (sliding_mc._x<24) {
sliding_mc._x += 1;
}
};
stop();
ldebono Guest
-
onEnterFrame doesn't it work?
why doesn't it work? if(i<=_root.myJpg.length-1){ this.createEmptyMovieClip("myjpg"+i, i); trace("return i" + i) this.onEnterFrame =... -
onEnterFrame consumes memory
You could try making an array with all the planet's instance names loop through the array every iteration of the "Enterframe" loop. If you have... -
accessing XML obj from within onEnterFrame
I'm seeing some behavior that I don't understand. The setup is a bit involved, but I will attempt to summarize. On the root timeline I initialize... -
Any MX/XP Issues?
I'm getting ready to launch my freelance multimedia business and making a big upgrade to Director MX from (and I'm a little embarrassed by this)... -
XP PRO has WEP issues
Kerby Krien wrote: Disable Wireless Zero Configuration service. Enter the WEP passcode and key cyphers manually. Q -
Zerodonor #2
Re: onEnterframe issues
its not working cause you aren't referencing the movie clip.
--> _root.onEnterFrame should be: _root.emptyMovieClip.onEnterFrame (if emptyMovieClip is in the root)
Zerodonor Guest
-
ldebono #3
Re: onEnterframe issues
that doesn't work either. nothing within the onEnterframe in this frame will
work despite that fact that if i cut and paste the exact script (excluding the
loading of the movie) into the next frame over it works fine. it just won't run
the scipt if the loading is in the same frame with it.
ldebono Guest



Reply With Quote

