please show all your script and are you talking about exporting for a given player version, or are you talking about using a different player control for the same SWF file .. you're not too clear about what you mean. -- Jeckyl
I noticed a difference between Flash player 7 and Flash player 8, how both handle variables that are initialized from a movie (URL) parameter. This causes a real problem and I assume it;s a bug in either player 8 or (less likely) player 7. This is the situation (the problem occurs with local content): In a local HTML page there is a reference to a movie, with parameters (eg "display.swf?contentFolder=pictures") in the action script of the first frame of the movie "display.sfw" the variable "contentFolder" exists and is checked for a trailing slash. If it has not a trailing slash (as is in the example above) it is added. So content Folder now has the string value "pictures/" Now the difference beteen player 7 and 8: In Player 7 the variable is used in the following frames and still has the value "pictures/" In Player 8 the variable has the original value of "pictures", so in my case the content I'm trying to load can't be found (since i.e. picturespicture1.jpg does not exist, where pictures/pictures1.jpg does exist) All scripting of the variable found place in the script of the frame and context of the _root. This is a real problem, since in my case the movie is burned on a cd and distributed. Any suggestions or comments would be appriciated.
Hi, Reading your post I decided to make a step-by-step guide to reproduce the effect. But it seems it can be demonstrated but not reproduced. The source,swf and html file I place in a zip at = " + contentFolder); stop(); in frame 2 you should expect the value of contentFolder to be ="value-set-by-action-script", but in player 8 it's not. it's the original value. Why it can't be reproduced is this strange situation: In the original movie there is a text field, that has nothing to do with the variable contentFolder. If you remove this textbox player 8 performs as expected. If you place a new one with exact the same properties the problem does *not* occur. If you copy the textbox from the original movie to a newly build movie you *can* produce the problem. So it seems a very peculiar issue. The problem we found in several movies, all original build in Flash 6, so maybe that's the source of the problems. As I wrote before our problem is that the movies are distrbuted on cd-rom, so we can't fix them ... Thanx for your effort responding to my post! Arjan
Don't see what you're looking for? Try a search.
|