|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Here's the layout....
Frames. leftFrame has button. button opens 'apple_test.swf' in mainFrame. 'apple_test.swf' is a movie that looks to see if Flash 6 is installed. the first part of the script is the standard establishment of the variable 'majorVersion'.... my if statement is as follows... if (majorVersion == "6") { this.loadMovie("apple.swf"); } else{ gotoAndPlay("download"); } it will not load "apple.swf" if I push the button repeatedly I can see the tag on the first frame of "apple_test.swf" but the movie will not load PLEASE HELP ME!!! It has to work and I have dried up of ideas. If you check out the URL it is on that first page, the button on the top (apple v. microsoft) URL |
|
#2
|
|||
|
|||
|
hi there....i'm about to attempt the same thing in the next few days so i'll see if i can help
- niobi xd - |
|
#3
|
|||
|
|||
|
Re: Why won't my movie load???
in short, basically, that's not the right way to use loadMovie.
in long, and from the help files that comes with Flash.... Usage loadMovie("url",level/target[, variables]) Parameters url: The absolute or relative URL of the SWF file or JPEG file to be loaded. A relative path must be relative to the SWF file at level 0. The URL must be in the same subdomain as the URL where the movie currently resides. For use in the Flash Player or for testing in test mode in the Flash authoring application, all SWF files must be stored in the same folder, and the filenames cannot include folder or disk drive specifications. target: A path to a target movie clip. The target movie clip will be replaced by the loaded movie or image. You must specify either a target movie clip or a level of a target movie; you can't specify both. level: An integer specifying the level in the Flash Player into which the movie will be loaded. When you load a movie or image into a level, the loadMovie action in the Actions panel in normal mode switches to loadMovieNum; in expert mode, you must specify loadMovieNum or choose it from the Actions toolbox. variables: An optional parameter specifying an HTTP method for sending variables. The parameter must be the string GET or POST. If there are no variables to be sent, omit this parameter. The GET method appends the variables to the end of the URL, and is used for small numbers of variables. The POST method sends the variables in a separate HTTP header and is used for long strings of variables. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Why won't my movie load??? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|