actionscript 3 - how to add a external document class to timeline based Flash website -


i have made timeline based flash website. there 4 buttons, each in different frame (home , gallery, etc.). frames have actions dependent each frame (simple stop(), gotoandplay etc.).

i have found tutorial how create thumbs scroller as3 , xml

http://www.fladev.com/free-files/create-a-thumbs-scroller-with-as3-and-xml/

this simple thumb scroller next prev buttons , caurina tweener classes. problem it's calls setting document class linked external file. when set document class in as3 settings , source path messes timeline based actions. have tried new mainclass() , import src.scroller.*; in gallery frame there 1180: call possibly undefined method...

my question how can incorporate external flash site file without messing current scripts? there possibility?

is there possibility?

yes, is.

it's bad, use main timeline manage states of website... but, if such approach, can move code provided in tutorial frame.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

angularjs - ng-repeat duplicating items after page reload -

javascript - What's causing this slow/delayed audio playback in Safari? -