CONTROL SWF(02) FILE FROM PRELOADER SWF(01)

  • BILLA2127
  • Newbie
  • Newbie
  • BILLA2127
  • Posts: 12

Post 3+ Months Ago

I have a preloader (swf file01).I have been load swf(02) file in first scene of preloader(01).

Now i want to play second scene of preloader(01) after playing swf(02).
remember that i dont want to edit script in swf (02)
thanks
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • roarmeow
  • Professor
  • Professor
  • User avatar
  • Posts: 861
  • Loc: BKNY

Post 3+ Months Ago

you kind of have to have a call in swf(02) for swf(01) to know when it's over.

even just a one like piece of actionscript on the last frame of swf(02) that reads something like:
Code: [ Select ]
_global.end_of_one = "TRUE";


and then, in preloader(01), have some code somewhere that can read that and respond, like:
Code: [ Select ]
if(end_of_one == "TRUE"){
gotoAndPlay("SceneTwo");}
  1. if(end_of_one == "TRUE"){
  2. gotoAndPlay("SceneTwo");}

where "SceneTwo" is the name of your second scene

does that make sense?
  • BILLA2127
  • Newbie
  • Newbie
  • BILLA2127
  • Posts: 12

Post 3+ Months Ago

it's worked.thank you v.v.v much
  • BILLA2127
  • Newbie
  • Newbie
  • BILLA2127
  • Posts: 12

Post 3+ Months Ago

i saw your website , you are a wonderful guy. I respect you.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 13 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.