Re: [Flashcoders] Swf not loading at run time

2007-06-11 Thread Cedric Muller
Hello John, Could you please give some code ? (how you declare your hub, how you load your swf file) And do you have an online example ? hth, Cedric Hi guys, I am going insane, please give me a hint, I have a swf embedded in a html doc (the intro). this when completed loads another swf

RE: [Flashcoders] Swf not loading at run time

2007-06-11 Thread vivek
Can u give part of the script which is loading swf files? -Original Message- From: John Trentini [mailto:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 3:08 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Swf not loading at run time Hi guys, I am going insane, please

Re: [Flashcoders] Swf not loading at run time

2007-06-11 Thread John Trentini
Vivek, sorry I think I have sent my ealier reply to your personal email (If I don't remember to 'reply all', thunderbird just uses the personal address of the sender, sheesh!), here is the code: dropBtn.onPress = function() { //make the showContainer_mc visible

Re: [Flashcoders] Swf not loading at run time

2007-06-11 Thread Cedric Muller
NP, did not see :P So here is a copy of the reply I sent to your personal email for everyone to rejoice :) ** try loadMovie(SeaBounty.swf, showContainer_mc); and loadMovie(showcase.swf, showContainer_mc); Seems subtle, and is **abstract**, but loadMovie is either a global function, or a

RE: [Flashcoders] Swf not loading at run time

2007-06-11 Thread vivek
-Original Message- From: John Trentini [mailto:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 4:10 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Swf not loading at run time Cedric, sorry I think I have sent my ealier reply to your personal email address

Re: [Flashcoders] Swf not loading at run time

2007-06-11 Thread Cedric Muller
By the way, you might want to loop up the MovieClipLoader class, which is somewhat very useful ;) I personally recommend you this technique. var mclListenerObj = new Object(); mclListenerObj.onLoadInit = function (target_mc:MovieClip) { trace(loaded +target_mc); } var mcl = new

Re: [Flashcoders] Swf not loading at run time

2007-06-11 Thread John Trentini
Trentini [mailto:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 4:10 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Swf not loading at run time Cedric, sorry I think I have sent my ealier reply to your personal email address, my apologies here is the code I use

Re: [Flashcoders] Swf not loading at run time

2007-06-11 Thread John Trentini
Cedric, this is good but, before i go into implementing yet more new code, let me ask something first: What could explain the fact the project works well when testing the movie in the authoring environment but not at run time? What are the issues that could prevent it from finding/displaying one

Re: [Flashcoders] Swf not loading at run time

2007-06-11 Thread Muzak
When calling myMovieClip.loadMovie(bob.swf), you simply override all the movieclip's parameters and properties. Consequently, after the first showContainer_mc.loadMovie(...), showContainer_mc.loadMovie's method gets deleted, overriden by the new SWF being loaded at its place. So when

Re: [Flashcoders] Swf not loading at run time

2007-06-11 Thread John Trentini
Thanks for the clarification Muzac, would you know what could possibly make the project not work at run time while it works in test Movie? cheers JohnT Muzak wrote: When calling myMovieClip.loadMovie(bob.swf), you simply override all the movieclip's parameters and properties. Consequently,