Hi!

Firstly - sorry for my english, I'm not a native english speaker.
Secondly - sorry for a long post;) I'd like to show the problem clearly

I've got a problem with resizing swf applications loaded with
SWFLoader component. The problem is that it behaves differently when
the content-application is at the same domain (or locally) and at the
foreign domain. Here is the example applications, and some screenshots
showing the behavior:

exported base application:
http://www.sendspace.com/file/lk6ce6

first swf application written in flex:
http://www.sendspace.com/file/j4ooyo

second swf application written in flex:
http://www.sendspace.com/file/bcqxti

The first app, lets call it 'base application' is loading two
applications ('stiff size' with application size set to 640x480px, and
'resizable' with size set to 100%x100%, both with one button filling
all the application area) exported to swf files, with swf loaders; 

1.When swf's are loaded locally, or at the same domain:
a) 'resizable' app is resized to SWFLoader component size
b) 'stiff size' app is not resized at all
screenshot:
http://img8.imageshack.us/my.php?image=local.png

2.When swf's are loaded at the foreign domain (with
Security.allowDomain("domain address") at the base application
initialization):
a) 'resizable' app is about twice bigger as it should be! (the biggest
problem)
b) 'stiff size' app is stretched to SWFLoader component size
screenshot:
http://img213.imageshack.us/my.php?image=remote.png

The behavior that would be best for me is 1a for resizable
applications, and 2b for applications with defined size (eventually 1b
- not resized at all) for both local loading, and from foreign domain. 

1. Is it possible?
2. Is it the SWFLoader proper behavior, or is it a bug? I've found a bug
on adobe jira with similar problem, but with 'cannot reproduce'
status, and no workaround (the trustContent=true do not work for me),
should i post a comment there?
link to jira: http://bugs.adobe.com/jira/browse/SDK-13323

The swf files are uploaded for testing at the adresses:
http://tomekok.ovh.org/test/ResizableSWF.swf
http://tomekok.ovh.org/test/StiffSizeSWF.swf

Reply via email to