LocalConnection Loading/Loop Problem


i'm loading 2 flash movies onto page , 1 movie sends "cookie" other @ intervals tell second movie gotoandplay frame. first movie serves "sender" loads 6 movies (defined array) , each time next movie plays, sends call second movie gotoandplay frame, defined array. i'm using localconnection this, running couple of issues.

first, first frame of second movie doesn't load of time. second, when seem work properly, gets end, starts on , runs through loop twice before getting out of sync. , third, page works differently on different browsers, suspect corrected if overall code corrected - hopefully.

the code in sender movie below. based off of code found in forum crossfade between movies. when "test" movie , watch trace, of frames being called correctly , loop doesn't break i'm confused i'm doing wrong.

the code on receiving movie here:
stop();

var receiving_lc:localconnection = new localconnection();
receiving_lc.methodtoexecute = function(bnum) {
gotoandplay(number(bnum));
numbox.text=bnum;
};
receiving_lc.connect("frame_name");

here preview of page: http://www.h2xmultimedia.com/clients/_select/index.html

i'm actionscript novice may doing blaringly obvious , won't offended if tear apart code. @ point need help!!!!



More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support