I am having troubles trying to find out which actions/properties or instances are available with a particlar movie.?Also I am looking at a piece of code, for example:
var btn = new flashmo_button();
btn.flashmo_button_bg.gotoAndStop(alt_no + 1);
but I can not find where ''flashmo_button_bg'' is located at.?There are some methods/properties that I can track backwards but there are several that I do not know where they are coming.?I have tried right clicking different movies in the files and looking at the ''Linkage'' but do not find this method , (I don't know if there would even be method names under the Linkage box anyways).?I can not find an instance called this either inside other movies.?What I would really hope to find is to some button or menu choice I could click and it would open up the movie etc. and show me where this method/instance is defined but it is not on the right click and I can not find it.
Also, is there some sort of menu choice where I can get some intelli-sense/code completion working??Perhaps I am very used to Visual Studio where the stuff is nice and organized and there are all sorts of tools where you can figure out very easily where something is declared.?I am wasting a bunch of time trying to figure this out in Flash. I attached the master file so if someone wants to look at it quickly the code I mentioned above is in the ''actions'' layer and in frame 76.?
Thanks very much,
Brian
Problem finding which methods and...flashmo_button is the name of a class that's either defined in a class file or attached to a library movieclip (or both). flashmo_button_bg i added to the class member in the class file or on the movieclip's timeline.
Problem finding which methods and...Thanks for the reply Kglad.?I am not sure what you mean ''flashmo_button_bg i added to the class member in the class file or on the movieclip's timeline.''?Wasn't it already part of the class since he is calling it somehow??I just can't figure out which class and some sort of way to figure this same problem out with other methods or properties.
Thanks,
Brian
Now this is really bothering me, I can't find:
fm_button
It is driving me nuts since I can not copy the code from the frame 76 in the action layer, (in my original post), paste it in a new project and be able to run it. I copy all of the library and try to run the new project but I still get errors.?All have to do with fm_button?such as this one:
1120: Access of undefined property fm_button. btn.y = fm_button.y + alt_no * 50;
So where is this button defined??????I tried looking at the time line and all the action script files but can not find where it is defined anywhere.?Anyone have some idea?
Thanks,
Brian
''flashmo_button_bg i added to the class member in the class file or on the movieclip's timeline.''
should be:
there's no fm_button in your original post.
No comments:
Post a Comment