Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-30-2007, 05:29 PM
Junior Member
 
Join Date: May 2007
Posts: 3
Default Invalid Character Error

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?
Reply With Quote
  #2 (permalink)  
Old 05-31-2007, 03:30 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Invalid Character Error

Do you mean that you are using the replacer ActiveX component? I am very sorry to tell you that the replacer component can only work with SWFKit Pro 2.
Reply With Quote
  #3 (permalink)  
Old 05-31-2007, 10:35 PM
Junior Member
 
Join Date: May 2007
Posts: 3
Default Re:Invalid Character Error

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;
Reply With Quote
  #4 (permalink)  
Old 06-01-2007, 08:29 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Invalid Character Error

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.
Reply With Quote
  #5 (permalink)  
Old 06-01-2007, 05:03 PM
Junior Member
 
Join Date: May 2007
Posts: 3
Default Re:Invalid Character Error

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?
Reply With Quote
  #6 (permalink)  
Old 06-02-2007, 02:26 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Invalid Character Error

It's a problem of IE 7:

http://forums.microsoft.com/MSDN/Sho...13117&SiteID=1
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:20 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.