Multiple full sites

hello, i posted earlier about navigating full flash sites. i have solved my problem there but am now experiencing more difficulties. I have followed the tutorial’s model (which was unbelievably helpful, many thanks to the author) and am referencing things in the “contents” symbol. different sections of my clothing company’s site load in that area, including the section called “clothing” which give thumbnails and ordering boxes for each item we sell. I have made seperate movie clips for those (not complete, however, because i’m trying to figure out how to encorperate HTML code into my flash site (for the shopping cart program)). So, what we have is a contents section inside a contents section (one called tshirts the other called contents). The buttons which call up the tshirts work when i’m just viewing the clothing page. but, when i try and access it from the index page the buttons appear, but they do not call anything up. is it not possible to do what is essentially a site within a site? or am i missing something ? I know this explanation seems discombobulated… but i don’t know how else to put it :-\ if anyone can give me advice on this and/or my html problem, please do.

Sounds to me like a level problem. You need to tell the button where the action needs to take place, either in the root movie or the top level.

I’m no expert but you can use simple code like this to target the correct level.

Load into root:

on (release) {
loadMovie("yourmovie.swf ", “_root.containername”);
}

or

load into top level movie:

on (release) {
loadMovie(“yourmovie.swf”, “_this.containername”);
}

yourmovie.swf being the name of your flash file.

containername bening the instance name of the movie clip you are loading into.

The differences between the 2 examples above is the target location, either _root or _this.

Hope that helps a little. I’m sure someone else will probably have a better/alternate method as well.

Cheers

FW

thanks for the advice. the problem is that it works great when i’m working with just the clothing movie, but when i summon the clothing movie from the index movie it no longer summons each clothing item movie. this is so hard to explain. i’ll include the files i’m working on and you’ll see what i mean. hopefully :slight_smile:

first open the “clothing” swf and click on the numbers to view the shirts, then try viewing it from the “index” swf. what you should find is that the numbers appear, but clicking on them does nothing. i’ll include the fla files as well. thank you very much.

well… the attachments are way too big to post here… even seperatly and zipped… if anyone thinks they can help i’ll e-mail them to you. thank you,

chris

Well i did the same with my site recently, and i basically just changed the _root’s to _parent’s. You just gotta know what to change :slight_smile:

it works! and it works great. THANK YOU SOOOOOO MCUH!!! :slight_smile: :slight_smile:

No problem :stuck_out_tongue: took me a while to figure it out though :stuck_out_tongue: