Importing FLV and SWF


right learning basic ropes of flex 2, cant seem find way import flv's , swf's or viable resource shows me how.

could point in right direction of finding out different way this?

hello xud, hope :)

let's see..

import swf files -> simple. use swfloader class

from adobe flex 2 language reference :
the swfloader control loads , displays specified swf file. typically use swfloader loading flex 2 application host flex 2 application.

<mx:swfloader
properties
autoload="true|false"
loadercontext="null"
maintainaspectratio="true|false"
scalecontent="true|false"
showbusycursor="false|true"

source="no default"
{ can use sintax embed file tou app @embed(source='pathfilename' }

trustcontent="false|true"

styles
brokenimageborderskin="brokenimageborderskin"
brokenimageskin="brokenimageskin"
horizontalalign="left|center|right"
verticalalign="top|middle|bottom"

effects
completeeffect="no default"

events
complete="no default"
httpstatus="no default"
init="no default"
ioerror="no default"
open="no default"
progress="no default"
securityerror="no default"
unload="no default"

easy isn´t ? :p


import flv files -> import/see video in app, have use player, use class
videodisplay .

from adobe flex 2 language reference :

the videodisplay control lets play flv file in flex application. supports progressive download on http, streaming flash media server, , streaming camera object.


<mx:videodisplay
properties
autobandwidthdetection="false|true"
autoplay="true|false"
autorewind="true|false"
buffertime="0.1"
cuepointmanagerclass=""
cuepoints=""
idletimeout="300000"
live="false|true"
maintainaspectratio="true|false"
playheadtime=""
playheadupdateinterval="250"
progressinterval="250"
source=""
totaltime=""
volume="0.75"

more help, use system flex builder. (f1 key ;) )

hope guide you,
regards core





More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

listen to event