poab
01-09-2002, 05:49 PM
Hi,
This seemed like the most appropriate place to put the query, but it may have been better in actionscripting, Anyway:
I'm building a searchable directory of all newspaper, magazine and other print publications in Scotland. Because there's quite a lot of them, and only a few might be relevent to a visitor I don't want to have to load all of the text. Therefore I'm using the load variables technique to import from txt files, as and when required.
Basically the set up is; main movie>movieclip(with instance name)>information(that changes dependent on instance name)
There's also some other bits and pieces including some static text, and a mask. My problem is that the motion tween that brings the info. on screen is really very VERY slow.
I read something Jesse posted about there being a problem tweening dynamic text under a mask, so I tried deleting the mask, but it didn't make any difference whatsoever. So that can't be the problem.
If you look at the file you'll see exactly what I mean (Sorry there's no loading page yet, it won't take that long though):
http://www.press-cuttings.com/testing/readingList.html
It's a bit rough because I only started building yesterday, but: At the top is the swf with the text included. Click any of the buttons to open the info. Click on the space it used to occupy to close it. After you open one or two you'll notice everything slows down. Now, close all of those and go to the file below it, that's identical in everyway, except I've deleted the text boxes. This one works the way it's supposed to.
My best guess was that the file is constantly accessing and then reaccessing the txt files that hold the content. But when I deleted just the dynamic text and left myself with only static text (anything that's italicised) the problem persisted.
Because swf below will be equally slow if you don't close the info from the swf above it must be draining the system's resources, but I don't know how if it's doing it when the dynamic text boxes are removed.
If anyone has the slightest inckling of what it might be please let me know, because I'm running out of ideas.
cheers.
This seemed like the most appropriate place to put the query, but it may have been better in actionscripting, Anyway:
I'm building a searchable directory of all newspaper, magazine and other print publications in Scotland. Because there's quite a lot of them, and only a few might be relevent to a visitor I don't want to have to load all of the text. Therefore I'm using the load variables technique to import from txt files, as and when required.
Basically the set up is; main movie>movieclip(with instance name)>information(that changes dependent on instance name)
There's also some other bits and pieces including some static text, and a mask. My problem is that the motion tween that brings the info. on screen is really very VERY slow.
I read something Jesse posted about there being a problem tweening dynamic text under a mask, so I tried deleting the mask, but it didn't make any difference whatsoever. So that can't be the problem.
If you look at the file you'll see exactly what I mean (Sorry there's no loading page yet, it won't take that long though):
http://www.press-cuttings.com/testing/readingList.html
It's a bit rough because I only started building yesterday, but: At the top is the swf with the text included. Click any of the buttons to open the info. Click on the space it used to occupy to close it. After you open one or two you'll notice everything slows down. Now, close all of those and go to the file below it, that's identical in everyway, except I've deleted the text boxes. This one works the way it's supposed to.
My best guess was that the file is constantly accessing and then reaccessing the txt files that hold the content. But when I deleted just the dynamic text and left myself with only static text (anything that's italicised) the problem persisted.
Because swf below will be equally slow if you don't close the info from the swf above it must be draining the system's resources, but I don't know how if it's doing it when the dynamic text boxes are removed.
If anyone has the slightest inckling of what it might be please let me know, because I'm running out of ideas.
cheers.