Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0

Thread Tools Rate Thread Display Modes
Old 02-28-2012, 02:21 AM   #11
Senior Member
Join Date: Feb 2006
Posts: 132

Originally Posted by julianboolean View Post
You could call a function on the main timeline from an AS3 class instance, especially from a document class, or from other class instances in certain circumstances. But why would you want to put any code on the timeline if you want to go the OOP way? By the way, where does the ON_FINISH event you mentioned come from? Is it a custom vimeo event?
Ok ok got it, it is a vimeo custom event and I finally found the code in their docs.
ActionScript Code:
vimeoPlayer.addEventListener('finish', finishFunction, true, 0, true);

Sorry for the confusion, a lack of knowledge of classes and vimeo combined really threw me. And thanks for the link to q-trax, OOP is starting to make more sense to me but I'm still confused about some things related and that example seems like much more syntax and parts than should be necessary to do what it does.

Still I do though see the value of external classes, but I also yet to see why I shouldn't at all have any code on the timeline. I like having that as my home base. But maybe one day I'll see the light?

Thanks for the help.
typografuk is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 09:46 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.