History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-17829
Type: Bug Bug
Status: Closed Closed
Resolution: Deferred
Priority: None None
Assignee: Brian Riggs
Reporter: Brian Riggs
Votes: 1
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
Flex SDK

Can't enter text in SWF loaded into SWFLoader

Created: 10/29/08 11:14 AM   Updated: 05/14/09 12:53 AM
Component/s: mx: SWFLoader
Security Level: Public (All JIRA Users )

File Attachments: 1. Text File main.mxml (0.5 kb)
2. File main.swf (433 kb)


Severity: Incorrectly Functioning
Reproducibility: Every Time
Discoverability: Medium
Found in Version: SDK Flex 3.2.0
Affected OS(s): All OS Platforms
Steps to Reproduce:
Steps to reproduce:
1. Load the SWF from http://flipside.corp.adobe.com/testing/overlayAd/swfs/text.swf into a SWFLoader in a Flex app. Use the Flex app below.
2. Try to enter text into the text field.
3. It doesn't work. But if you load the SWF directly into the browser, you can enter text.

Not sure if it's needed, but the source FLA for the SWF is in the same directory.
 
 Actual Results: Can't enter text in SWF loaded into SWFLoader
 
 
 Expected Results: Can enter text in SWF loaded into SWFLoader
 
 
 Workaround (if any): None
 
 -------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

<mx:Script>
<![CDATA[

  private function load():void
{
var x:String = "http://flipside.corp.adobe.com/testing/overlayAd/swfs/text.swf";
swfLoader.source = x;
}

]]>
</mx:Script>

<mx:Button
id="loadButton"
label="Load"
click="load()"
/>

<mx:SWFLoader
id="swfLoader"
width="100%"
height="100%"
scaleContent="true"
/>

</mx:Application>
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: Peter deHaan (Adobe)
Resolved by: Joan Lafferty
Participants: Brian Riggs, Joan Lafferty, Lauren Park and Peter deHaan (Adobe)
Browser: Firefox 2.x
JDK: Sun 1.5.x


 All   Comments      Sort Order:
Peter deHaan (Adobe) - [10/29/08 12:40 PM ]
UTR w/ IE7 and Firefox 3 w/ 10.0.12.36:
201 Hotfix 3
3.0.0.477
3.1
3.2.0.3817
4.0.0.3934

Peter deHaan (Adobe) - [10/29/08 12:42 PM ]
briggs,

I was not able to reproduce this using Flex 201, 3.0, 3.1, 3.2 or 4.0 using Flash Player 10 and IE7/Firefox.

Can you tell me which version of the Flex SDK and Flash Player you are using?

Peter

Peter deHaan (Adobe) - [10/29/08 12:43 PM - edited ]
Flex 4 example:

<?xml version="1.0" encoding="utf-8"?>
<FxApplication xmlns="http://ns.adobe.com/mxml/2009">

    <Panel title="I'm a SWFLoader Panel">
        <SWFLoader source="http://flipside.corp.adobe.com/testing/overlayAd/swfs/text.swf" />
    </Panel>

</FxApplication>

Peter deHaan (Adobe) - [10/29/08 12:44 PM ]
Flex 201/Flex 3.x example:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

    <mx:Panel title="I'm a SWFLoader Panel">
        <mx:SWFLoader source="http://flipside.corp.adobe.com/testing/overlayAd/swfs/text.swf" />
    </mx:Panel>

</mx:Application>

Brian Riggs - [10/29/08 12:58 PM ]
Looks like this is specific to setting SWFLoader.source from a variable. I've updated the bug with a sample app that demonstrates the problem.

In terms of versions, I'm using:
FP 10.0.2.54
Flex SDK 3.2.0 build 3614

Peter deHaan (Adobe) - [10/29/08 01:57 PM ]
Not a regression. Able to repro w/ brigg's code in 201, 3.0, 3.1, 3.2.0.3928, and 4.0.0.3934.

Definitely something strange going on as you can type into the text field if you tab into the control (which oddly doesn't happen for me when i hit Tab, but does work if I hit Shift+Tab).

Joan Lafferty - [02/18/09 05:27 PM - edited ]
IRB -> Deferred in Flex 4. If this seems to cause more troubles for other customers, we can reconsider looking at this in the future.

Lauren Park - [05/14/09 12:53 AM ]
Closing.