Article View: pl.comp.lang.javascript
Article #51021IE9 ExternalInterface Flash
From: Dr. Koop
Date: Wed, 25 Jan 2012 14:01
Date: Wed, 25 Jan 2012 14:01
20 lines
1541 bytes
1541 bytes
Witam
Co może być powodem, że javascript pod IE9 nie widzi funkcji z flasha
ExternalInterface.addCallback("changeTextColor", changeTheTextColor);
ExternalInterface.addCallback("changeTextFont", changeTheTextFont);
mam takie 2 linijki we flashu i pod ff wszystko jest ok ale pod IE9 już
nie. IE9 wyświetla w alercie, że obiekt jest widziany
<script>
var flashObj = document.getElementById('flashObject');
if(typeof flashObj.changeTextColor== 'undefined')
flashObj = document.getElementById('flashObject2');
alert(flashObj); //widzi objekt
alert(flashObj.changeTextColor); //undefined
<script>
Pozdrawiam.
Technical Details
Message-ID:
<jfp1vj$e0r$1@node2.news.atman.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: "Dr. Koop" <koop@o2.pl> Newsgroups: pl.comp.lang.javascript Subject: IE9 ExternalInterface Flash Date: Wed, 25 Jan 2012 15:01:20 +0100 Organization: ATMAN - ATM S.A. Lines: 20 Message-ID: <jfp1vj$e0r$1@node2.news.atman.pl> NNTP-Posting-Host: host-188-122-8-164.finemedia.pl Mime-Version: 1.0 X-Trace: node2.news.atman.pl 1327500083 14363 188.122.8.164 (25 Jan 2012 14:01:23 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Wed, 25 Jan 2012 14:01:23 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101013 Lightning/1.0b2 Thunderbird/3.1.5 X-Antivirus: avast! (VPS 120125-0, 2012-01-25), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit