Thread: load guestbook
View Single Post

  #6 (permalink)  
Old 23-09-07, 19:31
Flep Flep is offline
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,490
Rep Power: 6
Flep is on a distinguished road
You can try this:
- take off Main.as as Document Class of main.fla
- when main.swf is loaded, call Main.as as following:
var main:Main=new Main(loader.content as MovieClip);
- now go in Main.as and add a parameter to its constructor, let's say you call it mov
- add a new property in main.as called _fla
- in the constructor you must add: _fla=mov;
- now change the path of any MovieClip and other objects ( like info_mc to _fla.info_mc )

lemme know :)
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Reply With Quote