PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
Playing video on iPad using CS5.5
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Playing video on iPad using CS5.5

  1. #1
    Junior Member
    Join Date
    Nov 2008

    Playing video on iPad using CS5.5

    I am creating an app in flash for the iPhone and iPad. I have some flv video's that I am trying to play. I've found some code that I've read should work for the new version of flash but I'm not having any luck. I'm pretty new to this.

    When I get to the screen where the video should play, there's just a white box in place of where the video should be.

    But here's my code...

    Actionscript Code:
    import flash.geom.Rectangle;


    import flash.filesystem.File;


    var webView:StageWebView = new StageWebView();

    webView.stage = this.stage;

    webView.viewPort = new Rectangle(0,0,stage.stageWidth,stage.stageHeight);

    var fPath:String = new File(new File("vid_objects.flv").nativePath).url;

    webView.loadURL( fPath );

  2. #2
    Junior Member
    Join Date
    May 2011
    Thanks interesting information +1

  3. #3
    Join Date
    Sep 2007
    you will see a blank white box when testing locally. that box will go away when you test on the device

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center