|
|||
|
I am using v3.11 to create an application and pull out the swf on-line. It works on some of our computers, but for other computers, I got a invalid character error and a object not found error after launched the application with the IE window. I even updated the flash plug-in to the lastest 9.0.45, but still did not fix this problem. We used the same code and published with early version SWFKit and it works fine. Is there any bug on v3.11 or something we did wrong?
|
|
|||
|
The application only works for IE 6, and for IE 7 it shows the error. Here is the code:
var ax = createControl("Shell.Explorer.2", 0, 0, 450, 400); getMainWnd().onSize = function(type, width, height) { ax.window.move(0, 0, width, height); } ax.activex.NavigateComplete2 = function (control, url) { trace(url); } ax.activex.navigate2('http://www.juicecaster.com/templates...aster.swf'); getAdditionalFile(); return true; |
|
|||
|
IE 7 may have treated the swf file as a html file, and it says that it have met some incorrect characters because it has no idea how to parse a swf file.
I wonder why you load a swf file in that way, for you can load a swf into a movieclip in your main movie directly. In that way, you need not create an IE control at all. |
|
|||
|
We are constantly update our swf, and we do not want people to download another application every time we updated the swf. The strange thing is we do have a working application using the same code working for IE 7 right now. But now we try to create another application linking to different swf using earlier version of SWFKit Pro 3, and it won't work with the current SWFKit Pro 3. Do you have any idea?
|
|
|||
|
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|