It means the use of loadClip instead loadMovieNum? Ok, I will try it.
Thanks 2007/1/16, Hans Wichman <[EMAIL PROTECTED]>:
Hi, i might be missing something, but this looks like a version check to me, not a preloader? A preloader would wait until all bytes of the movie are loaded before doing stuff. greetz JC On 1/16/07, Gorka Guridi <[EMAIL PROTECTED]> wrote: > > I'm using a preloader, whose code is (one frame, one layer, without > classes > or components): > > var flashVersion = getVersion(); > var upgradeFlashURL = 'http://www.macromedia.com/go/getflashplayer'; > var arrayVersion = flashVersion.split( ' ' ); // For example: WIN 8,0,1,0 > var arrayVersionMMR = arrayVersion[1].split( ',' ); // For example: > 8,0,1,0 > var majorVersion = arrayVersionMMR[0]; // For example: 8 > // _root.omv => Optimum Major Version parameter. For example: 8 > var omv = 8; > // _root.mmv => Minimum Major Version parameter. For example: 7 > var mmv = 7; > > //Get current path > var path = _url.split('/'); > path.pop(); > path = path.join('/'); > > if( majorVersion >= _root.omv ) > { > loadMovieNum( path + '/8.0/' + swf, 0, 'GET' ); // _root.mv_omv => > flash movie for Optimum Major Version > //loadMovieNum( ' > > http://www.phemium.com/debug/private_zone/layouts/phemium/8.0/user_1.0.0.0.swf > ', > 0, 'GET' ); > } > else if( majorVersion >= _root.mmv ) > { > loadMovieNum( path + '/7.0/' + swf, 0, 'GET' ); // _root.mv_mmv => > flash movie for Minimum Major Version > } > else > { > // redirect to Macromedia upgrade flash version page > getURL( "javascript:void(window.open('" + _root.upgradeFlashURL + > "','popup','width=1024,height=768') )" ); > } > stop(); > > I have flash player 9 installed, and all test have been made with a flash > professional 8.0 movie (actionscript 2.0). > > Thanks for your interest. > > Best regards, Gorka. > > 2007/1/16, Amandeep Singh <[EMAIL PROTECTED]>: > > > > I think you must use a preloader to load your movie. > > As this happen because your file does not loads fully and executes till > > the > > point it loads. To over come this use a perloader. > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Gorka > > Guridi > > Sent: Tuesday, January 16, 2007 4:14 PM > > To: [email protected] > > Subject: [Flashcoders] flash movie don't load properly > > > > Hi all, > > > > I have a problem with a flash movie. All the code is inserted in first > > frame, but in different layers, many layers (it's my own organization > > system > > :P). Sometimes flash loads and code is executed properly, but sometimes > > not, > > and visual components are not showed at all (some buttons appear, other > > not, > > each time code seem to stop in a different line). > > > > I have removed all "stop();" functions inside code, and only have left > the > > last in each frame (I have two frames in my movie, but second not load > > until > > I press a button. I have problems with first frame only, just for load). > > > > Thanks a lot for any idea. > > > > Best regards, Gorka. > > _______________________________________________ > > [email protected] > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > _______________________________________________ > > [email protected] > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > -- > Atentamente, Gorka > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
-- Atentamente, Gorka _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

