View Full Version : Using Components in externally loaded swfs?!
01-30-2005, 07:38 PM
Question, is there a way to have 2 swfs...
a main.swf & a ext.swf
in the main.swf i have some components like a radio button, and i would like to load ext.swf into main.swf is it possible for ext.swf to use the components like the radio button on the newly loaded movie? I would like to keep an ovarall look to all of them and wouldnt want to have the end user re-download all of the components...
01-30-2005, 08:48 PM
you could create a radiobutton.swf and load it into both of the movies.
01-30-2005, 09:04 PM
yes but then will it load the radiobutton.swf each time its needed by the movie?
01-31-2005, 12:22 AM
yes. but by the second view it's gonna be on the user's harddrive, so the user won't have to download it again.
01-31-2005, 12:46 AM
Ok so then the problem i have been having is trying to get the loaded ext.swf to load up a component.... if it's in the the main libary or if i load it from another swf, for some reason it's just not loading, using an attachMovie.
I'm using this:
as a function in the main timeline being activated by the news.swf when it loads.
i have also tried this on the ext movie:
any idea on how to make these components work? I have used all types from combobox, to radiobuttons, to downloaded components.
01-31-2005, 04:20 AM
im sorry but i'm way too tired to answer your question now, but this should help. the key is that you can only call the function AFTER the movie has initialized.
01-31-2005, 04:29 AM
Hey man... I'll check it out, I think i have found a way to do what i want. Thank you for all the help so far!
I'll let you know what happeneds, I usually do alot of work during the night so ill have something posted for you in the morning...
01-31-2005, 04:32 AM
yeah, i'll be around for a while too. if you want you can send your fla to me
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.