Go Back   Flashtory Support Forum > Flash Files Support > Flash Menus > Vertical Scroller Motion Blur

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-25-2011, 11:18 AM
Junior Member
 
Join Date: Jan 2011
Posts: 4
Default Two scrolls in the same .fla

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.
Reply With Quote
  #2 (permalink)  
Old 01-30-2011, 01:40 PM
Junior Member
 
Join Date: Jan 2011
Posts: 4
Default One possible solution

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
Reply With Quote
  #3 (permalink)  
Old 03-14-2011, 11:38 AM
Flashtory Staff
 
Join Date: Feb 2009
Posts: 241
Default

Nice, thank you very much for also posting a solution to this. I am sure it will come useful to other users in the same situation

Thumbs up !
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
based on a modified theme of CompleteGFX