Copy link to clipboard
Copied
Hi there,
At very long time ago... around 2005, I still played with Flash... and I did some pretty neat works (some animations and even a small screensaver)... however, due to my work I didn't touch Flash again since then. One of those works I've made, needed to be tweaked now, and I found out that I'm not able to do anything on this new version of the Flash Editor (I've downloaded the Trial version).
For testing I've made the most simple of things.
I've:
So far... so good.
Now for the most advanced code ever:
On frame 1 I've inserted:
stop();
or...
if(3>4)
{
trace("NO!!");
}
else
{
trace("YES!!!");
}
I've pressed play... and I've exported to a SWF... when I run... both show me the animation, but In the first situation (code).... it does not stop... on the second, nothing appears on the Output.
This is so weird... and I simply not seeing the reason not to work... is anyone seeing what I'm missing here? It has to be simple... this must be just some stupid confusion I'm making.
Many thanks for the help!
That's entirely up to you. From you last message, I'd say no. You didn't find the source of the problem, you found a way around it.
If you give me a "correct answer" then I get "points". If I get enough points I may get a gold lamé jacket with a giant Adobe A on the back. Just kidding. I would mark your last message as correct. This will close the thread.
Copy link to clipboard
Copied
Do you get any errors? I'm guessing that your original movie was done using AS2. Flash CC only uses AS3.
Copy link to clipboard
Copied
When I was tweaking my previous works, it was AS2 (back in 2005 I think it was the only thing possible)... but the example I gave in my first post was using a clean project, I guess it was considered as AS3? Or the instructions should be used in some particular way to be considered AS3?
I've just saved it as FLA and put it in FileDropper, is it possible for you to check it?
http://www.filedropper.com/mytest
Thanks again.
Copy link to clipboard
Copied
When I run your movie as you saved it using Test Movie... the square just sits there. The stop(); directive works. When I substitute the second set of code, the movie loops and I get the text "YES!!!" at each loop in the output window.
When I look at a saved .swf from either version I get the same result but with no text output.
I have no idea why you are seeing something different.
Copy link to clipboard
Copied
This is just weird...
Meanwhile, I've found an old version from Flash (CS3) and I've made the same test and I was able to do it.
Then I tried to tweak that old work of mine and I was successful (it was a kind of a ScreenSaver)... so... can't really know what happened with that newly version of flash, maybe I'll it again some day.
Rob, MANY THANKS for your help/work...
By the way... should I consider any of these posts as "Correct Answer"?
Best Regards!
Copy link to clipboard
Copied
That's entirely up to you. From you last message, I'd say no. You didn't find the source of the problem, you found a way around it.
If you give me a "correct answer" then I get "points". If I get enough points I may get a gold lamé jacket with a giant Adobe A on the back. Just kidding. I would mark your last message as correct. This will close the thread.
Copy link to clipboard
Copied
Your answer is so much better than mine (winning a gold lamé jacket) .
I'll give it you!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now