Hi,
Recently I moved my projects to Flex SDK 4.13 (originally used 4.10) and
encountered that .flv movie is played incorrectly. I hear the sound, but I
see no picture. Additionally the code that works in 4.10 now doesn't work.
e.g. this fails
/_flv.videoObject.smoothing = true;/
due to _flv.videoObject == null.
In debugger I see the properties like 'videoPlayer' and 'videoContainer'
that is not available in compile time and couses ReferenceError if I try to
access either of them in runtime.
/_flv["videoContainer"]/
/[Fault] exception, information=ReferenceError: Error #1069: Property
videoContainer not found on spark.components.VideoDisplay and there is no
default value.
at
com.urun.icasino.controls.media::FlvContent/mediaStateChanged()[D:\work\urun\icasino\flex-controls\src\main\flex\com\urun\icasino\controls\media\FlvContent.as:87]
at flash.events::EventDispatcher/dispatchEventFunction()/
This is the breakpoint on mediaPlayerStateChange like
function mediaPlayerStateChange(event: MediaPlayerStateChangeEvent): void
{
if (e.state == MediaPlayerState.PLAYING)
{
// breakpoint fired
}
}
You can see what I'm talking about
<http://apache-flex-users.2333346.n4.nabble.com/file/n8805/flv-issue.png>
The documentation seems is not distinct from the "adobe time's" sdk.
https://flex.apache.org/asdoc/spark/components/VideoDisplay.html
Could anyone give me a solution?
Thanx.
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Flv-playing-issue-within-Flex-SDK-4-13-spark-components-VideoDisplay-tp8805.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.