Notice: A non well formed numeric value encountered in /home/naveedious/bugs.navsplace.net/includes/class.flyspray.php on line 94 Notice: A non well formed numeric value encountered in /home/naveedious/bugs.navsplace.net/includes/class.flyspray.php on line 94 Notice: A non well formed numeric value encountered in /home/naveedious/bugs.navsplace.net/includes/class.flyspray.php on line 94 Warning: Cannot modify header information - headers already sent by (output started at /home/naveedious/bugs.navsplace.net/includes/class.flyspray.php:94) in /home/naveedious/bugs.navsplace.net/includes/class.flyspray.php on line 677 Warning: Cannot modify header information - headers already sent by (output started at /home/naveedious/bugs.navsplace.net/includes/class.flyspray.php:94) in /home/naveedious/bugs.navsplace.net/index.php on line 82 Warning: Cannot modify header information - headers already sent by (output started at /home/naveedious/bugs.navsplace.net/includes/class.flyspray.php:94) in /home/naveedious/bugs.navsplace.net/index.php on line 83 Warning: Cannot modify header information - headers already sent by (output started at /home/naveedious/bugs.navsplace.net/includes/class.flyspray.php:94) in /home/naveedious/bugs.navsplace.net/index.php on line 84 Warning: Cannot modify header information - headers already sent by (output started at /home/naveedious/bugs.navsplace.net/includes/class.flyspray.php:94) in /home/naveedious/bugs.navsplace.net/index.php on line 87 Warning: Cannot modify header information - headers already sent by (output started at /home/naveedious/bugs.navsplace.net/includes/class.flyspray.php:94) in /home/naveedious/bugs.navsplace.net/index.php on line 88 FS#35 : Flv Videos Wont Load

MA600

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 0%
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.
This task depends upon

Comment by Hades (hades) - Tuesday, 10 November 2009, 12:47 GMT-8
I think the problem has something to do with how the flv video files are being addressed.

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.
Comment by Hades (hades) - Tuesday, 10 November 2009, 12:58 GMT-8
I have moved the (previously) working code into the main puzzle file and have tried changing the filepathname but the but the video will not load.
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.

Loading...