H
HKBU_David
Guest
Hi,
I was creating a very simple animation in Macromedia Flash 8.
I wrote a function and placed in Frame 1.
Here is the code accordingly:
function showMe(){
if (this._x>Stage.width()){
trace(this._x)}
}
But it showed nothing when I tried to reuse the function in Frame 1
for another movieClip in Frame 2:
onClipEvent (enterFrame) {
showMe();
}
I have no idea why it showed me nothing.
Could anyone help please?
David
I was creating a very simple animation in Macromedia Flash 8.
I wrote a function and placed in Frame 1.
Here is the code accordingly:
function showMe(){
if (this._x>Stage.width()){
trace(this._x)}
}
But it showed nothing when I tried to reuse the function in Frame 1
for another movieClip in Frame 2:
onClipEvent (enterFrame) {
showMe();
}
I have no idea why it showed me nothing.
Could anyone help please?
David