PDA

View Full Version : ActionScript 2.0 converted to Actionscript 3.0


butterbean105
07-07-2008, 05:51 PM
flvPlayback.contentPath = src;

Code does not work with as3, does anyone know how to convert frm as2. to as3?


Im wanting to playback the video through the url src. in html. It works perfectly with AS2.0 But need it to work in AS3.0

gnomeontherun
07-07-2008, 06:04 PM
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlayback.html

AS 3 is a whole different design, so while I can't tell you exactly what is wrong, because you haven't all of the code, I know that it will have to be different to accommodate the AS3 Object Oriented language.