smpbo / stagewebviewbridge

Automatically exported from code.google.com/p/stagewebviewbridge
0 stars 0 forks source link

HTML does not display on iPad in example file(s) #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  compile ExampleCallBackFuncions.fla for iOS
2.  Run it on the iPad
3.  Popups happen, HTML never displays in upper area

What is the expected output? What do you see instead?
HTML should display.  Instead the area is blank.

If I copy addChild into the function called by the lower button (Flash) that 
does display:

function callJavascriptFunction( e:Event ):void
{
    // call javascript fnCalledFromAs3 function from As3
    view.call
    (
        'fnCalledFromAs3',
        function ( data )
        {
            output.appendText( 'JS Returned =>'+data+'\n'); 
        },
        "TEXT FROM AS3");

     //this causes the HTML to display on the ipad when added here

        addChild( view );
}

What version of the product are you using? On what operating system?

the latest examples and swc CS5.5

Please provide any additional information below.

Example file unchanged except for adding:  addChild( view ); as above.

Original issue reported on code.google.com by dgrisha...@gmail.com on 23 Feb 2012 at 6:18

GoogleCodeExporter commented 8 years ago
note: HTML displays after the button is clicked on the iPad...

Original comment by dgrisha...@gmail.com on 23 Feb 2012 at 6:20