All the MA600 bugs/issues
Tasklist
FS#35 - Flv Videos Wont Load
Attached to Project:
MA600
Opened by
Hades (hades)
- Tuesday, 10 November 2009, 12:31 GMT-8
Task Type |
Bug Report |
Category |
Action Script Woes
|
Status |
New
|
Assigned To |
No-one
|
Operating System |
All |
Severity |
Low |
Priority |
Normal |
Reported Version |
1.0 |
Due in Version |
Undecided
|
Due Date |
Undecided
|
Percent Complete |
|
Votes |
0
|
Private |
No
|
|
Details
I am trying to load into the PuzzleSettings screen a preview of the video that will be played when selecting the puzzle to play. The loading is governed by which puzzle is selected in the puzzleToPlay_lstbx listbox.
For some reason the flv video file wont play.
|
Loading...
I can load the video (well partially #see below) into PuzzleSettings.swf but, so far only when I load the video from within PuzzleSettings.swf.
#It seems that the video is playing because the sound for the video is playing as expected but the visual aspect of the video isn't displaying.
To get the video to play from within PuzzleSettings.swf I needed to set the filepathname from "/Puzzles/Test.flv" to "../Puzzles/Test.flv".
This works because the filepathname needs to be relative to PuzzleSettings.swf.
I am not sure which filepathname to use; "/Puzzles/Test.flv" or "../Puzzles/Test.flv" but both don't work.
I think this has to do with the filepathname needing to be relative to one of the swf files that the video is being loaded in to.
The problem is which swf file does Flash use because basically my 'main puzzle'.swf file is importing the PuzzleSettings.swf file.