Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

AS2 or AS3

Community Beginner ,
Apr 02, 2009 Apr 02, 2009
Hi there I am building a site in Flash8 AS2.
I, as a beginner have for this project for the first time ever have begun to use frame labels, and parent/sub movies.
However, I have run into a major problem as when I test the movie it takes rediculously long to load. The file is small so no issues there and I have talked to others who are puzzled by this phenomenon.

Anyhow, I had a thought, is my script AS2 or AS3?

ex.

on (release) {
_parent.gotoAndPlay("Hostel_CommCent");
}
TOPICS
ActionScript
392
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 02, 2009 Apr 02, 2009
It's AS2
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 03, 2009 Apr 03, 2009
LATEST
Ren,

> Anyhow, I had a thought, is my script AS2 or AS3?
>
> on (release) {
> _parent.gotoAndPlay("Hostel_CommCent");
> }

Any time you see on() or onClipEvent(), you know you're dealing with
ActionScript 1.0 or 2.0 -- not 3.0. Those functions, on() and
onClipEvent(), allow you to attach code directly to objects, which isn't
allowed in AS3. (Instead, all code is attached in keyframes in AS3, or in
external text files.)


David Stiller
Co-author, ActionScript 3.0 Quick Reference Guide
http://tinyurl.com/dpsAS3QuickReferenceGuide
"Luck is the residue of good design."


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines