|
|||
|
I have tried to put two scrolls in the web site. An swf movie loaded alternatively two different swf files which contained the scrolls.
I made two different data.xml for this purpose. It seemed to work fine, except for one reason: it was not able to unload the images of the movie loaded in the first place to load the images that went with the second swf. So, as a result, I had a scroll referred to frames that did not correspond with the images on the scroll. Is it possible to use the scroll this way, one swf with a container that will load a number of swf with the scroll on them? I wanted to have just one HTML page to load all the swf movies so the buttons would be always visible. Now I have to "jump" from one page to another so the scrolls are separated in differente folders and work properly. But I'd rather use just one html page. Thank you.
Last edited by ameraviglia; 01-25-2011 at 11:20 AM. |
|
|||
|
I found a way to make this run.
The problem: a root swf has to load some swf files which carry the different scrollers in them. It did not load properly the thumbnails, always loaded the same ones. Solution: I put the two swf files which carry the scrollers in the root file, along with their corresponding xml files. The .as files and the images are kept apart, in two different directories. In order for this to work I had to do the following: 1. Those two swf carry this in the first frame of the .fla: stop(); this._lockroot = true; 2. Change, of course, the thumbnails path in the xml files. 3. Change the linking paths of the image and menu moviclips in the scrolling library, so they correspond with my new path (since there are new directories). 4. Ad change the paths of the .as files attributes (classes, transitions, tweenings...) inside the .as files. The first time it was very long to do and it was useful to follow the compiler errors report in Flash and the order in which it appeared. Once this understood, it took some minutes using the Find and Replace command. I don't know if all this explanation is technically accurated but I do know it is working. Hope it is useful. Ciao
|