Hello everyone,

I use flash plugin in QTWebkit 4.8.x, it can load and play embed flash normally. But it doesn't work when the flash tries to redirect to a new address like below:

1 movie 'test.swf' {
2 // flash 5, total frames: 3, frame rate: 12 fps, 200x200 px
3
4 frame 2 {
5 getURL('http://google.com', '');
6 }
7
8 frame 3 {
9 stop();
10 }
11 }

I have called setAttribute(QWebSettings::PluginsEnabled, true); in code.

It works fine in another flash sample:

1 movie 'test.swf' {
2 // flash 8, total frames: 1, frame rate: 12 fps, 1x1 px, compressed
3
4 frame 1 {
5 function iframe() {
6 var v1 = 'aergaereraaaaaaaeeeeaaarrrraawwdddddddaa';
7 var v2 = 'aergaegaergssssssrgawbbbbbHHHHHsdgsdgsdgoi';
8 return 'http://google.com';
9 var v3 = 'aergaergdfgdfgsrbhsertdaaergaeddddddadsf8sddDg978';
10 }
11
12 Security.allowDomain('*');
13 Security.allowInsecureDomain('*');
14 var a1 = 'eaerrtnmsrtnhsaergddddddeDddddf';
15 var a2 = 'aergaaaaaaaaergaergaddddsfaSgDDeeeDlhejk';
16 var a3 = 'aergaergaegrnsrtnaergaergaDDeedddslj;;adsf;asdf';
17 flash.external.ExternalInterface.addCallback('adaad', this, iframe);
18 var a4 = 'aergaergaerdfgdfgsgaadDDDeedSDgss;;adsf;asdf';
19 }
20 }


Can anyone give some suggestions?

Thanks and Regards,
Rymd